[Bug 241651] linuxkpi doesn't handle uninitialized PCI devices
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Nov 1 22:00:56 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241651
Bug ID: 241651
Summary: linuxkpi doesn't handle uninitialized PCI devices
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: bugs at FreeBSD.org
Reporter: jhibbits at FreeBSD.org
The linuxkpi assumes that PCI devices are already fully configured. However,
sometimes video cards are not configured by firmware and need to be initialized
instead by FreeBSD.
Linux KPI uses the PCI device resource lists directly, which can fail when a
device is not initialized.
According to jhb@, this should be done instead by using pci_find_bar(), and
other PCI API functions, in linux_pci_get_bar() instead of trolling through the
resource list directly, so that the BARs get properly initialized.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list