kvm, arm: Switch to the device EQ when accessing ISA devices
authorAndreas Sandberg <andreas.sandberg@arm.com>
Thu, 27 Jul 2017 09:26:07 +0000 (09:26 +0000)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Tue, 1 Aug 2017 16:20:24 +0000 (16:20 +0000)
commitdb85b8ff32c46796aa91fecb04ea1ae3411c077e
tree601211fa2486b21504883cc85f379edb1d9016b0
parent1935cec529ac2ae7d9b31f1e55f333a0769184b5
kvm, arm: Switch to the device EQ when accessing ISA devices

ISA devices typically run in the device event queue. Previously, we
assumed that devices would perform their own EQ migrations as
needed. This isn't ideal since it means we have different conventions
for IO devices and ISA devices. Switch to doing migrations in the KVM
CPU instead to make the behavior consistent.

Change-Id: I33b74480fb2126b0786dbdbfdcfa86083384250c
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/4288
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
src/arch/arm/kvm/armv8_cpu.cc
src/dev/arm/generic_timer.cc