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: <CAMvTesCYoLfdpBG_w+LD1uFgVK7+iqZPs0UJj-kYf3EkVkWozA@mail.gmail.com>
Date: Tue, 15 Jul 2025 18:15:02 +0800
From: Tianyu Lan <ltykernel@...il.com>
To: Neeraj Upadhyay <Neeraj.Upadhyay@....com>
Cc: linux-kernel@...r.kernel.org, bp@...en8.de, tglx@...utronix.de, 
	mingo@...hat.com, dave.hansen@...ux.intel.com, Thomas.Lendacky@....com, 
	nikunj@....com, Santosh.Shukla@....com, Vasant.Hegde@....com, 
	Suravee.Suthikulpanit@....com, David.Kaplan@....com, x86@...nel.org, 
	hpa@...or.com, peterz@...radead.org, seanjc@...gle.com, pbonzini@...hat.com, 
	kvm@...r.kernel.org, kirill.shutemov@...ux.intel.com, huibo.wang@....com, 
	naveen.rao@....com, kai.huang@...el.com
Subject: Re: [RFC PATCH v8 23/35] x86/apic: Add update_vector() callback for
 Secure AVIC

On Wed, Jul 9, 2025 at 11:44 AM Neeraj Upadhyay <Neeraj.Upadhyay@....com> wrote:
>
> Add update_vector() callback to set/clear ALLOWED_IRR field in
> a vCPU's APIC backing page for vectors which are emulated by the
> hypervisor.
>
> The ALLOWED_IRR field indicates the interrupt vectors which the
> guest allows the hypervisor to inject (typically for emulated devices).
> Interrupt vectors used exclusively by the guest itself and the vectors
> which are not emulated by the hypervisor, such as IPI vectors, should
> not be set by the guest in the ALLOWED_IRR fields.
>
> As clearing/setting state of a vector will also be used in subsequent
> commits for other APIC regs (such as APIC_IRR update for sending IPI),
> add a common update_vector() in Secure AVIC driver.
>
> Co-developed-by: Kishon Vijay Abraham I <kvijayab@....com>
> Signed-off-by: Kishon Vijay Abraham I <kvijayab@....com>
> Signed-off-by: Neeraj Upadhyay <Neeraj.Upadhyay@....com>
> ---
> Changes since v7:
>  - No change.

Reviewed-by: Tianyu Lan <tiala@...rosoft.com>
-- 
Thanks
Tianyu Lan

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ