git: x86_64/ioapic: Make sure that legacy IRQ only appears on one CPU.
sephe at crater.dragonflybsd.org
Mon Apr 23 07:28:06 PDT 2018
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date: Mon Apr 23 22:15:44 2018 +0800
x86_64/ioapic: Make sure that legacy IRQ only appears on one CPU.
The legacy IRQ lookup assumes only one CPU has a given legacy IRQ.
On system w/ large number of IOAPIC, GSI96 could be mapped to IRQ17
on CPU0 (since IRQ96 is used by SYSCALL), while GSI17 is mapped to
IRQ17 on another CPU. This breaks later IRQ lookup.
Reported-by: Imre Vadasz
Tested-by: Imre Vadasz
Summary of changes:
sys/platform/pc64/apic/ioapic_abi.c | 37 ++++++++++++++++++++++++-------------
1 file changed, 24 insertions(+), 13 deletions(-)
DragonFly BSD source repository
More information about the Commits