From: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
To: kernel test robot <lkp@intel.com>
Cc: lpieralisi@kernel.org, robh@kernel.org, andersson@kernel.org,
kbuild-all@lists.01.org, kw@linux.com, bhelgaas@google.com,
linux-pci@vger.kernel.org, linux-arm-msm@vger.kernel.org,
linux-kernel@vger.kernel.org, konrad.dybcio@somainline.org,
robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org,
devicetree@vger.kernel.org, dmitry.baryshkov@linaro.org
Subject: Re: [PATCH v2 04/11] PCI: qcom-ep: Add eDMA support
Date: Sat, 10 Sep 2022 11:02:22 +0530 [thread overview]
Message-ID: <20220910053222.GA8299@thinkpad> (raw)
In-Reply-To: <202209031046.rOZKOVqT-lkp@intel.com>
On Sat, Sep 03, 2022 at 10:36:53AM +0800, kernel test robot wrote:
> Hi Manivannan,
>
> I love your patch! Yet something to improve:
>
> [auto build test ERROR on robh/for-next]
> [also build test ERROR on linus/master v6.0-rc3 next-20220901]
> [cannot apply to helgaas-pci/next]
> [If your patch is applied to the wrong git tree, kindly drop us a note.
> And when submitting patch, we suggest to use '--base' as documented in
> https://git-scm.com/docs/git-format-patch#_base_tree_information]
>
> url: https://github.com/intel-lab-lkp/linux/commits/Manivannan-Sadhasivam/Improvements-to-the-Qcom-PCIe-Endpoint-driver/20220831-010315
> base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
> config: arm-allyesconfig (https://download.01.org/0day-ci/archive/20220903/202209031046.rOZKOVqT-lkp@intel.com/config)
> compiler: arm-linux-gnueabi-gcc (GCC) 12.1.0
> reproduce (this is a W=1 build):
> wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> # https://github.com/intel-lab-lkp/linux/commit/dec4c93b2077408cecddd53950905bf2411019b0
> git remote add linux-review https://github.com/intel-lab-lkp/linux
> git fetch --no-tags linux-review Manivannan-Sadhasivam/Improvements-to-the-Qcom-PCIe-Endpoint-driver/20220831-010315
> git checkout dec4c93b2077408cecddd53950905bf2411019b0
> # save the config file
> mkdir build_dir && cp config build_dir/.config
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash
>
> If you fix the issue, kindly add following tag where applicable
> Reported-by: kernel test robot <lkp@intel.com>
>
> All errors (new ones prefixed by >>):
>
> drivers/pci/controller/dwc/pcie-qcom-ep.c: In function 'qcom_pcie_ep_probe':
> >> drivers/pci/controller/dwc/pcie-qcom-ep.c:672:21: error: 'struct dw_pcie' has no member named 'edma'
> 672 | pcie_ep->pci.edma.nr_irqs = 1;
This patch depends on the eDMA series from Sergey (Sorry, I forgot to mention
this in cover letter):
[PATCH RESEND v5 00/24] dmaengine: dw-edma: Add RP/EP local DMA controllers support
But the eDMA series is still getting reviews and I don't hear any news about
respin. So in the next revision I'm gonna drop this patch.
Thanks,
Mani
> | ^
>
>
> vim +672 drivers/pci/controller/dwc/pcie-qcom-ep.c
>
> 658
> 659 static int qcom_pcie_ep_probe(struct platform_device *pdev)
> 660 {
> 661 struct device *dev = &pdev->dev;
> 662 struct qcom_pcie_ep *pcie_ep;
> 663 int ret;
> 664
> 665 pcie_ep = devm_kzalloc(dev, sizeof(*pcie_ep), GFP_KERNEL);
> 666 if (!pcie_ep)
> 667 return -ENOMEM;
> 668
> 669 pcie_ep->pci.dev = dev;
> 670 pcie_ep->pci.ops = &pci_ops;
> 671 pcie_ep->pci.ep.ops = &pci_ep_ops;
> > 672 pcie_ep->pci.edma.nr_irqs = 1;
> 673 platform_set_drvdata(pdev, pcie_ep);
> 674
> 675 ret = qcom_pcie_ep_get_resources(pdev, pcie_ep);
> 676 if (ret)
> 677 return ret;
> 678
> 679 ret = qcom_pcie_enable_resources(pcie_ep);
> 680 if (ret) {
> 681 dev_err(dev, "Failed to enable resources: %d\n", ret);
> 682 return ret;
> 683 }
> 684
> 685 ret = dw_pcie_ep_init(&pcie_ep->pci.ep);
> 686 if (ret) {
> 687 dev_err(dev, "Failed to initialize endpoint: %d\n", ret);
> 688 goto err_disable_resources;
> 689 }
> 690
> 691 ret = qcom_pcie_ep_enable_irq_resources(pdev, pcie_ep);
> 692 if (ret)
> 693 goto err_disable_resources;
> 694
> 695 return 0;
> 696
> 697 err_disable_resources:
> 698 qcom_pcie_disable_resources(pcie_ep);
> 699
> 700 return ret;
> 701 }
> 702
>
> --
> 0-DAY CI Kernel Test Service
> https://01.org/lkp
--
மணிவண்ணன் சதாசிவம்
WARNING: multiple messages have this Message-ID (diff)
From: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH v2 04/11] PCI: qcom-ep: Add eDMA support
Date: Sat, 10 Sep 2022 11:02:22 +0530 [thread overview]
Message-ID: <20220910053222.GA8299@thinkpad> (raw)
In-Reply-To: <202209031046.rOZKOVqT-lkp@intel.com>
[-- Attachment #1: Type: text/plain, Size: 4046 bytes --]
On Sat, Sep 03, 2022 at 10:36:53AM +0800, kernel test robot wrote:
> Hi Manivannan,
>
> I love your patch! Yet something to improve:
>
> [auto build test ERROR on robh/for-next]
> [also build test ERROR on linus/master v6.0-rc3 next-20220901]
> [cannot apply to helgaas-pci/next]
> [If your patch is applied to the wrong git tree, kindly drop us a note.
> And when submitting patch, we suggest to use '--base' as documented in
> https://git-scm.com/docs/git-format-patch#_base_tree_information]
>
> url: https://github.com/intel-lab-lkp/linux/commits/Manivannan-Sadhasivam/Improvements-to-the-Qcom-PCIe-Endpoint-driver/20220831-010315
> base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
> config: arm-allyesconfig (https://download.01.org/0day-ci/archive/20220903/202209031046.rOZKOVqT-lkp(a)intel.com/config)
> compiler: arm-linux-gnueabi-gcc (GCC) 12.1.0
> reproduce (this is a W=1 build):
> wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> # https://github.com/intel-lab-lkp/linux/commit/dec4c93b2077408cecddd53950905bf2411019b0
> git remote add linux-review https://github.com/intel-lab-lkp/linux
> git fetch --no-tags linux-review Manivannan-Sadhasivam/Improvements-to-the-Qcom-PCIe-Endpoint-driver/20220831-010315
> git checkout dec4c93b2077408cecddd53950905bf2411019b0
> # save the config file
> mkdir build_dir && cp config build_dir/.config
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash
>
> If you fix the issue, kindly add following tag where applicable
> Reported-by: kernel test robot <lkp@intel.com>
>
> All errors (new ones prefixed by >>):
>
> drivers/pci/controller/dwc/pcie-qcom-ep.c: In function 'qcom_pcie_ep_probe':
> >> drivers/pci/controller/dwc/pcie-qcom-ep.c:672:21: error: 'struct dw_pcie' has no member named 'edma'
> 672 | pcie_ep->pci.edma.nr_irqs = 1;
This patch depends on the eDMA series from Sergey (Sorry, I forgot to mention
this in cover letter):
[PATCH RESEND v5 00/24] dmaengine: dw-edma: Add RP/EP local DMA controllers support
But the eDMA series is still getting reviews and I don't hear any news about
respin. So in the next revision I'm gonna drop this patch.
Thanks,
Mani
> | ^
>
>
> vim +672 drivers/pci/controller/dwc/pcie-qcom-ep.c
>
> 658
> 659 static int qcom_pcie_ep_probe(struct platform_device *pdev)
> 660 {
> 661 struct device *dev = &pdev->dev;
> 662 struct qcom_pcie_ep *pcie_ep;
> 663 int ret;
> 664
> 665 pcie_ep = devm_kzalloc(dev, sizeof(*pcie_ep), GFP_KERNEL);
> 666 if (!pcie_ep)
> 667 return -ENOMEM;
> 668
> 669 pcie_ep->pci.dev = dev;
> 670 pcie_ep->pci.ops = &pci_ops;
> 671 pcie_ep->pci.ep.ops = &pci_ep_ops;
> > 672 pcie_ep->pci.edma.nr_irqs = 1;
> 673 platform_set_drvdata(pdev, pcie_ep);
> 674
> 675 ret = qcom_pcie_ep_get_resources(pdev, pcie_ep);
> 676 if (ret)
> 677 return ret;
> 678
> 679 ret = qcom_pcie_enable_resources(pcie_ep);
> 680 if (ret) {
> 681 dev_err(dev, "Failed to enable resources: %d\n", ret);
> 682 return ret;
> 683 }
> 684
> 685 ret = dw_pcie_ep_init(&pcie_ep->pci.ep);
> 686 if (ret) {
> 687 dev_err(dev, "Failed to initialize endpoint: %d\n", ret);
> 688 goto err_disable_resources;
> 689 }
> 690
> 691 ret = qcom_pcie_ep_enable_irq_resources(pdev, pcie_ep);
> 692 if (ret)
> 693 goto err_disable_resources;
> 694
> 695 return 0;
> 696
> 697 err_disable_resources:
> 698 qcom_pcie_disable_resources(pcie_ep);
> 699
> 700 return ret;
> 701 }
> 702
>
> --
> 0-DAY CI Kernel Test Service
> https://01.org/lkp
--
மணிவண்ணன் சதாசிவம்
next prev parent reply other threads:[~2022-09-10 5:32 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-30 16:58 [PATCH v2 00/11] Improvements to the Qcom PCIe Endpoint driver Manivannan Sadhasivam
2022-08-30 16:58 ` [PATCH v2 01/11] PCI: qcom-ep: Add kernel-doc for qcom_pcie_ep structure Manivannan Sadhasivam
2022-08-30 16:58 ` [PATCH v2 02/11] PCI: qcom-ep: Do not use hardcoded clks in driver Manivannan Sadhasivam
2022-08-30 16:58 ` [PATCH v2 03/11] PCI: qcom-ep: Make use of the cached dev pointer Manivannan Sadhasivam
2022-08-30 16:58 ` [PATCH v2 04/11] PCI: qcom-ep: Add eDMA support Manivannan Sadhasivam
2022-09-03 2:36 ` kernel test robot
2022-09-10 5:32 ` Manivannan Sadhasivam [this message]
2022-09-10 5:32 ` Manivannan Sadhasivam
2022-08-30 16:58 ` [PATCH v2 05/11] PCI: qcom-ep: Disable IRQs during driver remove Manivannan Sadhasivam
2022-08-30 16:58 ` [PATCH v2 06/11] PCI: qcom-ep: Add debugfs support for expose link transition counts Manivannan Sadhasivam
2022-08-30 19:51 ` Bjorn Helgaas
2022-08-30 16:58 ` [PATCH v2 07/11] dt-bindings: PCI: qcom-ep: Make PERST separation optional Manivannan Sadhasivam
2022-08-30 16:58 ` [PATCH v2 08/11] " Manivannan Sadhasivam
2022-08-30 16:58 ` [PATCH v2 09/11] dt-bindings: PCI: qcom-ep: Define clocks per platform Manivannan Sadhasivam
2022-08-30 18:40 ` Krzysztof Kozlowski
2022-08-31 11:39 ` Rob Herring
2022-08-30 16:58 ` [PATCH v2 10/11] dt-bindings: PCI: qcom-ep: Add support for SM8450 SoC Manivannan Sadhasivam
2022-08-30 18:41 ` Krzysztof Kozlowski
2022-08-30 16:58 ` [PATCH v2 11/11] " Manivannan Sadhasivam
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220910053222.GA8299@thinkpad \
--to=manivannan.sadhasivam@linaro.org \
--cc=andersson@kernel.org \
--cc=bhelgaas@google.com \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.baryshkov@linaro.org \
--cc=kbuild-all@lists.01.org \
--cc=konrad.dybcio@somainline.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=kw@linux.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=lkp@intel.com \
--cc=lpieralisi@kernel.org \
--cc=robh+dt@kernel.org \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.