[PATCH v2] KVM: arm/arm64: vgic-its: Add error handling in vgic_its_cache_translation

Oliver Upton oliver.upton at linux.dev
Tue Dec 3 16:38:54 PST 2024


On Sat, 30 Nov 2024 15:49:53 +0100, Keisuke Nishimura wrote:
> The return value of xa_store() needs to be checked. This fix adds an
> error handling path that resolves the kref inconsistency on failure. As
> suggested by Oliver Upton, this function does not return the error code
> intentionally because the translation cache is best effort.
> 
> 

Applied to fixes, thanks!

[1/1] KVM: arm/arm64: vgic-its: Add error handling in vgic_its_cache_translation
      https://git.kernel.org/kvmarm/kvmarm/c/be7e61127422

--
Best,
Oliver



More information about the linux-arm-kernel mailing list