Message ID | 20230228164752.55682-12-manivannan.sadhasivam@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp3126677wrd; Tue, 28 Feb 2023 08:50:35 -0800 (PST) X-Google-Smtp-Source: AK7set8v5RGIH97Bl40G+2J+grB481PPNmJmRM0F1Bh+bzTjvFnvDhbN+9uPxgNl13sVpSZtSo3G X-Received: by 2002:a05:6402:451:b0:4af:59c0:5add with SMTP id p17-20020a056402045100b004af59c05addmr3548168edw.37.1677603035738; Tue, 28 Feb 2023 08:50:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677603035; cv=none; d=google.com; s=arc-20160816; b=LNmVaES2qFZNxvCT7j1u/D+8deQ1S9+W/hZKWw9x/9b14rtibWoTv/vdgk6fWLQcWj FZDqMubHXAJHity8u5HJ9pljqpCb++La5D4gMRZ3/BBE9CCfiEdKfMUFwytU+e+/eHxJ LwyU3uOr7cmyONkhNWYSubvkfa6SSRFfrHI7qFpePbVVJIbAXYGiTWSeoL3tbyxIyF1A PmbpRnwHnu3jQhD2Qc2U80eftlOfvqzi0K29Escv1kw9XxEwXXqlsDGVYBXwEXZ5+0OM JcFI2D1qVNcmrFlgLC8+J1Cd4uBtXPZBYJVVwU76GgcsuuT/TG3cRxf9fqkUxKHs4ZbV WuHQ== 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=2eEMB9s5VCpJlF9KahYvaWlXJSQFG2Rpw7o2twh3Yp4=; b=hsnROZNaJklLys9BCbt26TgWsn8xqlNfcUu6dSf1WLCWivxaJXsIXqa4ycA/PrS4DC OeIH4szThzfZVDOgyo0yU7fksSlGKHl1POn1/hG4oJQSlLi/AeUbCfKXQW6H/uu1ymaK oQfwt8EN+ue4uLhIHcsuW/UE5+ccBG4N6ez2lc30VScWSVBCrnnDmX74K9oUitKcorpz N1RjnNyYPM0qKMs0KVRiZ7V34cSzxXvV4gW7fGp1HaCkoy6WmtfG9Vy5SXDrozt6LDxX BMejgpZQerISQqWYGqlW1XhP7pf6X7LTjOPtJ/LlhYyQ6/rOLnrj7bQDIuFggBXpaHpu BZkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FQuMVxez; 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 s10-20020aa7d78a000000b004acc454abe7si2306707edq.260.2023.02.28.08.50.13; Tue, 28 Feb 2023 08:50:35 -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=FQuMVxez; 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 S229974AbjB1Qtc (ORCPT <rfc822;brysonjbanks@gmail.com> + 99 others); Tue, 28 Feb 2023 11:49:32 -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 <rfc822;linux-kernel@vger.kernel.org>); 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 <linux-kernel@vger.kernel.org>; Tue, 28 Feb 2023 08:48:46 -0800 (PST) Received: by mail-pl1-x633.google.com with SMTP id ky4so11106780plb.3 for <linux-kernel@vger.kernel.org>; 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-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 <manivannan.sadhasivam@linaro.org> 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 <manivannan.sadhasivam@linaro.org> 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: 8bit 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759094280948193012?= X-GMAIL-MSGID: =?utf-8?q?1759094280948193012?= |
Series |
Qcom: Fix PCI I/O range defined in devicetree
|
|
Commit Message
Manivannan Sadhasivam
Feb. 28, 2023, 4:47 p.m. UTC
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 <arnd@arndb.de>
Link: https://lore.kernel.org/linux-arm-msm/7c5dfa87-41df-4ba7-b0e4-72c8386402a8@app.fastmail.com/
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
---
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/qcom/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 = <3>; #size-cells = <2>; - ranges = <0x01000000 0x0 0x60200000 0 0x60200000 0x0 0x100000>, - <0x02000000 0x0 0x60300000 0 0x60300000 0x0 0x3d00000>; + ranges = <0x01000000 0x0 0x00000000 0x0 0x60200000 0x0 0x100000>, + <0x02000000 0x0 0x60300000 0x0 0x60300000 0x0 0x3d00000>; interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>; interrupt-names = "msi"; @@ -1895,7 +1895,7 @@ pcie1: pci@1c08000 { #address-cells = <3>; #size-cells = <2>; - ranges = <0x01000000 0x0 0x40200000 0x0 0x40200000 0x0 0x100000>, + ranges = <0x01000000 0x0 0x00000000 0x0 0x40200000 0x0 0x100000>, <0x02000000 0x0 0x40300000 0x0 0x40300000 0x0 0x1fd00000>; interrupts = <GIC_SPI 307 IRQ_TYPE_EDGE_RISING>;