Thread (5 messages) 5 messages, 3 authors, 2026-01-21

Re: [PATCH] arm64: dts: imx95: Reserve eDMA channels 0-1 for V2X

From: Laurentiu Mihalcea <hidden>
Date: 2026-01-20 12:29:43
Also in: imx, linux-devicetree, lkml

On 1/20/2026 12:35 AM, Joy Zou wrote:
quoted hunk ↗ jump to hunk
Reserve eDMA channels 0 and 1 on the AXI eDMA controller for exclusive
use by V2X (Vehicle-to-Everything) fast hash operations.

Signed-off-by: Joy Zou <redacted>
---
---
 arch/arm64/boot/dts/freescale/imx95.dtsi | 1 +
 1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/freescale/imx95.dtsi b/arch/arm64/boot/dts/freescale/imx95.dtsi
index 55e2da094c889fc7c1096d0e36f31ae118d2a982..24d02aa18b2f480bbffdc30bc41c658fb3aaf67a 100644
--- a/arch/arm64/boot/dts/freescale/imx95.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx95.dtsi
@@ -631,6 +631,7 @@ edma2: dma-controller@42000000 {
 				reg = <0x42000000 0x210000>;
 				#dma-cells = <3>;
 				dma-channels = <64>;
+				dma-channel-mask = <0x3>;
 				interrupts = <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>,
 					     <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>,
 					     <GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>,
---
base-commit: d08c85ac8894995d4b0d8fb48d2f6a3e53cd79ab
change-id: 20260120-b4-imx95-v2x-3e01c7bc6881

Best regards,

Thanks, this fixes the kernel panics on MX95-15x15-FRDM and MX95-19x19-EVK after

AP access is removed from said channels via SM.


Just one thing: can you do this change for imx95-19x19-evk-sof.dts as well?

If not, I'll just send a patch for that later on.


Either way:

Reviewed-by: Laurentiu Mihalcea <redacted>

Tested-by: Laurentiu Mihalcea <redacted> # MX95-15x15-FRDM, MX95-19x19-EVK

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help