]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: mediatek: mt8192-asurada: Move PCIe DMA bounce buffer to host
authorChen-Yu Tsai <wenst@chromium.org>
Thu, 30 Apr 2026 12:07:24 +0000 (20:07 +0800)
committerAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Mon, 11 May 2026 11:57:22 +0000 (13:57 +0200)
The DMA bounce buffer is attached to the PCIe host controller, i.e. all
PCIe DMA transfers should use it.

Move it from the PCIe (WiFi) device node down to the PCIe host
controller node.

Fixes: 0dca9f0b3e63 ("arm64: dts: mediatek: asurada: Enable PCIe and add WiFi")
Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
arch/arm64/boot/dts/mediatek/mt8192-asurada.dtsi

index eadf1b2d156f295c793944139a1d77699e55f135..95d4db2b7979410a37b19d955f87011db6f7a11c 100644 (file)
 &pcie {
        pinctrl-names = "default";
        pinctrl-0 = <&pcie_pins>;
+       memory-region = <&wifi_restricted_dma_region>;
 
        pcie0: pcie@0,0 {
                device_type = "pci";
                wifi: wifi@0,0 {
                        reg = <0x10000 0 0 0 0x100000>,
                              <0x10000 0 0x100000 0 0x100000>;
-                       memory-region = <&wifi_restricted_dma_region>;
                };
        };
 };