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)
commitdaf3af4705ba8f49d33ea9b7bafdc9fd9efd49e0
treec3c35e49a29f81b1e3c940b2fa2c3c48674a1bbe
parentce522ba9ef7e2d9fb22a39eb3371c0c64e2a433e
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