[PATCH v6 00/24] Huge mapping support for protected VMs

Fuad Tabba fuad.tabba at linux.dev
Thu Dec 3 11:27:22 PST 2026


Hi Vincent,

On Thu, 03 Dec 2026 11:51:45 +0000, Vincent Donnefort
<vdonnefort at google.com> wrote:
> Currently, pKVM handles stage-2 mappings and ownership tracking strictly
> at the PAGE_SIZE level. This series extends pKVM to support PMD_SIZE
> block mappings, thereby enabling Transparent Huge Pages (THP) for
> protected guests. hugetlbfs is currently unsupported as it does not
> appear as swapbacked.

Tested on QEMU with CONFIG_NVHE_EL2_DEBUG, protected and non-protected
guests, including a THP-backed protected guest that gets PMD mappings,
and one with a low RLIMIT_MEMLOCK that falls back to PAGE_SIZE.

For the series:
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