diff options
author | Eric Auger <eric.auger@redhat.com> | 2017-11-07 13:03:52 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2017-11-07 13:03:52 +0000 |
commit | 8a7348b5d62d7ea16807e6bea54b448a0184bb0f (patch) | |
tree | 07517e73cc632fb3eb2bb0bec5fda5afc4b2f597 /util/lockcnt.c | |
parent | 3a575cd2c2411f139a95ace4b2523bc1dfd21755 (diff) |
hw/intc/arm_gicv3_its: Don't abort on table save failure
The ITS is not fully properly reset at the moment. Caches are
not emptied.
After a reset, in case we attempt to save the state before
the bound devices have registered their MSIs and after the
1st level table has been allocated by the ITS driver
(device BASER is valid), the first level entries are still
invalid. If the device cache is not empty (devices registered
before the reset), vgic_its_save_device_tables fails with -EINVAL.
This causes a QEMU abort().
Cc: qemu-stable@nongnu.org
Signed-off-by: Eric Auger <eric.auger@redhat.com>
Reported-by: wanghaibin <wanghaibin.wang@huawei.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'util/lockcnt.c')
0 files changed, 0 insertions, 0 deletions