tree:
https://github.com/Freescale/linux-fslc 5.4-2.1.x-imx
head: bef3e06d83685406b847623947543314c7318b07
commit: 1b98a5088798abe3786a3c35f1f66115aef37883 [8723/16398] MLK-17290-01 irqchip:
imx-irqsteer: add runtime pm support
config: alpha-allyesconfig (attached as .config)
compiler: alpha-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/Freescale/linux-fslc/commit/1b98a5088798abe3786a3c35f1...
git remote add freescale-fslc
https://github.com/Freescale/linux-fslc
git fetch --no-tags freescale-fslc 5.4-2.1.x-imx
git checkout 1b98a5088798abe3786a3c35f1f66115aef37883
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=alpha
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
Note: the freescale-fslc/5.4-2.1.x-imx HEAD bef3e06d83685406b847623947543314c7318b07
builds fine.
It only hurts bisectibility.
All errors (new ones prefixed by >>):
drivers/irqchip/irq-imx-irqsteer.c: In function 'imx_irqsteer_chans_enable':
> drivers/irqchip/irq-imx-irqsteer.c:204:27: error:
'irqsteer_data' undeclared (first use in this function)
204 | ret =
clk_prepare_enable(irqsteer_data->ipg_clk);
| ^~~~~~~~~~~~~
drivers/irqchip/irq-imx-irqsteer.c:204:27: note: each undeclared identifier is reported
only once for each function it appears in
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for PCIE_MOBIVEIL_HOST
Depends on PCI && PCI_MSI_IRQ_DOMAIN
Selected by
- PCIE_MOBIVEIL_PLAT && PCI && (ARCH_ZYNQMP || COMPILE_TEST &&
OF
vim +/irqsteer_data +204 drivers/irqchip/irq-imx-irqsteer.c
193
194 #ifdef CONFIG_PM_SLEEP
195 static int imx_irqsteer_chans_enable(struct irqsteer_data *data)
196 {
197 return 0;
198 }
199 #else
200 static int imx_irqsteer_chans_enable(struct irqsteer_data *data)
201 {
202 int ret;
203
204 ret = clk_prepare_enable(irqsteer_data->ipg_clk);
205 if (ret) {
206 dev_err(data->dev, "failed to enable ipg clk: %d\n", ret);
207 return ret;
208 }
209
210 /* steer all IRQs into configured channel */
211 writel_relaxed(BIT(data->channel), data->regs + CHANCTRL);
212
213 /* read back CHANCTRL register cannot reflact on HW register
214 * real value due to the HW action, so add one flag here.
215 */
216 data->inited = true;
217 return 0;
218 }
219 #endif
220
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org