git: mptable - use the table's cpu_flags

Alex Hornung alexh at crater.dragonflybsd.org
Sun Jul 29 07:59:53 PDT 2012


commit b7fe87d9c44618d094a0afadc408e5466a726604
Author: Alex Hornung <alex at alexhornung.com>
Date:   Sun Jul 29 15:28:00 2012 +0000

    mptable - use the table's cpu_flags
    
     * Sometimes the CPUs are marked as disabled in the APIC table, and for
       good reason (e.g. a machine having only 24 cores, but 32 appearing in
       the APIC table, 8 of them disabled).
    
     * Just in case, provide an override that falls back to the old
       behaviour. This is the tunable hw.lapic_force_enable. It will force
       all lapic entries to be marked as enabled. It is however not the
       default.
    
     * When parsing, don't error out when a lapic id is invalid (255) but it
       is disabled.
    
    Reported-by: Mihai Carabas, Francois Tigeot

Summary of changes:
 sys/platform/pc32/acpica5/acpi_madt.c |   13 +++++++------
 sys/platform/pc32/i386/mptable.c      |    5 ++++-
 sys/platform/pc64/acpica5/acpi_madt.c |   13 +++++++------
 sys/platform/pc64/x86_64/mptable.c    |    5 ++++-
 4 files changed, 22 insertions(+), 14 deletions(-)

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


-- 
DragonFly BSD source repository





More information about the Commits mailing list