From: Marc Zyngier Date: Thu, 15 May 2014 09:03:25 +0000 (+0100) Subject: KVM: ARM: vgic: revisit implementation of irqchip_in_kernel X-Git-Tag: omap-for-v3.17/fixes-against-rc2~130^2~11^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f982cf4e9c37b19478c7bc6e0484a43a7e78cf57;p=pandora-kernel.git 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 Signed-off-by: Marc Zyngier --- Reading git-diff-tree failed