From patchwork Sun Oct 15 20:26:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 153070 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp3087925vqb; Sun, 15 Oct 2023 13:26:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGwTKygZUGxCgwt1Hpuv+UsQfTgcmrn4ilg2B095NtY4NoLUMGEnAnJdHSIm0peHi/mSkwW X-Received: by 2002:a05:6a20:3d04:b0:13d:d5bd:758f with SMTP id y4-20020a056a203d0400b0013dd5bd758fmr40245604pzi.6.1697401595752; Sun, 15 Oct 2023 13:26:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697401595; cv=none; d=google.com; s=arc-20160816; b=LTUq+NWoKc/yymzn7A8/PRBHFfnVHgmBxMOfEqxJ/5fFccO4KFfDSkyLwY6yWp7LWC kzY3mzYLaJ9YM/w7NylBbMXQCYGbF6Cs6V4u1CiUkBuXQFPXHTHq1RnOD3SxwSSkU79j LEj8YY+2Nju5OnjHb1o592WcUJzh5Nr8L806rXhDq9vLPiDzXCBcC4AgOHB8if//wSkd w8ycLYHlpG0s8gUCButnvcNrZPhAzt8DIo40eoYk6SXdu2yfT07HOSgcGI+jCENZhxN4 n/NSdgLqJWoPIiEsGReUSZqUkLdiAFLR9U2IB3f+sEYwVKffuGbPlUe/kvMQpqM/I6nO DWpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=YF/unxQM/wtuU7caKLeZaFWNoiyWF8Jv+zh1NPileuk=; fh=rSFdVjeHOpLchEnZwQw2X9nJEgNS/Y9JNZLx42s16JY=; b=XaDJxphUXNcDrXwUJ46qwTTeXGFFTOer17CD9EfGkQJ9k+/FelWMOn3wLZqw0OOfdW 8IXCNGI9d/1w3kZKEjo2hsbs26Kx92jiBHlfuIBgP4ICNLjtE1a4JS6ZDI9W4RkLVJ7Y yvewnY7uKhAJQsxvRtA3X5N3mtw/F/f4pVX+Iqeydj+TXcr1ewHiknloYVB5+Ho0mlTW T3Batgkx939abbfQIVXIFXC4SNTy8TBfn8DKeb7SoCKsoEFBzFRdKd9V6ASrBuWc3/pB GvM9eVuC5aGt2vSktmyNaJX19Ui0aA9JJYBi8bu4QYaRHS3lXE8atYpSB8vmjAP2LPJZ nw9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=z3ntu header.b=avpSesLl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=z3ntu.xyz Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id bg26-20020a056a02011a00b005b065bb6822si4245725pgb.286.2023.10.15.13.26.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Oct 2023 13:26:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=z3ntu header.b=avpSesLl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=z3ntu.xyz Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 9F79480BE7CB; Sun, 15 Oct 2023 13:26:33 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230460AbjJOU0U (ORCPT + 19 others); Sun, 15 Oct 2023 16:26:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57056 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230394AbjJOU0L (ORCPT ); Sun, 15 Oct 2023 16:26:11 -0400 Received: from mail.z3ntu.xyz (mail.z3ntu.xyz [128.199.32.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8EAFBE3; Sun, 15 Oct 2023 13:26:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=z3ntu.xyz; s=z3ntu; t=1697401566; bh=pdQHKOu9t+/50xiGW2M4xBTmedySUgBgfg2nCpLmelI=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=avpSesLluDv8IXS1K2V6/xdqPoVb73E/fHD2zkbf3pu60duvsd7G7I0mdSEdsHIkM edBBrV8bB9OuqQB7nDBJxSRggwPa4Svf5pQRWFUOmVBV/9mV4ESoTMpPiMtIyqqUAz /J3CB37CKPlyHw7wxgiJZu9nUgZ9nmO7m7fGkR4U= From: Luca Weiss Date: Sun, 15 Oct 2023 22:26:01 +0200 Subject: [PATCH 1/2] arm64: dts: qcom: msm8953: Set initial address for memory MIME-Version: 1.0 Message-Id: <20231015-msm8953-misc-fixes-v1-1-b800deca9e46@z3ntu.xyz> References: <20231015-msm8953-misc-fixes-v1-0-b800deca9e46@z3ntu.xyz> In-Reply-To: <20231015-msm8953-misc-fixes-v1-0-b800deca9e46@z3ntu.xyz> To: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Weiss X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=791; i=luca@z3ntu.xyz; h=from:subject:message-id; bh=pdQHKOu9t+/50xiGW2M4xBTmedySUgBgfg2nCpLmelI=; b=owEBbQKS/ZANAwAIAXLYQ7idTddWAcsmYgBlLErbT6cFv2lgpENb1CvpAMNGXkA0xOmpL3PwX AhKvnHbHheJAjMEAAEIAB0WIQQ5utIvCCzakboVj/py2EO4nU3XVgUCZSxK2wAKCRBy2EO4nU3X VkDIEACtyr7+cPw/ykT67wSsZ20DIKwyfwXBPisvzvp/cA3NsGRgqpsgTwegVeqgBp/tQ3RqLtl 2hpjWhtiF4XAIRtl8Zfwc7d0z4QIGg168w147C0KlJbCBaV+T1BQ9tFukp47z8D66AvVkzAHyLu lY+xasEAJ6s5Bi63JDAUgDKK3vbEk/89hOYQXp9oXHPmkTOodIKGFjOKeY4XQ6cE6PvITWfEKTV 9VGSFf8q3QFF4WRJreqF5L3MSPkP1J6HokhAuir6Qt4b/HloqVs2baCqXdX0LgaJ+rVkb5EBblA oVmJy+xwgQYXzIOOcU4tC+RaetQtDzalgu1klocs6v4uQBZaVmcbjKXnHIKQuILgGMNspaYMYVO MFIZElkRWxC8FKI4KqFzOFxkdd6/8yTcup7dKS1010r6VgkzUqma5ESCyHt9VTLREZxkwjtCRHu 7XfLj/n1hnFmaCEnTd11xFqp/9W5S8z4KqX3pgIcF8AEUZv7DA5I/5xmJRV4yOSVckpuLhXRVpb 5iHqoE8er2XClxPHrIUHNmJey8OuUMAkSdyNoOiUfF8baGwjJrdA3sUN3Bcw0mIhT8O4eSvsmkM uG0o7DihtZ71Qg3gadbTfSmrYGY8L8CX9CRHW/xGTKXQelKyV03fZ6SCkmWZ32fL7d51bCJGsKm OuqqHlsifg0wt6g== X-Developer-Key: i=luca@z3ntu.xyz; a=openpgp; fpr=BD04DA24C971B8D587B2B8D7FAF69CF6CD2D02CD X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Sun, 15 Oct 2023 13:26:33 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779854575337885850 X-GMAIL-MSGID: 1779854575337885850 The dtbs_check really doesn't like having memory without reg set. Address this by setting it to 0x10000000 which seems to be the value filled in by the bootloader. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/msm8953.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8953.dtsi b/arch/arm64/boot/dts/qcom/msm8953.dtsi index e7de7632669a..a3ba24ca599b 100644 --- a/arch/arm64/boot/dts/qcom/msm8953.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8953.dtsi @@ -174,10 +174,10 @@ scm: scm { }; }; - memory { + memory@10000000 { device_type = "memory"; /* We expect the bootloader to fill in the reg */ - reg = <0 0 0 0>; + reg = <0 0x10000000 0 0>; }; pmu {