Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp5604033pxb; Mon, 28 Mar 2022 14:51:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyE1kGK9xKMUTHuPFiuURb7mYw80/5WXG00l+CReMQ48htyFmTq99jGmjLn00R1KEfZ3rHc X-Received: by 2002:a17:90a:b307:b0:1bd:37f3:f0fc with SMTP id d7-20020a17090ab30700b001bd37f3f0fcmr1198886pjr.132.1648504281342; Mon, 28 Mar 2022 14:51:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648504281; cv=none; d=google.com; s=arc-20160816; b=vyIXWyfq85Z9KFc9J3SComXuGdSGPCpX0dQRA5YStm+Ek8tog9M6UlpzJFCy9mLi7y 1JcQ5devR2M3V2NF9UrL763ut107DXh2+sBsjxGPGEBWKQYQofUYzv7weywLhDQYRln6 PkGuQhlSN3HraWCuzFkTj2xBZ7yVsKKmLSNl8Dwv3iPMZMcyk/IozQ7rAQHC5IMopTZ4 XUSmAD8CJhy+bZO9oqGxp+8tl3YLQbBvLMLlQyMoRCE54xWGZA5c+BErWkhRVLmT2O4l Gzv+5XGa5ffQkFIGQZr//GRJTxIYn6+6vlMtyA6O69iJPoextR6wHnz12MFCIzcr3Muy 88KQ== 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:dkim-signature; bh=8JYmDY7pw6HG4IIvhyF4KoEeJvcY+xeCNEOxCuitmQg=; b=nhX2Vz+9w+0awf+c0D3QQJgBNFanBUBxALfGsaFwYd2sVMfeXlyBRYbr0IF0COb8fI 5x5XpWHmm+K8BJxWej0qCVfGkHwgbpkHcfc2OKJJdSCzwh5Cube7T4jkWm2/u4VzMo4z INok8mCsCM6H0zlVYzH0SC4Sq3FLNZqpFjylvXMKuRiQfPsX3zy9y1lefdH71PEqNtlR OARC/wHol28QBlE+Y5+yFQoRTz4lXDyHHKsDrst/y0tYirdoKERfT9Mi24FxA61f5bft Wn7/rf5KDZyFesBMrC2iGUdinzoxILF1q4YCONzVD+EtuPqYktDa/ENkyAYJeFj+bfQQ tSbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zuljtzgg; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id g12-20020a656ccc000000b003816043eea0si15457744pgw.149.2022.03.28.14.51.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Mar 2022 14:51:21 -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; dkim=pass header.i=@linaro.org header.s=google header.b=zuljtzgg; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 103AF13509E; Mon, 28 Mar 2022 14:22:45 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240693AbiC1OWE (ORCPT + 99 others); Mon, 28 Mar 2022 10:22:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35338 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237112AbiC1OWB (ORCPT ); Mon, 28 Mar 2022 10:22:01 -0400 Received: from mail-pf1-x429.google.com (mail-pf1-x429.google.com [IPv6:2607:f8b0:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E73A5DA79 for ; Mon, 28 Mar 2022 07:20:18 -0700 (PDT) Received: by mail-pf1-x429.google.com with SMTP id y10so9435325pfa.7 for ; Mon, 28 Mar 2022 07:20:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=8JYmDY7pw6HG4IIvhyF4KoEeJvcY+xeCNEOxCuitmQg=; b=zuljtzggTSZp4bz2amzqxW3YPXs1lXrTI5+3qF5/e1ZWyzanX3Ehx8U+Oaqxp/6rwL 63L7FHhObGNK8R8NVG9c6r9JrNEDm5qmUekqJl1PEgHDSW6cYFvnZ3o+pHP2ROs7hDXu +zMbK6p+bwfVSsVf0iurvi1DWVnPagyAEmkJa4TDlwO4s7Afm6hj75lq4ZQRGujF7cvC KuPTP/8K8UXEwi7b9bew6L24TLo4xkIi5jN6nvC25inl2zqygkz1myMnzuvcyJ6cSjzI nrYdFfYvbMCLUmQcMKmXYOW4DDiRULFMdiRcfX5TvIGrgCfk/M9veFkOo8CYHXhMAJJi Y03Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=8JYmDY7pw6HG4IIvhyF4KoEeJvcY+xeCNEOxCuitmQg=; b=rr0SvCOJIv/VDrMi82u7XFlFRrVAfHNd7L1q8pwLug8OkeQvgftsF+ojj3bfQwbnvg 9cqhLIXpw4iyNQeGzhxtk9VS38MtOITT1FLlKZvyDtuTvryAHBEeMr9zBqpQM8RQwTft RclSRh4PU7fBkVSBNKJA0FiA3PaeAuc0l6yE+Y8SkegEwTt3QcudLFCsrNEsLhuM3Ay7 nHXfAfmGzPeOjsprkDvyIYOAfsYI2DdTfmOGU/0sui5ASlsDqFLzoQZT5dSS2i2jWfX/ 9WF22EkBq2ZI+r8st0TPUL6RK8sv2mxMpuUpe6P8qJRiaGLUhAyBPoFsf2t4sAaUfafp jB8g== X-Gm-Message-State: AOAM5328M5UFiYQoSbG1B919MoAFMr79oO7TAd3jxzNZPkUME3K+1uul Qz5rFt7zWb4bwQssB+tNw74J X-Received: by 2002:a05:6a00:1312:b0:4e1:58c4:ddfd with SMTP id j18-20020a056a00131200b004e158c4ddfdmr23169664pfu.65.1648477217907; Mon, 28 Mar 2022 07:20:17 -0700 (PDT) Received: from thinkpad ([220.158.159.124]) by smtp.gmail.com with ESMTPSA id l4-20020a056a0016c400b004f79504ef9csm16322604pfc.3.2022.03.28.07.20.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Mar 2022 07:20:17 -0700 (PDT) Date: Mon, 28 Mar 2022 19:50:12 +0530 From: Manivannan Sadhasivam To: Lorenzo Pieralisi 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: <20220328142012.GB17663@thinkpad> References: <20211214101319.25258-1-manivannan.sadhasivam@linaro.org> <20220223100145.GA26873@lpieralisi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220223100145.GA26873@lpieralisi> X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,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 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. 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 > >