* Re: [PATCH v4 1/4] arm64: dts: ti: k3-am62a7-sk: Split r5f memory region [not found] ` <20260429-topic-am62a-ioddr-dt-v6-19-v4-1-fc27d6ac753c@baylibre.com> @ 2026-05-05 12:41 ` Nishanth Menon 2026-05-07 13:14 ` Markus Schneider-Pargmann 0 siblings, 1 reply; 3+ messages in thread From: Nishanth Menon @ 2026-05-05 12:41 UTC (permalink / raw) To: Markus Schneider-Pargmann (TI) Cc: Bjorn Andersson, Mathieu Poirier, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Suman Anna, Vignesh Raghavendra, Tero Kristo, Vishal Mahaveer, Kevin Hilman, Dhruva Gole, Sebin Francis, Kendall Willis, Akashdeep Kaur, linux-remoteproc, devicetree, linux-kernel, linux-arm-kernel On 15:22-20260429, Markus Schneider-Pargmann (TI) wrote: > Split the firmware memory region in more specific parts so it is better > described where to find which information. Specifically the LPM metadata > region is important as bootloader software like U-Boot has to know where > that data is to be able to read that data. > > Signed-off-by: Markus Schneider-Pargmann (TI) <msp@baylibre.com> > --- > arch/arm64/boot/dts/ti/k3-am62a7-sk.dts | 40 +++++++++++++++++++++++++++++++-- > 1 file changed, 38 insertions(+), 2 deletions(-) > > diff --git a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts > index c1e9067b3bdd5ab0591541d4685bb17a5dac4f65..6f2ee93c7be141ee5ae3f1e3324d3a060db069f6 100644 > --- a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts > +++ b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts > @@ -59,9 +59,33 @@ wkup_r5fss0_core0_dma_memory_region: memory@9c800000 { > no-map; > }; > > - wkup_r5fss0_core0_memory_region: memory@9c900000 { > + wkup_r5fss0_core0_ipc_region: memory@9c900000 { Looks like you have'nt addressed Vignesh's comments from previous revision. https://lore.kernel.org/all/DHS46FH9ZYZB.3BG6HVH832NAE@baylibre.com/ We dropped wkup_r5fss0_core0_memory_region here.. > #include "k3-am62a-ti-ipc-firmware.dtsi" In this file: https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git/tree/arch/arm64/boot/dts/ti/k3-am62a-ti-ipc-firmware.dtsi#n27 https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git/tree/arch/arm64/boot/dts/ti/k3-am62a-ti-ipc-firmware.dtsi#n68 I am not clear where wkup_r5fss0_core0_memory_region is now defined. BUT, in the patch, we introduce: > + > +&wkup_r5fss0_core0 { > + memory-region = <&wkup_r5fss0_core0_dma_memory_region>, > + <&wkup_r5fss0_core0_ipc_region>, > + <&wkup_r5fss0_core0_lpm_fs_stub_region>, > + <&wkup_r5fss0_core0_lpm_metadata_region>, > + <&wkup_r5fss0_core0_lpm_rest_region>, > + <&wkup_r5fss0_core0_dm_region>; > + memory-region-names = "dma", "ipc", "lpm-stub", > + "lpm-metadata", "lpm-context", > + "dm-firmware"; > +}; So we go ahead an override the definitions of ipc-firmware.dtsi for wkup_r5fss0_core0 here - explaining why the build does'nt fail. I am confused why the ipc firmware dtsi was'nt updated instead? is this something different firmware dtsi now? if so, we should split the ipc-firmware.dtsi accordingly. Commit message does'nt mention the same either. This right solution is to make up our minds if ipc-firmware.dtsi is meant for LPM mode support or not. if not, split the dtsi, if yes, do the mods in the ipc.dtsi -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D https://ti.com/opensource ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v4 1/4] arm64: dts: ti: k3-am62a7-sk: Split r5f memory region 2026-05-05 12:41 ` [PATCH v4 1/4] arm64: dts: ti: k3-am62a7-sk: Split r5f memory region Nishanth Menon @ 2026-05-07 13:14 ` Markus Schneider-Pargmann 2026-05-07 15:57 ` Nishanth Menon 0 siblings, 1 reply; 3+ messages in thread From: Markus Schneider-Pargmann @ 2026-05-07 13:14 UTC (permalink / raw) To: Nishanth Menon, Markus Schneider-Pargmann (TI) Cc: Bjorn Andersson, Mathieu Poirier, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Suman Anna, Vignesh Raghavendra, Tero Kristo, Vishal Mahaveer, Kevin Hilman, Dhruva Gole, Sebin Francis, Kendall Willis, Akashdeep Kaur, linux-remoteproc, devicetree, linux-kernel, linux-arm-kernel [-- Attachment #1: Type: text/plain, Size: 3495 bytes --] Hi Nishanth, On Tue May 5, 2026 at 2:41 PM CEST, Nishanth Menon wrote: > On 15:22-20260429, Markus Schneider-Pargmann (TI) wrote: >> Split the firmware memory region in more specific parts so it is better >> described where to find which information. Specifically the LPM metadata >> region is important as bootloader software like U-Boot has to know where >> that data is to be able to read that data. >> >> Signed-off-by: Markus Schneider-Pargmann (TI) <msp@baylibre.com> >> --- >> arch/arm64/boot/dts/ti/k3-am62a7-sk.dts | 40 +++++++++++++++++++++++++++++++-- >> 1 file changed, 38 insertions(+), 2 deletions(-) >> >> diff --git a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts >> index c1e9067b3bdd5ab0591541d4685bb17a5dac4f65..6f2ee93c7be141ee5ae3f1e3324d3a060db069f6 100644 >> --- a/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts >> +++ b/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts >> @@ -59,9 +59,33 @@ wkup_r5fss0_core0_dma_memory_region: memory@9c800000 { >> no-map; >> }; >> >> - wkup_r5fss0_core0_memory_region: memory@9c900000 { >> + wkup_r5fss0_core0_ipc_region: memory@9c900000 { > > Looks like you have'nt addressed Vignesh's comments from previous > revision. > > https://lore.kernel.org/all/DHS46FH9ZYZB.3BG6HVH832NAE@baylibre.com/ Sorry, I was trying to understand the issue in that thread but I didn't and didn't get a response so I couldn't really address it. > > We dropped wkup_r5fss0_core0_memory_region here.. > >> #include "k3-am62a-ti-ipc-firmware.dtsi" > In this file: > https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git/tree/arch/arm64/boot/dts/ti/k3-am62a-ti-ipc-firmware.dtsi#n27 This file line 27 is mcu_r5fss0_core0_memory_region: memory@9b900000 { compatible = "shared-dma-pool"; reg = <0x00 0x9b900000 0x00 0xf00000>; no-map; }; But my patch is removing wkup_r5fss0_core0_memory_region and not touching the mcu_* definitions. > https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git/tree/arch/arm64/boot/dts/ti/k3-am62a-ti-ipc-firmware.dtsi#n68 > > I am not clear where wkup_r5fss0_core0_memory_region is now defined. It is not defined anymore for k3-am62a7-sk. > BUT, in the patch, we introduce: > >> + >> +&wkup_r5fss0_core0 { >> + memory-region = <&wkup_r5fss0_core0_dma_memory_region>, >> + <&wkup_r5fss0_core0_ipc_region>, >> + <&wkup_r5fss0_core0_lpm_fs_stub_region>, >> + <&wkup_r5fss0_core0_lpm_metadata_region>, >> + <&wkup_r5fss0_core0_lpm_rest_region>, >> + <&wkup_r5fss0_core0_dm_region>; >> + memory-region-names = "dma", "ipc", "lpm-stub", >> + "lpm-metadata", "lpm-context", >> + "dm-firmware"; >> +}; > > > So we go ahead an override the definitions of ipc-firmware.dtsi for > wkup_r5fss0_core0 here - explaining why the build does'nt fail. I am > confused why the ipc firmware dtsi was'nt updated instead? is this > something different firmware dtsi now? if so, we should split the > ipc-firmware.dtsi accordingly. Commit message does'nt mention the same > either. This right solution is to make up our minds if ipc-firmware.dtsi > is meant for LPM mode support or not. if not, split the dtsi, if yes, do > the mods in the ipc.dtsi We can update the firmware definitions as well. I currently only did this for am62a and am62p as these require the new format so IO+DDR works. But if you prefer I can make the changes to firmware.dtsi instead. Best Markus [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 289 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v4 1/4] arm64: dts: ti: k3-am62a7-sk: Split r5f memory region 2026-05-07 13:14 ` Markus Schneider-Pargmann @ 2026-05-07 15:57 ` Nishanth Menon 0 siblings, 0 replies; 3+ messages in thread From: Nishanth Menon @ 2026-05-07 15:57 UTC (permalink / raw) To: Markus Schneider-Pargmann Cc: Bjorn Andersson, Mathieu Poirier, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Suman Anna, Vignesh Raghavendra, Tero Kristo, Vishal Mahaveer, Kevin Hilman, Dhruva Gole, Sebin Francis, Kendall Willis, Akashdeep Kaur, linux-remoteproc, devicetree, linux-kernel, linux-arm-kernel On 15:14-20260507, Markus Schneider-Pargmann wrote: > > > > So we go ahead an override the definitions of ipc-firmware.dtsi for > > wkup_r5fss0_core0 here - explaining why the build does'nt fail. I am > > confused why the ipc firmware dtsi was'nt updated instead? is this > > something different firmware dtsi now? if so, we should split the > > ipc-firmware.dtsi accordingly. Commit message does'nt mention the same > > either. This right solution is to make up our minds if ipc-firmware.dtsi > > is meant for LPM mode support or not. if not, split the dtsi, if yes, do > > the mods in the ipc.dtsi > > We can update the firmware definitions as well. I currently only did > this for am62a and am62p as these require the new format so IO+DDR > works. But if you prefer I can make the changes to firmware.dtsi > instead. That was the entire purpose of splitting ipc-firmware.dtsi out - if the default firmware carveouts have changed, do the change in ipc-firmware.dtsi. That way some other firmware people will have could potentially have their own dtsi files and handle things appropriately there, even if they are using the same evm OR if they use the exact ipc-firmware on different boards, that will appropriately introduce the change there as well. BUT, do check first. -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D https://ti.com/opensource ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-05-07 15:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20260429-topic-am62a-ioddr-dt-v6-19-v4-0-fc27d6ac753c@baylibre.com>
[not found] ` <20260429-topic-am62a-ioddr-dt-v6-19-v4-1-fc27d6ac753c@baylibre.com>
2026-05-05 12:41 ` [PATCH v4 1/4] arm64: dts: ti: k3-am62a7-sk: Split r5f memory region Nishanth Menon
2026-05-07 13:14 ` Markus Schneider-Pargmann
2026-05-07 15:57 ` Nishanth Menon
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox