linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: irqchip-bot for Marc Zyngier <tip-bot2@linutronix.de>,
	linux-kernel@vger.kernel.org
Cc: kbuild-all@lists.01.org, Marc Zyngier <maz@kernel.org>,
	tglx@linutronix.de
Subject: Re: [irqchip: irq/irqchip-next] powerpc: Drop dependency between asm/irq.h and linux/irqdomain.h
Date: Sun, 6 Jun 2021 23:00:25 +0800	[thread overview]
Message-ID: <202106062241.NcVGcvw3-lkp@intel.com> (raw)
In-Reply-To: <162298343129.29796.10381692252026350764.tip-bot2@tip-bot2>

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

Hi irqchip-bot,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on powerpc/next]
[also build test ERROR on linux/master linus/master v5.13-rc4 next-20210604]
[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/irqchip-bot-for-Marc-Zyngier/powerpc-Drop-dependency-between-asm-irq-h-and-linux-irqdomain-h/20210606-205106
base:   https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
config: powerpc-sbc8548_defconfig (attached as .config)
compiler: powerpc-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/0day-ci/linux/commit/72415db4cc9ec9987380123553c3222a3568f37f
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review irqchip-bot-for-Marc-Zyngier/powerpc-Drop-dependency-between-asm-irq-h-and-linux-irqdomain-h/20210606-205106
        git checkout 72415db4cc9ec9987380123553c3222a3568f37f
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=powerpc 

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 >>):

   arch/powerpc/sysdev/fsl_mpic_err.c: In function 'fsl_error_int_handler':
>> arch/powerpc/sysdev/fsl_mpic_err.c:111:17: error: implicit declaration of function 'irq_linear_revmap' [-Werror=implicit-function-declaration]
     111 |   cascade_irq = irq_linear_revmap(mpic->irqhost,
         |                 ^~~~~~~~~~~~~~~~~
   arch/powerpc/sysdev/fsl_mpic_err.c: In function 'mpic_err_int_init':
>> arch/powerpc/sysdev/fsl_mpic_err.c:131:9: error: implicit declaration of function 'irq_create_mapping' [-Werror=implicit-function-declaration]
     131 |  virq = irq_create_mapping(mpic->irqhost, irqnum);
         |         ^~~~~~~~~~~~~~~~~~
   cc1: all warnings being treated as errors


vim +/irq_linear_revmap +111 arch/powerpc/sysdev/fsl_mpic_err.c

0a4081641d722d Varun Sethi      2012-08-08   95  
0a4081641d722d Varun Sethi      2012-08-08   96  static irqreturn_t fsl_error_int_handler(int irq, void *data)
0a4081641d722d Varun Sethi      2012-08-08   97  {
0a4081641d722d Varun Sethi      2012-08-08   98  	struct mpic *mpic = (struct mpic *) data;
0a4081641d722d Varun Sethi      2012-08-08   99  	u32 eisr, eimr;
0a4081641d722d Varun Sethi      2012-08-08  100  	int errint;
0a4081641d722d Varun Sethi      2012-08-08  101  	unsigned int cascade_irq;
0a4081641d722d Varun Sethi      2012-08-08  102  
0a4081641d722d Varun Sethi      2012-08-08  103  	eisr = mpic_fsl_err_read(mpic->err_regs, MPIC_ERR_INT_EISR);
0a4081641d722d Varun Sethi      2012-08-08  104  	eimr = mpic_fsl_err_read(mpic->err_regs, MPIC_ERR_INT_EIMR);
0a4081641d722d Varun Sethi      2012-08-08  105  
0a4081641d722d Varun Sethi      2012-08-08  106  	if (!(eisr & ~eimr))
0a4081641d722d Varun Sethi      2012-08-08  107  		return IRQ_NONE;
0a4081641d722d Varun Sethi      2012-08-08  108  
0a4081641d722d Varun Sethi      2012-08-08  109  	while (eisr) {
0a4081641d722d Varun Sethi      2012-08-08  110  		errint = __builtin_clz(eisr);
0a4081641d722d Varun Sethi      2012-08-08 @111  		cascade_irq = irq_linear_revmap(mpic->irqhost,
0a4081641d722d Varun Sethi      2012-08-08  112  				 mpic->err_int_vecs[errint]);
ef24ba7091517d Michael Ellerman 2016-09-06  113  		WARN_ON(!cascade_irq);
ef24ba7091517d Michael Ellerman 2016-09-06  114  		if (cascade_irq) {
0a4081641d722d Varun Sethi      2012-08-08  115  			generic_handle_irq(cascade_irq);
0a4081641d722d Varun Sethi      2012-08-08  116  		} else {
0a4081641d722d Varun Sethi      2012-08-08  117  			eimr |=  1 << (31 - errint);
0a4081641d722d Varun Sethi      2012-08-08  118  			mpic_fsl_err_write(mpic->err_regs, eimr);
0a4081641d722d Varun Sethi      2012-08-08  119  		}
0a4081641d722d Varun Sethi      2012-08-08  120  		eisr &= ~(1 << (31 - errint));
0a4081641d722d Varun Sethi      2012-08-08  121  	}
0a4081641d722d Varun Sethi      2012-08-08  122  
0a4081641d722d Varun Sethi      2012-08-08  123  	return IRQ_HANDLED;
0a4081641d722d Varun Sethi      2012-08-08  124  }
0a4081641d722d Varun Sethi      2012-08-08  125  
0a4081641d722d Varun Sethi      2012-08-08  126  void mpic_err_int_init(struct mpic *mpic, irq_hw_number_t irqnum)
0a4081641d722d Varun Sethi      2012-08-08  127  {
0a4081641d722d Varun Sethi      2012-08-08  128  	unsigned int virq;
0a4081641d722d Varun Sethi      2012-08-08  129  	int ret;
0a4081641d722d Varun Sethi      2012-08-08  130  
0a4081641d722d Varun Sethi      2012-08-08 @131  	virq = irq_create_mapping(mpic->irqhost, irqnum);

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

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

  reply	other threads:[~2021-06-06 15:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-06 12:43 [irqchip: irq/irqchip-next] powerpc: Drop dependency between asm/irq.h and linux/irqdomain.h irqchip-bot for Marc Zyngier
2021-06-06 15:00 ` kernel test robot [this message]
2021-06-06 15:24   ` Marc Zyngier
2021-06-07  6:34     ` [kbuild-all] " Rong Chen
2021-06-06 15:28 ` kernel test robot
2021-06-11 13:54 irqchip-bot for Marc Zyngier

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=202106062241.NcVGcvw3-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maz@kernel.org \
    --cc=tglx@linutronix.de \
    --cc=tip-bot2@linutronix.de \
    /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;
as well as URLs for NNTP newsgroup(s).