aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/pci.c
diff options
context:
space:
mode:
authorBreno Leitao <[email protected]>2025-07-07 16:01:03 +0000
committerWill Deacon <[email protected]>2025-07-08 12:41:08 +0000
commit0909c719c17b7a3e88dd1ee231b4a136c946c39e (patch)
tree5eca1758bc261a6847dc017a1854e816ac831965 /rust/helpers/pci.c
parentarm64: efi: Remove CONFIG_VMAP_STACK check (diff)
downloadkernel-0909c719c17b7a3e88dd1ee231b4a136c946c39e.tar.gz
kernel-0909c719c17b7a3e88dd1ee231b4a136c946c39e.zip
arm64: Remove CONFIG_VMAP_STACK conditionals from THREAD_SHIFT and THREAD_ALIGN
Now that VMAP_STACK is always enabled on arm64, remove the CONFIG_VMAP_STACK conditional logic from the definitions of THREAD_SHIFT and THREAD_ALIGN in arch/arm64/include/asm/memory.h. This simplifies the code by unconditionally setting THREAD_ALIGN to (2 * THREAD_SIZE) and adjusting the THREAD_SHIFT definition to only depend on MIN_THREAD_SHIFT and PAGE_SHIFT. This change reflects the updated arm64 stack model, where all kernel threads use virtually mapped stacks with guard pages, and ensures alignment and stack sizing are consistently handled. Signed-off-by: Breno Leitao <[email protected]> Acked-by: Ard Biesheuvel <[email protected]> Acked-by: Mark Rutland <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'rust/helpers/pci.c')
0 files changed, 0 insertions, 0 deletions