From patchwork Tue Feb 16 09:43:22 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dirk Behme X-Patchwork-Id: 8323411 Return-Path: X-Original-To: patchwork-linux-renesas-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id BD6E09F72C for ; Tue, 16 Feb 2016 09:43:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D1B3120303 for ; Tue, 16 Feb 2016 09:43:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A668F202F8 for ; Tue, 16 Feb 2016 09:43:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754415AbcBPJna (ORCPT ); Tue, 16 Feb 2016 04:43:30 -0500 Received: from smtp6-v.fe.bosch.de ([139.15.237.11]:19179 "EHLO smtp6-v.fe.bosch.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754335AbcBPJn2 (ORCPT ); Tue, 16 Feb 2016 04:43:28 -0500 Received: from vsmta12.fe.internet.bosch.com (unknown [10.4.98.52]) by imta23.fe.bosch.de (Postfix) with ESMTP id D2BD4158016B; Tue, 16 Feb 2016 10:43:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=de.bosch.com; s=2015-01-21; t=1455615806; bh=GoaiW2P9u57/9KKM4tO+AHEFsSPPXJ/qBmMLewD/wQU=; l=10; h=From:From:Reply-To:Sender; b=VwYB4LVUiqkZHw6G81vjpIhRchG5GeSsymfIYCKU1gRX0m42ZlRXNjvOf/eLBbS1k bbGPgN6EUtTKP047ZqY3p989je42hJwyhlVeDXp5xpOH7B6vg4E5xe/uh95+aI77Zc OqElHTRHqFpf9AAuyQQNNOpCdwUQyHTycxy+Zs14= Received: from SI-HUB1000.de.bosch.com (vsgw23.fe.internet.bosch.com [10.4.98.23]) by vsmta12.fe.internet.bosch.com (Postfix) with ESMTP id 5DB211B802C2; Tue, 16 Feb 2016 10:43:26 +0100 (CET) Received: from hi-z5661.hi.de.bosch.com (10.34.211.2) by SI-HUB1000.de.bosch.com (10.4.103.106) with Microsoft SMTP Server id 14.3.195.1; Tue, 16 Feb 2016 10:43:25 +0100 Received: from hi-z5661.hi.de.bosch.com (localhost [127.0.0.1]) by hi-z5661.hi.de.bosch.com (Postfix) with ESMTP id A50EA40ECD; Tue, 16 Feb 2016 10:43:25 +0100 (CET) From: Dirk Behme To: , , , CC: , , Dirk Behme Subject: [PATCH v2] arm64: dts: r8a7795: Add GIC-400 virtual interfaces Date: Tue, 16 Feb 2016 10:43:22 +0100 Message-ID: <1455615802-9083-1-git-send-email-dirk.behme@de.bosch.com> X-Mailer: git-send-email 2.5.0 MIME-Version: 1.0 X-TM-AS-MML: disable X-TM-AS-Product-Ver: IMSS-7.1.0.1679-8.0.0.1202-22132.006 X-TMASE-MatchedRID: IYPWVOhEfIJYXTxImR5ZvAwfhKwa9GwDbb9qvlMXO4J+CPuoK+vfzbtJ p0gQDlobRAjjCBWd1tWHQxcI1XsRw3qyC6rKfmjA+yCukNfq/Z6IklyLMg3/dTP3WYNhkszl82+ ZJoKeNOUSuRX1MI9/+5JC/hDZR97agmtFY9zfhn4D2WXLXdz+AZPsKtZChJUluBIZ3KQL04WjxY yRBa/qJcFwgTvxipFajoczmuoPCq1NRUmySFcbnpxLSaXTvJtmuftTE/6fkjgw7k37Vk3oHirJ/ VlrwoYjbNBFK2LRDx5w3LYw2vlagRtlcJr6bxcvwHKhz/Nw90ij8b7iT1+xr2Y1nzFQPMLzHwIx WwrKkFl+4e/MUJHjL+VEPUxdCYzM Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,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 Besides the distributor and the CPU interface the GIC-400 additionally supports the virtual interface control blocks and the virtual CPU interfaces. Add the physical base addresses and size for these. See http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0471b/index.html -> 3.2. GIC-400 register map and Linux kernel's Documentation/devicetree/bindings/interrupt-controller/arm,gic.txt for more details. For the at GICH Virtual interface control blocks at 0xf1040000 cover the whole 128kB (0x20000) range. This is done based on the advice from Marc Zyngier http://www.spinics.net/lists/arm-kernel/msg483139.html Signed-off-by: Dirk Behme Acked-by: Geert Uytterhoeven --- Changes in v2: Extend the GICH size to 128kB. arch/arm64/boot/dts/renesas/r8a7795.dtsi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi index 8f1ed23..65f9cc8 100644 --- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi @@ -130,7 +130,9 @@ #address-cells = <0>; interrupt-controller; reg = <0x0 0xf1010000 0 0x1000>, - <0x0 0xf1020000 0 0x2000>; + <0x0 0xf1020000 0 0x2000>, + <0x0 0xf1040000 0 0x20000>, + <0x0 0xf1060000 0 0x2000>; interrupts = ; };