git: DragonFly_RELEASE_5_2 kernel - Improve ACPI compatibility with older BIOSes

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Jun 11 13:25:33 PDT 2018


commit f2a7ba3b8def06e2492dc68cee9abe4301068b6d
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Jun 11 13:21:53 2018 -0700

    kernel - Improve ACPI compatibility with older BIOSes
    
    * ACPI alignment field in ACPI resources can sometimes be 0, leading
      to passing 0 for 'align' to acpi_res_set_iorange() which panics the
      box with a division-by-zero fault.
    
    * Relax handling of this argument by setting it to 1 if it is found
      to be 0.
    
    * Fixes DFly panics with certain older BIOSes.
    
    Reported-by: myu

Summary of changes:
 sys/dev/acpica/acpi_resource.c | 2 ++
 1 file changed, 2 insertions(+)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list