OSDN Git Service

KVM: arm64: Page-align the .hyp sections
authorQuentin Perret <qperret@google.com>
Fri, 19 Mar 2021 10:01:44 +0000 (10:01 +0000)
committerMarc Zyngier <maz@kernel.org>
Fri, 19 Mar 2021 12:02:18 +0000 (12:02 +0000)
commitb83042f0f143a5e9e899924987b542b2ac766e53
treef4f264654a1d2e5f36ab4444009ccb4e4c51e13e
parent1025c8c0c6accfcbdc8f52ca1940160f65cd87d6
KVM: arm64: Page-align the .hyp sections

We will soon unmap the .hyp sections from the host stage 2 in Protected
nVHE mode, which obviously works with at least page granularity, so make
sure to align them correctly.

Acked-by: Will Deacon <will@kernel.org>
Signed-off-by: Quentin Perret <qperret@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210319100146.1149909-37-qperret@google.com
arch/arm64/kernel/vmlinux.lds.S