[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMvTesDRy34gnJCQwDg1Qg+95snPzjB=JQ5+OJ=dJD40bPSSjw@mail.gmail.com>
Date: Tue, 10 Jun 2025 14:52:05 +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, francescolavra.fl@...il.com, tiala@...rosoft.com
Subject: Re: [RFC PATCH v6 15/32] x86/apic: Add new driver for Secure AVIC
On Wed, May 14, 2025 at 3:25 PM Neeraj Upadhyay <Neeraj.Upadhyay@....com> wrote:
>
> The Secure AVIC feature provides SEV-SNP guests hardware acceleration
> for performance sensitive APIC accesses while securely managing the
> guest-owned APIC state through the use of a private APIC backing page.
> This helps prevent hypervisor from generating unexpected interrupts for
> a vCPU or otherwise violate architectural assumptions around APIC
> behavior.
>
> Add a new x2APIC driver that will serve as the base of the Secure AVIC
> support. It is initially the same as the x2APIC phys driver (without
> IPI callbacks), but will be modified as features of Secure AVIC are
> implemented.
>
> As the new driver does not implement Secure AVIC features yet, if the
> hypervisor sets the Secure AVIC bit in SEV_STATUS, maintain the existing
> behavior to enforce the guest termination.
>
> 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>
> ---
Reviewed-by: Tianyu Lan <tiala@...rosoft.com>
--
Thanks
Tianyu Lan
Powered by blists - more mailing lists