]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: Rename .idmap.text in hyp linker script
authorDavid Brazdil <dbrazdil@google.com>
Tue, 5 Jan 2021 18:05:34 +0000 (18:05 +0000)
committerMarc Zyngier <maz@kernel.org>
Sat, 23 Jan 2021 13:58:49 +0000 (13:58 +0000)
commitb9c5f9201ff1a3a7f03d0c33ab25553c81e63137
tree30b1621009a45468c5ac28fe8bcd3800787e56d4
parent9fb686b91f85f6106279ccd602ad0555eb2734b1
KVM: arm64: Rename .idmap.text in hyp linker script

So far hyp-init.S created a .hyp.idmap.text section directly, without
relying on the hyp linker script to prefix its name. Change it to create
.idmap.text and add a HYP_SECTION entry to hyp.lds.S. This way all .hyp*
sections go through the linker script and can be instrumented there.

Signed-off-by: David Brazdil <dbrazdil@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210105180541.65031-2-dbrazdil@google.com
arch/arm64/kvm/hyp/nvhe/hyp-init.S
arch/arm64/kvm/hyp/nvhe/hyp.lds.S