Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp5620400pxb; Mon, 28 Mar 2022 15:04:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJybThNwKpLwDjp+UfDfopG+qV2C5hvpSxH2voOh6mVPK6fDCCLrIzVzly+pYlFB8MeN04Zg X-Received: by 2002:aca:bb56:0:b0:2ef:6652:5581 with SMTP id l83-20020acabb56000000b002ef66525581mr725532oif.270.1648505076839; Mon, 28 Mar 2022 15:04:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648505076; cv=none; d=google.com; s=arc-20160816; b=i5CjczV0L9MoDijJCe9Lo4936hu5ScO16oEFifTGwREaRoynFMSIHa5beplKkReA5r BkjpHyeFeIeBrYJTYYNXTr/eWmANgQLjgJytdgfLwfsOCAKGMrWNzjOD128aID6jI+Wm 5pvKCNx1SjUV7tmddjhd6KeTPo2r34gfcUMfKFZ7qtsq2CohuBlUzRjJBLSiqBATBTJp Zt16liaLZw2IE0Y5IaCh+OCRj71X1BDd0pjoVg8EJ1U30En9wlekXHn/xUVu/0G1tmSg qJXe1vEU7wlJg3D8Xc5rWY8bSPrRNb4QcfEFwDGX9k52BJ2ZnfqAElOKf2A9ZaN4Lqb2 aSmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=D8Wq4meMqh+LiSXroE7xIOaxEISaZxcEHWiFSe28hiw=; b=kTXBzla8KzTZjk91DbSYFTirxFhPpJbbKmBayEl+yGIQdSOw3VEDPQ1X+XjpRbKDuf s/a2mJh/do8BS2XWtIHQcwUhrTEfJR/47bfQmLYpYCbue8LqJ6QZffM6gdF/2dmTLLYX BseU3W8bZCv6fPLzjtVr8K+XBvhZLZEJLeFgHXtMrN+G5n8ZPgyBYSAKWgbKlcrc/rGE E9B7cW+HLdxE9GqsVAoaaboaQoClz2ADS2vFCf11PCNIsVgKgmVE538vBnsctjBLE76P mb0s0uS0Rd5N64BK/YcHoElJHLR8yrY8j24Zs4SItKjyqGnIuuyXFU/Na0vOYkk6lUMS I4Jg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id be32-20020a05680821a000b002ef0c3475d9si14985029oib.89.2022.03.28.15.04.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Mar 2022 15:04:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E818314B868; Mon, 28 Mar 2022 14:28:03 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243967AbiC1OlM (ORCPT + 99 others); Mon, 28 Mar 2022 10:41:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60056 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243922AbiC1OlH (ORCPT ); Mon, 28 Mar 2022 10:41:07 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A098010DE; Mon, 28 Mar 2022 07:39:26 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 64A03D6E; Mon, 28 Mar 2022 07:39:26 -0700 (PDT) Received: from lpieralisi (unknown [10.57.8.36]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id C22083F73B; Mon, 28 Mar 2022 07:39:24 -0700 (PDT) Date: Mon, 28 Mar 2022 15:39:25 +0100 From: Lorenzo Pieralisi To: Manivannan Sadhasivam Cc: bjorn.andersson@linaro.org, bhelgaas@google.com, svarbanov@mm-sol.com, robh@kernel.org, linux-pci@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] PCI: qcom: Add support for handling MSIs from 8 endpoints Message-ID: References: <20211214101319.25258-1-manivannan.sadhasivam@linaro.org> <20220223100145.GA26873@lpieralisi> <20220328142012.GB17663@thinkpad> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220328142012.GB17663@thinkpad> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Mon, Mar 28, 2022 at 07:50:12PM +0530, Manivannan Sadhasivam wrote: > On Wed, Feb 23, 2022 at 10:01:45AM +0000, Lorenzo Pieralisi wrote: > > On Tue, Dec 14, 2021 at 03:43:19PM +0530, Manivannan Sadhasivam wrote: > > > The DWC controller used in the Qcom Platforms are capable of addressing the > > > MSIs generated from 8 different endpoints each with 32 vectors (256 in > > > total). Currently the driver is using the default value of addressing the > > > MSIs from 1 endpoint only. Extend it by passing the MAX_MSI_IRQS to the > > > num_vectors field of pcie_port structure. > > > > > > Signed-off-by: Manivannan Sadhasivam > > > --- > > > drivers/pci/controller/dwc/pcie-qcom.c | 1 + > > > 1 file changed, 1 insertion(+) > > > > Need an ACK from qcom maintainers. > > > > Looks like this patch was not applied eventhough the Acks were received. > Please let me know if I need to resubmit it for next cycle. Sorry. I will merge it for the next cycle, nothing to do if it rebases cleanly, otherwise I will ping you. Thanks, Lorenzo > > Thanks, > Mani > > > Thanks, > > Lorenzo > > > > > diff --git a/drivers/pci/controller/dwc/pcie-qcom.c b/drivers/pci/controller/dwc/pcie-qcom.c > > > index 1c3d1116bb60..8a4c08d815a5 100644 > > > --- a/drivers/pci/controller/dwc/pcie-qcom.c > > > +++ b/drivers/pci/controller/dwc/pcie-qcom.c > > > @@ -1550,6 +1550,7 @@ static int qcom_pcie_probe(struct platform_device *pdev) > > > pci->dev = dev; > > > pci->ops = &dw_pcie_ops; > > > pp = &pci->pp; > > > + pp->num_vectors = MAX_MSI_IRQS; > > > > > > pcie->pci = pci; > > > > > > -- > > > 2.25.1 > > >