From nobody Wed Dec 17 04:18:09 2025 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 252EFC64ED6 for ; Tue, 28 Feb 2023 16:48:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229852AbjB1Qsz (ORCPT ); Tue, 28 Feb 2023 11:48:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39594 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229816AbjB1Qsr (ORCPT ); Tue, 28 Feb 2023 11:48:47 -0500 Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA5D7FF37 for ; Tue, 28 Feb 2023 08:48:10 -0800 (PST) Received: by mail-pj1-x1035.google.com with SMTP id 6-20020a17090a190600b00237c5b6ecd7so9810568pjg.4 for ; Tue, 28 Feb 2023 08:48:10 -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=Idewr/c6anuiFZ8W+ANFStw5VD2DBWot5T+luCDLkeE=; b=HaEDfnx9/yzRqav9tJjlQHDYW4Aqn7/xGfokNxMrpyWPm661fo87bSmbc3jTGwGJkg 5KKX0H21UMvVlnT3IH50T5kUjKwG/vdQUJEqmXMcxYcYKv975/3A3t3QKo4KndgFVVVX Mk+boSqvyHOqYJX1nopulRW5/KQJXAkc8krfofbZmYxDQjmYV21Wh35o0aQlGxVvNY0+ vq28EPjvWvULxyqLSXuV852Ib02Fwj6iG2WILIh5KZNBPVrU4qnAFhbeA2swWzgH9uXV 25B2sAtPW8MHNU0k1joa4ok13CRc0MBbjPeTbio6ogEwtPG+d4H6yPQf3s8pTXqzFUAq Zy9A== 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=Idewr/c6anuiFZ8W+ANFStw5VD2DBWot5T+luCDLkeE=; b=h3BoQ2V6rHN3dn1TrWTOZ3BRgmrjGUKqjgkVYNW6ZK6oGS9h/xP+y7FJoYzWJ/EkH0 ADJTBFrgphvQ+qqIrhLnk9edCkrmtVidAg+72JNXGdKsImd0lMgwNqOTl3ga+jvxVURz Mbrntap3AGs8jlEiwhLONhs2HU4bpU5wy0byQdT4gsB/aFWDX4r5rn7/ZdTF6G8oNhfW sCzqHMQ0vFFmegsHLf2fPX10+2gbjLap2ZEJJqNosTzmakoETkbaz/gdATWLPo29Alfj jRTCK8ueaCQqSh0/09/bf6l7C80whp8DTVG+1sd+KlkPjokXlREbfObG9+2fWh2qDpa7 vWHw== X-Gm-Message-State: AO0yUKVEkiCumwKes5KIL1wwILrtK6TQqmfPHCuEsFn2wQwmy+ezf+wq oPMVMlA7yAY5UUlqYgdmzsjp X-Google-Smtp-Source: AK7set8C0QfAqgl3jK8W5EJAII6wqS0FLRKYLHd/U6ullJGd+tsVTYAtVh8gl1PnzfvnOs0fFCJatA== X-Received: by 2002:a05:6a20:3947:b0:cd:fe1b:df8 with SMTP id r7-20020a056a20394700b000cdfe1b0df8mr1489022pzg.56.1677602890307; Tue, 28 Feb 2023 08:48:10 -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.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Feb 2023 08:48:09 -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 01/16] arm64: dts: qcom: sdm845: Fix the PCI I/O port range Date: Tue, 28 Feb 2023 22:17:37 +0530 Message-Id: <20230228164752.55682-2-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 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" 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 addresses (0x60200000, 0x40200000) specified in the ranges property for I/O region. While at it, let's use the missing 0x prefix for the addresses. Fixes: 42ad231338c1 ("arm64: dts: qcom: sdm845: Add second PCIe PHY and con= troller") Fixes: 5c538e09cb19 ("arm64: dts: qcom: sdm845: Add first PCIe controller a= nd PHY") Reported-by: Arnd Bergmann Link: https://lore.kernel.org/linux-arm-msm/7c5dfa87-41df-4ba7-b0e4-72c8386= 402a8@app.fastmail.com/ Signed-off-by: Manivannan Sadhasivam Reviewed-by: Arnd Bergmann --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qco= m/sdm845.dtsi index 479859bd8ab3..1c060ea960ff 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -2292,8 +2292,8 @@ pcie0: pci@1c00000 { #address-cells =3D <3>; #size-cells =3D <2>; =20 - ranges =3D <0x01000000 0x0 0x60200000 0 0x60200000 0x0 0x100000>, - <0x02000000 0x0 0x60300000 0 0x60300000 0x0 0xd00000>; + ranges =3D <0x01000000 0x0 0x00000000 0x0 0x60200000 0x0 0x100000>, + <0x02000000 0x0 0x60300000 0x0 0x60300000 0x0 0xd00000>; =20 interrupts =3D ; interrupt-names =3D "msi"; @@ -2397,7 +2397,7 @@ pcie1: pci@1c08000 { #address-cells =3D <3>; #size-cells =3D <2>; =20 - ranges =3D <0x01000000 0x0 0x40200000 0x0 0x40200000 0x0 0x100000>, + ranges =3D <0x01000000 0x0 0x00000000 0x0 0x40200000 0x0 0x100000>, <0x02000000 0x0 0x40300000 0x0 0x40300000 0x0 0x1fd00000>; =20 interrupts =3D ; --=20 2.25.1 From nobody Wed Dec 17 04:18:09 2025 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 451BEC64EC7 for ; Tue, 28 Feb 2023 16:48:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229871AbjB1Qs5 (ORCPT ); Tue, 28 Feb 2023 11:48:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229821AbjB1Qsr (ORCPT ); Tue, 28 Feb 2023 11:48:47 -0500 Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 54B1B126FC for ; Tue, 28 Feb 2023 08:48:15 -0800 (PST) Received: by mail-pf1-x433.google.com with SMTP id y10so6165847pfi.8 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=piFExgbU9thvLRC75C1sLudWoc0560bnOy0RXQSnhYcGVcUu7QaxiXNwOL9AJdqdJ4 qCD5sJhQthYKy5gEgopCK0IGHLpTfh+3oVX3KZ3bXhJQhIT2NOhJSkXIB+7cQ5sWywyJ ZYepZLMhWh31eI0I4lrPdssmuSFjMfmF0n9h3GUdpOIWkEDGj2j0CEyLcdYXRAAZIsSC dUnRX4pteDYRSKnPJMZF6Q3aDjs168wETOj/pk7HEq5Jk/ohFzqQNDWUrhFuBQuP8RAF M4P8eX3ZCl0PD+vHl7VNG36acwlbFLyXgw8p700hTa6Bo6DNGA2dwNTjYrPoyQABHcpX TIKQ== X-Gm-Message-State: AO0yUKUfL5riExnrQPd+TVg/NHmAg4Ec9xsl5S0UP1jP71LgAFzMclrV eZ23jrb+z9bQyjG6GQ9imJnR 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 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" 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-72c8386= 402a8@app.fastmail.com/ Signed-off-by: Manivannan Sadhasivam Reviewed-by: Arnd Bergmann --- 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/qc= om/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 =3D "pciephy"; status =3D "disabled"; =20 - ranges =3D <0x01000000 0x0 0x1b200000 0x1b200000 0x0 0x100000>, + ranges =3D <0x01000000 0x0 0x00000000 0x1b200000 0x0 0x100000>, <0x02000000 0x0 0x1b300000 0x1b300000 0x0 0xd00000>; =20 #interrupt-cells =3D <1>; --=20 2.25.1 From nobody Wed Dec 17 04:18:09 2025 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 723D5C7EE32 for ; Tue, 28 Feb 2023 16:49:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229887AbjB1QtA (ORCPT ); Tue, 28 Feb 2023 11:49:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39720 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229836AbjB1Qsv (ORCPT ); Tue, 28 Feb 2023 11:48:51 -0500 Received: from mail-pg1-x533.google.com (mail-pg1-x533.google.com [IPv6:2607:f8b0:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7554C15158 for ; Tue, 28 Feb 2023 08:48:18 -0800 (PST) Received: by mail-pg1-x533.google.com with SMTP id 16so6030850pge.11 for ; Tue, 28 Feb 2023 08:48:18 -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=ZAtK7Zk8PyaaL2KGK3kPqF4OjS65bLvo7hShFbPeFVg=; b=nrya+soptTdI+aVebLmaWMGBRv/+IgaWafwBA7BC7AU0DCOP0PJtJVrDcjOwnmZNrg Ojasv/Y0KrsbmmBAoCcBxfdVq4ZcgmBa5/orhxZpr9SPBFAnHCoytBjJh2tiMPu4CDSU aP051dg1nXEUVUdWBfLf6IjagPq7RhzFKfZhyDfqAlWAK4cCWkfC3FdDXkv8Bk6hhd3i H3GBW6QMIK7LVb4n40xlBrmQ/RP+cweJBkP2X/G2MqmYDo6sKHkFFxjSpTe2UulbBM8w uwoPupBrCbncz52+cywpp53rtIWsD255o8DL2G9wdl66IDRhfJDsNJPp3c9YpsS30Xjm LdTg== 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=ZAtK7Zk8PyaaL2KGK3kPqF4OjS65bLvo7hShFbPeFVg=; b=keRTKGidx3moSCeItSfUxjI6RwH5zU04yMMnWjUB127UH18ki7tHQ0sUxMGXLzRJN4 EIo+mg4tC03k8tsQnb4QVwo9F5+mTFFdrCf0Zaz72gg78x8op7aeVh45QGACNymI9mhX C22vzLi3LfNyhNEUsDx2i3HuciIUQL57LijI1Go2i4A+vGsd11l+C+oLYvZGfOf5xFaz rIf/9BUbl3e57kRAuaM236p4Z4x/7+NoFyjNTSQkdFlHeouov9syOBIJt2Vauv12e3Ff ZG+r4OVdPjgGG4GgkyKHVGBfN638aVV+2/WRm6w0aa805DVs/YBzeWgA+/giWDGlxEsg zbrQ== X-Gm-Message-State: AO0yUKWuXlfrZEJcVyfiH6BC03AJrKtkaawU0f5lIzCJRSYoeOQqLzyY y4g1eS7O74t9f60DP7QrpBDd X-Google-Smtp-Source: AK7set+EMzHa12KqUL/NDb86FlILLUHVMy1zN2cY1AOIncUop4kjqpuG9W/BS9q6kMU3yX+iB5T5Pg== X-Received: by 2002:a62:62c6:0:b0:5a8:aa1d:30e9 with SMTP id w189-20020a6262c6000000b005a8aa1d30e9mr2605831pfb.18.1677602897942; Tue, 28 Feb 2023 08:48:17 -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.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Feb 2023 08:48:17 -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 03/16] arm64: dts: qcom: sc7280: Fix the PCI I/O port range Date: Tue, 28 Feb 2023 22:17:39 +0530 Message-Id: <20230228164752.55682-4-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 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" 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. Fixes: 92e0ee9f83b3 ("arm64: dts: qcom: sc7280: Add PCIe and PHY related no= des") Reported-by: Arnd Bergmann Link: https://lore.kernel.org/linux-arm-msm/7c5dfa87-41df-4ba7-b0e4-72c8386= 402a8@app.fastmail.com/ Signed-off-by: Manivannan Sadhasivam Reviewed-by: Arnd Bergmann --- arch/arm64/boot/dts/qcom/sc7280.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qco= m/sc7280.dtsi index bdcb74925313..99845c79a8c4 100644 --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi @@ -2077,7 +2077,7 @@ pcie1: pci@1c08000 { #address-cells =3D <3>; #size-cells =3D <2>; =20 - ranges =3D <0x01000000 0x0 0x40200000 0x0 0x40200000 0x0 0x100000>, + ranges =3D <0x01000000 0x0 0x00000000 0x0 0x40200000 0x0 0x100000>, <0x02000000 0x0 0x40300000 0x0 0x40300000 0x0 0x1fd00000>; =20 interrupts =3D ; --=20 2.25.1 From nobody Wed Dec 17 04:18:09 2025 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 1F9F9C64ED6 for ; Tue, 28 Feb 2023 16:49:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229896AbjB1QtF (ORCPT ); Tue, 28 Feb 2023 11:49:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39852 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229849AbjB1Qsy (ORCPT ); Tue, 28 Feb 2023 11:48:54 -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 4B41C19F14 for ; Tue, 28 Feb 2023 08:48:23 -0800 (PST) Received: by mail-pl1-x631.google.com with SMTP id a2so640898plm.4 for ; Tue, 28 Feb 2023 08:48:23 -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=nw2kwwdY04mwrOWVYrVzs4I0LPxS7ZuXOh7KWbCAYF4=; b=HYm7C2CBsxRoKbhO9gur1eRYPy184yM8vTZPGuYYzRv9PF3O8SYlkVcn/A7XQO2eyS LiUz7M2vNJmIOPrPjMmU3i9E7lh3n2hpr/jf9LCxHvtl7kroWar56dFBVgS7zohxStus LLZMOZvo7eOh/HGl6kqwJbU2J+tYm2w8S7VB2oTT3LjUPeKLSakpgCAjtFc3z7Tb+Dmr D7J8XUEt/o2pLKR9ZMAyhS58YOC6mKlF9gc49TiXOCgi/7lUsoW/dTlH5FUDOiT5Y8N1 A88PhR+RFAF4F8zw3Kf/VObuFdrBX8ZkDVkDW+Q/slRceBPAtqB2tYmCSQzY1WW61vh9 aK9A== 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=nw2kwwdY04mwrOWVYrVzs4I0LPxS7ZuXOh7KWbCAYF4=; b=cbrN9PARWZk/VFo9/MTGjt/5QweCeDW7Xj4Hq4bD1jmWA3mVQTzPgFSG+R9TenfJjZ Y6q6QVQMvS1DjDfiUetOereMdu+pbNBj4HujJoNOaJMSqZKjtInY/6APOeMdV9pdVjvP hy31haYRf7UBtMk61il2t8PAg6yEGgWB3c890SZVYuOhfrmBwTAQfC901EdM63LfK47W v2eyl0ykmU+N0lnlr8zXUFdVjUpNA38MCwaHR31RL3t715NZBvFEgNWhXwauEfiynhEh f9wvaYFVhxzKSIPBdIPQqoYArU0TcsLFViTfkm3HvBjB71RNxH0YMJB8asGc5IhEpzEI 6NLg== X-Gm-Message-State: AO0yUKU5Mqxbxsixu9UX8JqNbUrQEkWgWQ4yNC7lw+0kS77NbG3v5W8q cwB8XmI0ojnH+OJsmXdVR5dQ X-Google-Smtp-Source: AK7set/gFnIrOWvw1kqm2mbi9pBSv+ggoNXU3AiSDgZXEBW0EtLOn/hQou9GYrbFNBBohJKOJRiqYA== X-Received: by 2002:a17:902:fb8d:b0:19d:397b:eb4 with SMTP id lg13-20020a170902fb8d00b0019d397b0eb4mr2613738plb.48.1677602902784; Tue, 28 Feb 2023 08:48:22 -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.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Feb 2023 08:48:22 -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 04/16] arm64: dts: qcom: sm8550: Fix the PCI I/O port range Date: Tue, 28 Feb 2023 22:17:40 +0530 Message-Id: <20230228164752.55682-5-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 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" 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 addresses (0x60200000, 0x40200000) specified in the ranges property for I/O region. While at it, let's use the missing 0x prefix for the addresses. Fixes: 7d1158c984d3 ("arm64: dts: qcom: sm8550: Add PCIe PHYs and controlle= rs nodes") Reported-by: Arnd Bergmann Link: https://lore.kernel.org/linux-arm-msm/7c5dfa87-41df-4ba7-b0e4-72c8386= 402a8@app.fastmail.com/ Signed-off-by: Manivannan Sadhasivam Reviewed-by: Arnd Bergmann --- arch/arm64/boot/dts/qcom/sm8550.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8550.dtsi b/arch/arm64/boot/dts/qco= m/sm8550.dtsi index ff4d342c0725..f8d7b4dde878 100644 --- a/arch/arm64/boot/dts/qcom/sm8550.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8550.dtsi @@ -1653,8 +1653,8 @@ pcie0: pci@1c00000 { reg-names =3D "parf", "dbi", "elbi", "atu", "config"; #address-cells =3D <3>; #size-cells =3D <2>; - ranges =3D <0x01000000 0x0 0x60200000 0 0x60200000 0x0 0x100000>, - <0x02000000 0x0 0x60300000 0 0x60300000 0x0 0x3d00000>; + ranges =3D <0x01000000 0x0 0x00000000 0x0 0x60200000 0x0 0x100000>, + <0x02000000 0x0 0x60300000 0x0 0x60300000 0x0 0x3d00000>; bus-range =3D <0x00 0xff>; =20 dma-coherent; @@ -1752,8 +1752,8 @@ pcie1: pci@1c08000 { reg-names =3D "parf", "dbi", "elbi", "atu", "config"; #address-cells =3D <3>; #size-cells =3D <2>; - ranges =3D <0x01000000 0x0 0x40200000 0 0x40200000 0x0 0x100000>, - <0x02000000 0x0 0x40300000 0 0x40300000 0x0 0x1fd00000>; + ranges =3D <0x01000000 0x0 0x00000000 0x0 0x40200000 0x0 0x100000>, + <0x02000000 0x0 0x40300000 0x0 0x40300000 0x0 0x1fd00000>; bus-range =3D <0x00 0xff>; =20 dma-coherent; --=20 2.25.1 From nobody Wed Dec 17 04:18:09 2025 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 3DAA9C6FA8E for ; Tue, 28 Feb 2023 16:49:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229876AbjB1QtK (ORCPT ); Tue, 28 Feb 2023 11:49:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229872AbjB1Qs6 (ORCPT ); Tue, 28 Feb 2023 11:48:58 -0500 Received: from mail-pj1-x102f.google.com (mail-pj1-x102f.google.com [IPv6:2607:f8b0:4864:20::102f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8DDC919F2C for ; Tue, 28 Feb 2023 08:48:26 -0800 (PST) Received: by mail-pj1-x102f.google.com with SMTP id h17-20020a17090aea9100b0023739b10792so10223923pjz.1 for ; Tue, 28 Feb 2023 08:48:26 -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=r06My2aq8Dmvi2FXH5CuaRQfq/pWOq5I+mThml6kdDc=; b=mj566OPk7ImfN/AU68UwLwS5qA/crpftIJk2+zaV8GZTqW8IFG//ePMocyMW9k8GnS XfLU8xG6R2UAhEX6/L6N1ykaHb2sYKFYIF/e5BnXnaU+YTcJ8Qazzcx6MIvvbcbAYD6G xR3mSPoN8H1kKpOqTlZOhkyPw1KXMSH+Hwwsp9iKwwHgeXb1wX7HIUuCY6dCuQWYHUUU tv7fvJelkiCfhP35GeDxuacaUIaaiQDkNe3i1MvaOgjpwc1VwHHTeDaK3Ckcjq1BCdOn cWuVaLdJUXsvRaT8AWqlKKUkF60U102BruutjXO0rMDs2fUJ6M0QA0XioDi30hBuGdsM N9kA== 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=r06My2aq8Dmvi2FXH5CuaRQfq/pWOq5I+mThml6kdDc=; b=MhfUV9CtGoU9Sy3yDMChpU3tinTRFpX5Y8LxIAozoB3t/ymXZ3cCpuep97TqGV/IbL Z7wdz1+YSq0yeOHAbohfRa3Vhtw7wQg3qKVm/NbU7wU838Y8AbSug5738WbME8lNMQ8L xncQhSFDcR7GD3SzlYJ/x1Ev/rqJIEt3w2zixtZ9aVRpMNMrovBbMwG+RgeFLyD1pkcR 2ymu9qef/8/HWulo6I6TLIgWq72pb1Tk0Q9YGIy/YI4ifuOq8viv7q9s1WpPgEST6lxG RxJ+kNqhJgZ0BAXAZNka/SoSWzdeoI1rYPqcIeVXNfOD8/7HikPls77e1upC110LI3EE L6RA== X-Gm-Message-State: AO0yUKVG77CQ+asCI4+2/qIA56gPUDP1PuR90e+Z7m2M0p67z2+EAQrn jNlOFKUmijOVvcSvWDH4Hx43pqNLRgVE1KI= X-Google-Smtp-Source: AK7set+Pws7ZZnufTrodK1tqCfOTEcN/eJcxq+ShHNx2ZK3FaD/TEbOUdzjnYHB+jasHxMxBOqIBvA== X-Received: by 2002:a05:6a20:a021:b0:cc:32a8:323f with SMTP id p33-20020a056a20a02100b000cc32a8323fmr4660667pzj.38.1677602906022; Tue, 28 Feb 2023 08:48:26 -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.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Feb 2023 08:48:25 -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 05/16] arm64: dts: qcom: ipq8074: Fix the PCI I/O port range Date: Tue, 28 Feb 2023 22:17:41 +0530 Message-Id: <20230228164752.55682-6-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 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" 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 addresses (0x10200000, 0x20200000) specified in the ranges property for I/O region. While at it, let's use the missing 0x prefix for the addresses and align them in a single line. Fixes: 33057e1672fe ("ARM: dts: ipq8074: Add pcie nodes") Reported-by: Arnd Bergmann Link: https://lore.kernel.org/linux-arm-msm/7c5dfa87-41df-4ba7-b0e4-72c8386= 402a8@app.fastmail.com/ Signed-off-by: Manivannan Sadhasivam Reviewed-by: Arnd Bergmann --- arch/arm64/boot/dts/qcom/ipq8074.dtsi | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/ipq8074.dtsi b/arch/arm64/boot/dts/qc= om/ipq8074.dtsi index 62d05d740646..e8dad3ff4fcc 100644 --- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi @@ -780,10 +780,8 @@ pcie1: pci@10000000 { phys =3D <&pcie_phy1>; phy-names =3D "pciephy"; =20 - ranges =3D <0x81000000 0 0x10200000 0x10200000 - 0 0x10000>, /* downstream I/O */ - <0x82000000 0 0x10220000 0x10220000 - 0 0xfde0000>; /* non-prefetchable memory */ + ranges =3D <0x81000000 0x0 0x00000000 0x10200000 0x0 0x10000>, /* I/O= */ + <0x82000000 0x0 0x10220000 0x10220000 0x0 0xfde0000>; /* MEM */ =20 interrupts =3D ; interrupt-names =3D "msi"; @@ -844,10 +842,8 @@ pcie0: pci@20000000 { phys =3D <&pcie_phy0>; phy-names =3D "pciephy"; =20 - ranges =3D <0x81000000 0 0x20200000 0x20200000 - 0 0x10000>, /* downstream I/O */ - <0x82000000 0 0x20220000 0x20220000 - 0 0xfde0000>; /* non-prefetchable memory */ + ranges =3D <0x81000000 0x0 0x00000000 0x20200000 0x0 0x10000>, /* I/O= */ + <0x82000000 0x0 0x20220000 0x20220000 0x0 0xfde0000>; /* MEM */ =20 interrupts =3D ; interrupt-names =3D "msi"; --=20 2.25.1 From nobody Wed Dec 17 04:18:09 2025 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 D3849C6FA8E for ; Tue, 28 Feb 2023 16:49:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229907AbjB1QtM (ORCPT ); Tue, 28 Feb 2023 11:49:12 -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-Google-Smtp-Source: AK7set8zXiJfpcgDrVai6bi7LBJ1wYBlTcU8UqO/WJSalZli3hBweb42oqi/cm1f/ev4xPWFV+3M8A== 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 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" 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-72c8386= 402a8@app.fastmail.com/ Signed-off-by: Manivannan Sadhasivam Reviewed-by: Arnd Bergmann --- 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/qc= om/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 =3D <&pcie_phy0>; phy-names =3D "pciephy"; =20 - ranges =3D <0x81000000 0 0x20200000 0 0x20200000 0 0x10000>, - <0x82000000 0 0x20220000 0 0x20220000 0 0xfde0000>; + ranges =3D <0x81000000 0x0 0x00000000 0x0 0x20200000 0x0 0x10000>, + <0x82000000 0x0 0x20220000 0x0 0x20220000 0x0 0xfde0000>; =20 interrupts =3D ; interrupt-names =3D "msi"; --=20 2.25.1 From nobody Wed Dec 17 04:18:09 2025 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 AD661C64EC7 for ; Tue, 28 Feb 2023 16:49:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229915AbjB1QtO (ORCPT ); Tue, 28 Feb 2023 11:49:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229836AbjB1QtI (ORCPT ); Tue, 28 Feb 2023 11:49:08 -0500 Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1F4B1D910 for ; Tue, 28 Feb 2023 08:48:33 -0800 (PST) Received: by mail-pj1-x102a.google.com with SMTP id m3-20020a17090ade0300b00229eec90a7fso2006863pjv.0 for ; Tue, 28 Feb 2023 08:48:33 -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=TSam4VbhOsjeJo0NIo+Ag2QMw9mjy0Qu1lNaBB69VmM=; b=VlrDwcjfd6OGvzbjaXfRrW1QV8ufKg3mXTJwI2T1knFugZkp1hUoL+TZRA+1/2zCEz HXvaewIWLV0Bd6elGrgIl+spdqmxDjnmJmeCMnvt4qwT5xnWkAZWXRcYDueTV3UqR15L viihSguOyTg2+I94EvjD2sqPugp9sLhQ7663jSCTcEw/VQxC9xxfG1hH2KiA6CYgg3ED yHMzU68r6MM0CKGnYHyimkUru1e6pcGQtT65K6n3whukZQYao5ICW83SKCHvQzK+ioOj UTE1CZc6E3F0FlJ7gihMwvesdoNc+11GVGQSrR1r60YSGwmLfQg/RmN5H8PvnJEbKSN4 +41w== 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=TSam4VbhOsjeJo0NIo+Ag2QMw9mjy0Qu1lNaBB69VmM=; b=VO9PuXMrwwBtTFBOKhOov2QkYd/EFDa8kSOvOMWRHq/xYIfuH06rEdiT4lGuQFUoPo XoxtHoJx+aHWQZunWM5hsb+9/TK+nHSy9FCPw1CkFJneuTSj/Q54poDKk+FtnfElUs6S nGFN6UVuS3honyqpXRxwadlI+twaZ+NplouHG3ltLOYNRV6GmA3L3sAHrE6cj1l9eZF2 f1Mio2WK5zV3uj7/9gqNSo2nzcWmGgDQYCq5BE8jni7SgKblHG0FbaSJP93vdk6o9Raj bG0Fm5Vbhs6JjibpZtmgmmxE4MAtjJzFNEzIGhqlLwZ8xOizBLDBCrXisX1AxMFpVoK6 B2xQ== X-Gm-Message-State: AO0yUKVnZCiH4IYCBQ9PniEY7PdxfwN+HOOwKxqz/b1scpAtUWXQGsg3 f/IUYJSulNFplL4nWzqlFYeS X-Google-Smtp-Source: AK7set+Z617HWx2PfAxLlytKtd90pYSM/Lvh31pLOIbMolGWNaR/bZoJapngHaECyUsZK0WI4b6h6A== X-Received: by 2002:a17:90b:4ad1:b0:234:1a60:a6b0 with SMTP id mh17-20020a17090b4ad100b002341a60a6b0mr4094464pjb.34.1677602912457; Tue, 28 Feb 2023 08:48:32 -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.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Feb 2023 08:48:32 -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 07/16] arm64: dts: qcom: msm8996: Fix the PCI I/O port range Date: Tue, 28 Feb 2023 22:17:43 +0530 Message-Id: <20230228164752.55682-8-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 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" 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 addresses (0x0c200000, 0x0d200000, 0x0e200000) specified in the ranges property for I/O region. While at it, let's also align the entries. Fixes: ed965ef89227 ("arm64: dts: qcom: msm8996: add support to pcie") Reported-by: Arnd Bergmann Link: https://lore.kernel.org/linux-arm-msm/7c5dfa87-41df-4ba7-b0e4-72c8386= 402a8@app.fastmail.com/ Signed-off-by: Manivannan Sadhasivam Reviewed-by: Arnd Bergmann --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qc= om/msm8996.dtsi index 905678e7175d..66af9526c98b 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -1851,8 +1851,8 @@ pcie0: pcie@600000 { =20 #address-cells =3D <3>; #size-cells =3D <2>; - ranges =3D <0x01000000 0x0 0x0c200000 0x0c200000 0x0 0x100000>, - <0x02000000 0x0 0x0c300000 0x0c300000 0x0 0xd00000>; + ranges =3D <0x01000000 0x0 0x00000000 0x0c200000 0x0 0x100000>, + <0x02000000 0x0 0x0c300000 0x0c300000 0x0 0xd00000>; =20 device_type =3D "pci"; =20 @@ -1905,8 +1905,8 @@ pcie1: pcie@608000 { =20 #address-cells =3D <3>; #size-cells =3D <2>; - ranges =3D <0x01000000 0x0 0x0d200000 0x0d200000 0x0 0x100000>, - <0x02000000 0x0 0x0d300000 0x0d300000 0x0 0xd00000>; + ranges =3D <0x01000000 0x0 0x00000000 0x0d200000 0x0 0x100000>, + <0x02000000 0x0 0x0d300000 0x0d300000 0x0 0xd00000>; =20 device_type =3D "pci"; =20 @@ -1956,8 +1956,8 @@ pcie2: pcie@610000 { =20 #address-cells =3D <3>; #size-cells =3D <2>; - ranges =3D <0x01000000 0x0 0x0e200000 0x0e200000 0x0 0x100000>, - <0x02000000 0x0 0x0e300000 0x0e300000 0x0 0x1d00000>; + ranges =3D <0x01000000 0x0 0x00000000 0x0e200000 0x0 0x100000>, + <0x02000000 0x0 0x0e300000 0x0e300000 0x0 0x1d00000>; =20 device_type =3D "pci"; =20 --=20 2.25.1 From nobody Wed Dec 17 04:18:09 2025 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 0BA42C7EE30 for ; Tue, 28 Feb 2023 16:49:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229938AbjB1QtQ (ORCPT ); Tue, 28 Feb 2023 11:49:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40176 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229845AbjB1QtL (ORCPT ); Tue, 28 Feb 2023 11:49:11 -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 18A262718 for ; Tue, 28 Feb 2023 08:48:36 -0800 (PST) Received: by mail-pl1-x631.google.com with SMTP id i10so11062950plr.9 for ; Tue, 28 Feb 2023 08:48:36 -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=Egu7jQJZy8HkWWmj+5UtXFJwW1koQiOWuH1rj1qf1yM=; b=gCSSKrWk9LNki132BjnUHYHjRHes3gYkjdoEiBMgKbAgNr06yDVV2cEtl21jlsHIWB UwqMkG5o86IfuZUGJd5rHkqA07NUWkak/C1PyNp89zE3gQUvVz09i2fM6mY7h2TVsICm Ezk38skycIZxD81DNKsvNTNSeP88u3mhn441isZCyTSB0gr8RBz2yFUneG3B76LuYBUQ ned6r1JYy0SmQHHJxpMRCMmSpedamq1/XlUF/VNtVWZUNyKtSpocbgg+WmL9chnurjcq XW3fWYzUoTW4GEyU139qLndOoqPUZ9CzqLGcvhjKCkdSGuVoUUrPCR45J5trX4ZdwYVu tF0A== 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=Egu7jQJZy8HkWWmj+5UtXFJwW1koQiOWuH1rj1qf1yM=; b=Hg/Qr6AeXpo6UNRCSKbyefnQpljdd9RGFAgQLN7f00rDOvGgf0mfMyY5WXcImFTjOT Wh78c4csC2oIaofiVkI5q7Xn4AroPk9SsIhZhEwt4qYWxM5YKSa7zTRil/49ywkuBfAI d9amN+QWbyUmPy0A/AK+LunFGilX4ookv8IkMedHRobEiZYpsZthsbR/EyuhzW+1aStS djnaeTmSGpRTjf5B3Yyw6UL4pJ2MRi0hhrIuMhBpfTXP6ih8kyoOTkmt+RtJCBYyvyx+ pWMFvTc5Q0RTtZkJJVfoc5i6VlsF22f9kIiQ4B+M85vumJS/0tNvp5TGoJ/udzcl5Tys 1j5g== X-Gm-Message-State: AO0yUKVbrPx5kjEfxQYw43mKY/7kS12MRIjIdiZy8pJodfHVpS5jZkYP rGmirzyvr4cSICpc6RHflFbt X-Google-Smtp-Source: AK7set+zZvlMzfnN0/dQVa2JqDuf5dgBvGjxjxJwKGaIa7I7Llv4Ue0y3Gy0aTaBYDBYCUOzPRWmBw== X-Received: by 2002:a05:6a20:6a98:b0:cd:99f:b346 with SMTP id bi24-20020a056a206a9800b000cd099fb346mr3466647pzb.59.1677602915554; Tue, 28 Feb 2023 08:48:35 -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.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Feb 2023 08:48:35 -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 08/16] arm64: dts: qcom: sm8250: Fix the PCI I/O port range Date: Tue, 28 Feb 2023 22:17:44 +0530 Message-Id: <20230228164752.55682-9-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 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" 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 addresses (0x60200000, 0x40200000, 0x64200000) specified in the ranges property for I/O region. While at it, let's use the missing 0x prefix for the addresses. Fixes: e53bdfc00977 ("arm64: dts: qcom: sm8250: Add PCIe support") Reported-by: Arnd Bergmann Link: https://lore.kernel.org/linux-arm-msm/7c5dfa87-41df-4ba7-b0e4-72c8386= 402a8@app.fastmail.com/ Signed-off-by: Manivannan Sadhasivam Reviewed-by: Arnd Bergmann --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qco= m/sm8250.dtsi index 2f0e460acccd..e592ddcc0f07 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -1834,8 +1834,8 @@ pcie0: pci@1c00000 { #address-cells =3D <3>; #size-cells =3D <2>; =20 - ranges =3D <0x01000000 0x0 0x60200000 0 0x60200000 0x0 0x100000>, - <0x02000000 0x0 0x60300000 0 0x60300000 0x0 0x3d00000>; + ranges =3D <0x01000000 0x0 0x00000000 0x0 0x60200000 0x0 0x100000>, + <0x02000000 0x0 0x60300000 0x0 0x60300000 0x0 0x3d00000>; =20 interrupts =3D , , @@ -1943,7 +1943,7 @@ pcie1: pci@1c08000 { #address-cells =3D <3>; #size-cells =3D <2>; =20 - ranges =3D <0x01000000 0x0 0x40200000 0x0 0x40200000 0x0 0x100000>, + ranges =3D <0x01000000 0x0 0x00000000 0x0 0x40200000 0x0 0x100000>, <0x02000000 0x0 0x40300000 0x0 0x40300000 0x0 0x1fd00000>; =20 interrupts =3D ; @@ -2051,7 +2051,7 @@ pcie2: pci@1c10000 { #address-cells =3D <3>; #size-cells =3D <2>; =20 - ranges =3D <0x01000000 0x0 0x64200000 0x0 0x64200000 0x0 0x100000>, + ranges =3D <0x01000000 0x0 0x00000000 0x0 0x64200000 0x0 0x100000>, <0x02000000 0x0 0x64300000 0x0 0x64300000 0x0 0x3d00000>; =20 interrupts =3D ; --=20 2.25.1 From nobody Wed Dec 17 04:18:09 2025 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 142CAC64ED6 for ; Tue, 28 Feb 2023 16:49:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229952AbjB1QtS (ORCPT ); Tue, 28 Feb 2023 11:49:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229921AbjB1QtM (ORCPT ); Tue, 28 Feb 2023 11:49:12 -0500 Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40B84211D8 for ; Tue, 28 Feb 2023 08:48:39 -0800 (PST) Received: by mail-pj1-x1036.google.com with SMTP id x20-20020a17090a8a9400b00233ba727724so1987162pjn.1 for ; Tue, 28 Feb 2023 08:48:39 -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=iCF3zMena4srMKCl++MLXI9r0aSG+VyTVbPdBKzJEi4=; b=D5pqPo3merhk9oD3FhSnvSQLqHAHFy5+A1SOSfM9eRfb77uCtW1acgIlLEBNAJ02xp 6j6YQuEsj9vIKfyT6bYXZMJLd8Eo/fK83StNPZSTkpcoeZd3lbYQCYDsDSTyfA6V5FZ8 Pn/BKNYa3CxlvN8NsyOJe08hIt0ygSVvO2CzTFGz4VKYDSYc4Lp0vrrBgwYqAHpJ9qk2 z8qxKBCF0fh7d9QTPmx8EHsKsCJ1hYPQ6rzMQBS8xmyYyj6K1EumW0kPKGOL1ex60Si4 bbg1pJW0MOUUHiU6cJ0Bp7QfH9lMLz8ro8f0M0YFaVlhvHZyxFGjjxZfC5I6gYtDgXs3 C/Lw== 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=iCF3zMena4srMKCl++MLXI9r0aSG+VyTVbPdBKzJEi4=; b=fI/cqFMOOV5w3btMfYGrX4Q08KXmVBcYOGkMXX/UqFaANP9QMqRhFOf8bB3o3O8dRI AXMoXsYL5MidZl/f9csUJsA01S7cl51gKp0z0zZkVUqlh2VviEkVhJQWI1AAGSrNDhaN hmYH8jLUaf9h7r6w3X199YSfSN5Ga/zDH99RRSRipYBGbXls7SZlUJW2kZacb30UPnEm MxcZOshlz5xRBK08k2Emfepsa9wQAKRVR5RW855zE8+GLReEQkkkOvL7lJxAJ4QuXowR XMUfrT7amwy+1m4yhz7nxagJ0WDxhzvNmcpcsiPNL1tlBTMp2HUBC7GPtNArZDzn1S5x AMKg== X-Gm-Message-State: AO0yUKVAwGDYyZX0gqV+csqWEAH9/v+FMOZH7wgukBGMts4esHNrC4wP VlkTMxS3GeNgcbLSjeJBfGiY X-Google-Smtp-Source: AK7set+iBvgp54JrlGvSN2ucsfE7s3w01Vpu8wTPXztu8V71rK2TgydqPH8fRF6H5UruqWB7RubcsQ== X-Received: by 2002:a05:6a20:428b:b0:cc:b5de:3037 with SMTP id o11-20020a056a20428b00b000ccb5de3037mr4536707pzj.51.1677602918753; Tue, 28 Feb 2023 08:48:38 -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.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Feb 2023 08:48:38 -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 09/16] arm64: dts: qcom: qcs404: Use 0x prefix for the PCI I/O and MEM ranges Date: Tue, 28 Feb 2023 22:17:45 +0530 Message-Id: <20230228164752.55682-10-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 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" To maintain the uniformity, let's use the 0x prefix for the values of ranges property. Signed-off-by: Manivannan Sadhasivam Reviewed-by: Arnd Bergmann --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qco= m/qcs404.dtsi index bc2ed73afb74..42fc33ab8b2e 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -1469,8 +1469,8 @@ pcie: pci@10000000 { #address-cells =3D <3>; #size-cells =3D <2>; =20 - ranges =3D <0x81000000 0 0 0x10003000 0 0x00010000>, /* I/O */ - <0x82000000 0 0x10013000 0x10013000 0 0x007ed000>; /* memory */ + ranges =3D <0x81000000 0x0 0x00000000 0x10003000 0x0 0x00010000>, /* I/= O */ + <0x82000000 0x0 0x10013000 0x10013000 0x0 0x007ed000>; /* memory */ =20 interrupts =3D ; interrupt-names =3D "msi"; --=20 2.25.1 From nobody Wed Dec 17 04:18:09 2025 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 4586CC7EE32 for ; Tue, 28 Feb 2023 16:49:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229963AbjB1Qta (ORCPT ); Tue, 28 Feb 2023 11:49:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40500 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229934AbjB1Qt1 (ORCPT ); Tue, 28 Feb 2023 11:49:27 -0500 Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7DCBB241E0 for ; Tue, 28 Feb 2023 08:48:43 -0800 (PST) Received: by mail-pl1-x62c.google.com with SMTP id a9so951898plh.11 for ; Tue, 28 Feb 2023 08:48:43 -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=+mOXZ9qyQvv5sAkxxgH4iBEQJ9SxMhQVCvClo14WEls=; b=XT9Ge0azEd179tHlw2pSwavkiX0F9mGy47gdOEuNULHly3fiCsNMl7Tqn5xPYhNVse IYHBsvuwFB/rtt6CnWX2Eu0YOeAWacGkFLQ3vvnJ6doGAo5imhBNdsUk6BNsf9RWIF+E LQZouNgcGpKt6mqX/7qhCFuxeTD4QtmXAa7+Y0wZZDsqjB+YJ3N16zYdElts87jbfWhN 1JBvu+J4BLTrJoqSbJst/Mju5xvXoAP/z03RgIpyPHqCaxqtuwhDBMYjfaJ4l5u9bHDh 9JVl7SS/ZPrXpJsBW2dHWhfY2iIN9R/FnPAmMILB4oksgJD2yyNsZhJv7HGHAfmetspH Gbjw== 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=+mOXZ9qyQvv5sAkxxgH4iBEQJ9SxMhQVCvClo14WEls=; b=g+oEMTZKdhmV2+eMq6CkX2zcudPQjsTOzrXw7/yNMk7jqYKsfckLAsGt3rgkHnBarM ftyZzMq4B7lLRGVtih6xTlbVHCcFAE5WbIVete5WQJ4oZMLT+IRzjnGzIJGtDhqSYbmx W8thoYIWHV7eLBJt0E3xETK25izu2lnrBSmxdD8Et2k27ZG1pVvAL/oqN14WDa/8UrD9 Av5JrB5SCZ8OrvugWax6FwxvivT8VSz7CaJWX4ooKdpbzsoMJOoFY/rvcBuBzRZ6dZXt 1QRjrooe9dCGnReaxDfYrTEwuZf8ARYKGWCyx/VLPfDup/Relz6OtxlckC6tVgvQeHH8 UXWQ== X-Gm-Message-State: AO0yUKUWq7+uKkHQIWl03kDjD/w4EHYUdMK7DfZ2lRl2yLJFvkCI7O9d v+Qm136aoiFpPavLbU+KJg/V X-Google-Smtp-Source: AK7set9ZrqcVy8UGFbcDLQHMhw6Gg+BYvupVH/rHxZQU7eRrkxNSBkRhHUubgwjF62tE3xBTaXnbyg== X-Received: by 2002:a17:902:e801:b0:19a:b4a9:9df7 with SMTP id u1-20020a170902e80100b0019ab4a99df7mr3750511plg.53.1677602922957; Tue, 28 Feb 2023 08:48:42 -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.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Feb 2023 08:48:42 -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 10/16] arm64: dts: qcom: sc8280xp: Fix the PCI I/O port range Date: Tue, 28 Feb 2023 22:17:46 +0530 Message-Id: <20230228164752.55682-11-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 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" 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 addresses (0x30200000, 0x32200000, 0x34200000, 0x38200000, 0x3c200000) specified in the ranges property for I/O region. Fixes: 813e83157001 ("arm64: dts: qcom: sc8280xp/sa8540p: add PCIe2-4 nodes= ") Reported-by: Arnd Bergmann Link: https://lore.kernel.org/linux-arm-msm/7c5dfa87-41df-4ba7-b0e4-72c8386= 402a8@app.fastmail.com/ Signed-off-by: Manivannan Sadhasivam Reviewed-by: Arnd Bergmann --- arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/q= com/sc8280xp.dtsi index 0d02599d8867..a0065656442c 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi @@ -1657,7 +1657,7 @@ pcie4: pcie@1c00000 { reg-names =3D "parf", "dbi", "elbi", "atu", "config"; #address-cells =3D <3>; #size-cells =3D <2>; - ranges =3D <0x01000000 0x0 0x30200000 0x0 0x30200000 0x0 0x100000>, + ranges =3D <0x01000000 0x0 0x00000000 0x0 0x30200000 0x0 0x100000>, <0x02000000 0x0 0x30300000 0x0 0x30300000 0x0 0x1d00000>; bus-range =3D <0x00 0xff>; =20 @@ -1756,7 +1756,7 @@ pcie3b: pcie@1c08000 { reg-names =3D "parf", "dbi", "elbi", "atu", "config"; #address-cells =3D <3>; #size-cells =3D <2>; - ranges =3D <0x01000000 0x0 0x32200000 0x0 0x32200000 0x0 0x100000>, + ranges =3D <0x01000000 0x0 0x00000000 0x0 0x32200000 0x0 0x100000>, <0x02000000 0x0 0x32300000 0x0 0x32300000 0x0 0x1d00000>; bus-range =3D <0x00 0xff>; =20 @@ -1853,7 +1853,7 @@ pcie3a: pcie@1c10000 { reg-names =3D "parf", "dbi", "elbi", "atu", "config"; #address-cells =3D <3>; #size-cells =3D <2>; - ranges =3D <0x01000000 0x0 0x34200000 0x0 0x34200000 0x0 0x100000>, + ranges =3D <0x01000000 0x0 0x00000000 0x0 0x34200000 0x0 0x100000>, <0x02000000 0x0 0x34300000 0x0 0x34300000 0x0 0x1d00000>; bus-range =3D <0x00 0xff>; =20 @@ -1953,7 +1953,7 @@ pcie2b: pcie@1c18000 { reg-names =3D "parf", "dbi", "elbi", "atu", "config"; #address-cells =3D <3>; #size-cells =3D <2>; - ranges =3D <0x01000000 0x0 0x38200000 0x0 0x38200000 0x0 0x100000>, + ranges =3D <0x01000000 0x0 0x00000000 0x0 0x38200000 0x0 0x100000>, <0x02000000 0x0 0x38300000 0x0 0x38300000 0x0 0x1d00000>; bus-range =3D <0x00 0xff>; =20 @@ -2050,7 +2050,7 @@ pcie2a: pcie@1c20000 { reg-names =3D "parf", "dbi", "elbi", "atu", "config"; #address-cells =3D <3>; #size-cells =3D <2>; - ranges =3D <0x01000000 0x0 0x3c200000 0x0 0x3c200000 0x0 0x100000>, + ranges =3D <0x01000000 0x0 0x00000000 0x0 0x3c200000 0x0 0x100000>, <0x02000000 0x0 0x3c300000 0x0 0x3c300000 0x0 0x1d00000>; bus-range =3D <0x00 0xff>; =20 --=20 2.25.1 From nobody Wed Dec 17 04:18:09 2025 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 7BCDEC64EC7 for ; Tue, 28 Feb 2023 16:49:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229978AbjB1Qtd (ORCPT ); Tue, 28 Feb 2023 11:49:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40520 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229969AbjB1Qta (ORCPT ); Tue, 28 Feb 2023 11:49:30 -0500 Received: from mail-pl1-x633.google.com (mail-pl1-x633.google.com [IPv6:2607:f8b0:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A83472CC6F for ; Tue, 28 Feb 2023 08:48:46 -0800 (PST) Received: by mail-pl1-x633.google.com with SMTP id ky4so11106780plb.3 for ; Tue, 28 Feb 2023 08:48:46 -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=2eEMB9s5VCpJlF9KahYvaWlXJSQFG2Rpw7o2twh3Yp4=; b=FQuMVxezTSRZiRV5XbRKPIaYLXP4B1Y3xCIXmpl9/LzT48Rm7keCfUTlCATPIUH/XV mablt9ofSz3ZxMN5qztABjuTS2KLkTpJzsqic3rbJk4Kxye9+sn3GgxmWYUzn5Roq4vP JduDPsRwxCalnhgQbGrqutA8D3d+H5z1E6iDXgKP/z6rjY+MtuA2xmKcNTQ+oA9RtQmN BYWMv/jnzfuwZevBi42gKSn0Jl2Aq06fF/KJ666tgZterkO0ywPkQ6j/WdDdPyh7huZe X56RATdR0zrQYI4fDd1VKTNy8yf1v0vEAQL01FIH2qVrZ84OHyLlijOt+/ot9zu9+uQy u+iw== 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=2eEMB9s5VCpJlF9KahYvaWlXJSQFG2Rpw7o2twh3Yp4=; b=oBOWRsUCxYbz+4hOKVTt8OB7ZGNwGD3/NzZGsbHvuBYsqPw5eqfK9ZjlTHotFb60au gLsvbjlM9qRh1ndId+RsONe5aOiqBvi8GHJn0I3I8kSnCJEUKXP8zCqz6FW6WPiuJMj1 qujLR3Z/bsrz0wUqKZnf/jGB3y6xiiYw+gvjUdCHtsz3MCIxsyqVgXLV7HA7fQgw46k2 HpGkSrjq3DaLEPMY41eawA6BR/fuH2Xc8pnGjN60RQwT7SIRHpweXQHLV63PjWUaHdKX MuFS5NkMnfc22irF8wIM1yhZ3A7K27lfscdJf4C+620WdA4d46sbvVxp6dzKJ7paOg8b ytzQ== X-Gm-Message-State: AO0yUKUqOlI6e+KqnQnl/QmCQZS3LyPHaxLXB/jTUEwC5GrkiVtnfppD XhTiRgm84aycwgAdKIKznfyB X-Google-Smtp-Source: AK7set9KMqVsd6eMVqwnfYGpkyUkg18ps6Si1zK8tVHG6melJDr4hZN1JceEcyUtYMORaaVKOhU++A== X-Received: by 2002:a05:6a20:431d:b0:bc:8254:ddff with SMTP id h29-20020a056a20431d00b000bc8254ddffmr4842486pzk.1.1677602926154; Tue, 28 Feb 2023 08:48:46 -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.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Feb 2023 08:48:45 -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 11/16] arm64: dts: qcom: sm8150: Fix the PCI I/O port range Date: Tue, 28 Feb 2023 22:17:47 +0530 Message-Id: <20230228164752.55682-12-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 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" 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 addresses (0x60200000, 0x40200000) specified in the ranges property for I/O region. While at it, let's use the missing 0x prefix for the addresses. Fixes: a1c86c680533 ("arm64: dts: qcom: sm8150: Add PCIe nodes") Reported-by: Arnd Bergmann Link: https://lore.kernel.org/linux-arm-msm/7c5dfa87-41df-4ba7-b0e4-72c8386= 402a8@app.fastmail.com/ Signed-off-by: Manivannan Sadhasivam Reviewed-by: Arnd Bergmann --- arch/arm64/boot/dts/qcom/sm8150.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qco= m/sm8150.dtsi index fd20096cfc6e..1fabfa05708c 100644 --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi @@ -1799,8 +1799,8 @@ pcie0: pci@1c00000 { #address-cells =3D <3>; #size-cells =3D <2>; =20 - ranges =3D <0x01000000 0x0 0x60200000 0 0x60200000 0x0 0x100000>, - <0x02000000 0x0 0x60300000 0 0x60300000 0x0 0x3d00000>; + ranges =3D <0x01000000 0x0 0x00000000 0x0 0x60200000 0x0 0x100000>, + <0x02000000 0x0 0x60300000 0x0 0x60300000 0x0 0x3d00000>; =20 interrupts =3D ; interrupt-names =3D "msi"; @@ -1895,7 +1895,7 @@ pcie1: pci@1c08000 { #address-cells =3D <3>; #size-cells =3D <2>; =20 - ranges =3D <0x01000000 0x0 0x40200000 0x0 0x40200000 0x0 0x100000>, + ranges =3D <0x01000000 0x0 0x00000000 0x0 0x40200000 0x0 0x100000>, <0x02000000 0x0 0x40300000 0x0 0x40300000 0x0 0x1fd00000>; =20 interrupts =3D ; --=20 2.25.1 From nobody Wed Dec 17 04:18:09 2025 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 2D4E5C64EC7 for ; Tue, 28 Feb 2023 16:49:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229990AbjB1Qtq (ORCPT ); Tue, 28 Feb 2023 11:49:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229984AbjB1Qto (ORCPT ); Tue, 28 Feb 2023 11:49:44 -0500 Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8AF712ED6F for ; Tue, 28 Feb 2023 08:48:51 -0800 (PST) Received: by mail-pj1-x1035.google.com with SMTP id qa18-20020a17090b4fd200b0023750b675f5so14295632pjb.3 for ; Tue, 28 Feb 2023 08:48:51 -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=DvVb9HJYFQbn7yHRn9yj9W99uSe4LLme2syu2gv/yok=; b=VvjLgfQ7vFsFQ/vj3DrqICaX5TT+Kxccgx1iR9NnuHBO3+TBXnSGbzXfHuSD+9oVqF d9IUVE4UwlNkkPB8/QpUhs+w0yxwtkqZZqiU1BCkMq6OsuKvmqUWKN6EPygi1ilGEu0b xq8IJS0ghRrZjRWX7bcbcLP0b3k+gq/I0WQCHAv09rpMs0kD5sdOkPQHZEZYbrHpNYFM MrFCJJGR67qeyQl22UMRir3x4tW9F9zb4TY1TH0iqypUgRT0WUzVRWrX4v8wETZChTTS aWuSRU2lTAdbHxMLmUwj/oQstVRLFSW3/WuYM1beqGqo/fdH+PZTa4sDTagsLOeUc03Q BhCA== 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=DvVb9HJYFQbn7yHRn9yj9W99uSe4LLme2syu2gv/yok=; b=b36w9tB98Cjhd14zdCLdn/gdokK8NXl4vtm+aP+ucjK1AJ2Pk6pw21HrD5FKSPFj1o HJXmBQ9hirSP2wF+oouTJg/LXU0tT/Xp94B/8w3Whq0IN21D8hjAlWwDCZH8p+fD/J0t q2Ar0OVckgdMDgOg9J7me87vWibPMk6C812X4/bJ6i0f1eOzhkXGPZ6C6q9cPiQNLj8r 8FknhxN82BMJtou81slpakuq8SSOTmG9VqxJATyMH6IbbtQfmXpTiVrtP1zZtC6dBFqD EX/NHvZw0UFIO3GqIXVoPffbovlUtLuFqTKZi8Yntjwai5P7AUAyHIKC7me7EEEuV0d0 OCrw== X-Gm-Message-State: AO0yUKXKySPUh/5gxGNR227dewKU9Y3Oy4InmMGVmUR/m301iFDhCtxD d8Umgm9vXUwYgbFZEPNHuh6D X-Google-Smtp-Source: AK7set/jnbF9Gi9XsQrTa3rmDnxOBdQazZlR0vdWfoF1J3p6J9fDclkDWtEZBGSs813xGZHHqx1Hkw== X-Received: by 2002:a17:902:9a47:b0:19a:ac09:757b with SMTP id x7-20020a1709029a4700b0019aac09757bmr2897365plv.10.1677602930822; Tue, 28 Feb 2023 08:48:50 -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.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Feb 2023 08:48:50 -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 12/16] arm64: dts: qcom: sm8450: Fix the PCI I/O port range Date: Tue, 28 Feb 2023 22:17:48 +0530 Message-Id: <20230228164752.55682-13-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 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" 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 addresses (0x60200000, 0x40200000) specified in the ranges property for I/O region. While at it, let's use the missing 0x prefix for the addresses. Fixes: bc6588bc25fb ("arm64: dts: qcom: sm8450: add PCIe1 root device") Fixes: 7b09b1b47335 ("arm64: dts: qcom: sm8450: add PCIe0 RC device") Reported-by: Arnd Bergmann Link: https://lore.kernel.org/linux-arm-msm/7c5dfa87-41df-4ba7-b0e4-72c8386= 402a8@app.fastmail.com/ Signed-off-by: Manivannan Sadhasivam Reviewed-by: Arnd Bergmann --- arch/arm64/boot/dts/qcom/sm8450.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qco= m/sm8450.dtsi index 1a744a33bcf4..3c9b9425da12 100644 --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi @@ -1746,8 +1746,8 @@ pcie0: pci@1c00000 { #address-cells =3D <3>; #size-cells =3D <2>; =20 - ranges =3D <0x01000000 0x0 0x60200000 0 0x60200000 0x0 0x100000>, - <0x02000000 0x0 0x60300000 0 0x60300000 0x0 0x3d00000>; + ranges =3D <0x01000000 0x0 0x00000000 0x0 0x60200000 0x0 0x100000>, + <0x02000000 0x0 0x60300000 0x0 0x60300000 0x0 0x3d00000>; =20 /* * MSIs for BDF (1:0.0) only works with Device ID 0x5980. @@ -1862,8 +1862,8 @@ pcie1: pci@1c08000 { #address-cells =3D <3>; #size-cells =3D <2>; =20 - ranges =3D <0x01000000 0x0 0x40200000 0 0x40200000 0x0 0x100000>, - <0x02000000 0x0 0x40300000 0 0x40300000 0x0 0x1fd00000>; + ranges =3D <0x01000000 0x0 0x00000000 0x0 0x40200000 0x0 0x100000>, + <0x02000000 0x0 0x40300000 0x0 0x40300000 0x0 0x1fd00000>; =20 /* * MSIs for BDF (1:0.0) only works with Device ID 0x5a00. --=20 2.25.1 From nobody Wed Dec 17 04:18:09 2025 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 96E12C6FA8E for ; Tue, 28 Feb 2023 16:49:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230025AbjB1Qt4 (ORCPT ); Tue, 28 Feb 2023 11:49:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230015AbjB1Qtx (ORCPT ); Tue, 28 Feb 2023 11:49:53 -0500 Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E862930EA7 for ; Tue, 28 Feb 2023 08:48:54 -0800 (PST) Received: by mail-pl1-x635.google.com with SMTP id z2so11050589plf.12 for ; Tue, 28 Feb 2023 08:48:54 -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=whT3aUmNdS5fuKcmFu2oegzQXBPH9cSV0MhwaeSEqaQ=; b=p89BVizFoCt2rywjb8ir45QqgmNYWpQsCliA7iowjoGG0Bcad9SJQlConyNwAPtkig ImTddcogyI2LJM8zDae5BeMaJsgp8VAUp0O7eKZmfwnhGzOSw0MhCfidV4UqIkxpwGut GhoNtT5GaTAiRDJ2vtPEx2eJg4Ea10yPECVhZdz1KyIrOrq8K2B5y9EhzGDZBP9UQAQR GfXnI5QeNqEv2RyO+lfnATsZHkIbG5tYhnV0Mpbohr4fp+ZrjgpLbcGgd9VTG6AiMYWP Qc4vsojgjBcsKe1qogHX5cwDtF1D/ExiXoGgsWvxuq9k0pEOnnFXLvEvRVyOphBlOejO 9PYg== 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=whT3aUmNdS5fuKcmFu2oegzQXBPH9cSV0MhwaeSEqaQ=; b=7Xa41krKPTbMn3vmAY4sAL5zMavwDkeHuljiCM/C3vL7D3NEg/HR7Y4BK2VtjiPQ2M B+2ZpxxDE3KzXZXwDStAf/dM0VgqZpSP4SCtEHhg7Jse2JJFHx6tyVIq3i+42U98/Xir T+lDYhVjNH9J5T38cauDF013557K67LcJwlQTVIwWtqYY+MHn5WOrlm1Yst+Xp1IAWuD QYi67dpRxM4w27pZ+Fe0QiVuS+K1tjKGKZN9u3xG23TnPsE7E4Lu/Mka+W++sZd9FYUT 0OcSPR4v1ILHohBcltX5Bz/xcZNb0u0aA8ZNKlCBu1AgCjVNLrWf550Y27Hk2kS8bs1l d6Qg== X-Gm-Message-State: AO0yUKUWUVV6tLj8YvNyGBEm0ZVdwSVm/RaiBIZuf1qhNhQnQ0KHKwPt c9+QZVNB5Eifj4cEiy+dOprn X-Google-Smtp-Source: AK7set/ahJIG+lUGu0BS6YWnsnOmtBqfqpRp6Vdmc/erZoTHqT3mfhvyqmCT5nd+wiXj/p684Uc5xA== X-Received: by 2002:a05:6a21:32a9:b0:cc:70df:ae20 with SMTP id yt41-20020a056a2132a900b000cc70dfae20mr13348786pzb.0.1677602933956; Tue, 28 Feb 2023 08:48:53 -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.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Feb 2023 08:48:53 -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 13/16] arm64: dts: qcom: sm8350: Fix the PCI I/O port range Date: Tue, 28 Feb 2023 22:17:49 +0530 Message-Id: <20230228164752.55682-14-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 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" 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 addresses (0x60200000, 0x40200000) specified in the ranges property for I/O region. While at it, let's use the missing 0x prefix for the addresses. Fixes: 6daee40678a0 ("arm64: dts: qcom: sm8350: add PCIe devices") Reported-by: Arnd Bergmann Link: https://lore.kernel.org/linux-arm-msm/7c5dfa87-41df-4ba7-b0e4-72c8386= 402a8@app.fastmail.com/ Signed-off-by: Manivannan Sadhasivam Reviewed-by: Arnd Bergmann --- arch/arm64/boot/dts/qcom/sm8350.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi b/arch/arm64/boot/dts/qco= m/sm8350.dtsi index 1c97e28da6ad..1ca16bfc8988 100644 --- a/arch/arm64/boot/dts/qcom/sm8350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8350.dtsi @@ -1487,8 +1487,8 @@ pcie0: pci@1c00000 { #address-cells =3D <3>; #size-cells =3D <2>; =20 - ranges =3D <0x01000000 0x0 0x60200000 0 0x60200000 0x0 0x100000>, - <0x02000000 0x0 0x60300000 0 0x60300000 0x0 0x3d00000>; + ranges =3D <0x01000000 0x0 0x00000000 0x0 0x60200000 0x0 0x100000>, + <0x02000000 0x0 0x60300000 0x0 0x60300000 0x0 0x3d00000>; =20 interrupts =3D , , @@ -1581,8 +1581,8 @@ pcie1: pci@1c08000 { #address-cells =3D <3>; #size-cells =3D <2>; =20 - ranges =3D <0x01000000 0x0 0x40200000 0 0x40200000 0x0 0x100000>, - <0x02000000 0x0 0x40300000 0 0x40300000 0x0 0x1fd00000>; + ranges =3D <0x01000000 0x0 0x00000000 0x0 0x40200000 0x0 0x100000>, + <0x02000000 0x0 0x40300000 0x0 0x40300000 0x0 0x1fd00000>; =20 interrupts =3D ; interrupt-names =3D "msi"; --=20 2.25.1 From nobody Wed Dec 17 04:18:09 2025 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 4F51CC64EC7 for ; Tue, 28 Feb 2023 16:50:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230031AbjB1QuJ (ORCPT ); Tue, 28 Feb 2023 11:50:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41292 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230024AbjB1QuG (ORCPT ); Tue, 28 Feb 2023 11:50:06 -0500 Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D94E734F43 for ; Tue, 28 Feb 2023 08:48:57 -0800 (PST) Received: by mail-pl1-x635.google.com with SMTP id i5so9393188pla.2 for ; Tue, 28 Feb 2023 08:48:57 -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=mS14RoV+P3AFH8a/cHRRDGPu5wgcpokXNUSOl49FuEQ=; b=U44EcFFMQk0/IWAhWFePxyUVQM09DsReR8dgGZslsw2jTu3J99TAwmPDyvp/PwzAs1 Pwp7zvV9vUuXwUd20GINMVc3AlxOAhQIAwoeSoyuikuyY9Z/PL98SqluFw1ODw8LerQR 1T73IVBtxYyIvSGK2No9Rw+o0svL3coZGVX35vh25HjE5BXelbakbibQ/bnncnSSpJp0 fmY/KhzkOnwKFrhcjIil5S86vtiMnUyfo/oJgJIA6goB/BzdjDalo62smJJlHMBgF4uy CUayKp6+GAJJEAE4eJvkrd0HWJNILcRcDaTslKul/5wEMTAv8DkPL4lA/+z2XjmOUeSo FGRg== 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=mS14RoV+P3AFH8a/cHRRDGPu5wgcpokXNUSOl49FuEQ=; b=4tytkyw87LraXfxr4gU8d4bsA33m2tJwrjSrhHgfMH0bIlu9oSMf7XunOD+SNqNumM +cAUg+UEje4TPEcJv3QPGUadys1NdfqMJL9BsENvMENZPcfp8rSefSn25S7O/hfWv0/A hNFiK03ixRpQSh/QUSYGiPoECIPfoP5ZTTnQ3empFLymb0sUB+durBoUJkRdPbZlzhhB J97aAlEOUtkYbQY6aswvdaJNUWQOPZNV/4Qa2AJ5X2WzlKWjf3Kj9GXwp7ro6xb+uU/X ARx/JWJjV5IW7RYZRIUWnFqz5AM7sTm7KR3bFWMUvSvSKYAxISSJCV1eUf8pISpmOTty r8Cg== X-Gm-Message-State: AO0yUKVhSXG+XNCyW3zeZB6qU3Rs7bNe4Ab52/VaWAa1f2jXEuyfOV+3 6hS0kMTkcSJMpFsah+gZ5htYmO0zNaaWEYY= X-Google-Smtp-Source: AK7set/pqaCfHZK1mNlRSQeZTuBVC9yfwZ6TTmFvltNVF9QiDN3BW73tWaoGU22TNMPMZF+LHwi1cQ== X-Received: by 2002:a05:6a20:a110:b0:cc:63c6:8d3a with SMTP id q16-20020a056a20a11000b000cc63c68d3amr4360211pzk.41.1677602937090; Tue, 28 Feb 2023 08:48:57 -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.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Feb 2023 08:48:56 -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 14/16] ARM: dts: qcom: apq8064: Use 0x prefix for the PCI I/O and MEM ranges Date: Tue, 28 Feb 2023 22:17:50 +0530 Message-Id: <20230228164752.55682-15-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 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" To maintain the uniformity, let's use the 0x prefix for the values of ranges property. Signed-off-by: Manivannan Sadhasivam Reviewed-by: Arnd Bergmann --- arch/arm/boot/dts/qcom-apq8064.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-a= pq8064.dtsi index 92aa2b081901..210b24e510c5 100644 --- a/arch/arm/boot/dts/qcom-apq8064.dtsi +++ b/arch/arm/boot/dts/qcom-apq8064.dtsi @@ -1494,8 +1494,8 @@ pcie: pci@1b500000 { num-lanes =3D <1>; #address-cells =3D <3>; #size-cells =3D <2>; - ranges =3D <0x81000000 0 0 0x0fe00000 0 0x00100000>, /* I/O */ - <0x82000000 0 0x08000000 0x08000000 0 0x07e00000>; /* mem */ + ranges =3D <0x81000000 0x0 0x00000000 0x0fe00000 0x0 0x00100000>, /* I/= O */ + <0x82000000 0x0 0x08000000 0x08000000 0x0 0x07e00000>; /* mem */ interrupts =3D ; interrupt-names =3D "msi"; #interrupt-cells =3D <1>; --=20 2.25.1 From nobody Wed Dec 17 04:18:09 2025 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 07715C64ED6 for ; Tue, 28 Feb 2023 16:50:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230047AbjB1QuS (ORCPT ); Tue, 28 Feb 2023 11:50:18 -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-Google-Smtp-Source: AK7set9gzknrsbZmUorBTBisjOuHHwHobtO6UGHqglFK6C2biqfkcx3wRl0jUwTzayqrO7WMzPjNCw== 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 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" 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-72c8386= 402a8@app.fastmail.com/ Signed-off-by: Manivannan Sadhasivam Reviewed-by: Arnd Bergmann --- 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-i= pq4019.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 =3D <3>; #size-cells =3D <2>; =20 - ranges =3D <0x81000000 0 0x40200000 0x40200000 0 0x00100000>, - <0x82000000 0 0x40300000 0x40300000 0 0x00d00000>; + ranges =3D <0x81000000 0x0 0x00000000 0x40200000 0x0 0x00100000>, + <0x82000000 0x0 0x40300000 0x40300000 0x0 0x00d00000>; =20 interrupts =3D ; interrupt-names =3D "msi"; --=20 2.25.1 From nobody Wed Dec 17 04:18:09 2025 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 07C30C6FA8E for ; Tue, 28 Feb 2023 16:50:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230011AbjB1Qu1 (ORCPT ); Tue, 28 Feb 2023 11:50:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41664 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229984AbjB1QuY (ORCPT ); Tue, 28 Feb 2023 11:50:24 -0500 Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com [IPv6:2607:f8b0:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3EE4234F77 for ; Tue, 28 Feb 2023 08:49:08 -0800 (PST) Received: by mail-pl1-x636.google.com with SMTP id p6so10243046plf.0 for ; Tue, 28 Feb 2023 08:49:08 -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=3eNassO9Vnm8zgaO1p6R8ZkRqE+XYfqCv7XBdpZWD1Y=; b=LCv6//91hcHhzEyZAsytIU78+WAzK+RKLx+VZQAOnBh1cqUyRSNrcDspccX2RyUGFk 2/9Yn+GfyJPheITtQKnJxTT6g2t4Ifb9dE+w+uUZtYFAUP2Ffk4x8vSvdiRss+1HrdtX 9AMC6VANMxSSuOea51f2eTGiKmX1Ki+rPdJHdqkSrfNAyygf6/99JM2hJfIj+ATXqc2P H/zdtaIJZ34z/6jXBO++hbaz+b/g/GZy5pLS7foyn5EXjv+TOMNF3q1uTMju0cyjtCo+ kYmRtO1ZlCa1GqA4SyFNciCNVj78n7RjqecctcCvnh1B1LytkyKBvvkXgWThufOi9cPV F/YQ== 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=3eNassO9Vnm8zgaO1p6R8ZkRqE+XYfqCv7XBdpZWD1Y=; b=mxuc0nwlXqf67U1zNj6Ur9GL85CjlA0GMfDbU/jl8t36Guwa8pd0q78cpFigRtBvtd R3JFy3OGuWnhDZiTN3AhH0ROlwgvge8jAQOVqRCjr3gyozYarhR2ZcD2At8QLrfmC4/e xX/6Pzoy7sx/IYxsd3fR4GEUMFf7XBKFiPiq6lr0e/r+BI18X1oMmuJMfxKfsl18KXp5 eIIrvdxlyED5WtiNIZ85YU4BAW3zQmUuaQOBohnzqiMtRMV+FivJNJ9Kbo81HW2rfY00 R5/oe27oFmZutlf0B2aTWXzdtLPGEAr6ZVBC4UYwI1O0Qo7p6HXy/eEj8S7FFmou0TtH 5Cow== X-Gm-Message-State: AO0yUKWpym7/9wna2ytkn++HL0QSfvlQIEd5pxJ/pZY/CytDTTU0CKrK b+WVegAEniFJ/pnGQebtDTm6 X-Google-Smtp-Source: AK7set9KfUERT3EJgDtWDZi4ewKw09o+m9bxhqSAPTR+TI4pOeNWXbB26QjwfD0A8OGvaEIR9PLrdA== X-Received: by 2002:a05:6a20:a11f:b0:cc:32a8:323d with SMTP id q31-20020a056a20a11f00b000cc32a8323dmr10165721pzk.28.1677602943395; Tue, 28 Feb 2023 08:49:03 -0800 (PST) Received: from localhost.localdomain ([103.197.115.185]) by smtp.gmail.com with ESMTPSA id z11-20020a6552cb000000b00476dc914262sm5908792pgp.1.2023.02.28.08.49.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Feb 2023 08:49:03 -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 16/16] ARM: dts: qcom: ipq8064: Fix the PCI I/O port range Date: Tue, 28 Feb 2023 22:17:52 +0530 Message-Id: <20230228164752.55682-17-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 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" 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 addresses (0x0fe00000, 0x31e00000, 0x35e00000) specified in the ranges property for I/O region. While at it, let's use the missing 0x prefix for the addresses. Fixes: 93241840b664 ("ARM: dts: qcom: Add pcie nodes for ipq8064") Reported-by: Arnd Bergmann Link: https://lore.kernel.org/linux-arm-msm/7c5dfa87-41df-4ba7-b0e4-72c8386= 402a8@app.fastmail.com/ Signed-off-by: Manivannan Sadhasivam Reviewed-by: Arnd Bergmann --- arch/arm/boot/dts/qcom-ipq8064.dtsi | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/qcom-ipq8064.dtsi b/arch/arm/boot/dts/qcom-i= pq8064.dtsi index 52d77e105957..59fc18c448c4 100644 --- a/arch/arm/boot/dts/qcom-ipq8064.dtsi +++ b/arch/arm/boot/dts/qcom-ipq8064.dtsi @@ -1081,8 +1081,8 @@ pcie0: pci@1b500000 { #address-cells =3D <3>; #size-cells =3D <2>; =20 - ranges =3D <0x81000000 0 0x0fe00000 0x0fe00000 0 0x00010000 /* downst= ream I/O */ - 0x82000000 0 0x08000000 0x08000000 0 0x07e00000>; /* non-prefetchabl= e memory */ + ranges =3D <0x81000000 0x0 0x00000000 0x0fe00000 0x0 0x00010000 /* I/= O */ + 0x82000000 0x0 0x08000000 0x08000000 0x0 0x07e00000>; /* MEM */ =20 interrupts =3D ; interrupt-names =3D "msi"; @@ -1132,8 +1132,8 @@ pcie1: pci@1b700000 { #address-cells =3D <3>; #size-cells =3D <2>; =20 - ranges =3D <0x81000000 0 0x31e00000 0x31e00000 0 0x00010000 /* downst= ream I/O */ - 0x82000000 0 0x2e000000 0x2e000000 0 0x03e00000>; /* non-prefetchabl= e memory */ + ranges =3D <0x81000000 0x0 0x00000000 0x31e00000 0x0 0x00010000 /* I/= O */ + 0x82000000 0x0 0x2e000000 0x2e000000 0x0 0x03e00000>; /* MEM */ =20 interrupts =3D ; interrupt-names =3D "msi"; @@ -1183,8 +1183,8 @@ pcie2: pci@1b900000 { #address-cells =3D <3>; #size-cells =3D <2>; =20 - ranges =3D <0x81000000 0 0x35e00000 0x35e00000 0 0x00010000 /* downst= ream I/O */ - 0x82000000 0 0x32000000 0x32000000 0 0x03e00000>; /* non-prefetchabl= e memory */ + ranges =3D <0x81000000 0x0 0x00000000 0x35e00000 0x0 0x00010000 /* I/= O */ + 0x82000000 0x0 0x32000000 0x32000000 0x0 0x03e00000>; /* MEM */ =20 interrupts =3D ; interrupt-names =3D "msi"; --=20 2.25.1