]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: Set up .hyp.rodata ELF section
authorDavid Brazdil <dbrazdil@google.com>
Tue, 5 Jan 2021 18:05:35 +0000 (18:05 +0000)
committerMarc Zyngier <maz@kernel.org>
Sat, 23 Jan 2021 13:58:49 +0000 (13:58 +0000)
commit7a0f0f62dcea2419e2bcf179440cceb8cf5fd6fd
tree897136b7d67352f3c20b8fcd440d8159042db1a4
parent733f42b493087b3cd40eb5ee568378a06c12fac3
KVM: arm64: Set up .hyp.rodata ELF section

We will need to recognize pointers in .rodata specific to hyp, so
establish a .hyp.rodata ELF section. Merge it with the existing
.hyp.data..ro_after_init as they are treated the same at runtime.

Signed-off-by: David Brazdil <dbrazdil@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210105180541.65031-3-dbrazdil@google.com
arch/arm64/include/asm/sections.h
arch/arm64/kernel/vmlinux.lds.S
arch/arm64/kvm/arm.c
arch/arm64/kvm/hyp/nvhe/hyp.lds.S