]> git.baikalelectronics.ru Git - kernel.git/commit
x86/apic: Clarify i82489DX bit overlap in APIC_LVT0
authorThomas Gleixner <tglx@linutronix.de>
Tue, 12 Apr 2022 20:34:21 +0000 (22:34 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 13 Apr 2022 16:39:48 +0000 (18:39 +0200)
commit7b1526c40f2f1ce7de6192fd27cfe5a977accc5a
treec3c35e49a29f81b1e3c940b2fa2c3c48674a1bbe
parentef8e7cd3bfb3e514a5772f2c5874cf0913238d68
x86/apic: Clarify i82489DX bit overlap in APIC_LVT0

Daniel stumbled over the bit overlap of the i82498DX external APIC and the
TSC deadline timer configuration bit in modern APICs, which is neither
documented in the code nor in the current SDM. Maciej provided links to
the original i82489DX/486 documentation. See Link.

Remove the i82489DX macro maze, use a i82489DX specific define in the apic
code and document the overlap in a comment.

Reported-by: Daniel Vacek <neelx@redhat.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Maciej W. Rozycki <macro@orcam.me.uk>
Link: https://lore.kernel.org/r/87ee22f3ci.ffs@tglx
arch/x86/include/asm/apicdef.h
arch/x86/kernel/apic/apic.c