All of lore.kernel.org
 help / color / mirror / Atom feed
* [intel-linux-intel-lts:5.4/preempt-rt 7040/14951] arch/arm/mach-imx/cpuidle-imx6q.c:65:32: error: 'struct cpuidle_state' has no member named 'disabled'
@ 2021-02-15 18:22 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-02-15 18:22 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 3464 bytes --]

tree:   https://github.com/intel/linux-intel-lts.git 5.4/preempt-rt
head:   6d57e4c1caf4b50e55d27251a39312fec10cd870
commit: 8bfaf7ab474ef5a95f5bd6a8724c4a9f8d0b9611 [7040/14951] 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/8bfaf7ab474ef5a95f5bd6a8724c4a9f8d0b9611
        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/preempt-rt
        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@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;
         |                                ^
--
   arch/arm/mach-tegra/cpuidle-tegra20.c: In function 'tegra20_cpuidle_pcie_irqs_in_use':
>> arch/arm/mach-tegra/cpuidle-tegra20.c:206:29: error: 'struct cpuidle_state' has no member named 'disabled'
     206 |  tegra_idle_driver.states[1].disabled = true;
         |                             ^


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@pengutronix.de>
:::::: CC: Shawn Guo <shawnguo@kernel.org>

---
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: 48650 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-02-15 18:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-15 18:22 [intel-linux-intel-lts:5.4/preempt-rt 7040/14951] arch/arm/mach-imx/cpuidle-imx6q.c:65:32: error: 'struct cpuidle_state' has no member named 'disabled' 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.