git: kernel - Warn/assert on broken ACPI MADT

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Feb 10 22:18:01 PST 2020


commit 9cd8f4f8965f32c67023acb3969f7a65136920ee
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Feb 10 22:09:58 2020 -0800

    kernel - Warn/assert on broken ACPI MADT
    
    * Add warnings and assertions for broken ACPI MADT tables.  I encountered
      this trying to boot a 3990X on a motherboard with an old BIOS that didn't
      support it.  It tried to boot anyway, but the MADT table was mangled
      and caused a null-pointer indirection in the kernel.  Assert nicely
      instead.

Summary of changes:
 sys/kern/subr_cpu_topology.c         |  5 +++--
 sys/platform/pc64/acpica/acpi_madt.c | 15 +++++++++++++++
 2 files changed, 18 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9cd8f4f8965f32c67023acb3969f7a65136920ee


-- 
DragonFly BSD source repository



More information about the Commits mailing list