git: kernel - Fix bug in resource_list_alloc() for addresses > 4GB

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Jul 28 00:49:43 PDT 2020


commit 20ffbfa0b3b868623ee04343703a6a74dae9fb39
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Jul 28 00:34:40 2020 -0700

    kernel - Fix bug in resource_list_alloc() for addresses > 4GB
    
    * Fix a bug in resource_list_alloc() that was preventing DFly from
      mapping PCI memory above 4GB.  Basically we had a legacy 'max()'
      function use in there that should have been 'ulmax()'.
    
    * Fixes USB device probe on modern Intel laptops.
    
    * Fixes some VMs which use high addresses to map fake devices.

Summary of changes:
 sys/kern/subr_bus.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/20ffbfa0b3b868623ee04343703a6a74dae9fb39


-- 
DragonFly BSD source repository


More information about the Commits mailing list