From patchwork Tue Feb 28 16:47:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 62552 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp3126098wrd; Tue, 28 Feb 2023 08:49:33 -0800 (PST) X-Google-Smtp-Source: AK7set8pTyXFAoreaOeG8OWOBe+qdma9BDue+xeKoNgCXZJpv0YbHiaWS5Sk9tK014hgDG3BDvq6 X-Received: by 2002:a17:902:ec85:b0:19d:138b:7c4a with SMTP id x5-20020a170902ec8500b0019d138b7c4amr3617052plg.3.1677602972815; Tue, 28 Feb 2023 08:49:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677602972; cv=none; d=google.com; s=arc-20160816; b=rbmAHNkxmc3CVB5G++M8/S4Eq9MaVEfVk4UpAOYXAqZCA7EVSn9HpAIg71mIbVQN/1 sfSghlffO6OBua/F6IVrE8dqamg8W0VfBs3NySN/922isMnLz/sTniJUfzCMFENmRNIG NiUL4bE1GUbqSm/ld5eZ9WaHG/qCfwvXTd/YZ7wvOl7wvzYm3rb2ZMkwGP6ggiYlYW7j +A/FhBE2y22ohWAjMmiy4j971aGR0dXK92GchX1fv7guDiRTUKhXLJI/T92e2J9AH+qs Cu1/Sdm0cBWU8Q2tbKbr+6fF0fS4qOzC/eev2IjeUDrMjgt5kHIJ2pR/J9Q1y3+nImS1 KVNA== 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=ZAtK7Zk8PyaaL2KGK3kPqF4OjS65bLvo7hShFbPeFVg=; b=C3fWau5VRrc+ov0GXzq794/XUAKOoxcVlb9jNa+cgkyYifkfF0AQD9o9iKQYwiujgZ 6xqUoz7OD8sn4RA+Cs7hfb+Z3NZ/gxrYKPSFMGO2yJ5R6LRwNr6uETNAJGdexmkf/4sq zcZuQ24Y+PS8327a5pqL4wM0cNUapfCz/oSyrdhjb9A873gQUBNwnGuTIkLIYSOW2kA0 12IDkeoSJTJKqPdX6D/sHpJOdQAXeNZSEKFUBjVMu4bvRj+/sph1CF+0AL2EprRK4BtQ X9q0oSRLNnAZe4bbglCqXTwrnkUBPDmz7aBFYNy47E1p0uGLDlgX1XHeAqbI/rqhpTPQ 0GmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nrya+sop; 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 e3-20020a170902b78300b0019c93a9a8d9si9854188pls.472.2023.02.28.08.49.19; Tue, 28 Feb 2023 08:49:32 -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=nrya+sop; 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 S229882AbjB1Qs7 (ORCPT + 99 others); Tue, 28 Feb 2023 11:48:59 -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-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 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759094214789600251?= X-GMAIL-MSGID: =?utf-8?q?1759094214789600251?= 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 nodes") Reported-by: Arnd Bergmann Link: https://lore.kernel.org/linux-arm-msm/7c5dfa87-41df-4ba7-b0e4-72c8386402a8@app.fastmail.com/ Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/qcom/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/qcom/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 = <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 = ;