arm64: dts: k3-am623-pfc-750-8xxx: add no-map and gap reservations for AM623 PFC
Add missing no-map property to ramoops region to prevent Linux from managing it as regular memory. Reserve gap regions adjacent to ioremap_wc-mapped M4 memory to avoid ARM64 cache aliasing issues caused by Linux allocating pages next to these regions. Also reserve a gap between r5f-dma-memory and TF-A region to prevent potential memory conflicts. Signed-off-by: Heinrich Toews <ht@twx-software.de>
This commit is contained in:
@@ -71,6 +71,7 @@
|
||||
ramoops@9ca00000 {
|
||||
compatible = "ramoops";
|
||||
reg = <0x00 0x9ca00000 0x00 0x00100000>;
|
||||
no-map;
|
||||
record-size = <0x8000>;
|
||||
console-size = <0x8000>;
|
||||
ftrace-size = <0x00>;
|
||||
@@ -89,12 +90,26 @@
|
||||
no-map;
|
||||
};
|
||||
|
||||
/* Gap between m4f-memory and r5f-dma-memory: must be reserved
|
||||
* to prevent Linux from allocating pages that are adjacent to
|
||||
* ioremap_wc-mapped M4 regions (ARM64 cache aliasing). */
|
||||
m4f_gap_memory: m4f-gap@9da00000 {
|
||||
reg = <0x00 0x9da00000 0x00 0x100000>;
|
||||
no-map;
|
||||
};
|
||||
|
||||
wkup_r5fss0_core0_dma_memory_region: r5f-dma-memory@9db00000 {
|
||||
compatible = "shared-dma-pool";
|
||||
reg = <0x00 0x9db00000 0x00 0xc00000>;
|
||||
no-map;
|
||||
};
|
||||
|
||||
/* Gap between r5f-dma-memory and tfa */
|
||||
r5f_gap_memory: r5f-gap@9e700000 {
|
||||
reg = <0x00 0x9e700000 0x00 0x80000>;
|
||||
no-map;
|
||||
};
|
||||
|
||||
mcu_m4fss_dma_memory_region: m4f-dma-memory@9cb00000 {
|
||||
compatible = "shared-dma-pool";
|
||||
reg = <0x00 0x9cb00000 0x00 0x100000>;
|
||||
|
||||
Reference in New Issue
Block a user