Message ID | 20230228164752.55682-13-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 v21csp3126634wrd; Tue, 28 Feb 2023 08:50:31 -0800 (PST) X-Google-Smtp-Source: AK7set/bV5Mto+S+yJ89wnQf0fZXsOpLtQ7WVuTHO5fjwbmL7LY67BKP8FWjOQef99STMFRHUt8u X-Received: by 2002:aa7:8f2f:0:b0:5e3:af7:3bdf with SMTP id y15-20020aa78f2f000000b005e30af73bdfmr3125590pfr.30.1677603031676; Tue, 28 Feb 2023 08:50:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677603031; cv=none; d=google.com; s=arc-20160816; b=LDki6VYjP4ELc39x9GfhHkRKBML81/ntdKJUUs+W7VKzDUOjrjcmgH4WeuiDjReRSy SFkr1tiMZcaOppIAKQbxpQczcV2HB9cHOqJHfJ3ksoXy4E1SH3/lhgwSDxhZyyeRhgUs lHPV6AnZz6k/N0X2l+lkscbAAxM48cKcQ2+gKLhO4HrQi3aCmKFq9kBfu6EAWeTOEibV 51ZKTSyVBpThDoDDDMGjSf8TeGu4royYyFp3perVqKQyzf/zYCKqxQCXbToa2oj9TpLx Fc/zUMgfp+43BmzgczuYrGAhxjYPW09HjmYEpjCqps/oOaUUa6wM8xGk4jE48mL84UtG Ufgw== 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=DvVb9HJYFQbn7yHRn9yj9W99uSe4LLme2syu2gv/yok=; b=hfak4q8lIQnuwq4JCv7ook3Isf04gB1zo/VzEoua7v9uEeN8vXDxq+FvSrR/QmR70z kUqeQw3VtGHfFFCtVABgjOuBUJoZdXn/2Uci9BA4uEJnp+ergJv18ssxxvEUc8J6o62i goLKhLzaqxZAVvqDBuuXWiIolE8ZvmJsAb63truqbYka13VsZdg6SH5XrbHazf826/Jp /s4SFCLgKtFCJGp4u/Iu6iNny0619/fp57MVohyAsphpMyvIzOeVYqIjpSjVl4vT9sI6 HYKqtmOewTNlBPmjIcXg+RuJFCEmgtLybrhoT4kgOSfnkMecehq0sT2kexKRiXXZ8dFW 81UQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VvjLgfQ7; 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 b207-20020a621bd8000000b005d24071d6dbsi9782515pfb.153.2023.02.28.08.50.18; Tue, 28 Feb 2023 08:50:31 -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=VvjLgfQ7; 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 S229986AbjB1Qtp (ORCPT <rfc822;brysonjbanks@gmail.com> + 99 others); Tue, 28 Feb 2023 11:49:45 -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 <rfc822;linux-kernel@vger.kernel.org>); 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 <linux-kernel@vger.kernel.org>; Tue, 28 Feb 2023 08:48:51 -0800 (PST) Received: by mail-pj1-x1035.google.com with SMTP id qa18-20020a17090b4fd200b0023750b675f5so14295632pjb.3 for <linux-kernel@vger.kernel.org>; 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-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 <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 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: 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?1759094276660838274?= X-GMAIL-MSGID: =?utf-8?q?1759094276660838274?= |
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: bc6588bc25fb ("arm64: dts: qcom: sm8450: add PCIe1 root device")
Fixes: 7b09b1b47335 ("arm64: dts: qcom: sm8450: add PCIe0 RC device")
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/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/qcom/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 = <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>; /* * MSIs for BDF (1:0.0) only works with Device ID 0x5980. @@ -1862,8 +1862,8 @@ pcie1: pci@1c08000 { #address-cells = <3>; #size-cells = <2>; - ranges = <0x01000000 0x0 0x40200000 0 0x40200000 0x0 0x100000>, - <0x02000000 0x0 0x40300000 0 0x40300000 0x0 0x1fd00000>; + ranges = <0x01000000 0x0 0x00000000 0x0 0x40200000 0x0 0x100000>, + <0x02000000 0x0 0x40300000 0x0 0x40300000 0x0 0x1fd00000>; /* * MSIs for BDF (1:0.0) only works with Device ID 0x5a00.