want support for PCI BAR size >= 4G
Some nVIDIA GPUs have map all their RAM into a single BAR, which may be 16G. The code in i86pc/io/pci/pci_boot.c just ignores those BARs, which it really shouldn't.
Updated by Hans Rosenfeld almost 2 years ago
I ran this code on my test machine and verified that all the devices are still there and the prtconf -v output didn't change. I also checked that the memory lists in pci_bus_res still look sane. I checked that a system with two GPUs each with a 16GB BAR would work as expected.
Updated by Electric Monk almost 2 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit b5cf5bc277244cdacc06d213322ec98e76ef8d89 Author: Hans Rosenfeld <email@example.com> Date: 2018-09-26T19:30:14.000Z 9796 want support for PCI BAR size >= 4G Reviewed by: Jerry Jelinek <firstname.lastname@example.org> Reviewed by: Patrick Mooney <email@example.com> Reviewed by: Robert Mustacchi <firstname.lastname@example.org> Reviewed by: Toomas Soome <email@example.com> Reviewed by: Andy Fiddaman <firstname.lastname@example.org> Reviewed by: Garrett D'Amore <email@example.com> Approved by: Garrett D'Amore <firstname.lastname@example.org>