From patchwork Wed May 18 14:41:50 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caesar Wang X-Patchwork-Id: 9119851 Return-Path: X-Original-To: patchwork-linux-rockchip@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 42520BF29F for ; Wed, 18 May 2016 14:42:49 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6F53720306 for ; Wed, 18 May 2016 14:42:48 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7789D2022D for ; Wed, 18 May 2016 14:42:47 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1b32gO-0003zC-AM; Wed, 18 May 2016 14:42:44 +0000 Received: from mail-pf0-f194.google.com ([209.85.192.194]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1b32gM-0003vX-JZ; Wed, 18 May 2016 14:42:43 +0000 Received: by mail-pf0-f194.google.com with SMTP id b66so5278794pfb.2; Wed, 18 May 2016 07:42:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=ABSxhv7KUxH/Bqm/nLufaDweMkVO7SGurT6bjftqN1k=; b=KUGl3tNvsi75CCKoNe1JJIleUlmXzISK3hXvl0ixa18/VXOlV6L9liwNiFBB9u+Bpb y8eDxHljmrpPjpfiCeiCd9BuhTkFaOT1vf/aLRAjkPJY7euyB1Mg7VLGxoyekn8X0YwW HQtMAmTAWmD2DwcXe7PID6o6ejqAQo2VA+fbEFWMNdad0XT3IGJkHBsqki3VqyIbMULw wxCXW+n9/jcgvPE1civLRaU1AKm86e1TKd2XtjjWZoRjM2viAyw8lsd/cwmZvbsSgLWj IY/J0Q66C33QHqZKoYpcdBCpJYUEjnhZaWlHEQpgXXWknLwdgyU/PrvqGDZyFRZ4m15W n5Hg== X-Gm-Message-State: AOPr4FVwF5zI13tw3dHv78YmrhdK44c7uPzX+TuMz/L7if1ZAadP3+xjQZGLZ6fEzdRa0g== X-Received: by 10.98.82.19 with SMTP id g19mr11478763pfb.157.1463582539879; Wed, 18 May 2016 07:42:19 -0700 (PDT) Received: from localhost.localdomain ([104.37.5.136]) by smtp.gmail.com with ESMTPSA id l88sm12896957pfb.79.2016.05.18.07.42.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 18 May 2016 07:42:18 -0700 (PDT) From: Caesar Wang To: Heiko Stuebner Subject: [PATCH] arm64: dts: rockchip: fixes the gic400 2nd region size for rk3368 Date: Wed, 18 May 2016 22:41:50 +0800 Message-Id: <1463582510-29156-1-git-send-email-wxt@rock-chips.com> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160518_074242_694352_83C3D7E7 X-CRM114-Status: GOOD ( 11.77 ) X-Spam-Score: -2.4 (--) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Lorenzo Pieralisi , Pawel Moll , Ian Campbell , Catalin Marinas , Shawn Lin , Will Deacon , linux-kernel@vger.kernel.org, Eduardo Valentin , linux-rockchip@lists.infradead.org, Rob Herring , Matthias Brugger , Kumar Gala , Olof Johansson , linux-arm-kernel@lists.infradead.org, Caesar Wang MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The 2nd additional region is the GIC virtual cpu interface register base and size. As the gic400 of rk3368 says, the cpu interface register map as below : -0x0000 GICC_CTRL . . . -0x00fc GICC_IIDR -0x1000 GICC_IDR Obviously, the region size should be greater than 0x1000. So we should make sure to include the GICC_IDR since the kernel will access it in some cases. Signed-off-by: Caesar Wang Cc: Heiko Stuebner Cc: linux-arm-kernel@lists.infradead.org Cc: linux-rockchip@lists.infradead.org Reviewed-by: Shawn Lin --- arch/arm64/boot/dts/rockchip/rk3368.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3368.dtsi b/arch/arm64/boot/dts/rockchip/rk3368.dtsi index 8b4a7c9..080203e 100644 --- a/arch/arm64/boot/dts/rockchip/rk3368.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3368.dtsi @@ -670,7 +670,7 @@ #address-cells = <0>; reg = <0x0 0xffb71000 0x0 0x1000>, - <0x0 0xffb72000 0x0 0x1000>, + <0x0 0xffb72000 0x0 0x2000>, <0x0 0xffb74000 0x0 0x2000>, <0x0 0xffb76000 0x0 0x2000>; interrupts =