* [avpatel:riscv_aia_v1 13/15] drivers/irqchip/irq-riscv-aplic.c:333:17: error: 'struct aplic_priv' has no member named 'msicfg'; did you mean 'msicfgs'?
@ 2021-06-06 12:31 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-06-06 12:31 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2988 bytes --]
tree: https://github.com/avpatel/linux.git riscv_aia_v1
head: af0d3c27d96c404003d3b69c398711240cf7afb2
commit: 443c1d2cae6a27e43bf8cdb346613551ee74240a [13/15] irqchip: Add RISC-V advanced platform-level interrupt controller driver
config: riscv-nommu_virt_defconfig (attached as .config)
compiler: riscv64-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/avpatel/linux/commit/443c1d2cae6a27e43bf8cdb346613551ee74240a
git remote add avpatel https://github.com/avpatel/linux.git
git fetch --no-tags avpatel riscv_aia_v1
git checkout 443c1d2cae6a27e43bf8cdb346613551ee74240a
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscv
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-riscv-aplic.c: In function 'aplic_init_hw_global':
>> drivers/irqchip/irq-riscv-aplic.c:333:17: error: 'struct aplic_priv' has no member named 'msicfg'; did you mean 'msicfgs'?
333 | bappn = priv->msicfg.base >> APLIC_xMSICFGADDR_PPN_SHIFT;
| ^~~~~~
| msicfgs
drivers/irqchip/irq-riscv-aplic.c:336:17: error: 'struct aplic_priv' has no member named 'msicfg'; did you mean 'msicfgs'?
336 | val |= (priv->msicfg.hxs & APLIC_xMSICFGADDR_HXS_MASK)
| ^~~~~~
| msicfgs
vim +333 drivers/irqchip/irq-riscv-aplic.c
324
325 static void aplic_init_hw_global(struct aplic_priv *priv)
326 {
327 u32 val;
328 #ifdef CONFIG_RISCV_M_MODE
329 u32 valH;
330 phys_addr_t bappn;
331
332 if (!priv->nr_idcs) {
> 333 bappn = priv->msicfg.base >> APLIC_xMSICFGADDR_PPN_SHIFT;
334 val = (bappn & APLIC_xMSICFGADDR_BAPPN_MASK)
335 << APLIC_xMSICFGADDR_BAPPN_SHIFT;
336 val |= (priv->msicfg.hxs & APLIC_xMSICFGADDR_HXS_MASK)
337 << APLIC_xMSICFGADDR_HXS_SHIFT;
338 valH = bappn >> APLIC_xMSICFGADDR_BAPPN_BITS;
339 writel(val, priv->regs + APLIC_xMSICFGADDR);
340 writel(valH, priv->regs + APLIC_xMSICFGADDRH);
341 }
342 #endif
343
344 /* Setup APLIC domaincfg register */
345 val = readl(priv->regs + APLIC_DOMAINCFG);
346 val |= APLIC_DOMAINCFG_IE;
347 if (!priv->nr_idcs)
348 val |= APLIC_DOMAINCFG_DM;
349 writel(val, priv->regs + APLIC_DOMAINCFG);
350 if (readl(priv->regs + APLIC_DOMAINCFG) != val)
351 dev_warn(priv->dev,
352 "unable to write 0x%x in domaincfg\n", val);
353 }
354
---
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: 7396 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-06-06 12:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-06 12:31 [avpatel:riscv_aia_v1 13/15] drivers/irqchip/irq-riscv-aplic.c:333:17: error: 'struct aplic_priv' has no member named 'msicfg'; did you mean 'msicfgs'? kernel test robot
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.