summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorPatrick Wildt <patrick@cvs.openbsd.org>2021-07-09 20:19:47 +0000
committerPatrick Wildt <patrick@cvs.openbsd.org>2021-07-09 20:19:47 +0000
commit34b9f087446136084d0424ff7b80089e096c26bb (patch)
tree5a058f72811ff32038fbdd0549985378083d7874 /distrib
parent71749a71b50371ab03a184d503dbddbae8ce898b (diff)
Parse /soc/dma-ranges to populate the openbsd,dma-constraint property.
On the MNT Reform, which uses a i.MX8MQ with 4 GB of memory, this makes sure that we don't allocate DMA buffers above the 32-bit boundary. As it turns out the i.MX8MQ's I/O devices are limited to 32-bit addresses. The i.MX8MP seems to be better in that regard, though at least the USB controller is still limited. That's a bit harder to fix in a dynamic fashion, but we'll take care of that as soon as someone shows up with an i.MX8MP with that much memory. ok kettenis@
Diffstat (limited to 'distrib')
0 files changed, 0 insertions, 0 deletions