[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <172594250677.1552518.5898875487744726113.b4-ty@google.com>
Date: Mon, 9 Sep 2024 21:56:28 -0700
From: Sean Christopherson <seanjc@...gle.com>
To: Sean Christopherson <seanjc@...gle.com>, pbonzini@...hat.com, kvm@...r.kernel.org,
Kai Huang <kai.huang@...el.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] KVM: VMX: Also clear SGX EDECCSSA in KVM CPU caps when
SGX is disabled
On Fri, 06 Sep 2024 00:08:37 +1200, Kai Huang wrote:
> When SGX EDECCSSA support was added to KVM in commit 16a7fe3728a8
> ("KVM/VMX: Allow exposing EDECCSSA user leaf function to KVM guest"), it
> forgot to clear the X86_FEATURE_SGX_EDECCSSA bit in KVM CPU caps when
> KVM SGX is disabled. Fix it.
Applied to kvm-x86 vmx. At some point, we should probably look at using the
kernel's cpufeatures dependency chains, but that's no reason to hold this fix.
Thanks!
[1/1] KVM: VMX: Also clear SGX EDECCSSA in KVM CPU caps when SGX is disabled
https://github.com/kvm-x86/linux/commit/7efb4d8a392a
--
https://github.com/kvm-x86/linux/tree/next
Powered by blists - more mailing lists