Re: [PATCH v5 08/11] KVM: arm64: CCA: Restrict Realm memslots to the lower IPA half

From: Fuad Tabba

Date: Tue Dec 01 2026 - 13:40:04 EST


On Mon, 30 Nov 2026 at 14:26, Steven Price <steven.price@xxxxxxx> wrote:
>
> From: Suzuki K Poulose <suzuki.poulose@xxxxxxx>
>
> The upper half of a Realm's IPA space aliases its lower, protected
> half. Restrict memslots to the lower half so a memslot cannot be
> created in the shared alias.
>
> Keep the existing post-creation move/delete restriction scoped to
> pKVM. Protected VMs, including Realms, continue to reject dirty
> logging and read-only memslots.
>
> Signed-off-by: Suzuki K Poulose <suzuki.poulose@xxxxxxx>
> Signed-off-by: Steven Price <steven.price@xxxxxxx>

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

Cheers,
/fuad