lkml.org 
[lkml]   [2023]   [Aug]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v3 10/12] x86/virt/tdx: Wire up basic SEAMCALL functions
Date
On Mon, 2023-08-07 at 07:30 -0700, Sean Christopherson wrote:
> On Mon, Aug 07, 2023, Kai Huang wrote:
> >
> > > >
> > > > +config INTEL_TDX_HOST
> > > > + bool "Intel Trust Domain Extensions (TDX) host support"
> > > > + depends on CPU_SUP_INTEL
> > > > + depends on X86_64
> > > > + depends on KVM_INTEL
> > >
> > > Hm. I expected KVM_INTEL to depend on CPU_SUP_INTEL, but apparently no.
> > > Any reasons why?
> >
> > Hmm.. Not sure :-)
>
> Centuar and Zhaoxin CPUs also support VMX.
>
> commit 8f63aaf5c493c6502a058585cdfa3c71cdf8c44a
> Author: Sean Christopherson <seanjc@google.com>
> Date: Fri Dec 20 20:45:13 2019 -0800
>
> KVM: VMX: Allow KVM_INTEL when building for Centaur and/or Zhaoxin CPUs
>
> Change the dependency for KVM_INTEL, i.e. KVM w/ VMX, from Intel CPUs to
> any CPU that supports the IA32_FEAT_CTL MSR and thus VMX functionality.
> This effectively allows building KVM_INTEL for Centaur and Zhaoxin CPUs.
>

Ah. Thanks Sean!
\
 
 \ /
  Last update: 2023-08-08 01:52    [W:0.180 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site