Hi Jean-Philippe,
I love your patch! Yet something to improve:
[auto build test ERROR on linus/master]
[also build test ERROR on v4.16-rc2 next-20180221]
[cannot apply to iommu/next]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Jean-Philippe-Brucker/Add-virtio-iommu-driver/20180217-075417
config: parisc-allmodconfig (attached as .config)
compiler: hppa-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=parisc
All errors (new ones prefixed by >>):
drivers/iommu/virtio-iommu.o: In function `virtio_iommu_drv_init':
(.init.text+0x24): undefined reference to `register_virtio_driver'
drivers/iommu/virtio-iommu.o: In function `viommu_send_reqs_sync':
(.text.viommu_send_reqs_sync+0xdc): undefined reference to `virtqueue_add_sgs'
(.text.viommu_send_reqs_sync+0x12c): undefined reference to `virtqueue_kick'
(.text.viommu_send_reqs_sync+0x29c): undefined reference to `virtqueue_get_buf'
drivers/iommu/virtio-iommu.o: In function `viommu_event_handler':quoted
(.text.viommu_event_handler+0x288): undefined reference to `virtqueue_add_inbuf'
(.text.viommu_event_handler+0x2a8): undefined reference to `virtqueue_get_buf'
(.text.viommu_event_handler+0x2b8): undefined reference to `virtqueue_kick'
drivers/iommu/virtio-iommu.o: In function `viommu_probe':
(.text.viommu_probe+0x1a0): undefined reference to `virtio_check_driver_offered_feature'
(.text.viommu_probe+0x248): undefined reference to `virtio_check_driver_offered_feature'
(.text.viommu_probe+0x2ec): undefined reference to `virtio_check_driver_offered_feature'
(.text.viommu_probe+0x328): undefined reference to `virtio_check_driver_offered_feature'
quoted
(.text.viommu_probe+0x428): undefined reference to `virtqueue_add_inbuf'
(.text.viommu_probe+0x440): undefined reference to `virtqueue_kick'
drivers/iommu/virtio-iommu.o: In function `virtio_iommu_drv_exit':
(.exit.text+0x18): undefined reference to `unregister_virtio_driver'
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation