From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [RFC PATCH V2] acpi/irq: Add stacked IRQ domain support to PCI interrupt link
Date: Wed, 18 Nov 2020 04:01:04 +0800 [thread overview]
Message-ID: <202011180338.3CUCxQ7x-lkp@intel.com> (raw)
In-Reply-To: <20201117134214.970-1-chenbaozi@phytium.com.cn>
[-- Attachment #1: Type: text/plain, Size: 3652 bytes --]
Hi Chen,
[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on pm/linux-next]
[also build test ERROR on pci/next v5.10-rc4 next-20201117]
[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]
url: https://github.com/0day-ci/linux/commits/Chen-Baozi/acpi-irq-Add-stacked-IRQ-domain-support-to-PCI-interrupt-link/20201117-214552
base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next
config: i386-randconfig-r036-20201117 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/0day-ci/linux/commit/76f0a22bc937647cd1ee87ee48b2caf44e72030a
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Chen-Baozi/acpi-irq-Add-stacked-IRQ-domain-support-to-PCI-interrupt-link/20201117-214552
git checkout 76f0a22bc937647cd1ee87ee48b2caf44e72030a
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
ld: drivers/acpi/pci_link.o: in function `acpi_pci_link_allocate_irq':
>> drivers/acpi/pci_link.c:670: undefined reference to `acpi_get_irq_source_fwhandle'
ld: drivers/acpi/pci_irq.o: in function `acpi_pci_irq_enable':
>> drivers/acpi/pci_irq.c:467: undefined reference to `acpi_register_irq'
vim +670 drivers/acpi/pci_link.c
618
619 /*
620 * acpi_pci_link_allocate_irq
621 * success: return IRQ >= 0
622 * failure: return -1
623 */
624 int acpi_pci_link_allocate_irq(acpi_handle handle, int index, int *triggering,
625 int *polarity, char **name, struct fwnode_handle **irq_domain)
626 {
627 int result;
628 struct acpi_device *device;
629 struct acpi_pci_link *link;
630
631 result = acpi_bus_get_device(handle, &device);
632 if (result) {
633 printk(KERN_ERR PREFIX "Invalid link device\n");
634 return -1;
635 }
636
637 link = acpi_driver_data(device);
638 if (!link) {
639 printk(KERN_ERR PREFIX "Invalid link context\n");
640 return -1;
641 }
642
643 /* TBD: Support multiple index (IRQ) entries per Link Device */
644 if (index) {
645 printk(KERN_ERR PREFIX "Invalid index %d\n", index);
646 return -1;
647 }
648
649 mutex_lock(&acpi_link_lock);
650 if (acpi_pci_link_allocate(link)) {
651 mutex_unlock(&acpi_link_lock);
652 return -1;
653 }
654
655 if (!link->irq.active) {
656 mutex_unlock(&acpi_link_lock);
657 printk(KERN_ERR PREFIX "Link active IRQ is 0!\n");
658 return -1;
659 }
660 link->refcnt++;
661 mutex_unlock(&acpi_link_lock);
662
663 if (triggering)
664 *triggering = link->irq.triggering;
665 if (polarity)
666 *polarity = link->irq.polarity;
667 if (name)
668 *name = acpi_device_bid(link->device);
669 if (irq_domain)
> 670 *irq_domain = acpi_get_irq_source_fwhandle(&link->irq.resource_source);
671
672 ACPI_DEBUG_PRINT((ACPI_DB_INFO,
673 "Link %s is referenced\n",
674 acpi_device_bid(link->device)));
675 return link->irq.active;
676 }
677
---
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: 34709 bytes --]
next prev parent reply other threads:[~2020-11-17 20:01 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-17 13:42 [RFC PATCH V2] acpi/irq: Add stacked IRQ domain support to PCI interrupt link Chen Baozi
2020-11-17 13:42 ` Chen Baozi
2020-11-17 18:57 ` Bjorn Helgaas
2020-11-17 18:57 ` Bjorn Helgaas
2020-11-18 10:37 ` Chen Baozi
2020-11-18 10:37 ` Chen Baozi
2020-11-18 13:45 ` Ard Biesheuvel
2020-11-18 13:45 ` Ard Biesheuvel
2020-11-18 13:50 ` Rafael J. Wysocki
2020-11-18 13:50 ` Rafael J. Wysocki
2020-11-17 20:01 ` kernel test robot [this message]
2020-11-18 9:27 ` Marc Zyngier
2020-11-18 9:27 ` Marc Zyngier
2020-11-18 13:36 ` Chen Baozi
2020-11-18 13:36 ` Chen Baozi
2020-11-18 9:51 ` Lorenzo Pieralisi
2020-11-18 9:51 ` Lorenzo Pieralisi
2020-11-18 14:05 ` Chen Baozi
2020-11-18 14:05 ` Chen Baozi
2020-11-19 10:37 ` Lorenzo Pieralisi
2020-11-19 10:37 ` Lorenzo Pieralisi
2020-11-18 16:22 kernel test robot
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=202011180338.3CUCxQ7x-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.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.