]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ppc64: limited 32-bit DMA address range
authorluporl <luporl@FreeBSD.org>
Mon, 22 Oct 2018 13:40:50 +0000 (13:40 +0000)
committerluporl <luporl@FreeBSD.org>
Mon, 22 Oct 2018 13:40:50 +0000 (13:40 +0000)
commitbe45c5c587cc174dd387bd075b609a3f5494ed63
treee7f90718789a96f1d5a0fa72e8ad9d51e0bd5c4e
parentaec6da6f6238068e8e099f7b7e24e7f81b489cce
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