]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm/arm64: vgic-its: Cleanup after failed ITT restore
authorChristoffer Dall <cdall@linaro.org>
Mon, 8 May 2017 11:31:12 +0000 (13:31 +0200)
committerChristoffer Dall <cdall@linaro.org>
Tue, 9 May 2017 10:19:46 +0000 (12:19 +0200)
commitb312d0d9913840624b71ac24dc8bb1f70ca5c3d4
treec158183a0bfdccb96e951da65f38ebdf8973ebd3
parentce7b03017e33e2fb04d0f9947735cb19e0148f64
KVM: arm/arm64: vgic-its: Cleanup after failed ITT restore

When failing to restore the ITT for a DTE, we should remove the failed
device entry from the list and free the object.

We slightly refactor vgic_its_destroy to be able to reuse the now
separate vgic_its_free_dte() function.

Signed-off-by: Christoffer Dall <cdall@linaro.org>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
virt/kvm/arm/vgic/vgic-its.c