]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: arm64: Add .hyp.data section
authorDavid Brazdil <dbrazdil@google.com>
Wed, 16 Apr 2025 16:08:57 +0000 (16:08 +0000)
committerMarc Zyngier <maz@kernel.org>
Tue, 6 May 2025 08:56:18 +0000 (09:56 +0100)
commit74b13d5816c9389381e937b218f49f03921f87fe
tree0621eefc4f5c438c31c0807baab1c592df5c13e8
parent9c32cda43eb78f78c73aee4aa344b777714e259b
KVM: arm64: Add .hyp.data section

The hypervisor has not needed its own .data section because all globals
were either .rodata or .bss. To avoid having to initialize future
data-structures at run-time, let's introduce add a .data section to the
hypervisor.

Signed-off-by: David Brazdil <dbrazdil@google.com>
Signed-off-by: Quentin Perret <qperret@google.com>
Link: https://lore.kernel.org/r/20250416160900.3078417-2-qperret@google.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/include/asm/sections.h
arch/arm64/kernel/image-vars.h
arch/arm64/kernel/vmlinux.lds.S
arch/arm64/kvm/arm.c
arch/arm64/kvm/hyp/nvhe/hyp.lds.S
arch/arm64/kvm/hyp/nvhe/setup.c
arch/arm64/kvm/pkvm.c