Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp770675ybl; Wed, 11 Dec 2019 07:16:23 -0800 (PST) X-Google-Smtp-Source: APXvYqz32hWpXpI6TI4eB1j5jeACDN7VKF5vHL2hAKjL5GXzOBALDKH26DhxKtGupudZN1xHsoW0 X-Received: by 2002:aca:5303:: with SMTP id h3mr3003372oib.109.1576077383194; Wed, 11 Dec 2019 07:16:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576077383; cv=none; d=google.com; s=arc-20160816; b=Tldh63plsMWhBkclo2UQmAvlEqlUKiUIi6hB7rv0qDw87BAcBUxlMXsAhReRy7Occt 7ARwzHv+EodTcEBY7Aju3c/yA8dpVAd43JmTXjcMPFRW0RpnhPUPYIEwy4R+c1BDRyPs Vp+5ZN2iU++ZIDEguQYt0bwSGfxf5e8iYBfVaj04HC4m0fCtMexRNgvJv0OwGwpKvlkd O9T+ZlIPLBZuDZPahztTtn7WILGZqgZNZp8qLHRBe29iT4jhGZdgH5XFpmdIR96w2f88 it+AHuY+C3oVoDh5h3RixtvzXpB7nlEveAEPCR0ZAm7ss1nzIy6o9Gq9X1L3KhSwnsE+ 6ygA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=6P8OpsLBXVHpLA4zdv2eSAP8aKy4Kgl3aINFEeAC4L4=; b=Zyam1GXQSHfr2wtc3v447iWBj+kb/9d/dXrRL0iPneWVVKr3gctin+Rcit/ak14rgi 9cCYfLqqTih1qsTVVRZK1DQp/sNrxiB3piiT2kAixO7MKXYL6ARnLFBsROxCetE9xngy NPMqmLO+nuqb6WJe9Zg1NbPmpmIsnBUc2CGW66Pabg4nWfD0DLFQrhnF5NoZ9wAtDsAY hpxtrL5uaGodzeK5pPjQcu7bUNQQVER9hZlRwn05hzM99fEWxuXpwqVe/mHs2eg1IYvo udJyc7qNIJ0dX3RskUhpr3GJKZR+mVahbqv5D4Rz+tzezBHjQMZFRIN7OM3/0WXtRRhM sRWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=LDB38Z+H; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y23si1233764oti.65.2019.12.11.07.16.10; Wed, 11 Dec 2019 07:16:23 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=LDB38Z+H; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731757AbfLKPPW (ORCPT + 99 others); Wed, 11 Dec 2019 10:15:22 -0500 Received: from mail.kernel.org ([198.145.29.99]:39502 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730534AbfLKPOS (ORCPT ); Wed, 11 Dec 2019 10:14:18 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 835942465B; Wed, 11 Dec 2019 15:14:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1576077258; bh=ATBWun4wWF0hfWPoCuDAJUpd6PpKWorGF7fWEHv5zi8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LDB38Z+H8y9cFq6GBgIjtkvw0ekc8yXfBr/5Oqopq36CGvP9Aj3QrOoyHP/hyGaRI fli3aoSz4Y1cECluJSffgNvlW8P1nd/Ha4N10UkU+Y1Bzfov6hN44rYBiSZuslv1MY gmZtIByaYyYJXNg8LPC3ArqS5Vq0A5JDng/mPxdA= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Alim Akhtar , Marek Szyprowski , Krzysztof Kozlowski Subject: [PATCH 5.3 075/105] arm64: dts: exynos: Revert "Remove unneeded address space mapping for soc node" Date: Wed, 11 Dec 2019 16:06:04 +0100 Message-Id: <20191211150253.971364995@linuxfoundation.org> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191211150221.153659747@linuxfoundation.org> References: <20191211150221.153659747@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Marek Szyprowski commit bed903167ae5b5532eda5d7db26de451bd232da5 upstream. Commit ef72171b3621 ("arm64: dts: exynos: Remove unneeded address space mapping for soc node") changed the address and size cells in root node from 2 to 1, but /memory nodes for the affected boards were not updated. This went unnoticed on Exynos5433-based TM2(e) boards, because they use u-boot, which updates /memory node to the correct values. On the other hand, the mentioned commit broke boot on Exynos7-based Espresso board, which bootloader doesn't touch /memory node at all. This patch reverts commit ef72171b3621 ("arm64: dts: exynos: Remove unneeded address space mapping for soc node"), so Exynos5433 and Exynos7 SoCs again matches other ARM64 platforms with 64bit mappings in root node. Reported-by: Alim Akhtar Fixes: ef72171b3621 ("arm64: dts: exynos: Remove unneeded address space mapping for soc node") Signed-off-by: Marek Szyprowski Cc: # 5.3.x: 72ddcf6aa224 arm64: dts: exynos: Move GPU under /soc node for Exynos5433 Cc: # 5.3.x: ede87c3a2bdb arm64: dts: exynos: Move GPU under /soc node for Exynos7 Cc: # 4.18.x Tested-by: Alim Akhtar Signed-off-by: Krzysztof Kozlowski Signed-off-by: Greg Kroah-Hartman --- arch/arm64/boot/dts/exynos/exynos5433.dtsi | 6 +++--- arch/arm64/boot/dts/exynos/exynos7.dtsi | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) --- a/arch/arm64/boot/dts/exynos/exynos5433.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433.dtsi @@ -18,8 +18,8 @@ / { compatible = "samsung,exynos5433"; - #address-cells = <1>; - #size-cells = <1>; + #address-cells = <2>; + #size-cells = <2>; interrupt-parent = <&gic>; @@ -311,7 +311,7 @@ compatible = "simple-bus"; #address-cells = <1>; #size-cells = <1>; - ranges; + ranges = <0x0 0x0 0x0 0x18000000>; chipid@10000000 { compatible = "samsung,exynos4210-chipid"; --- a/arch/arm64/boot/dts/exynos/exynos7.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos7.dtsi @@ -12,8 +12,8 @@ / { compatible = "samsung,exynos7"; interrupt-parent = <&gic>; - #address-cells = <1>; - #size-cells = <1>; + #address-cells = <2>; + #size-cells = <2>; aliases { pinctrl0 = &pinctrl_alive; @@ -98,7 +98,7 @@ compatible = "simple-bus"; #address-cells = <1>; #size-cells = <1>; - ranges; + ranges = <0 0 0 0x18000000>; chipid@10000000 { compatible = "samsung,exynos4210-chipid";