Shashi Mallela <[email protected]> writes: > This patchset implements qemu device model for enabling physical > LPI support and ITS functionality in GIC as per GICv3 specification. > Both flat table and 2 level tables are implemented.The ITS commands > for adding/deleting ITS table entries,trigerring LPI interrupts are > implemented.Translated LPI interrupt ids are processed by redistributor > to determine priority and set pending state appropriately before > forwarding the same to cpu interface. > The ITS feature support has been added to sbsa-ref platform as well as > virt platform,wherein the emulated functionality co-exists with kvm > kernel functionality.
Running the kvm-unit-tests ITS set:
env QEMU=$HOME/lsrc/qemu.git/builds/arm.all/qemu-system-aarch64
./run_tests.sh -g its
with a patched unitests.cfg to remove the KVM requirement I get:
PASS its-introspection (5 tests)
FAIL its-trigger (6 tests, 1 unexpected failures)
FAIL its-migration
FAIL its-pending-migration (1 tests, 1 unexpected failures)
SKIP its-migrate-unmapped-collection (1 tests, 1 skipped)
The its-migration asserts:
Now migrate the VM, then press a key to continue...
INFO: gicv3: its-migration: Migration complete
INT dev_id=2 event_id=20
/home/alex/lsrc/tests/kvm-unit-tests.git/lib/arm64/gic-v3-its-cmd.c:192:
assert failed: false: INT timeout!
STACK:
Full logs attached:
for-shash.logs
Description: logs from kvm-unit-tests ITS run
-- Alex Bennée
