[Bug 223572] drm(4) pmap_mapdev()s PCI space addresses
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Nov 9 20:02:53 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223572
Bug ID: 223572
Summary: drm(4) pmap_mapdev()s PCI space addresses
Product: Base System
Version: CURRENT
Hardware: powerpc
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: kern
Assignee: freebsd-bugs at FreeBSD.org
Reporter: jhibbits at FreeBSD.org
drm_get_resource_start() gets an rman resource start, which is not always
physical address. On PowerPC, and any architecture that uses OFW/FDT, the
resources are specified in PCI space, not physical address space. This causes
the wrong mappings to be generated, potentially stomping on real memory.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list