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

From: Fuad Tabba

Date: Thu Oct 08 2026 - 07:22:34 EST


Hi Vincent,

On Wed, 07 Oct 2026 16:02:55 +0100, Vincent Donnefort
<vdonnefort@xxxxxxxxxx> 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@xxxxxxxxxx>

Reviewed-by: Fuad Tabba <fuad.tabba@xxxxxxxxx>
Tested-by: Fuad Tabba <fuad.tabba@xxxxxxxxx>

Cheers,
/fuad