[PATCH] KVM: arm64: Remove PAGE_SIZE alignment for hyp event ELF sections

Fuad Tabba fuad.tabba at linux.dev
Thu Sep 24 09:14:54 PDT 2026


Hi Vincent,

On Thu, 24 Sep 2026 10:51:54 +0100, Vincent Donnefort
<vdonnefort at google.com> wrote:
> .hyp.event_ids is mapped as part of .hyp.rodata. As a consequence this
> section does not need any page-alignment. Remove it to save a page worth
> of memory.
>
> Fixes: 0a90fbc8a170 ("KVM: arm64: Add event support to the nVHE/pKVM hyp and trace remote")

Could you either drop the Fixes: tag or say in the message what goes
wrong without this patch? As it stands the message describes a
one-page saving, and the tag makes it a candidate for stable.

With that:
Reviewed-by: Fuad Tabba <fuad.tabba at linux.dev>

Tested with the hypervisor remote ftrace selftests, in pKVM and in nVHE:
Tested-by: Fuad Tabba <fuad.tabba at linux.dev>

Cheers,
/fuad



More information about the linux-arm-kernel mailing list