]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ppc64: limited 32-bit DMA address range
authorLeandro Lupori <luporl@FreeBSD.org>
Mon, 22 Oct 2018 13:40:50 +0000 (13:40 +0000)
committerLeandro Lupori <luporl@FreeBSD.org>
Mon, 22 Oct 2018 13:40:50 +0000 (13:40 +0000)
commitd93e635a814af042376fd10b372000c4621caed7
treee7f90718789a96f1d5a0fa72e8ad9d51e0bd5c4e
parent88d57e9eacb569b4e70b68a4bdc66ccf1dcc29ab
ppc64: limited 32-bit DMA address range

Further investigation of issues with 32-bit DMA on PowerNV revealed that
its window is hardcoded by OPAL (at least in skiboot version 5.4.9) and
cannot be changed by the OS.
Thus, now jhb suggestion of limiting the range in PCI DMA tag seems
the best way to deal with it.

Reviewed by: jhibbits, nwhitehorn, sbruno
Approved by: jhibbits(mentor)
Differential Revision: https://reviews.freebsd.org/D17601
sys/powerpc/powernv/opal_pci.c