From: kbuild test robot <lkp@intel.com>
To: Julien Thierry <julien.thierry@arm.com>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org,
tglx@linutronix.de, peterz@infradead.org, marc.zyngier@arm.com,
mingo@kernel.org, Julien Thierry <julien.thierry@arm.com>,
Will Deacon <will.deacon@arm.com>
Subject: Re: [PATCH v2 4/4] irqdesc: Add domain handler for NMIs
Date: Wed, 29 Aug 2018 11:33:24 +0800 [thread overview]
Message-ID: <201808291120.DNUyZOT5%fengguang.wu@intel.com> (raw)
In-Reply-To: <1535470188-38155-5-git-send-email-julien.thierry@arm.com>
[-- Attachment #1: Type: text/plain, Size: 2376 bytes --]
Hi Julien,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on linus/master]
[also build test ERROR on v4.19-rc1 next-20180828]
[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/Julien-Thierry/genirq-Provide-basic-NMI-management-for-interrupt-lines/20180829-063713
config: arm-nuc960_defconfig (attached as .config)
compiler: arm-linux-gnueabi-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
GCC_VERSION=7.2.0 make.cross ARCH=arm
All errors (new ones prefixed by >>):
kernel/irq/irqdesc.c: In function 'handle_domain_nmi':
>> kernel/irq/irqdesc.c:686:8: error: implicit declaration of function 'irq_find_mapping'; did you mean 'irq_dispose_mapping'? [-Werror=implicit-function-declaration]
irq = irq_find_mapping(domain, hwirq);
^~~~~~~~~~~~~~~~
irq_dispose_mapping
cc1: some warnings being treated as errors
vim +686 kernel/irq/irqdesc.c
668
669 /**
670 * handle_domain_nmi - Invoke the handler for a HW irq belonging to a domain
671 * @domain: The domain where to perform the lookup
672 * @hwirq: The HW irq number to convert to a logical one
673 * @regs: Register file coming from the low-level handling code
674 *
675 * Returns: 0 on success, or -EINVAL if conversion has failed
676 */
677 int handle_domain_nmi(struct irq_domain *domain, unsigned int hwirq,
678 struct pt_regs *regs)
679 {
680 struct pt_regs *old_regs = set_irq_regs(regs);
681 unsigned int irq;
682 int ret = 0;
683
684 nmi_enter();
685
> 686 irq = irq_find_mapping(domain, hwirq);
687
688 /*
689 * ack_bad_irq is not NMI-safe, just report
690 * an invalid interrupt.
691 */
692 if (likely(irq))
693 generic_handle_irq(irq);
694 else
695 ret = -EINVAL;
696
697 nmi_exit();
698 set_irq_regs(old_regs);
699 return ret;
700 }
701 #endif
702
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 9380 bytes --]
next prev parent reply other threads:[~2018-08-29 3:33 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-28 15:29 [PATCH v2 0/4] Provide core API " Julien Thierry
2018-08-28 15:29 ` [PATCH v2 1/4] genirq: Provide basic NMI management for interrupt lines Julien Thierry
2018-08-29 4:50 ` kbuild test robot
2018-08-28 15:29 ` [PATCH v2 2/4] genirq: Provide NMI management for percpu_devid interrupts Julien Thierry
2018-08-29 9:44 ` kbuild test robot
2018-08-28 15:29 ` [PATCH v2 3/4] genirq: Provide NMI handlers Julien Thierry
2018-08-28 15:29 ` [PATCH v2 4/4] irqdesc: Add domain handler for NMIs Julien Thierry
2018-08-29 3:33 ` kbuild test robot [this message]
2018-08-28 15:58 ` [PATCH v2 0/4] Provide core API " Julien Thierry
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=201808291120.DNUyZOT5%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=julien.thierry@arm.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marc.zyngier@arm.com \
--cc=mingo@kernel.org \
--cc=peterz@infradead.org \
--cc=tglx@linutronix.de \
--cc=will.deacon@arm.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®