From: Haibin Wang Date: Tue, 29 Apr 2014 06:49:17 +0000 (+0800) Subject: KVM: ARM: vgic: Fix the overlap check action about setting the GICD & GICC base address. X-Git-Tag: omap-for-v3.16/pm-signed~20^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30c2117085bc4e05d091cee6eba79f069b41a9cd;p=pandora-kernel.git KVM: ARM: vgic: Fix the overlap check action about setting the GICD & GICC base address. Currently below check in vgic_ioaddr_overlap will always succeed, because the vgic dist base and vgic cpu base are still kept UNDEF after initialization. The code as follows will be return forever. if (IS_VGIC_ADDR_UNDEF(dist) || IS_VGIC_ADDR_UNDEF(cpu)) return 0; So, before invoking the vgic_ioaddr_overlap, it needs to set the corresponding base address firstly. Signed-off-by: Haibin Wang Acked-by: Marc Zyngier Signed-off-by: Christoffer Dall --- Reading git-diff-tree failed