[PATCH v19 17/20] KVM: arm64: CCA: WARN on injected undef exceptions

Gavin Shan gshan at redhat.com
Sun Sep 27 18:28:48 PDT 2026


On 9/21/26 7:28 AM, Suzuki K Poulose wrote:
> From: Steven Price <steven.price at arm.com>
> 
> The RMM doesn't allow injection of a undefined exception into a realm
> guest. Add a WARN to catch if this ever happens.
> 
> Signed-off-by: Steven Price <steven.price at arm.com>
> ---
> Changes since v15:
>   * Switch to KVM_BUG() to mark the VM as bugged as well.
> Changes since v6:
>   * if (x) WARN(1, ...) makes no sense, just WARN(x, ...)!
> ---
>   arch/arm64/kvm/inject_fault.c | 1 +
>   1 file changed, 1 insertion(+)
> 
Reviewed-by: Gavin Shan <gshan at redhat.com>




More information about the linux-arm-kernel mailing list