From patchwork Tue Feb 28 16:47:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 62565 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp3130764wrd; Tue, 28 Feb 2023 08:59:14 -0800 (PST) X-Google-Smtp-Source: AK7set9I7mmnpf6mie15exO1gJRk9VHV0KSOz0NvrP3IRWvhXxzZCbW6XUcON9ToYiI/FbA5DyrQ X-Received: by 2002:a05:6402:1016:b0:4ac:d973:bb2c with SMTP id c22-20020a056402101600b004acd973bb2cmr4110152edu.28.1677603554404; Tue, 28 Feb 2023 08:59:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677603554; cv=none; d=google.com; s=arc-20160816; b=eyjql0DAZfiyWIXdGq1bBKLcA6i6+X2vXRET61S3+aJuFPSDCNv+v1TloLL6J3zfcv fvGQdldbTmwSEuO7mlPLHvnScbTnhQcVsFhrEJulF2lInZX+98lGixswBfGGEaz4FZFE MA8U20unflKJt0wLjugcnLn7zBlGAjsxEmq280M72Dnt4sPNHvg74jU9PFLI78X+XWFs xeRkxQTKQa1dKF38WNuazyx45ZACuL4YjelCiJRMxPVZX2F5RccYx+nQNZBKF0xwcRKB tKJeXFq7TEtQkLx+Eogd8zZUhDYJrR6E0f5F/felI5hWsndP3xMYZQJ2Ejor25/jrN3v TbVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=/rPNL7OOm49xO0wH+mNw58JIW/pmslpKxDJsE0yTDiI=; b=cIwIRHfh0JdyQc3hOJyv0EdRes77qa95bQycpVhH2LdT35H8MBaVa7inhykO6peO6T 5zaCFQrSTJ11X2XY/mGyoy6rJOPV+9Dz0mntQOihlpftHHimNku9T2VqT5MTutCgWxwy UVNoDkYkxneCGatWKzqU5i4EtZivDekWIh9quhlRw1gYJV+CeQVVUnZBp5OpbZX0BW6P 9+i0VE1AIL3CTKtcjyyvxhrRIOfyhuHbdh3VQf43ClxIOA5HomVqg+lN6/xESPdejR55 Idvt7e1ygWNrsoVoLO38Gx0VckZ++OyJO+rC++U3/zBr6z0uKvXB2+KaGy8atjaDGeUL tAcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yVYy3gqM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i26-20020aa7c71a000000b004add01c9d7bsi1118161edq.69.2023.02.28.08.58.49; Tue, 28 Feb 2023 08:59:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yVYy3gqM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230038AbjB1QuR (ORCPT + 99 others); Tue, 28 Feb 2023 11:50:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41536 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230037AbjB1QuQ (ORCPT ); Tue, 28 Feb 2023 11:50:16 -0500 Received: from mail-pl1-x631.google.com (mail-pl1-x631.google.com [IPv6:2607:f8b0:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F285234F6C for ; Tue, 28 Feb 2023 08:49:01 -0800 (PST) Received: by mail-pl1-x631.google.com with SMTP id ky4so11107517plb.3 for ; Tue, 28 Feb 2023 08:49:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=/rPNL7OOm49xO0wH+mNw58JIW/pmslpKxDJsE0yTDiI=; b=yVYy3gqMzYa8QWcJUQJu0il8VlRwpPnXqY8B8yo+nG3koa7pl84gSPtl11GPgHPJh0 BsG+G3BUQyENKP9EymRy4xJOKKL1tb1o+0YpFariumLXvUWG8ECrroTlnqxRm7kfXVCD ODfguzCvSu6JWuD3mbeX6ajDSqllFmWLYwob7ICD80gWz4Jl951nvaFlS01IFpDpIB88 wmXNQA0mnylok6x00kSmk09iIg3yZrsWsQW81EVJq3VEvDEolT13kTtCLRzqVWc/kPAX nVDkBMHyK6RlGlHfk29V8rlbY/vWk+clppFMiqh5yT+AZB0JrbTualNqQQ2uZmOo3KYT RmtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/rPNL7OOm49xO0wH+mNw58JIW/pmslpKxDJsE0yTDiI=; b=Pbtuk2xNbthoHrw+RrLDRPUS4wl/tQoT3U/83NjNR/LBhI83PtqBA2drDWkTPh+2JE cGverVpizG7XT1Ry/8S9TCtM/RGbTqveOq+O8IYWgmN9GYrRqgpJqfLdFmb+dNuvPru6 D8zg5ehH9zgCLcDa7GXnZIFOBMnYP2sEXCbEIxtWS6+QnWxpV0EhDy7hvpPG0ibB8Iar WT0comVLka7AcRdck5R4j12yKNJ7Jaad6f9UHqyywgVGkP/783RIBQniD2Vlxff+r4Xd akmSJXyYKHL2NhVbw86ruff70j/yNnx0Wj7C/cbDSPL0ZKh+T+qjFhUpH38JLgTXe+Bt d8XA== X-Gm-Message-State: AO0yUKWlcRh+RH0Mcnu1rTMUwxCHxLPml+AbQq5VYctZkNc5t/JtYkr3 DzQ9ARoxl+IC4L2GOg3vO/nb X-Received: by 2002:a17:90b:3510:b0:234:157:a264 with SMTP id ls16-20020a17090b351000b002340157a264mr3808978pjb.43.1677602940166; Tue, 28 Feb 2023 08:49:00 -0800 (PST) Received: from localhost.localdomain ([103.197.115.185]) by smtp.gmail.com with ESMTPSA id z11-20020a6552cb000000b00476dc914262sm5908792pgp.1.2023.02.28.08.48.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Feb 2023 08:48:59 -0800 (PST) From: Manivannan Sadhasivam To: andersson@kernel.org Cc: konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, arnd@arndb.de, Manivannan Sadhasivam Subject: [PATCH 15/16] ARM: dts: qcom: ipq4019: Fix the PCI I/O port range Date: Tue, 28 Feb 2023 22:17:51 +0530 Message-Id: <20230228164752.55682-16-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230228164752.55682-1-manivannan.sadhasivam@linaro.org> References: <20230228164752.55682-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759094824720715055?= X-GMAIL-MSGID: =?utf-8?q?1759094824720715055?= For 1MiB of the I/O region, the I/O ports of the legacy PCI devices are located in the range of 0x0 to 0x100000. Hence, fix the bogus PCI address (0x40200000) specified in the ranges property for I/O region. While at it, let's use the missing 0x prefix for the addresses. Fixes: 187519403273 ("ARM: dts: ipq4019: Add a few peripheral nodes") Reported-by: Arnd Bergmann Link: https://lore.kernel.org/linux-arm-msm/7c5dfa87-41df-4ba7-b0e4-72c8386402a8@app.fastmail.com/ Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/qcom-ipq4019.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/qcom-ipq4019.dtsi b/arch/arm/boot/dts/qcom-ipq4019.dtsi index 02e9ea78405d..1159268f06d7 100644 --- a/arch/arm/boot/dts/qcom-ipq4019.dtsi +++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi @@ -426,8 +426,8 @@ pcie0: pci@40000000 { #address-cells = <3>; #size-cells = <2>; - ranges = <0x81000000 0 0x40200000 0x40200000 0 0x00100000>, - <0x82000000 0 0x40300000 0x40300000 0 0x00d00000>; + ranges = <0x81000000 0x0 0x00000000 0x40200000 0x0 0x00100000>, + <0x82000000 0x0 0x40300000 0x40300000 0x0 0x00d00000>; interrupts = ; interrupt-names = "msi";