tree:
https://git.kernel.org/pub/scm/linux/kernel/git/jwboyer/fedora.git f30
head: 284cf32818c908c93a68dd6848fe1d3bbaed6712
commit: ff6d3b9e73aad6e48454ce0ff695a3c10e97c186 [26/47] usb: xhci: Raspberry Pi FW loader
for VIA VL805
config: arm64-randconfig-a001-20200414 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
reproduce:
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout ff6d3b9e73aad6e48454ce0ff695a3c10e97c186
# save the attached .config to linux build tree
GCC_VERSION=9.3.0 make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
aarch64-linux-ld: drivers/usb/host/pci-quirks.o: in function `usb_vl805_init':
> drivers/usb/host/pci-quirks.c:646: undefined reference to
`rpi_firmware_get'
> aarch64-linux-ld: drivers/usb/host/pci-quirks.c:654: undefined reference to
`rpi_firmware_property'
vim +646 drivers/usb/host/pci-quirks.c
632
633 /* The VL805 firmware may either be loaded from an EEPROM or by the BIOS into
634 * memory. If run from memory it must be reloaded after a PCI fundmental reset.
635 * The Raspberry Pi firmware acts as the BIOS in this case.
636 */
637 static void usb_vl805_init(struct pci_dev *pdev)
638 {
639 #if IS_ENABLED(CONFIG_RASPBERRYPI_FIRMWARE)
640 struct rpi_firmware *fw;
641 struct {
642 u32 dev_addr;
643 } packet;
644 int ret;
645
646 fw = rpi_firmware_get(NULL);
647 if (!fw)
648 return;
649
650 packet.dev_addr = (pdev->bus->number << 20) |
651 (PCI_SLOT(pdev->devfn) << 15) | (PCI_FUNC(pdev->devfn) << 12);
652
653 dev_dbg(&pdev->dev, "RPI_FIRMWARE_NOTIFY_XHCI_RESET %x",
packet.dev_addr);
654 ret = rpi_firmware_property(fw, RPI_FIRMWARE_NOTIFY_XHCI_RESET,
655 &packet, sizeof(packet));
656 #endif
657 }
658
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org