hw/intc/arm_gicv3_its: Implement a minimalist reset
commitc9aedf8ca4b4c16641812c018770f5da3ebf640c
authorEric Auger <eric.auger@redhat.com>
Wed, 13 Dec 2017 17:59:22 +0000 (13 17:59 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 13 Dec 2017 17:59:22 +0000 (13 17:59 +0000)
tree604c92262019594979caf898e81a7db206a2d5f1
parent7e7244796bc8d69a277669bb4137980fd2527b13
hw/intc/arm_gicv3_its: Implement a minimalist reset

At the moment the ITS is not properly reset and this causes
various bugs on save/restore. We implement a minimalist reset
through individual register writes but for kernel versions
before v4.15 this fails voiding the vITS cache. We cannot
claim we have a comprehensive reset (hence the error message)
but that's better than nothing.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1511883692-11511-3-git-send-email-eric.auger@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/intc/arm_gicv3_its_kvm.c