On 28 November 2017 at 15:41, Eric Auger <eric.au...@redhat.com> wrote: > At the moment the ITS is not properly reset. On System reset or > reboot, previous ITS register values and caches are left > unchanged. Some of the registers might point to some guest RAM > tables which are not valid anymore. This leads to state > inconsistencies that are detected by the kernel save/restore > code. And eventually this may cause qemu abort. > > This series adds vITS reset modality: > - the 2 first patches bring a minimalist reset through individual > register writes. However, with kernel versions < 4.15, this reset > is not complete (vITS caches are not voided). > - With kernel versions >= 4.15 we can rely on a new ITS KVM device > reset IOTCL. The last 2 patches introduce the full reset. > > Tested with 4.11, 4.14 and 4.15 host kernels.
Applied v6 to target-arm.next for 2.12; thanks. -- PMM