Skip to content
Commit aec8da04 authored by Thomas Gleixner's avatar Thomas Gleixner
Browse files

x86/ioapic: Correct the PCI/ISA trigger type selection



PCI's default trigger type is level and ISA's is edge. The recent
refactoring made it the other way round, which went unnoticed as it seems
only to cause havoc on some AMD systems.

Make the comment and code do the right thing again.

Fixes: a27dca64 ("x86/io_apic: Cleanup trigger/polarity helpers")
Reported-by: default avatarTom Lendacky <thomas.lendacky@amd.com>
Reported-by: default avatarBorislav Petkov <bp@alien8.de>
Reported-by: default avatarQian Cai <cai@redhat.com>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Tested-by: default avatarTom Lendacky <thomas.lendacky@amd.com>
Cc: David Woodhouse <dwmw@amazon.co.uk>
Link: https://lore.kernel.org/r/87d00lgu13.fsf@nanos.tec.linutronix.de
parent f36a74b9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment