]> git.ipfire.org Git - thirdparty/linux.git/commit
x86/apic: Drop AMD Extended Interrupt LVT macros
authorNaveen N Rao (AMD) <naveen@kernel.org>
Wed, 1 Apr 2026 04:56:32 +0000 (10:26 +0530)
committerBorislav Petkov (AMD) <bp@alien8.de>
Fri, 3 Apr 2026 22:56:40 +0000 (00:56 +0200)
commit5635c8bfd3ab0757c5461d2165f6b284862826bf
treee5437b49825ef4eafdea8619872fa132970f61e7
parent6a9fe1ad908df12ef71dea12373f25826ea29a8d
x86/apic: Drop AMD Extended Interrupt LVT macros

AMD defines Extended Interrupt Local Vector Table (EILVT) registers to allow
for additional interrupt sources. While the APIC registers for those are
unique to AMD, the format of those registers follows the standard LVT
registers. Drop EILVT-specific macros in favor of the standard APIC
LVT macros.

Drop unused APIC_EILVT_NR_AMD_K8 and APIC_EILVT_LVTOFF while at it.

No functional change.

  [ bp: Merge the two cleanup patches into one. ]

Signed-off-by: Naveen N Rao (AMD) <naveen@kernel.org>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Tested-by: Manali Shukla <manali.shukla@amd.com>
Link: https://patch.msgid.link/b98d69037c0102d2ccd082a941888a689cd214c9.1775019269.git.naveen@kernel.org
arch/x86/events/amd/ibs.c
arch/x86/include/asm/apicdef.h
arch/x86/kernel/apic/apic.c
arch/x86/kernel/cpu/mce/amd.c