git: kernel - Improve ACPI compatibility with older BIOSes

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


commit dd62cb1009be64311a6460315301e1a6f3a88e04
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/dd62cb1009be64311a6460315301e1a6f3a88e04


-- 
DragonFly BSD source repository



More information about the Commits mailing list