DragonFly BSD
DragonFly commits List (threaded) for 2011-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: x86_64: Handle I/O APIC probing failure


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 15 May 2011 00:16:40 -0700 (PDT)

commit 944562df8d40fa1b6949f95af19ef90cc4e8227b
Author: Sepherosa Ziehau <sephe@dragonflybsd.org>
Date:   Sun May 15 14:50:30 2011 +0800

    x86_64: Handle I/O APIC probing failure
    
    If I/O APIC does not exist:
    - Reset apic_io_enable and reinitialize ICU if necessary; mainly for
      ICU's auto EOI setting.
    - Enable LAPIC LINT0 and disable LAPIC LINT1
    
    While I'm here, add hw.ioapic_probe tunable to test this feature (again,
    just don't it :)

Summary of changes:
 sys/platform/pc64/apic/ioapic.c       |   21 +++++++++++++--------
 sys/platform/pc64/apic/ioapic.h       |    2 +-
 sys/platform/pc64/apic/lapic.c        |   18 ++++++++++++++++++
 sys/platform/pc64/apic/lapic.h        |    1 +
 sys/platform/pc64/x86_64/mp_machdep.c |   10 ++++++++--
 5 files changed, 41 insertions(+), 11 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/944562df8d40fa1b6949f95af19ef90cc4e8227b


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]