Skip to content
Commit 16991af2 authored by Nicolas Saenz Julienne's avatar Nicolas Saenz Julienne Committed by Phil Elwell
Browse files

overlays: Add pcie-32bit-dma overlay

In order to accommodate full PCI DMA access to memory on newer BCM2711
revisions, we're forced to map PCIe's view of physical memory with an
offset. This offset makes DMA addressing dependent on having 64bit
support on the PCI device's side. Which isn't always the case.

In order to mitigate this, introduce the pcie-32bit-dma overlay which
will forbid firmware from updating the default inbound memory window.
The default setting, albeit limited to accessing the lower 3GB of
memory, will allow for 32bit DMA addresses at the expense of having to
bounce buffers.

Link: https://github.com/raspberrypi/linux/issues/4197


Signed-off-by: default avatarNicolas Saenz Julienne <nsaenzjulienne@suse.de>
parent 4e05f95a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment