arm, kmi: Clear interrupts in KMI devices
authorSudhanshu Jha <sudhanshu.jha@arm.com>
Mon, 27 Feb 2017 10:29:56 +0000 (10:29 +0000)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Tue, 7 Mar 2017 11:14:28 +0000 (11:14 +0000)
commit746e2f3c27ad83c36b7bc3b8bd3c92004fcf995b
tree3db0d446673d300a037516b8c8abebb8511dd296
parent46bfc14312f9b3b2f4e356f5d31405ae4ad394a8
arm, kmi: Clear interrupts in KMI devices

Added functionality to check and clear interrupts for KMI
devices. This fixes a boot bug when using KVM and in-kernel GIC
emulation.

Change-Id: Ia3e91d07567b7faf3f82b0adfda4a165a502a339
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/2225
Reviewed-by: Rahul Thakur <rjthakur@google.com>
src/dev/arm/kmi.cc
src/dev/arm/kmi.hh