commit | f982cf4e9c37b19478c7bc6e0484a43a7e78cf57 | [log] [tgz] |
---|---|---|
author | Marc Zyngier <marc.zyngier@arm.com> | Thu May 15 10:03:25 2014 +0100 |
committer | Christoffer Dall <christoffer.dall@linaro.org> | Fri Jul 11 04:57:35 2014 -0700 |
tree | acb2c678e9ef7f0301025b4c2b2296991a402dc3 | |
parent | 8f186d522c69bb18dd9b93a634da4953228c67d4 [diff] |
KVM: ARM: vgic: revisit implementation of irqchip_in_kernel So far, irqchip_in_kernel() was implemented by testing the value of vctrl_base, which worked fine with GICv2. With GICv3, this field is useless, as we're using system registers instead of a emmory mapped interface. To solve this, add a boolean flag indicating if the we're using a vgic or not. Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>