Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp3116791rwo; Mon, 24 Jul 2023 06:34:29 -0700 (PDT) X-Google-Smtp-Source: APBJJlFyUmUmuVd7jcPKkfXPkoo7gTYyFwVNJs32fqzzVlsVP5D9ZCV2vbi3t2x/0Zw7rNYCKpQ1 X-Received: by 2002:a05:6830:196:b0:6b9:482e:ed10 with SMTP id q22-20020a056830019600b006b9482eed10mr7890524ota.21.1690205668894; Mon, 24 Jul 2023 06:34:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690205668; cv=none; d=google.com; s=arc-20160816; b=Sq88RQbHOF4mpsu1gQZjyUHLi1k9ddkT//nMwQmrHnnlt9c26NBQaUM1wgx5DiPLUS s3e+aCpghz/ZotmnAiatX2AOh/YoBaV89+wNL6YnS7RnYgc6uty9w2JjAp/VRfQejeXd 0WUS8VJKvaEtYKVzpQsI0KYUAw+1Qt/rx/I+d9QwvRAodgYf4yoDG9HeuuzlIr8rDQkM wj/SoHiJRgnkPOi/zd9tHlJ4JhzLLUNP76MU/rRhWw2oGy3vkQT9DSjJrFTF0/gD25fb tXp335Ea0k6sp4QcEOMcqpoEI8fKuHGzx5VBY2EM+OUwG9Y89WgeVuF0NrzJ4v7oLnG8 IR5g== 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:autocrypt :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=a2Ax+g4Vq22atUQfE+CrYPUiHKIfw129Y1mAPVdfhrk=; fh=zPMAL58vdXYUyeMEzvAwYEVgK6KXZgQbrMRfewfXtpM=; b=npuXDLQiaOb4uR5A9bJnyB0xrynfEBLKCT7trHgaCDqD+lQ5rlpiGKgv2VIkvyLDaH y0s3b/gfTIK+XCJAtZc2z1qUoYfNIBE85K+QB/UIhsbcEgd4jhdZFOHbJSbmDW2CPbF5 Npae4ksHr83K4FzyRHM24k7H+LJCeaZRohNOr9CaurQinTq/+62bE3zYHycVZj6KYrsA OndHCAmjvzoozkXtE+2nVFEEk4ryGcA17PzCUB5gDjTX24J1eHFl/ALN3JuUbkcMASSW pyYtZ3Nm/jqIa1Uisl8Ugjy+4A+0Anvru0699v2hcAveaZshyQvet5p7jc2HSj1KJzIK r/hA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yIjEagSP; 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 q35-20020a631f63000000b00557888b4eb9si9196392pgm.622.2023.07.24.06.34.16; Mon, 24 Jul 2023 06:34:28 -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=yIjEagSP; 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 S230381AbjGXM7A (ORCPT + 99 others); Mon, 24 Jul 2023 08:59:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48614 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231693AbjGXM6B (ORCPT ); Mon, 24 Jul 2023 08:58:01 -0400 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 072DC5BBD for ; Mon, 24 Jul 2023 05:54:42 -0700 (PDT) Received: by mail-lf1-x12b.google.com with SMTP id 2adb3069b0e04-4fd32e611e0so5431691e87.0 for ; Mon, 24 Jul 2023 05:54:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1690203219; x=1690808019; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=a2Ax+g4Vq22atUQfE+CrYPUiHKIfw129Y1mAPVdfhrk=; b=yIjEagSPzyrV4pnOzGUMMfEoceZFbE4b2sE2bDD34FCS9owCq5V48XdsU3g05ebZAd 1rdKzRxjTXXlk8BAaIU/FYi6gf4ly6wUBZ87I+2zs1toMcGk3mcfmltS90FnjYZf2PM+ zWmYpWGqIXMDcxhu/KHB8jUHxNXfeXimh1aWxjChWy6OfZezytgZrvzZTXQa2E29l1iQ EkOUKoO4jKZPPBwyxpFh+othkKSu/BkQ63tb3Nuyp01uLqNcpCxJTI2A2QJnSmAECKP+ LBwKMkqIkylWf74OoEOrFYOo1Ax74/TUnpbJKFcMgqLHpk73Aps09ydWTHMEYv5zwJhw PQ7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690203219; x=1690808019; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :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=a2Ax+g4Vq22atUQfE+CrYPUiHKIfw129Y1mAPVdfhrk=; b=ihD5vS08VpdfOh6A+Z9TFhq81AnuquJd3BZU8gKBzv5f+XM9tIkdjyHo5eO4iZSD44 qEovwL7k3G6PH1yZpIO9xbpmpewaSN/HS0hRGqZ6YIm5E/OniNlXJQJTMTOe1u+3ymR0 qT5it54hnWYNFFBPpR1pkqdXc8xi/VAIhJg6TF+REoaCvX0Qi3SFkFb4E5kc58WUdnwT jbNKg4uERmbuQwZ258ihxtqIAMHCDoj8XK7IHgmHuazHxiY5GHdAU2WyGWa2ABjxCWyb yffic1B49OH7D+FFTsXi9RtoQnLZI3mXInY5+EY4G0JKGfP52D6HTJ8kfEPObSkoTd6+ QRlQ== X-Gm-Message-State: ABy/qLYsQLqbw5KAyPxSTyNoyttLg1LoSZK2yZ73PebtrXagCSIOI6fx 2HnADNOrSF4cOrExbAbXZSOHHQ== X-Received: by 2002:a05:6512:e8c:b0:4fb:8ff3:1f74 with SMTP id bi12-20020a0565120e8c00b004fb8ff31f74mr3971328lfb.20.1690203219568; Mon, 24 Jul 2023 05:53:39 -0700 (PDT) Received: from [192.168.1.101] (abxj221.neoplus.adsl.tpnet.pl. [83.9.3.221]) by smtp.gmail.com with ESMTPSA id m8-20020a195208000000b004fb86662871sm2166604lfb.233.2023.07.24.05.53.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 24 Jul 2023 05:53:39 -0700 (PDT) Message-ID: Date: Mon, 24 Jul 2023 14:53:37 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/1] PCI: qcom: Add early fixup to set the max payload size for IPQ9574 Content-Language: en-US To: Praveenkumar I , mani@kernel.org, agross@kernel.org, andersson@kernel.org, lpieralisi@kernel.org, kw@linux.com, robh@kernel.org, bhelgaas@google.com, linux-pci@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: quic_varada@quicinc.com, quic_devipriy@quicinc.com References: <20230724124711.2346886-1-quic_ipkumar@quicinc.com> <20230724124711.2346886-2-quic_ipkumar@quicinc.com> From: Konrad Dybcio Autocrypt: addr=konrad.dybcio@linaro.org; keydata= xsFNBF9ALYUBEADWAhxdTBWrwAgDQQzc1O/bJ5O7b6cXYxwbBd9xKP7MICh5YA0DcCjJSOum BB/OmIWU6X+LZW6P88ZmHe+KeyABLMP5s1tJNK1j4ntT7mECcWZDzafPWF4F6m4WJOG27kTJ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9J77uICis2WH7N8Bs9jy0wQYezNzqS+FxoNXmDQg2jetX8en4bO2Di7Pmx0jXA4TOb9TM izWDgYvmBE8= In-Reply-To: <20230724124711.2346886-2-quic_ipkumar@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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,T_SCC_BODY_TEXT_LINE 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 On 24.07.2023 14:47, Praveenkumar I wrote: > Set 256 bytes as payload size for IPQ9574 via early fixup. This allows > PCIe RC to use the max payload size when a capable link partner is > connected. > > Signed-off-by: Praveenkumar I > --- [...] > > +static void qcom_fixup_mps_256(struct pci_dev *dev) > +{ > + pcie_set_mps(dev, 256); Looks like setting "dev->pcie_mpss = 1" here would make the PCIe generic code take care of this. Konrad