From patchwork Tue Feb 28 16:47:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 62551 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp3126056wrd; Tue, 28 Feb 2023 08:49:28 -0800 (PST) X-Google-Smtp-Source: AK7set/ywTGPTXSJLnOPPBTnOmL1R7QudcJzlmxj9oc6oD58fM5qGsD2NsN7oDIe07tukArqhKr2 X-Received: by 2002:a05:6a20:2d83:b0:cc:4db0:f2b5 with SMTP id bf3-20020a056a202d8300b000cc4db0f2b5mr3463848pzb.48.1677602968245; Tue, 28 Feb 2023 08:49:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677602968; cv=none; d=google.com; s=arc-20160816; b=c/MbkJHsOxA1Es7xMdivgapC9QeTD2GU1eUhVz9rN+nk1ZVdqs0269C7S3Du9l+c7F kZvbIViT3xVMNuegw3DujkzfmkKeA5wNG/er/bAlvUeGR/w6KGApHMas8dMChq6sugTg 8HPPhO6KDOBqQBiPQMakumG2m0DtSnaNjgK5X8JAgyaoRUlKLMqCh+Pdv0PxXiWiXZRK mPmQHVdQB/FykDB2+xL9XbhEpFdpTtivO++GJhMyg3AtI5eV+u4NGhQXIBrKEK5G+sk7 v7PqdoCG1sk0wNZcJMTWCPcGaTKWeZ8/ILySKTTzXwsXECkCf1DrYpHvKkmZCpJc+vHO rQmw== 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=KY8I4J2skzbqy9GlWqlu3bWpe7Ekxx3P3y3p5S5A3tw=; b=fhzPitOODzhpgfNOsK9ID6b5fljpd1kHYwoXqZRd6xbUPH14WJJRgR1Muc1m2whG6X qpbCC+CqxlsyWweRDk+/yEtm7DOrVEiyvgX8V9Q5F/NeEtrbt6rYGE+mlrLjHPk1eXsu VIL/LhkuRQ7A9uU/92GZniK3vGjIO7xzoOt8IlR6OdY9tTmoeGlyRG9Xwezzi2NneBqB llYqTn9S3EEWbQjMte42ti42JK/UEr058xkxbGKUhopIcKP4/vpRlxKjxhSEq/a+PM0n n3EvTskYNgfka/8fazV5q9Hd8g2Cdd4x9UCqP0vhrv9vU8fB09M2p9kn0esLBIt5dLAE YOtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PdN4G1yV; 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 m4-20020a632604000000b00502f4f9fb65si10735355pgm.632.2023.02.28.08.49.15; Tue, 28 Feb 2023 08:49:28 -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=PdN4G1yV; 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 S229865AbjB1Qs5 (ORCPT + 99 others); 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-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 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=ham 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?1759094210062561918?= X-GMAIL-MSGID: =?utf-8?q?1759094210062561918?= For 1MiB of the I/O region, the I/O ports of the legacy PCI devices are located in the range of 0x0 to 0x100000. Hence, fix the bogus PCI address (0x1b200000) specified in the ranges property for I/O region. Fixes: b84dfd175c09 ("arm64: dts: qcom: msm8998: Add PCIe PHY and RC nodes") Reported-by: Arnd Bergmann Link: https://lore.kernel.org/linux-arm-msm/7c5dfa87-41df-4ba7-b0e4-72c8386402a8@app.fastmail.com/ Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi index 8bc1c59127e5..5863332962e4 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -922,7 +922,7 @@ pcie0: pci@1c00000 { phy-names = "pciephy"; status = "disabled"; - ranges = <0x01000000 0x0 0x1b200000 0x1b200000 0x0 0x100000>, + ranges = <0x01000000 0x0 0x00000000 0x1b200000 0x0 0x100000>, <0x02000000 0x0 0x1b300000 0x1b300000 0x0 0xd00000>; #interrupt-cells = <1>;