On 8/4/2025 11:35 PM, Tianyu Lan wrote:
From: Tianyu Lan <ti...@microsoft.com>

Secure AVIC is a new hardware feature in the AMD64
architecture to allow SEV-SNP guests to prevent the
hypervisor from generating unexpected interrupts to
a vCPU or otherwise violate architectural assumptions
around APIC behavior.

Each vCPU has a guest-allocated APIC backing page of
size 4K, which maintains APIC state for that vCPU.
APIC backing page's ALLOWED_IRR field indicates the
interrupt vectors which the guest allows the hypervisor
to send.

This patchset is to enable the feature for Hyper-V
platform. Patch "Drivers: hv: Allow vmbus message
synic interrupt injected from Hyper-V" is to expose
new fucntion hv_enable_coco_interrupt() and device
driver and arch code may update AVIC backing page
ALLOWED_IRR field to allow Hyper-V inject associated
vector.

This patchset is based on the AMD patchset "AMD: Add
Secure AVIC Guest Support"



NIT:
Generally RFC tag is meant to be used for the patches which are probably not ready for merging, and is mostly intended for having a discussion around your changes. Since this is now reviewed by multiple people and have gone through multiple versions already, if you feel this can be merged, you can remove RFC tags in next version, if you are planning to send it.

Regards,
Naman


Reply via email to