Hi Rafael,
FYI, the error/warning still remains.
tree:
https://github.com/intel/linux-intel-lts.git 5.4/yocto
head: 575024715a7d6dfa738e5db135e10928a32bbd54
commit: 8bfaf7ab474ef5a95f5bd6a8724c4a9f8d0b9611 [6697/15287] cpuidle: Drop disabled field
from struct cpuidle_state
config: arm-defconfig (attached as .config)
compiler: arm-linux-gnueabi-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/intel/linux-intel-lts/commit/8bfaf7ab474ef5a95f5bd6a87...
git remote add intel-linux-intel-lts
https://github.com/intel/linux-intel-lts.git
git fetch --no-tags intel-linux-intel-lts 5.4/yocto
git checkout 8bfaf7ab474ef5a95f5bd6a8724c4a9f8d0b9611
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
arch/arm/mach-imx/cpuidle-imx6q.c: In function 'imx6q_cpuidle_fec_irqs_used':
> arch/arm/mach-imx/cpuidle-imx6q.c:65:32: error: 'struct
cpuidle_state' has no member named 'disabled'
65 |
imx6q_cpuidle_driver.states[1].disabled = true;
| ^
arch/arm/mach-imx/cpuidle-imx6q.c: In function
'imx6q_cpuidle_fec_irqs_unused':
arch/arm/mach-imx/cpuidle-imx6q.c:71:32: error: 'struct cpuidle_state' has no
member named 'disabled'
71 | imx6q_cpuidle_driver.states[1].disabled = false;
| ^
vim +65 arch/arm/mach-imx/cpuidle-imx6q.c
12bb344074cfc5 Shawn Guo 2012-12-04 56
29380905565655 Lucas Stach 2016-06-03 57 /*
29380905565655 Lucas Stach 2016-06-03 58 * i.MX6 Q/DL has an erratum (ERR006687) that
prevents the FEC from waking the
29380905565655 Lucas Stach 2016-06-03 59 * CPUs when they are in wait(unclocked) state.
As the hardware workaround isn't
29380905565655 Lucas Stach 2016-06-03 60 * applicable to all boards, disable the deeper
idle state when the workaround
29380905565655 Lucas Stach 2016-06-03 61 * isn't present and the FEC is in use.
29380905565655 Lucas Stach 2016-06-03 62 */
29380905565655 Lucas Stach 2016-06-03 63 void imx6q_cpuidle_fec_irqs_used(void)
29380905565655 Lucas Stach 2016-06-03 64 {
29380905565655 Lucas Stach 2016-06-03 @65 imx6q_cpuidle_driver.states[1].disabled =
true;
29380905565655 Lucas Stach 2016-06-03 66 }
2cb9caa4397405 Shawn Guo 2016-06-21 67
EXPORT_SYMBOL_GPL(imx6q_cpuidle_fec_irqs_used);
29380905565655 Lucas Stach 2016-06-03 68
:::::: The code at line 65 was first introduced by commit
:::::: 29380905565655bb797bf670a173bddb8e641da6 ARM: imx6: disable deeper idle states when
FEC is active w/o HW workaround
:::::: TO: Lucas Stach <l.stach(a)pengutronix.de>
:::::: CC: Shawn Guo <shawnguo(a)kernel.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org