From: kernel test robot <lkp@intel.com>
To: Shunsuke Mie <mie@igel.co.jp>
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [RFC PATCH v2 3/3] PCI: endpoint: Add EP function driver to provide virtio-console functionality
Date: Tue, 9 May 2023 18:17:44 +0800 [thread overview]
Message-ID: <202305091852.DYtMNvWB-lkp@intel.com> (raw)
In-Reply-To: <20230427104428.862643-4-mie@igel.co.jp>
Hi Shunsuke,
[This is a private test report for your RFC patch.]
kernel test robot noticed the following build errors:
[auto build test ERROR on pci/next]
[also build test ERROR on pci/for-linus linus/master v6.4-rc1 next-20230509]
[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/Shunsuke-Mie/PCI-endpoint-introduce-a-helper-to-implement-pci-ep-virtio-function/20230427-184534
base: https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git next
patch link: https://lore.kernel.org/r/20230427104428.862643-4-mie%40igel.co.jp
patch subject: [RFC PATCH v2 3/3] PCI: endpoint: Add EP function driver to provide virtio-console functionality
config: loongarch-allmodconfig (https://download.01.org/0day-ci/archive/20230509/202305091852.DYtMNvWB-lkp@intel.com/config)
compiler: loongarch64-linux-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/988a24cb673bb7a63b7f92f04eff6393be2e70b3
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Shunsuke-Mie/PCI-endpoint-introduce-a-helper-to-implement-pci-ep-virtio-function/20230427-184534
git checkout 988a24cb673bb7a63b7f92f04eff6393be2e70b3
# 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=loongarch olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=loongarch SHELL=/bin/bash drivers/pci/endpoint/functions/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202305091852.DYtMNvWB-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/pci/endpoint/functions/pci-epf-virtio.c: In function 'epf_virtio_alloc_vringh':
>> drivers/pci/endpoint/functions/pci-epf-virtio.c:75:15: error: implicit declaration of function 'vringh_init_iomem'; did you mean 'vringh_init_iotlb'? [-Werror=implicit-function-declaration]
75 | err = vringh_init_iomem(&evrh->vrh, features, num, false, vring.desc,
| ^~~~~~~~~~~~~~~~~
| vringh_init_iotlb
drivers/pci/endpoint/functions/pci-epf-virtio.c: In function 'epf_virtio_getdesc':
>> drivers/pci/endpoint/functions/pci-epf-virtio.c:382:16: error: implicit declaration of function 'vringh_getdesc_iomem'; did you mean 'vringh_getdesc_iotlb'? [-Werror=implicit-function-declaration]
382 | return vringh_getdesc_iomem(vrh, riov, wiov, head, GFP_KERNEL);
| ^~~~~~~~~~~~~~~~~~~~
| vringh_getdesc_iotlb
drivers/pci/endpoint/functions/pci-epf-virtio.c: In function 'epf_virtio_abandon':
>> drivers/pci/endpoint/functions/pci-epf-virtio.c:389:9: error: implicit declaration of function 'vringh_abandon_iomem'; did you mean 'vringh_abandon_iotlb'? [-Werror=implicit-function-declaration]
389 | vringh_abandon_iomem(vrh, num);
| ^~~~~~~~~~~~~~~~~~~~
| vringh_abandon_iotlb
drivers/pci/endpoint/functions/pci-epf-virtio.c: In function 'epf_virtio_iov_complete':
>> drivers/pci/endpoint/functions/pci-epf-virtio.c:397:9: error: implicit declaration of function 'vringh_complete_iomem'; did you mean 'vringh_complete_iotlb'? [-Werror=implicit-function-declaration]
397 | vringh_complete_iomem(vrh, head, total_len);
| ^~~~~~~~~~~~~~~~~~~~~
| vringh_complete_iotlb
cc1: some warnings being treated as errors
--
drivers/pci/endpoint/functions/pci-epf-vcon.c: In function 'epf_vcon_raise_irq_handler':
>> drivers/pci/endpoint/functions/pci-epf-vcon.c:162:27: error: 'PCI_EPC_IRQ_INTX' undeclared (first use in this function); did you mean 'PCI_EPC_IRQ_MSIX'?
162 | PCI_EPC_IRQ_INTX, 0);
| ^~~~~~~~~~~~~~~~
| PCI_EPC_IRQ_MSIX
drivers/pci/endpoint/functions/pci-epf-vcon.c:162:27: note: each undeclared identifier is reported only once for each function it appears in
vim +162 drivers/pci/endpoint/functions/pci-epf-vcon.c
154
155 static void epf_vcon_raise_irq_handler(struct work_struct *work)
156 {
157 struct epf_vcon *vcon =
158 container_of(work, struct epf_vcon, raise_irq_work);
159 struct pci_epf *epf = vcon->evio.epf;
160
161 pci_epc_raise_irq(epf->epc, epf->func_no, epf->vfunc_no,
> 162 PCI_EPC_IRQ_INTX, 0);
163 }
164
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
next prev parent reply other threads:[~2023-05-09 10:18 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-27 10:44 [RFC PATCH v2 0/3] Introduce a PCIe endpoint virtio console Shunsuke Mie
2023-04-27 10:44 ` Shunsuke Mie
2023-04-27 10:44 ` [RFC PATCH v2 1/3] PCI: endpoint: introduce a helper to implement pci ep virtio function Shunsuke Mie
2023-04-27 10:44 ` Shunsuke Mie
2023-04-27 18:28 ` Bjorn Helgaas
2023-04-27 18:28 ` Bjorn Helgaas
2023-05-10 3:49 ` Shunsuke Mie
2023-05-10 3:49 ` Shunsuke Mie
2023-05-08 3:57 ` Jason Wang
2023-05-08 3:57 ` Jason Wang
2023-04-27 10:44 ` [RFC PATCH v2 2/3] virtio_pci: add a definition of queue flag in ISR Shunsuke Mie
2023-04-27 10:44 ` Shunsuke Mie
2023-05-08 3:59 ` Jason Wang
2023-05-08 3:59 ` Jason Wang
2023-05-10 3:18 ` Shunsuke Mie
2023-05-10 3:18 ` Shunsuke Mie
2023-04-27 10:44 ` [RFC PATCH v2 3/3] PCI: endpoint: Add EP function driver to provide virtio-console functionality Shunsuke Mie
2023-04-27 10:44 ` Shunsuke Mie
2023-04-27 18:09 ` Bjorn Helgaas
2023-04-27 18:09 ` Bjorn Helgaas
2023-05-10 1:25 ` Shunsuke Mie
2023-05-10 1:25 ` Shunsuke Mie
2023-05-08 4:03 ` Jason Wang
2023-05-08 4:03 ` Jason Wang
2023-05-10 3:17 ` Shunsuke Mie
2023-05-10 3:17 ` Shunsuke Mie
2023-05-18 9:54 ` Shunsuke Mie
2023-05-18 9:54 ` Shunsuke Mie
2023-05-19 2:01 ` Jason Wang
2023-05-19 2:01 ` Jason Wang
2023-05-31 10:51 ` Shunsuke Mie
2023-05-31 10:51 ` Shunsuke Mie
2023-05-09 10:17 ` kernel test robot [this message]
2023-04-27 17:52 ` [RFC PATCH v2 0/3] Introduce a PCIe endpoint virtio console Bjorn Helgaas
2023-04-27 17:52 ` Bjorn Helgaas
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=202305091852.DYtMNvWB-lkp@intel.com \
--to=lkp@intel.com \
--cc=mie@igel.co.jp \
--cc=oe-kbuild-all@lists.linux.dev \
/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.