From: Marc Zyngier Date: Thu, 29 Aug 2013 10:08:23 +0000 (+0100) Subject: ARM: KVM: vgic: fix GICD_ICFGRn access X-Git-Tag: v3.12-rc1~143^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6545eae3d7a1b6dc2edb8ede9107998aee1207ef;p=pandora-kernel.git ARM: KVM: vgic: fix GICD_ICFGRn access All the code in handle_mmio_cfg_reg() assumes the offset has been shifted right to accomodate for the 2:1 bit compression, but this is only done when getting the register address. Shift the offset early so the code works mostly unchanged. Reported-by: Zhaobo (Bob, ERC) Signed-off-by: Marc Zyngier Signed-off-by: Gleb Natapov --- Reading git-diff-tree failed