summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKenny Cheng <chao.shun.cheng.tw@gmail.com>2026-02-23 07:47:15 +0800
committerRob Herring (Arm) <robh@kernel.org>2026-02-27 17:49:31 -0600
commit28f060c4b0667a7fbed9818ef19b6974d53ad708 (patch)
tree7d9fe51afae2d47bd8be6f231952a0aecb241d7a /tools/perf/scripts/python
parentbe4b91d9aae51cfbc1d80f899c0f8aad081fc711 (diff)
of: fix incorrect device creation for reserved memory nodes
The current global search for nodes in reserved_mem_matches can find nodes outside "/reserved-memory". These nodes might not have actual memory reserved (via memblock), leading to drivers (e.g., ramoops) accessing unreserved memory and causing memory corruption. Restrict the scan to the "/reserved-memory" node to ensure created devices are correctly backed by reserved memory. This enforces specification compliance and avoids dangerous probing. Signed-off-by: Kenny Cheng <chao.shun.cheng.tw@gmail.com> Link: https://patch.msgid.link/20260222234715.1748302-1-chao.shun.cheng.tw@gmail.com Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions