All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-next:master 6694/8581] drivers/dma/idxd/device.c:24: undefined reference to `pci_msi_mask_irq'
@ 2020-07-16 13:15 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-07-16 13:15 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2041 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   4c43049f19a280329c1d01699f3cc8ad6910cbbe
commit: 4548a6ad3d50c398aa12fa3ad45dd0611328f13b [6694/8581] dmaengine: idxd: move idxd interrupt handling to mask instead of ignore
config: x86_64-randconfig-c004-20200716 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-14) 9.3.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

Note: the linux-next/master HEAD 4c43049f19a280329c1d01699f3cc8ad6910cbbe builds fine.
      It may have been fixed somewhere.

All errors (new ones prefixed by >>):

   ld: drivers/dma/idxd/device.o: in function `idxd_mask_msix_vector':
>> drivers/dma/idxd/device.c:24: undefined reference to `pci_msi_mask_irq'
   ld: drivers/dma/idxd/device.o: in function `idxd_unmask_msix_vector':
>> drivers/dma/idxd/device.c:41: undefined reference to `pci_msi_unmask_irq'

vim +24 drivers/dma/idxd/device.c

    15	
    16	static void idxd_cmd_exec(struct idxd_device *idxd, int cmd_code, u32 operand,
    17				  u32 *status);
    18	
    19	/* Interrupt control bits */
    20	void idxd_mask_msix_vector(struct idxd_device *idxd, int vec_id)
    21	{
    22		struct irq_data *data = irq_get_irq_data(idxd->msix_entries[vec_id].vector);
    23	
  > 24		pci_msi_mask_irq(data);
    25	}
    26	
    27	void idxd_mask_msix_vectors(struct idxd_device *idxd)
    28	{
    29		struct pci_dev *pdev = idxd->pdev;
    30		int msixcnt = pci_msix_vec_count(pdev);
    31		int i;
    32	
    33		for (i = 0; i < msixcnt; i++)
    34			idxd_mask_msix_vector(idxd, i);
    35	}
    36	
    37	void idxd_unmask_msix_vector(struct idxd_device *idxd, int vec_id)
    38	{
    39		struct irq_data *data = irq_get_irq_data(idxd->msix_entries[vec_id].vector);
    40	
  > 41		pci_msi_unmask_irq(data);
    42	}
    43	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 36565 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-07-16 13:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-16 13:15 [linux-next:master 6694/8581] drivers/dma/idxd/device.c:24: undefined reference to `pci_msi_mask_irq' kernel test robot

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.