Date: Fri, 01 Nov 2019 22:00:55 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 241651] linuxkpi doesn't handle uninitialized PCI devices Message-ID: <bug-241651-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241651 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@FreeBSD.org Reporter: jhibbits@FreeBSD.org The linuxkpi assumes that PCI devices are already fully configured. Howeve= r, sometimes video cards are not configured by firmware and need to be initial= ized 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. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-241651-227>