Received: from eggs.gnu.org ([2001:4830:134:3::10]:55942) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZJ9Q-0004s5-By for qemu-devel@nongnu.org; Tue, 08 Sep 2015 09:41:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZZJ9L-0006a5-VJ for qemu-devel@nongnu.org; Tue, 08 Sep 2015 09:41:31 -0400 Received: from mail-pa0-f53.google.com ([209.85.220.53]:33402) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZJ9L-0006Zc-PS for qemu-devel@nongnu.org; Tue, 08 Sep 2015 09:41:27 -0400 Received: by pacex6 with SMTP id ex6so124721786pac.0 for ; Tue, 08 Sep 2015 06:41:26 -0700 (PDT) From: Nathan Rossi Date: Tue, 8 Sep 2015 23:41:12 +1000 Message-Id: <1441719672-25296-1-git-send-email-nathan@nathanrossi.com> Subject: [Qemu-devel] [PATCH] arm: xlnx-zynqmp: Fix up GIC region size List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: "Edgar E . Iglesias" , Nathan Rossi The GIC in ZynqMP cover a 64K address space, however the actual registers are decoded within a 4K address space and mirrored at the 4K boundaries. This change fixes the defined size for these regions as it was set to 0x4000/16K incorrectly. Signed-off-by: Nathan Rossi --- include/hw/arm/xlnx-zynqmp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/hw/arm/xlnx-zynqmp.h b/include/hw/arm/xlnx-zynqmp.h index 6ccb57b..23b8453 100644 --- a/include/hw/arm/xlnx-zynqmp.h +++ b/include/hw/arm/xlnx-zynqmp.h @@ -44,7 +44,7 @@ * number of memory region aliases. */ -#define XLNX_ZYNQMP_GIC_REGION_SIZE 0x4000 +#define XLNX_ZYNQMP_GIC_REGION_SIZE 0x1000 #define XLNX_ZYNQMP_GIC_ALIASES (0x10000 / XLNX_ZYNQMP_GIC_REGION_SIZE - 1) typedef struct XlnxZynqMPState { -- 2.5.1