Review Board 2.0.15


kvm, arm, dev: Add an in-kernel GIC implementation

Review Request #2837 - Created May 18, 2015 and submitted - Latest diff uploaded

Information
Andreas Sandberg
gem5
default
Reviewers
Default
Changeset 10849:378ad81e9acd
---------------------------
kvm, arm, dev: Add an in-kernel GIC implementation

This changeset adds a GIC implementation that uses the kernel's
built-in support for simulating the interrupt controller. Since there
is currently no support for state transfer between gem5 and the
kernel, the device model does not support serialization and CPU
switching (which would require switching to a gem5-simulated GIC).

Tested with the gem5's aarch64 kvm implementation (see separate review request). Boots Linux and interacts nicely with the interactive console. Note: The kernel requires simulated devices to be well behaved and clear interrupts. This means that the PCI IDE device model doesn't work. Use the VirtIO block device instead.