summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2026-11-04 11:46:03 +0100
committerPaul Walmsley <pjw@kernel.org>2026-11-21 12:27:09 -0700
commitfc91dacd0c2b4f9ca7e0ce30016f5aee6256cba5 (patch)
treea8b017c47d00a076f10bf01a07b8e7a5d40a7cbf /tools/perf/scripts/python/bin
parent27fc871b963183d9371cc838c1a543033d91357f (diff)
riscv: mm: reserve the DTB before scanning reserved memory
early_init_fdt_scan_reserved_mem() allocates memory from memblock while it scans /reserved-memory: the reserved_mem array, and the regions that are placed dynamically by size. On RISC-V the DTB was only reserved after that scan, so memblock could hand out the memory the DTB occupies while the DTB was still being parsed. Reserve the DTB before the scan, so that memblock never allocates from it. Fixes: ef69d2559fe9 ("riscv: Move early dtb mapping into the fixmap region") Closes: https://lore.kernel.org/all/b71ac175-fba5-4f61-bbdb-0b98dec9ccee@samsung.com/ Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Link: https://patch.msgid.link/20261104104604.3370384-1-m.szyprowski@samsung.com Cc: stable@vger.kernel.org Signed-off-by: Paul Walmsley <pjw@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions