Re: [RFC PATCH v7 12/37] x86/apic: KVM: Move lapic get/set_reg() helpers to common code
From: Sean Christopherson
Date: Wed Jun 25 2025 - 10:04:04 EST
On Tue, Jun 10, 2025, Neeraj Upadhyay wrote:
> Move the apic_get_reg() and apic_set_reg() helper functions to
> apic.h in order to reuse them in the Secure AVIC guest apic driver
> in later patches to read/write 32-bit registers from/to the APIC
> backing page.
Please squash this with the next patch that moves apic_{g,s}et_reg64(). Calling
out the need to access 32-bit registers is weird and confusing, and gives the
impression that the kernel doesn't need the 64-bit accessors, which is obviously
not true.