[PATCH v21 18/23] KVM: arm64: CCA: Don't expose unsupported capabilities for realm guests

Suzuki K Poulose suzuki.poulose at arm.com
Fri Oct 2 02:36:34 PDT 2026


On 02/10/2026 10:34, Fuad Tabba wrote:
> Hi Suzuki,
> 
> On Thu, 01 Oct 2026 22:06:58 +0100, Suzuki K Poulose
> <suzuki.poulose at arm.com> wrote:
> [...]
>> diff --git a/arch/arm64/kvm/arm.c b/arch/arm64/kvm/arm.c
> [...]
>> +static inline bool kvm_vm_ioctl_allowed(struct kvm *kvm, unsigned int ioctl)
> [...]
>> +       r = kvm_get_cap_for_kvm_ioctl(ioctl, &ext);
>> +       if (WARN_ON_ONCE(r < 0))
>> +               return false;
> 
> The fix [1] is in -rc5, so a rebase conflicts here. Please make sure
> to carry it into this copy, i.e., a plain "if (r < 0)".


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

Thanks Fuad, like I mentioned, I have flagged this with Marc and he was 
happy to fix as part of the conflict resolution.

Suzuki

> 
> Cheers,
> /fuad
> 
> [1] https://lore.kernel.org/all/20260914093838.1082637-1-fuad.tabba@linux.dev/




More information about the linux-arm-kernel mailing list