Re: [PATCH] dt-bindings: PCI: mediatek-gen3: Allow memory-region for restricted DMA buffer
From: AngeloGioacchino Del Regno
Date: Mon May 11 2026 - 06:10:04 EST
On 5/8/26 08:36, Chen-Yu Tsai wrote:
On some SoCs without an IOMMU behind the PCIe controller, the PCIe
controller memory access could be limited to a small region by the
firmware configuring a memory protection unit. This memory region
must be assigned to the PCIe controller so that the OS knows to
use that region. Otherwise PCIe devices would not work properly.
Allow the memory-region property with one item pointing to a
restricted DMA buffer.
Signed-off-by: Chen-Yu Tsai <wenst@xxxxxxxxxxxx>
Makes a lot of sense, and actually makes us able to provide a correct hardware
description in the devicetrees.
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>