[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202211180042.c3B0OeXi-lkp@intel.com>
Date: Fri, 18 Nov 2022 00:57:26 +0800
From: kernel test robot <lkp@...el.com>
To: Nicolas Frayer <nfrayer@...libre.com>, tglx@...utronix.de,
maz@...nel.org, linux-kernel@...r.kernel.org
Cc: oe-kbuild-all@...ts.linux.dev, khilman@...libre.com,
glaroque@...libre.com, nfrayer@...libre.com
Subject: Re: [PATCH 2/2] irqchip: Kconfig: Added module build support for the
TI interrupt aggregator
Hi Nicolas,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on arm64/for-next/core]
[also build test ERROR on tip/irq/core linus/master v6.1-rc5 next-20221117]
[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#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Nicolas-Frayer/irqchip-Kconfig-Add-module-support-for-TI-inta-intr/20221117-025707
base: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/core
patch link: https://lore.kernel.org/r/20221116185500.40431-3-nfrayer%40baylibre.com
patch subject: [PATCH 2/2] irqchip: Kconfig: Added module build support for the TI interrupt aggregator
config: powerpc-allmodconfig
compiler: powerpc-linux-gcc (GCC) 12.1.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/intel-lab-lkp/linux/commit/96dd80be24e2305d0fabee7a69c4770750a0d8f0
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Nicolas-Frayer/irqchip-Kconfig-Add-module-support-for-TI-inta-intr/20221117-025707
git checkout 96dd80be24e2305d0fabee7a69c4770750a0d8f0
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=powerpc SHELL=/bin/bash drivers/irqchip/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
In file included from include/linux/io.h:13,
from drivers/irqchip/irq-ti-sci-inta.c:10:
drivers/irqchip/irq-ti-sci-inta.c: In function 'ti_sci_inta_irq_handler':
>> arch/powerpc/include/asm/io.h:692:33: error: implicit declaration of function 'readq'; did you mean 'readl'? [-Werror=implicit-function-declaration]
692 | #define readq_relaxed(addr) readq(addr)
| ^~~~~
drivers/irqchip/irq-ti-sci-inta.c:159:15: note: in expansion of macro 'readq_relaxed'
159 | val = readq_relaxed(inta->base + vint_desc->vint_id * 0x1000 +
| ^~~~~~~~~~~~~
drivers/irqchip/irq-ti-sci-inta.c: In function 'ti_sci_inta_manage_event':
>> arch/powerpc/include/asm/io.h:696:33: error: implicit declaration of function 'writeq'; did you mean 'writel'? [-Werror=implicit-function-declaration]
696 | #define writeq_relaxed(v, addr) writeq(v, addr)
| ^~~~~~
drivers/irqchip/irq-ti-sci-inta.c:466:9: note: in expansion of macro 'writeq_relaxed'
466 | writeq_relaxed(BIT(event_desc->vint_bit),
| ^~~~~~~~~~~~~~
cc1: some warnings being treated as errors
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for TI_SCI_PROTOCOL
Depends on [n]: TI_MESSAGE_MANAGER [=n]
Selected by [m]:
- TI_SCI_INTR_IRQCHIP [=m]
- TI_SCI_INTA_IRQCHIP [=m]
vim +692 arch/powerpc/include/asm/io.h
4cb3cee03d558fd include/asm-powerpc/io.h Benjamin Herrenschmidt 2006-11-11 685
4cb3cee03d558fd include/asm-powerpc/io.h Benjamin Herrenschmidt 2006-11-11 686 /*
4cb3cee03d558fd include/asm-powerpc/io.h Benjamin Herrenschmidt 2006-11-11 687 * We don't do relaxed operations yet, at least not with this semantic
4cb3cee03d558fd include/asm-powerpc/io.h Benjamin Herrenschmidt 2006-11-11 688 */
^1da177e4c3f415 include/asm-ppc64/io.h Linus Torvalds 2005-04-16 689 #define readb_relaxed(addr) readb(addr)
^1da177e4c3f415 include/asm-ppc64/io.h Linus Torvalds 2005-04-16 690 #define readw_relaxed(addr) readw(addr)
^1da177e4c3f415 include/asm-ppc64/io.h Linus Torvalds 2005-04-16 691 #define readl_relaxed(addr) readl(addr)
^1da177e4c3f415 include/asm-ppc64/io.h Linus Torvalds 2005-04-16 @692 #define readq_relaxed(addr) readq(addr)
5da590574cbc39e arch/powerpc/include/asm/io.h Will Deacon 2013-09-04 693 #define writeb_relaxed(v, addr) writeb(v, addr)
5da590574cbc39e arch/powerpc/include/asm/io.h Will Deacon 2013-09-04 694 #define writew_relaxed(v, addr) writew(v, addr)
5da590574cbc39e arch/powerpc/include/asm/io.h Will Deacon 2013-09-04 695 #define writel_relaxed(v, addr) writel(v, addr)
5da590574cbc39e arch/powerpc/include/asm/io.h Will Deacon 2013-09-04 @696 #define writeq_relaxed(v, addr) writeq(v, addr)
^1da177e4c3f415 include/asm-ppc64/io.h Linus Torvalds 2005-04-16 697
--
0-DAY CI Kernel Test Service
https://01.org/lkp
View attachment "config" of type "text/plain" (323688 bytes)
Powered by blists - more mailing lists