Re: [PATCH v21 18/23] KVM: arm64: CCA: Don't expose unsupported capabilities for realm guests
From: Suzuki K Poulose
Date: Fri Oct 02 2026 - 05:36:50 EST
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@xxxxxxx> 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@xxxxxxxxx>
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@xxxxxxxxx/