[PATCH 2/8] arm64: dts: qcom: sm8450: Remove unneeded reserved memory nodes
Esteban Urrutia
esteuwu at proton.me
Mon Jul 6 20:19:22 PDT 2026
On 7/6/26 2:24 PM, Dmitry Baryshkov wrote:
> Please verify that you can actually access those areas (boot with
> memtest=1)
Thanks for the suggestion!
I actually did boot an SM8475 based device I'm mainlining (motorola-bronco)
with this parameter.
Deleted regions in DT are as follows:
/delete-node/ &mte_mem;
/delete-node/ &oem_vm_mem; (seems to not exist in SM8475?)
/delete-node/ &qheebsp_reserved_mem;
/delete-node/ &trust_ui_vm_mem;
/delete-node/ &trust_ui_vm_qrtr;
/delete-node/ &trust_ui_vm_swiotlb;
/delete-node/ &trust_ui_vm_vblk0_ring;
/delete-node/ &trusted_apps_ext_mem;
/delete-node/ &trusted_apps_mem;
Here are the results:
[ 0.000000] early_memtest: # of tests: 1
[ 0.000000] 0x00000000808f4000 - 0x0000000080900000 pattern 0000000000000000
[ 0.000000] 0x0000000085200000 - 0x0000000085700000 pattern 0000000000000000
[ 0.000000] 0x0000000087f00000 - 0x0000000088000000 pattern 0000000000000000
[ 0.000000] 0x000000008b91c000 - 0x000000008ba00000 pattern 0000000000000000
[ 0.000000] 0x000000009ff80000 - 0x00000000a6e00000 pattern 0000000000000000
[ 0.000000] 0x00000000a6e40000 - 0x00000000a6f00000 pattern 0000000000000000
[ 0.000000] 0x00000000a7000000 - 0x00000000a8000000 pattern 0000000000000000
[ 0.000000] 0x00000000ab350000 - 0x00000000b70cd000 pattern 0000000000000000
[ 0.000000] 0x00000000b70ebdd1 - 0x00000000b72ce000 pattern 0000000000000000
[ 0.000000] 0x00000000b7fff000 - 0x00000000b8000000 pattern 0000000000000000
[ 0.000000] 0x00000000b89e3400 - 0x00000000e0600000 pattern 0000000000000000
[ 0.000000] 0x00000000e0b00000 - 0x00000000e8800000 pattern 0000000000000000
[ 0.000000] 0x00000000f1400000 - 0x0000000100000000 pattern 0000000000000000
[ 0.000000] 0x0000000800000000 - 0x000000083af00000 pattern 0000000000000000
[ 0.000000] 0x000000083b500000 - 0x000000083d300000 pattern 0000000000000000
[ 0.000000] 0x0000000840000000 - 0x000000097f089d40 pattern 0000000000000000
[ 0.000000] 0x000000097f089d6f - 0x000000097f089d70 pattern 0000000000000000
[ 0.000000] 0x000000097f153ff8 - 0x000000097f154000 pattern 0000000000000000
The device didn't crash at boot, and everything works as expected.
For the record, the manufacturer has made changes in downstream device
trees that state TVM is not used, so it's expected that the device works
without QHEE and TVM regions.
Regards,
Esteban
More information about the linux-arm-kernel
mailing list