[PATCH 5/5] drivers/virt: pkvm: Allow granule larger than PAGE_SIZE

Fuad Tabba fuad.tabba at linux.dev
Thu Oct 8 04:21:47 PDT 2026


Hi Vincent,

On Wed, 07 Oct 2026 16:02:55 +0100, Vincent Donnefort
<vdonnefort at google.com> wrote:
> Both MEM_SHARE and MMIO_GUARD now support a PAGE_SIZE smaller than the
> hypervisor granule. We can relax this restriction.

nit: it would help to name the restriction, i.e., the res.a0 >
PAGE_SIZE check in pkvm_init_hyp_services().

> Signed-off-by: Vincent Donnefort <vdonnefort at google.com>

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

Cheers,
/fuad



More information about the linux-arm-kernel mailing list