Re: [PATCH v7 25/45] KVM: arm64: WARN on injected undef exceptions

Gavin Shan
2025-03-04T05:40:08Z

On 2/14/25 2:14 AM, Steven Price wrote:
> 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@arm.com>
> ---
> 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@redhat.com>