From patchwork Tue Feb 28 16:47:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 62557 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp3126587wrd; Tue, 28 Feb 2023 08:50:27 -0800 (PST) X-Google-Smtp-Source: AK7set/zZgGCl8+bqHLYqZv+tfQnW6NVe9VshWinLG6JtUxeIiWsAuUp0md0Qw+rqmKKAD7pOnh1 X-Received: by 2002:a17:906:4b17:b0:8b1:756c:1a30 with SMTP id y23-20020a1709064b1700b008b1756c1a30mr3026917eju.59.1677603027238; Tue, 28 Feb 2023 08:50:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677603027; cv=none; d=google.com; s=arc-20160816; b=z2WPpRgRdr4S+gWi1tNTP43hzCFKQxDMGUG4D/PH2QqDG6e7QJIUd28Sb1LkO/Kyy3 HvmX5DzZREqtS6xdm7ys6IgvFUVF6nrCgPyyvGNIf9R0xG+WIzH8w9xnNC+2k6FTb0LC yG0FQ8uAGvgBsKnIGxPOpEir/fo9L1WGxkdDZoJc6C2cBLWSBBMdY/z6fkjnihGKZPqq Ay5EJmiySBfguNIdhT2q3Neb7ZDgQ9uGKzlSHP1hQg7ke4kwr9cs7A7X+1a/0MrxdJku nabWmPUoLDD+JIGuJ8z6ZxPCscqiE8FF/m+85PMNn69cNbq1WPdXJNXgpA8oKuqBKtYO C03Q== 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=yMT86nrHzPSxGBZ/YRk6XzVa5pJnZzZgLjUIgo1IxaY=; b=OaoFQeNZFt/7efUFs93E/M3vAxYmfJ4XWfWS073kiyyijcdTGzQc2+S5tf42jrkzyP caz56CkTD/daUCHHvqrIRY7h+SEHhra6Z69CDdTQASMBCYabIi7Dk2Zj13pQbZFcyeKH 1Yq9zNQK17RGrZfhoflhyMOfqVrtxGOIhXBqPcJrA4Km7C0fGlXs0ojvFOfbQfQIQyv5 FQkBnqOTdHtZQcbKPu14eGkrGHwhvmG8QwBTeDUDjxOBItFJWXjoeUt+bVeP92XXnH+Z ucY+Bv77rUh5q/KnqbiUUJ9+mdW1oOzGWNmEv5rUhMM8vUCWf7/bZzZdyl4VlRjafIIm zKIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jB7oDfWP; 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 d21-20020a056402079500b004af7e6911b7si1403885edy.91.2023.02.28.08.50.04; Tue, 28 Feb 2023 08:50:27 -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=jB7oDfWP; 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 S229914AbjB1QtL (ORCPT + 99 others); Tue, 28 Feb 2023 11:49:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229888AbjB1QtD (ORCPT ); Tue, 28 Feb 2023 11:49:03 -0500 Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D71841B326 for ; Tue, 28 Feb 2023 08:48:29 -0800 (PST) Received: by mail-pj1-x1032.google.com with SMTP id h11-20020a17090a2ecb00b00237c740335cso9151208pjs.3 for ; Tue, 28 Feb 2023 08:48:29 -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=yMT86nrHzPSxGBZ/YRk6XzVa5pJnZzZgLjUIgo1IxaY=; b=jB7oDfWPSVXMCVhZ8ADgU4e/79nxugqvjsVsgURBen7juf5SVLLNxZb+Lv/oJG9LDN 7KYfj/y2TV1MvrMP4vSF4I0jsLE4YNzLU8KAc0jkKEppBXDzFWF7za8h2Ja6WjB/wPjd SxSgilddX1BzgCc8wQXoLEkSo4BOoZox9N5rvQ0NHlZDrDGHK7dEFD/c5n5VXpcyB6F3 ZOwlEGcdhwfaibyQO149ZBkbG5rX/Ktfyzb9UxnEdI3RnnaL5vsJFsWzwC8fi5yrsJrO U5PKQZaB9PTbZQX6NPFOFaZBil+QLXHQh00YQquDQnULF7p2hcwyIA5ilhiWrbMZ+AFu DXjg== 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=yMT86nrHzPSxGBZ/YRk6XzVa5pJnZzZgLjUIgo1IxaY=; b=wsr+vwCmT9WiaYO5iBfg64YplzTPVK67Nxzduiq+XB5b2UoqorwVMMBe6Fh3zZIPXL 3Pjml22IIZZKkCDrLS8GaFpFB7MJ3w+IkVdILiAJR0AQJwis0jdhes/4orfiFFqYIWJK uafepHLtsB63X1yDDORD7dV73sP8qfd9zvfsdoE/tfApYxw0u7AykvesSC0McwfVLCLK AnSUA+QPRXpBHqCQPZtuvF/EvPKUJ4FO9sJPda2LuwQ3ZzCACOBHLIvz/+ivzI2qR97i 6fR9pJa0Py0bSPFWupV+n9M/WPocJnt+rGoyZcM4sOUwkt5rE2oNWbuAk+crmsykq91m iGsA== X-Gm-Message-State: AO0yUKUIuHrnstF+lYaD3UqSSs0NiFdPn7u48pmrS/2DGdDE/qtvRxZr n+kuMVT7Xhs+RU8q5PwnACSA X-Received: by 2002:a17:90b:4a8d:b0:233:ee70:800 with SMTP id lp13-20020a17090b4a8d00b00233ee700800mr3996519pjb.37.1677602909262; Tue, 28 Feb 2023 08:48:29 -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.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Feb 2023 08:48:28 -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 06/16] arm64: dts: qcom: ipq6018: Fix the PCI I/O port range Date: Tue, 28 Feb 2023 22:17:42 +0530 Message-Id: <20230228164752.55682-7-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=unavailable 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?1759094272030858418?= X-GMAIL-MSGID: =?utf-8?q?1759094272030858418?= For 64KiB of the I/O region, the I/O ports of the legacy PCI devices are located in the range of 0x0 to 0x10000. Hence, fix the bogus PCI address (0x20200000) specified in the ranges property for I/O region. While at it, let's use the missing 0x prefix for the addresses. Fixes: 095bbdd9a5c3 ("arm64: dts: qcom: ipq6018: Add pcie support") 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/arm64/boot/dts/qcom/ipq6018.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/ipq6018.dtsi b/arch/arm64/boot/dts/qcom/ipq6018.dtsi index bbd94025ff5d..9ff4e9d45065 100644 --- a/arch/arm64/boot/dts/qcom/ipq6018.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq6018.dtsi @@ -738,8 +738,8 @@ pcie0: pci@20000000 { phys = <&pcie_phy0>; phy-names = "pciephy"; - ranges = <0x81000000 0 0x20200000 0 0x20200000 0 0x10000>, - <0x82000000 0 0x20220000 0 0x20220000 0 0xfde0000>; + ranges = <0x81000000 0x0 0x00000000 0x0 0x20200000 0x0 0x10000>, + <0x82000000 0x0 0x20220000 0x0 0x20220000 0x0 0xfde0000>; interrupts = ; interrupt-names = "msi";