aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorArd Biesheuvel <[email protected]>2024-02-14 13:28:52 +0100
committerCatalin Marinas <[email protected]>2024-02-16 12:42:29 +0000
commitaa99aad798a8bc6d35ada2af1dc38f75d364e1ce (patch)
tree44e9896455202068b0a74b58f59ed8a977e3aca2 /tools/perf/scripts/python
parent9c4cd2a7d12c2c5b11efe7831b54e46c73eb3a8c (diff)
arm64: head: Clear BSS and the kernel page tables in one go
We will move the CPU feature overrides into BSS in a subsequent patch, and this requires that BSS is zeroed before the feature override detection code runs. So let's map BSS read-write in the ID map, and zero it via this mapping. Since the kernel page tables are right next to it, and also zeroed via the ID map, let's drop the separate clear_page_tables() function, and just zero everything in one go. Signed-off-by: Ard Biesheuvel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions