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 about 1 year 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 about 1 year ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit b5cf5bc277244cdacc06d213322ec98e76ef8d89 Author: Hans Rosenfeld <firstname.lastname@example.org> Date: 2018-09-26T19:30:14.000Z 9796 want support for PCI BAR size >= 4G Reviewed by: Jerry Jelinek <email@example.com> Reviewed by: Patrick Mooney <firstname.lastname@example.org> Reviewed by: Robert Mustacchi <email@example.com> Reviewed by: Toomas Soome <firstname.lastname@example.org> Reviewed by: Andy Fiddaman <email@example.com> Reviewed by: Garrett D'Amore <firstname.lastname@example.org> Approved by: Garrett D'Amore <email@example.com>