]> git.ipfire.org Git - thirdparty/linux.git/commit
x86/apic: Read and write LVT* APIC registers from HV for SAVIC guests
authorNeeraj Upadhyay <Neeraj.Upadhyay@amd.com>
Thu, 28 Aug 2025 11:13:56 +0000 (16:43 +0530)
committerBorislav Petkov (AMD) <bp@alien8.de>
Mon, 1 Sep 2025 11:02:11 +0000 (13:02 +0200)
commit8e3714305ad29866d27aa354f09fd03036f44375
tree5805ca52f07c18300c5586eea685c87a2552189c
parent28bbfad229e4addf9990279c73c07b762b4a04e4
x86/apic: Read and write LVT* APIC registers from HV for SAVIC guests

The Hypervisor needs information about the current state of the LVT registers
for device emulation and NMIs. So, forward reads and write of these registers
to the hypervisor for Secure AVIC enabled guests.

Signed-off-by: Neeraj Upadhyay <Neeraj.Upadhyay@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Tianyu Lan <tiala@microsoft.com>
Link: https://lore.kernel.org/20250828111356.208972-1-Neeraj.Upadhyay@amd.com
arch/x86/kernel/apic/x2apic_savic.c