lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <FBA5D186-CB54-48C4-97B2-E130FEAB429E@nutanix.com>
Date: Tue, 23 Dec 2025 04:15:38 +0000
From: Jon Kohler <jon@...anix.com>
To: Sean Christopherson <seanjc@...gle.com>
CC: "pbonzini@...hat.com" <pbonzini@...hat.com>,
        "tglx@...utronix.de"
	<tglx@...utronix.de>,
        "mingo@...hat.com" <mingo@...hat.com>, "bp@...en8.de"
	<bp@...en8.de>,
        "dave.hansen@...ux.intel.com" <dave.hansen@...ux.intel.com>,
        "x86@...nel.org" <x86@...nel.org>, "hpa@...or.com" <hpa@...or.com>,
        "kvm@...r.kernel.org" <kvm@...r.kernel.org>,
        "linux-kernel@...r.kernel.org"
	<linux-kernel@...r.kernel.org>
Subject: Re: [RFC PATCH 05/18] KVM: x86: Add pt_guest_exec_control to
 kvm_vcpu_arch



> On May 12, 2025, at 2:15 PM, Sean Christopherson <seanjc@...gle.com> wrote:
> 
> On Thu, Mar 13, 2025, Jon Kohler wrote:
>> Add bool for pt_guest_exec_control to kvm_vcpu_arch, to be used for
>> runtime checks for Intel Mode Based Execution Control (MBEC) and
>> AMD Guest Mode Execute Control (GMET).
>> 
>> Signed-off-by: Jon Kohler <jon@...anix.com>
>> 
>> ---
>> arch/x86/include/asm/kvm_host.h | 2 ++
>> 1 file changed, 2 insertions(+)
>> 
>> diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h
>> index fd37dad38670..192233eb557a 100644
>> --- a/arch/x86/include/asm/kvm_host.h
>> +++ b/arch/x86/include/asm/kvm_host.h
>> @@ -856,6 +856,8 @@ struct kvm_vcpu_arch {
>> struct kvm_hypervisor_cpuid kvm_cpuid;
>> bool is_amd_compatible;
>> 
>> + bool pt_guest_exec_control;
> 
> Again, aside from the fast that putting this in kvm_vcpu_arch is wrong, this not
> worth of a separate patch.
> 

Ack/done - moved all of this to mmu role in v1, much cleaner there

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ