All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH 6/9] irqchip/loongson-liointc: Add ACPI init support
Date: Fri, 09 Jul 2021 08:59:27 +0800	[thread overview]
Message-ID: <202107090855.TQ3GQ8og-lkp@intel.com> (raw)
In-Reply-To: <20210706030904.1411775-7-chenhuacai@loongson.cn>

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

Hi Huacai,

I love your patch! Yet something to improve:

[auto build test ERROR on tip/irq/core]
[also build test ERROR on linux/master linus/master v5.13 next-20210708]
[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/Huacai-Chen/irqchip-Add-LoongArch-related-irqchip-drivers/20210706-111309
base:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git 3d2ce675aba7e2425710e23268579a5d76c7e725
config: mips-loongson2k_defconfig (attached as .config)
compiler: mips64el-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/a2475c3e53e0055e6eb1842fe58dec0f4e453f82
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Huacai-Chen/irqchip-Add-LoongArch-related-irqchip-drivers/20210706-111309
        git checkout a2475c3e53e0055e6eb1842fe58dec0f4e453f82
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=mips 

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

   drivers/irqchip/irq-loongson-liointc.c: In function 'liointc_chained_handle_irq':
>> drivers/irqchip/irq-loongson-liointc.c:58:13: error: implicit declaration of function 'cpu_logical_map' [-Werror=implicit-function-declaration]
      58 |  int core = cpu_logical_map(smp_processor_id()) % LIOINTC_NUM_CORES;
         |             ^~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors


vim +/cpu_logical_map +58 drivers/irqchip/irq-loongson-liointc.c

    52	
    53	static void liointc_chained_handle_irq(struct irq_desc *desc)
    54	{
    55		struct liointc_handler_data *handler = irq_desc_get_handler_data(desc);
    56		struct irq_chip *chip = irq_desc_get_chip(desc);
    57		struct irq_chip_generic *gc = handler->priv->gc;
  > 58		int core = cpu_logical_map(smp_processor_id()) % LIOINTC_NUM_CORES;
    59		u32 pending;
    60	
    61		chained_irq_enter(chip, desc);
    62	
    63		pending = readl(handler->priv->core_isr[core]);
    64	
    65		if (!pending) {
    66			/* Always blame LPC IRQ if we have that bug */
    67			if (handler->priv->has_lpc_irq_errata &&
    68				(handler->parent_int_map & gc->mask_cache &
    69				BIT(LIOINTC_ERRATA_IRQ)))
    70				pending = BIT(LIOINTC_ERRATA_IRQ);
    71			else
    72				spurious_interrupt();
    73		}
    74	
    75		while (pending) {
    76			int bit = __ffs(pending);
    77	
    78			generic_handle_domain_irq(gc->domain, bit);
    79			pending &= ~BIT(bit);
    80		}
    81	
    82		chained_irq_exit(chip, desc);
    83	}
    84	

---
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: 31142 bytes --]

  reply	other threads:[~2021-07-09  0:59 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-06  3:08 [PATCH 0/9] irqchip: Add LoongArch-related irqchip drivers Huacai Chen
2021-07-06  3:08 ` [PATCH 1/9] irqchip: Adjust Kconfig for Loongson Huacai Chen
2021-07-06  3:08 ` [PATCH 2/9] irqchip/loongson-pch-pic: Improve edge triggered interrupt support Huacai Chen
2021-07-06 13:06   ` Marc Zyngier
2021-07-09  3:00     ` Huacai Chen
2021-08-04 14:23       ` Marc Zyngier
2021-08-05 13:06         ` Huacai Chen
2021-07-06  3:08 ` [PATCH 3/9] irqchip/loongson-pch-pic: Add ACPI init support Huacai Chen
2021-07-06 13:10   ` Marc Zyngier
2021-07-07  4:50     ` Huacai Chen
2021-08-12 12:23       ` Huacai Chen
2021-08-12 13:28         ` Marc Zyngier
2021-08-16  3:19           ` Huacai Chen
2021-07-06  3:08 ` [PATCH 4/9] irqchip/loongson-pch-msi: " Huacai Chen
2021-07-06 13:12   ` Marc Zyngier
2021-07-07  4:51     ` Huacai Chen
2021-07-06  3:09 ` [PATCH 5/9] irqchip/loongson-htvec: " Huacai Chen
2021-07-06 13:13   ` Marc Zyngier
2021-07-07  4:52     ` Huacai Chen
2021-07-06  3:09 ` [PATCH 6/9] irqchip/loongson-liointc: " Huacai Chen
2021-07-09  0:59   ` kernel test robot [this message]
2021-07-06  3:09 ` [PATCH 7/9] irqchip: Add LoongArch CPU interrupt controller support Huacai Chen
2021-07-06 13:21   ` Marc Zyngier
2021-07-07  4:57     ` Huacai Chen
2021-07-06  3:09 ` [PATCH 8/9] irqchip: Add Loongson Extended I/O " Huacai Chen
2021-07-08 20:53   ` kernel test robot
2021-07-06  3:09 ` [PATCH 9/9] irqchip: Add Loongson PCH LPC " Huacai Chen
2021-07-08 22:27   ` 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=202107090855.TQ3GQ8og-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.