From patchwork Tue Feb 28 16:47:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 657513 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6F921C6FA8E for ; Tue, 28 Feb 2023 16:48:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229841AbjB1Qsx (ORCPT ); Tue, 28 Feb 2023 11:48:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39712 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229778AbjB1Qsv (ORCPT ); Tue, 28 Feb 2023 11:48:51 -0500 Received: from mail-pg1-x530.google.com (mail-pg1-x530.google.com [IPv6:2607:f8b0:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 54FE212840 for ; Tue, 28 Feb 2023 08:48:15 -0800 (PST) Received: by mail-pg1-x530.google.com with SMTP id q23so6047343pgt.7 for ; Tue, 28 Feb 2023 08:48:15 -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=KY8I4J2skzbqy9GlWqlu3bWpe7Ekxx3P3y3p5S5A3tw=; b=PdN4G1yVCyJ30SG5QB9Tch9TYxGiI04Xb2vA5BLPbUVzbSb29SnAaGmR+WW1brpqOe tTOZ2hCCz3ZbAg1sWhhvTuYjka2NjUEqjFi9XokAXMxGmRX5Na1w9ZF5hm74pnx0kCKf ppqHcF/PM1Lu2jatV3Y/Hn3hyFSSI1AKM35fQTaFnU2CNJnmQP4DUoJD9tJfH3HdvH3y mOViwuQu8i92FIBNmGDFAUwzo85aK/Hli97VEyJ0F/jpgUxtKgejWmDU+4VbtZkS+X8I yFU2tiMvQpe6GUhf+Gd7A9wNQr6OlsuiFd6Zue7kaInz+WeoDnBmbWJJWBggJhfaVn8A c4tA== 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=KY8I4J2skzbqy9GlWqlu3bWpe7Ekxx3P3y3p5S5A3tw=; b=7Drd6fXFHBVRJKr8+gDAfgFy2t7nxxYPY2BTjuEEmcWFCnGvJcTGbsLN6+A7NxLjfv HmBjSEpZ0kXLqg1oiOZoRSL/1B0xONibJBKW29QNFM4U9JbuRm1PznYsXYC31bikrUYd rZTAydYwa2CUJvbkw2jfzkcnQzzOjwGNRp+dzyblRYsP3VpkGiCAO6s8yAzxvLfpEDui QmG4h8w32yS2BGxeMacyXv3v7s4peTLQIbUfnrn6JczQ7HSVO+SvstaoZNWmNvqePr95 WW+bdXnbIEnqkpCxggTYUxjlyMWOVb/OHUEpIiObo/XR6mpcKbGU1og20InisUH5jWIb xIvA== X-Gm-Message-State: AO0yUKVTfd/1GXpJoPpxJA/GZERJLBdd4M2r94I1dbuf0dRPvId8eki9 z+WcONSWMx7cQzuC0phbfoCJ X-Google-Smtp-Source: AK7set+4N3nyCGuHJTmrF9YIz/eNYVHSuk7QeCjmZDyGU5H2tDN0zIccq9+nkayRCwjj71ZU69v6lA== X-Received: by 2002:aa7:9d83:0:b0:5cd:d766:8a2b with SMTP id f3-20020aa79d83000000b005cdd7668a2bmr3048405pfq.6.1677602894784; Tue, 28 Feb 2023 08:48:14 -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.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Feb 2023 08:48:14 -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 02/16] arm64: dts: qcom: msm8998: Fix the PCI I/O port range Date: Tue, 28 Feb 2023 22:17:38 +0530 Message-Id: <20230228164752.55682-3-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 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org 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 (0x1b200000) specified in the ranges property for I/O region. Fixes: b84dfd175c09 ("arm64: dts: qcom: msm8998: Add PCIe PHY and RC 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/arm64/boot/dts/qcom/msm8998.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi index 8bc1c59127e5..5863332962e4 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -922,7 +922,7 @@ pcie0: pci@1c00000 { phy-names = "pciephy"; status = "disabled"; - ranges = <0x01000000 0x0 0x1b200000 0x1b200000 0x0 0x100000>, + ranges = <0x01000000 0x0 0x00000000 0x1b200000 0x0 0x100000>, <0x02000000 0x0 0x1b300000 0x1b300000 0x0 0xd00000>; #interrupt-cells = <1>;