Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp12245492rwd; Fri, 23 Jun 2023 03:33:53 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7e19IighJS4JU6XVZiyJXIm75CIkcvUhEJPuhT7FiSpec5q1YUQwYM8cbx01QvU50pxLUa X-Received: by 2002:a05:6a20:8f0a:b0:121:5413:483c with SMTP id b10-20020a056a208f0a00b001215413483cmr23181366pzk.6.1687516432881; Fri, 23 Jun 2023 03:33:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687516432; cv=none; d=google.com; s=arc-20160816; b=qFync3y+pn/jlRSScBPujGNMBXwsRCUStPzkEfbkFhhQ0lI+nvoFpMOGsM8UvS4i4s YSxcYN/l8A6/4W1JXS/7DzDPpvhrkCfbk8YSrlnO2tkQSoHvp32cxXQmVJZecAwwlEuf EUPuwk6GTHfCSW1Fe73dIzaPusQpLEm7T3QCQGNzWUlHMvvDzXCwNmuIC+454qDBEOCw txqKbryR38dEhy7Jxiv6h2kbZa7b798Mz7YkSN8owqO5Q2xVh6w4FBYFH/AZ+Enla8GB CZeNyeiKuz7omkqDSAzwiLBBxUfg7uEU//7151wo28DFxp7TOsdLI7SiXDfheqCrNn7u LXVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=UhgEvVyNUt5/Q7JUxga8FPEpdH5L7dqFe7w5Qikinc8=; b=rbqsj84zKAWVW9Dv7s//e7cTiw/jebJBsrNk44OANhM/gtJOSjGXtrQV7eviYxa5zS 9f0e61y4CcIYB+7D/JaXX4Rgat09ujuOK7pSt9IvYfImS+RbVLAoMiOuwahfHGBIwG6Q 2wqHouGwTd1rztjwpLuvi+nvHAr9X8fKfAN51s41MCeekJP5uQ8FvH6bVe99hZCyXSn8 gBlJGU6jimOZiQlToA2QZKj/TLvX67JDLYeaJdxNjWsU45vK6mQ6EnIGlASZOGsWtzvE 8NS6dNYs8ARvoA31HuFCr1zUhcWdhAZleZ63rpNWdrP0JU5Y3ug6AMIm6KqMb/Qu55O+ i+2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ulmbaW7R; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k129-20020a633d87000000b00551bb2b99besi8979453pga.85.2023.06.23.03.33.40; Fri, 23 Jun 2023 03:33:52 -0700 (PDT) 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=ulmbaW7R; 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 S231612AbjFWKW4 (ORCPT + 99 others); Fri, 23 Jun 2023 06:22:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231991AbjFWKWt (ORCPT ); Fri, 23 Jun 2023 06:22:49 -0400 Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B53E1731 for ; Fri, 23 Jun 2023 03:22:47 -0700 (PDT) Received: by mail-lj1-x22e.google.com with SMTP id 38308e7fff4ca-2b46b11051aso7692171fa.3 for ; Fri, 23 Jun 2023 03:22:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687515765; x=1690107765; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=UhgEvVyNUt5/Q7JUxga8FPEpdH5L7dqFe7w5Qikinc8=; b=ulmbaW7R3yXW6Y5BPFLdJuT85VuDEiHnwKkDLvQgeUnL5mDJdZ2J5ZeCxLlVYPwOzK 7azheeXIax6oXPosqO/csRedizRRtu9onew5GSM5YnlC/eZQPgASDS6qdgStk1hxGViP K+UfNrJmfJwmrI44kVVAC0kVQRzCsOtZLrcxzinawKnNbYBSB39yBxPNmnym7PXV3ku0 fExpGXG4YtzfcTJjVfAep8rfCzQPGClQ5abM5gkvdOJHy2cZDndRQuyLo4RCRXzaB9Yc /1lv5JubH6x2bGhPjcF0DYbsX/Y0laQnWux3+kKyC3W2FX2GjgYfSV1cpdSP/Hj1IToJ UsRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687515765; x=1690107765; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=UhgEvVyNUt5/Q7JUxga8FPEpdH5L7dqFe7w5Qikinc8=; b=O6xb2IvcTyZs4MjXrfl9PqMcaD8PBOZ3hJAV+c+50skcvfp1uP/c8mQS6uFLoyA12R xDKlUOV6fF4mwLrXk/2/T4d90jtpgveuSuJXubBTf5AwPPEKfaG6v4HDBZPWDhAFvk8p /g9LLsMqvyKD43ijYvOGmsxuXzVL1hNssHUJ9nem1btqzXGXXxeq1540oyjYkLk6IuCz m5M0wm8HmMiiNwL0MK5ezBlez1sENYmj5/df2GAdW7dDUAgERWaW1FYy9Pf0Jf0jjSlw cmHjxpAxQzl4CRgLOEXmhEGcXOX5+9yuLYgJBjzeWbkSMpmCPBO1s5IEJofBCyu+FGsF tyqA== X-Gm-Message-State: AC+VfDwe45dk/WmACuApH/rrB+j04tWP8DcZhA/OEtvlt2ekQqPyDhmw 67Okm7MZcGTrxvsH6GcXX5SfEg== X-Received: by 2002:a05:651c:1022:b0:2b4:636a:67f4 with SMTP id w2-20020a05651c102200b002b4636a67f4mr12907108ljm.20.1687515765251; Fri, 23 Jun 2023 03:22:45 -0700 (PDT) Received: from [192.168.1.101] (abxh63.neoplus.adsl.tpnet.pl. [83.9.1.63]) by smtp.gmail.com with ESMTPSA id v18-20020a2e7a12000000b002ad8174d025sm1674711ljc.122.2023.06.23.03.22.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 23 Jun 2023 03:22:44 -0700 (PDT) Message-ID: Date: Fri, 23 Jun 2023 12:22:43 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH 1/4] pcie: qcom: Fix the macro PARF_SLV_ADDR_SPACE_SIZE_2_3_3 Content-Language: en-US To: Sricharan Ramabadhran , agross@kernel.org, andersson@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, sboyd@kernel.org, mturquette@baylibre.com, mani@kernel.org, lpieralisi@kernel.org, bhelgaas@google.com, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-pci@vger.kernel.org References: <20230623094403.3978838-1-quic_srichara@quicinc.com> <20230623094403.3978838-2-quic_srichara@quicinc.com> From: Konrad Dybcio In-Reply-To: <20230623094403.3978838-2-quic_srichara@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 On 23.06.2023 11:44, Sricharan Ramabadhran wrote: > PARF_SLV_ADDR_SPACE_SIZE_2_3_3 macro used for IPQ8074 > pcie slave addr size was initially set to 0x358, but > was wrongly changed to 0x168 as a part of > 'PCI: qcom: Sort and group registers and bitfield definitions' Surely not, this commit only moved the definition containing 0x358 up. Konrad > Fixing it back to right value here. > > Without this pcie bring up on IPQ8074 is broken now. > > Fixes: 769e49d87b15 ("PCI: qcom: Sort and group registers and bitfield definitions") > Signed-off-by: Sricharan Ramabadhran > --- > drivers/pci/controller/dwc/pcie-qcom.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/pci/controller/dwc/pcie-qcom.c b/drivers/pci/controller/dwc/pcie-qcom.c > index 4ab30892f6ef..59823beed13f 100644 > --- a/drivers/pci/controller/dwc/pcie-qcom.c > +++ b/drivers/pci/controller/dwc/pcie-qcom.c > @@ -43,7 +43,7 @@ > #define PARF_PHY_REFCLK 0x4c > #define PARF_CONFIG_BITS 0x50 > #define PARF_DBI_BASE_ADDR 0x168 > -#define PARF_SLV_ADDR_SPACE_SIZE_2_3_3 0x16c /* Register offset specific to IP ver 2.3.3 */ > +#define PARF_SLV_ADDR_SPACE_SIZE_2_3_3 0x358 /* Register offset specific to IP ver 2.3.3 */ > #define PARF_MHI_CLOCK_RESET_CTRL 0x174 > #define PARF_AXI_MSTR_WR_ADDR_HALT 0x178 > #define PARF_AXI_MSTR_WR_ADDR_HALT_V2 0x1a8