aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorArd Biesheuvel <[email protected]>2025-05-08 11:43:31 +0000
committerWill Deacon <[email protected]>2025-05-16 15:05:21 +0000
commit4afff6cc9a55b1a6ce4bf6fdf2084acd9ca34195 (patch)
tree6d6e97809024df9741265c4849d2dc01963d97e1 /rust/helpers/helpers.c
parentarm64/boot: Move init_pgdir[] and init_idmap_pgdir[] into __pi_ namespace (diff)
downloadkernel-4afff6cc9a55b1a6ce4bf6fdf2084acd9ca34195.tar.gz
kernel-4afff6cc9a55b1a6ce4bf6fdf2084acd9ca34195.zip
arm64/boot: Move global CPU override variables out of BSS
Accessing BSS will no longer be permitted from the startup code in arch/arm64/kernel/pi, as some of it executes before BSS is cleared. Clearing BSS earlier would involve managing cache coherency explicitly in software, which is a hassle we prefer to avoid. So move some variables that are assigned by the startup code out of BSS and into .data. Signed-off-by: Ard Biesheuvel <[email protected]> Tested-by: Yeoreum Yun <[email protected]> Reviewed-by: Yeoreum Yun <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions