From: kernel test robot <lkp@intel.com>
To: Qin Jian <qinjian@cqplus1.com>, robh+dt@kernel.org
Cc: kbuild-all@lists.01.org, mturquette@baylibre.com,
sboyd@kernel.org, tglx@linutronix.de, maz@kernel.org,
p.zabel@pengutronix.de, linux@armlinux.org.uk,
broonie@kernel.org, arnd@arndb.de,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v5 08/10] irqchip: Add Sunplus SP7021 interrupt controller driver
Date: Sat, 4 Dec 2021 02:01:57 +0800 [thread overview]
Message-ID: <202112040151.mCwZofQd-lkp@intel.com> (raw)
In-Reply-To: <e88ea4cf28ba69a41f6d1b4dd4128b82a6095c29.1638515726.git.qinjian@cqplus1.com>
Hi Qin,
I love your patch! Perhaps something to improve:
[auto build test WARNING on clk/clk-next]
[cannot apply to pza/reset/next robh/for-next tip/irq/core linus/master v5.16-rc3 next-20211203]
[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/Qin-Jian/Add-Sunplus-SP7021-SoC-Support/20211203-154345
base: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-next
config: arc-allyesconfig (https://download.01.org/0day-ci/archive/20211204/202112040151.mCwZofQd-lkp@intel.com/config)
compiler: arceb-elf-gcc (GCC) 11.2.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/14961fb5913762db86b6816b325ef2e87cf4a319
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Qin-Jian/Add-Sunplus-SP7021-SoC-Support/20211203-154345
git checkout 14961fb5913762db86b6816b325ef2e87cf4a319
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arc SHELL=/bin/bash drivers/irqchip/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/irqchip/irq-sp7021-intc.c:223:6: warning: no previous prototype for 'sp_intc_set_ext' [-Wmissing-prototypes]
223 | void sp_intc_set_ext(u32 hwirq, int ext_num)
| ^~~~~~~~~~~~~~~
>> drivers/irqchip/irq-sp7021-intc.c:229:12: warning: no previous prototype for 'sp_intc_init_dt' [-Wmissing-prototypes]
229 | int __init sp_intc_init_dt(struct device_node *node, struct device_node *parent)
| ^~~~~~~~~~~~~~~
vim +/sp_intc_set_ext +223 drivers/irqchip/irq-sp7021-intc.c
222
> 223 void sp_intc_set_ext(u32 hwirq, int ext_num)
224 {
225 sp_intc_assign_bit(hwirq, REG_INTR_PRIORITY, !ext_num);
226 }
227 EXPORT_SYMBOL_GPL(sp_intc_set_ext);
228
> 229 int __init sp_intc_init_dt(struct device_node *node, struct device_node *parent)
230 {
231 int i, ret;
232
233 sp_intc.g0 = of_iomap(node, 0);
234 if (!sp_intc.g0)
235 return -ENXIO;
236
237 sp_intc.g1 = of_iomap(node, 1);
238 if (!sp_intc.g1) {
239 ret = -ENXIO;
240 goto out_unmap0;
241 }
242
243 ret = sp_intc_irq_map(node, 0); // EXT_INT0
244 if (ret)
245 goto out_unmap1;
246
247 ret = sp_intc_irq_map(node, 1); // EXT_INT1
248 if (ret)
249 goto out_unmap1;
250
251 /* initial regs */
252 for (i = 0; i < SP_INTC_NR_GROUPS; i++) {
253 /* all mask */
254 writel_relaxed(0, REG_INTR_MASK + i * 4);
255 /* all edge */
256 writel_relaxed(~0, REG_INTR_TYPE + i * 4);
257 /* all high-active */
258 writel_relaxed(0, REG_INTR_POLARITY + i * 4);
259 /* all EXT_INT0 */
260 writel_relaxed(~0, REG_INTR_PRIORITY + i * 4);
261 /* all clear */
262 writel_relaxed(~0, REG_INTR_CLEAR + i * 4);
263 }
264
265 sp_intc.domain = irq_domain_add_linear(node, SP_INTC_NR_IRQS,
266 &sp_intc_dm_ops, &sp_intc);
267 if (!sp_intc.domain) {
268 ret = -ENOMEM;
269 goto out_unmap1;
270 }
271
272 raw_spin_lock_init(&sp_intc.lock);
273
274 return 0;
275
276 out_unmap1:
277 iounmap(sp_intc.g1);
278 out_unmap0:
279 iounmap(sp_intc.g0);
280
281 return ret;
282 }
283
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH v5 08/10] irqchip: Add Sunplus SP7021 interrupt controller driver
Date: Sat, 04 Dec 2021 02:01:57 +0800 [thread overview]
Message-ID: <202112040151.mCwZofQd-lkp@intel.com> (raw)
In-Reply-To: <e88ea4cf28ba69a41f6d1b4dd4128b82a6095c29.1638515726.git.qinjian@cqplus1.com>
[-- Attachment #1: Type: text/plain, Size: 3996 bytes --]
Hi Qin,
I love your patch! Perhaps something to improve:
[auto build test WARNING on clk/clk-next]
[cannot apply to pza/reset/next robh/for-next tip/irq/core linus/master v5.16-rc3 next-20211203]
[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/Qin-Jian/Add-Sunplus-SP7021-SoC-Support/20211203-154345
base: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-next
config: arc-allyesconfig (https://download.01.org/0day-ci/archive/20211204/202112040151.mCwZofQd-lkp(a)intel.com/config)
compiler: arceb-elf-gcc (GCC) 11.2.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/14961fb5913762db86b6816b325ef2e87cf4a319
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Qin-Jian/Add-Sunplus-SP7021-SoC-Support/20211203-154345
git checkout 14961fb5913762db86b6816b325ef2e87cf4a319
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arc SHELL=/bin/bash drivers/irqchip/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/irqchip/irq-sp7021-intc.c:223:6: warning: no previous prototype for 'sp_intc_set_ext' [-Wmissing-prototypes]
223 | void sp_intc_set_ext(u32 hwirq, int ext_num)
| ^~~~~~~~~~~~~~~
>> drivers/irqchip/irq-sp7021-intc.c:229:12: warning: no previous prototype for 'sp_intc_init_dt' [-Wmissing-prototypes]
229 | int __init sp_intc_init_dt(struct device_node *node, struct device_node *parent)
| ^~~~~~~~~~~~~~~
vim +/sp_intc_set_ext +223 drivers/irqchip/irq-sp7021-intc.c
222
> 223 void sp_intc_set_ext(u32 hwirq, int ext_num)
224 {
225 sp_intc_assign_bit(hwirq, REG_INTR_PRIORITY, !ext_num);
226 }
227 EXPORT_SYMBOL_GPL(sp_intc_set_ext);
228
> 229 int __init sp_intc_init_dt(struct device_node *node, struct device_node *parent)
230 {
231 int i, ret;
232
233 sp_intc.g0 = of_iomap(node, 0);
234 if (!sp_intc.g0)
235 return -ENXIO;
236
237 sp_intc.g1 = of_iomap(node, 1);
238 if (!sp_intc.g1) {
239 ret = -ENXIO;
240 goto out_unmap0;
241 }
242
243 ret = sp_intc_irq_map(node, 0); // EXT_INT0
244 if (ret)
245 goto out_unmap1;
246
247 ret = sp_intc_irq_map(node, 1); // EXT_INT1
248 if (ret)
249 goto out_unmap1;
250
251 /* initial regs */
252 for (i = 0; i < SP_INTC_NR_GROUPS; i++) {
253 /* all mask */
254 writel_relaxed(0, REG_INTR_MASK + i * 4);
255 /* all edge */
256 writel_relaxed(~0, REG_INTR_TYPE + i * 4);
257 /* all high-active */
258 writel_relaxed(0, REG_INTR_POLARITY + i * 4);
259 /* all EXT_INT0 */
260 writel_relaxed(~0, REG_INTR_PRIORITY + i * 4);
261 /* all clear */
262 writel_relaxed(~0, REG_INTR_CLEAR + i * 4);
263 }
264
265 sp_intc.domain = irq_domain_add_linear(node, SP_INTC_NR_IRQS,
266 &sp_intc_dm_ops, &sp_intc);
267 if (!sp_intc.domain) {
268 ret = -ENOMEM;
269 goto out_unmap1;
270 }
271
272 raw_spin_lock_init(&sp_intc.lock);
273
274 return 0;
275
276 out_unmap1:
277 iounmap(sp_intc.g1);
278 out_unmap0:
279 iounmap(sp_intc.g0);
280
281 return ret;
282 }
283
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
next prev parent reply other threads:[~2021-12-03 18:04 UTC|newest]
Thread overview: 59+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-03 7:34 [PATCH v5 00/10] Add Sunplus SP7021 SoC Support Qin Jian
2021-12-03 7:34 ` Qin Jian
2021-12-03 7:34 ` [PATCH v5 01/10] dt-bindings: vendor-prefixes: Add Sunplus Qin Jian
2021-12-03 7:34 ` Qin Jian
2021-12-03 7:34 ` [PATCH v5 02/10] dt-bindings: arm: sunplus: Add bindings for Sunplus SP7021 SoC boards Qin Jian
2021-12-03 7:34 ` Qin Jian
2021-12-03 7:34 ` [PATCH v5 03/10] dt-bindings: reset: Add bindings for SP7021 reset driver Qin Jian
2021-12-03 7:34 ` Qin Jian
2021-12-03 7:34 ` [PATCH v5 04/10] reset: Add Sunplus " Qin Jian
2021-12-03 7:34 ` Qin Jian
2021-12-07 8:35 ` Philipp Zabel
2021-12-07 8:35 ` Philipp Zabel
2021-12-03 7:34 ` [PATCH v5 05/10] dt-bindings: clock: Add bindings for SP7021 clock driver Qin Jian
2021-12-03 7:34 ` Qin Jian
2021-12-16 6:43 ` Stephen Boyd
2021-12-16 6:43 ` Stephen Boyd
2021-12-03 7:34 ` [PATCH v5 06/10] clk: Add Sunplus " Qin Jian
2021-12-03 7:34 ` Qin Jian
2021-12-03 16:09 ` kernel test robot
2021-12-03 16:09 ` kernel test robot
2021-12-16 6:42 ` Stephen Boyd
2021-12-16 6:42 ` Stephen Boyd
2021-12-03 7:34 ` [PATCH v5 07/10] dt-bindings: interrupt-controller: Add bindings for SP7021 interrupt controller Qin Jian
2021-12-03 7:34 ` Qin Jian
2021-12-03 7:34 ` [PATCH v5 08/10] irqchip: Add Sunplus SP7021 interrupt controller driver Qin Jian
2021-12-03 7:34 ` Qin Jian
2021-12-03 17:41 ` kernel test robot
2021-12-03 17:41 ` kernel test robot
2021-12-03 17:41 ` kernel test robot
2021-12-03 17:41 ` kernel test robot
2021-12-03 17:41 ` kernel test robot
2021-12-03 18:01 ` kernel test robot [this message]
2021-12-03 18:01 ` kernel test robot
2021-12-07 9:02 ` Marc Zyngier
2021-12-07 9:02 ` Marc Zyngier
2021-12-08 7:15 ` qinjian[覃健]
2021-12-08 7:15 ` qinjian[覃健]
2021-12-08 7:45 ` Marc Zyngier
2021-12-08 7:45 ` Marc Zyngier
2021-12-08 9:28 ` qinjian[覃健]
2021-12-08 16:02 ` Marc Zyngier
2021-12-08 16:02 ` Marc Zyngier
2021-12-03 7:34 ` [PATCH v5 09/10] ARM: sunplus: Add initial support for Sunplus SP7021 SoC Qin Jian
2021-12-03 7:34 ` Qin Jian
2021-12-03 12:59 ` Arnd Bergmann
2021-12-03 12:59 ` Arnd Bergmann
2021-12-07 7:21 ` qinjian[覃健]
2021-12-07 7:21 ` qinjian[覃健]
2021-12-07 9:11 ` Arnd Bergmann
2021-12-07 9:11 ` Arnd Bergmann
2021-12-09 8:49 ` qinjian[覃健]
2021-12-09 9:58 ` Arnd Bergmann
2021-12-09 9:58 ` Arnd Bergmann
2021-12-09 10:12 ` Ard Biesheuvel
2021-12-09 10:12 ` Ard Biesheuvel
2021-12-03 7:34 ` [PATCH v5 10/10] ARM: sp7021_defconfig: Add Sunplus SP7021 defconfig Qin Jian
2021-12-03 7:34 ` Qin Jian
2021-12-03 12:49 ` Arnd Bergmann
2021-12-03 12:49 ` Arnd Bergmann
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=202112040151.mCwZofQd-lkp@intel.com \
--to=lkp@intel.com \
--cc=arnd@arndb.de \
--cc=broonie@kernel.org \
--cc=kbuild-all@lists.01.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux@armlinux.org.uk \
--cc=maz@kernel.org \
--cc=mturquette@baylibre.com \
--cc=p.zabel@pengutronix.de \
--cc=qinjian@cqplus1.com \
--cc=robh+dt@kernel.org \
--cc=sboyd@kernel.org \
--cc=tglx@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 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.