On Wed, 09 Jul 2025 09:02:07 +0530, Neeraj Upadhyay wrote: > Introduction > ------------ > > 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. > > [...] Applied the KVM refactorings and code movement to kvm-x86 apic. Tip tree folks, please holler if you object to any of these patches, i.e. if you want to bikeshed some names. :-) I've thrown these in a dedicated topic branch, but I'll hold off on creating an "official" stable tag for a few days to try to avoid having to carry fixups (hopefully none are needed). [01/35] KVM: x86: Open code setting/clearing of bits in the ISR https://github.com/kvm-x86/linux/commit/ac48017020a5 [02/35] KVM: x86: Remove redundant parentheses around 'bitmap' https://github.com/kvm-x86/linux/commit/3fb7b83e2a72 [03/35] x86/apic: KVM: Deduplicate APIC vector => register+bit math https://github.com/kvm-x86/linux/commit/dc98e3bd494b [04/35] KVM: x86: Rename VEC_POS/REG_POS macro usages https://github.com/kvm-x86/linux/commit/9cbb5fd156d7 [05/35] KVM: x86: Change lapic regs base address to void pointer https://github.com/kvm-x86/linux/commit/e2fa7905b293 [06/35] KVM: x86: Rename find_highest_vector() https://github.com/kvm-x86/linux/commit/bdaccfe4e517 [07/35] KVM: x86: Rename lapic get/set_reg() helpers https://github.com/kvm-x86/linux/commit/b9bd231913cf [08/35] KVM: x86: Rename lapic get/set_reg64() helpers https://github.com/kvm-x86/linux/commit/9c23bc4fec2b [09/35] KVM: x86: Rename lapic set/clear vector helpers https://github.com/kvm-x86/linux/commit/b5f8980f29ce [10/35] x86/apic: KVM: Move apic_find_highest_vector() to a common header https://github.com/kvm-x86/linux/commit/39e81633f65e [11/35] x86/apic: KVM: Move lapic get/set helpers to common code https://github.com/kvm-x86/linux/commit/3d3a9083da1e [12/35] x86/apic: KVM: Move lapic set/clear_vector() helpers to common code https://github.com/kvm-x86/linux/commit/fe954bcd577e [13/35] x86/apic: KVM: Move apic_test)vector() to common code https://github.com/kvm-x86/linux/commit/17776e6c203b [14/35] x86/apic: Rename 'reg_off' to 'reg' https://github.com/kvm-x86/linux/commit/b95a9d313642 -- https://github.com/kvm-x86/linux/tree/next