From patchwork Wed Oct 12 02:14:15 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jun Nie X-Patchwork-Id: 9371961 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 15FE06048F for ; Wed, 12 Oct 2016 02:18:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E28852915E for ; Wed, 12 Oct 2016 02:18:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BFFBA29163; Wed, 12 Oct 2016 02:18:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 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.wl.linuxfoundation.org (Postfix) with ESMTPS id 5D5002915E for ; Wed, 12 Oct 2016 02:18:06 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bu94I-0002QL-7I; Wed, 12 Oct 2016 02:14:54 +0000 Received: from mail-pa0-x232.google.com ([2607:f8b0:400e:c03::232]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bu94E-0002OQ-JY for linux-arm-kernel@lists.infradead.org; Wed, 12 Oct 2016 02:14:52 +0000 Received: by mail-pa0-x232.google.com with SMTP id vu5so23375891pab.0 for ; Tue, 11 Oct 2016 19:14:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=fR6/+2etTImgSdTyZsg0VnSTVyMGxdTq6UKP2X+rvyY=; b=hsU8h8rMvT1tn3nVfrIoRoyq1rJK0pdaJsl13fCDBUME/sBomxMM5RvvqlFv8nvkDE E5kz3iBZbL9wNAsrjNFj7xSXEWU/v4TwjxgkblYwdVbzDKTgH4kGk0Te73RaK2mykp8w dee+uTxN42+FhKZD9zQ5PsT7QJpKS2fzP7Bw8= 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=fR6/+2etTImgSdTyZsg0VnSTVyMGxdTq6UKP2X+rvyY=; b=DLsriKnerx03W31yrwJrvC31zAAlpHBUo68DHCRdmzqoDoeRyk3uk/LqhT3Ae9jkHh VZJ8xNcwdG0IO/gMCfb0oR9ke1rY3zxKdjqv925yG7T22NWcFA7NMqQpUua+wmMHCyhI UafH+gIeNz6ygtql6CZ/e3epnxgK+hjLIdVfN7awRQDqVsvla3KZQo75tzBQxuNk/H4S LdT7LGEcRM73vcJmRM9qbpVJdo698omyQcRvKoV9O6mRr6zocxeP0WAM/QDOrfNtrrq+ r0fgwytolThmN4towGdEROkZtGlNeTOZVK8C1j1fHQDtx8kvMPA+/pCXA8TQLdYlsqqz f24Q== X-Gm-Message-State: AA6/9RkzsDReTBVIh5S2muDto1CVn6G9pp9Hm0jrPwZxhVu81n9ty3Sd0m+kg0ImFyRFsbBY X-Received: by 10.66.135.50 with SMTP id pp18mr11449128pab.18.1476238468018; Tue, 11 Oct 2016 19:14:28 -0700 (PDT) Received: from localhost.localdomain ([113.29.230.85]) by smtp.gmail.com with ESMTPSA id a78sm7319272pfj.44.2016.10.11.19.14.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 11 Oct 2016 19:14:27 -0700 (PDT) From: Jun Nie To: arnd@arndb.de, arm@kernel.org, linux-arm-kernel@lists.infradead.org, shawn.guo@linaro.org Subject: [PATCH 1/2] arm64: dts: zx: Change gic node to fix boot failure Date: Wed, 12 Oct 2016 10:14:15 +0800 Message-Id: <1476238456-20420-1-git-send-email-jun.nie@linaro.org> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161011_191450_712430_E8CB88EF X-CRM114-Status: GOOD ( 10.66 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, jason.liu@linaro.org, Jun Nie MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP GICR for multiple CPU can be described with start address and stride, or with multiple address. Current multiple address and stride are both used. Fix it. Signed-off-by: Jun Nie --- arch/arm64/boot/dts/zte/zx296718.dtsi | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/arch/arm64/boot/dts/zte/zx296718.dtsi b/arch/arm64/boot/dts/zte/zx296718.dtsi index a223066..6b239a3 100644 --- a/arch/arm64/boot/dts/zte/zx296718.dtsi +++ b/arch/arm64/boot/dts/zte/zx296718.dtsi @@ -239,16 +239,11 @@ compatible = "arm,gic-v3"; #interrupt-cells = <3>; #address-cells = <0>; - #redistributor-regions = <6>; - redistributor-stride = <0x0 0x40000>; + #redistributor-regions = <1>; + redistributor-stride = <0x20000>; interrupt-controller; reg = <0x02a00000 0x10000>, - <0x02b00000 0x20000>, - <0x02b20000 0x20000>, - <0x02b40000 0x20000>, - <0x02b60000 0x20000>, - <0x02b80000 0x20000>, - <0x02ba0000 0x20000>; + <0x02b00000 0xc0000>; interrupts = ; };