git: DragonFly_RELEASE_5_2 x86_64/ioapic: Make sure that legacy IRQ only appears on one CPU.

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Mon Apr 23 07:30:33 PDT 2018


commit af4982b6e71e23514428c9c7755335f2f15f2e23
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(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/af4982b6e71e23514428c9c7755335f2f15f2e23


-- 
DragonFly BSD source repository



More information about the Commits mailing list