From b8b10f87c2a772d67e06e9abbe6050180746e8f6 Mon Sep 17 00:00:00 2001 From: Vincent Donnefort Date: Wed, 15 Mar 2023 17:17:56 +0000 Subject: [PATCH] ANDROID: KVM: arm64: Page-align hyp events section The following change: 16d9a0f908b0 ("ANDROID: KVM: arm64: Rename nVHE hyp event ELF sections") Interverted the hyp events with the hypervisor read-only sections. This had the side-effect of breaking the alignment for idmap_pg_dir. Bug: 273752182 Change-Id: I50a2220aa93b10d97e20d794b0283aa9e18839c1 Signed-off-by: Vincent Donnefort --- arch/arm64/kernel/vmlinux.lds.S | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/kernel/vmlinux.lds.S b/arch/arm64/kernel/vmlinux.lds.S index c6772b86ba65..bd828de974ac 100644 --- a/arch/arm64/kernel/vmlinux.lds.S +++ b/arch/arm64/kernel/vmlinux.lds.S @@ -210,6 +210,7 @@ SECTIONS __hyp_events_start = .; *(_hyp_events) __hyp_events_end = .; + . = ALIGN(PAGE_SIZE); } #endif