]> www.infradead.org Git - users/dwmw2/linux.git/commit
arm64: kvm: Introduce nvhe stack size constants
authorKalesh Singh <kaleshsingh@google.com>
Tue, 12 Nov 2024 00:32:50 +0000 (16:32 -0800)
committerMarc Zyngier <maz@kernel.org>
Wed, 8 Jan 2025 11:25:28 +0000 (11:25 +0000)
commit38f9e4b905a00047a96fbdc6cefe9ceb4dae34c3
tree7921208a763a4e8af5655627715d5e0b48e0cbd4
parent68344037b764401f751c66661c53334ea1e15324
arm64: kvm: Introduce nvhe stack size constants

Refactor nvhe stack code to use NVHE_STACK_SIZE/SHIFT constants,
instead of directly using PAGE_SIZE/SHIFT. This makes the code a bit
easier to read, without introducing any functional changes.

Cc: Marc Zyngier <maz@kernel.org>
Cc: Mark Brown <broonie@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Will Deacon <will@kernel.org>
Signed-off-by: Kalesh Singh <kaleshsingh@google.com>
Link: https://lore.kernel.org/r/20241112003336.1375584-1-kaleshsingh@google.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/include/asm/memory.h
arch/arm64/include/asm/stacktrace/nvhe.h
arch/arm64/kvm/arm.c
arch/arm64/kvm/hyp/nvhe/host.S
arch/arm64/kvm/hyp/nvhe/mm.c
arch/arm64/kvm/hyp/nvhe/stacktrace.c
arch/arm64/kvm/mmu.c
arch/arm64/kvm/stacktrace.c