All of lore.kernel.org
 help / color / mirror / Atom feed
* [intel-linux-intel-lts:5.4/preempt-rt 7040/16573] arch/arm/mach-tegra/cpuidle-tegra20.c:206:29: error: 'struct cpuidle_state' has no member named 'disabled'
@ 2021-05-17  6:24 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-05-17  6:24 UTC (permalink / raw)
  To: kbuild-all

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

Hi Rafael,

FYI, the error/warning still remains.

tree:   https://github.com/intel/linux-intel-lts.git 5.4/preempt-rt
head:   00c7e2e1841e0ed3c1249c0e4bcacbd70435d62e
commit: 8bfaf7ab474ef5a95f5bd6a8724c4a9f8d0b9611 [7040/16573] 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 W=1 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-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 +206 arch/arm/mach-tegra/cpuidle-tegra20.c

5c1350bdfcebf4 Joseph Lo      2013-01-15  196  
b4f173752a5618 Stephen Warren 2013-05-06  197  /*
b4f173752a5618 Stephen Warren 2013-05-06  198   * Tegra20 HW appears to have a bug such that PCIe device interrupts, whether
b4f173752a5618 Stephen Warren 2013-05-06  199   * they are legacy IRQs or MSI, are lost when LP2 is enabled. To work around
b4f173752a5618 Stephen Warren 2013-05-06  200   * this, simply disable LP2 if the PCI driver and DT node are both enabled.
b4f173752a5618 Stephen Warren 2013-05-06  201   */
b4f173752a5618 Stephen Warren 2013-05-06  202  void tegra20_cpuidle_pcie_irqs_in_use(void)
b4f173752a5618 Stephen Warren 2013-05-06  203  {
b4f173752a5618 Stephen Warren 2013-05-06  204  	pr_info_once(
b4f173752a5618 Stephen Warren 2013-05-06  205  		"Disabling cpuidle LP2 state, since PCIe IRQs are in use\n");
b4f173752a5618 Stephen Warren 2013-05-06 @206  	tegra_idle_driver.states[1].disabled = true;
b4f173752a5618 Stephen Warren 2013-05-06  207  }
b4f173752a5618 Stephen Warren 2013-05-06  208  

:::::: The code at line 206 was first introduced by commit
:::::: b4f173752a56187bd55752b0474429202f2ab1d3 ARM: tegra: disable LP2 cpuidle state if PCIe is enabled

:::::: TO: Stephen Warren <swarren@nvidia.com>
:::::: CC: Stephen Warren <swarren@nvidia.com>

---
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-05-17  6:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-17  6:24 [intel-linux-intel-lts:5.4/preempt-rt 7040/16573] arch/arm/mach-tegra/cpuidle-tegra20.c:206:29: 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.