All of lore.kernel.org
 help / color / mirror / Atom feed
* [intel-linux-intel-lts:5.4/yocto 1/1] drivers/spi/spi-dw-pci.c:155:5: sparse: sparse: undefined preprocessor identifier 'CONFIG_PM'
@ 2021-06-11 13:57 kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2021-06-11 13:57 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://github.com/intel/linux-intel-lts.git 5.4/yocto
head:   2e228f3df9479e9e061cc7e0b7aba0c071ea22bf
commit: 2e228f3df9479e9e061cc7e0b7aba0c071ea22bf [1/1] REVERT-ME: Temporary Enable D0i3 flow for PSE IOs
config: microblaze-randconfig-s031-20210611 (attached as .config)
compiler: microblaze-linux-gcc (GCC) 9.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.3-341-g8af24329-dirty
        # https://github.com/intel/linux-intel-lts/commit/2e228f3df9479e9e061cc7e0b7aba0c071ea22bf
        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 2e228f3df9479e9e061cc7e0b7aba0c071ea22bf
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' W=1 ARCH=microblaze 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


sparse warnings: (new ones prefixed by >>)
>> drivers/spi/spi-dw-pci.c:155:5: sparse: sparse: undefined preprocessor identifier 'CONFIG_PM'

vim +/CONFIG_PM +155 drivers/spi/spi-dw-pci.c

   154	
 > 155	#if CONFIG_PM
   156	static int dw_spi_runtime_suspend(struct device *dev)
   157	{
   158		struct dw_spi *dws = dev_get_drvdata(dev);
   159		unsigned long j0, j1, delay;
   160		u32 d0i3c_reg;
   161		u32 cgsr_reg;
   162	
   163		delay = msecs_to_jiffies(100);
   164		j0 = jiffies;
   165		j1 = j0 + delay;
   166	
   167	
   168		cgsr_reg = dw_readl(dws, PSE_SPI_CGSR);
   169		dw_writel(dws, PSE_SPI_CGSR, PSE_SPI_D0I3_RR);
   170	
   171		d0i3c_reg = dw_readl(dws, PSE_SPI_D0I3C);
   172	
   173		if (d0i3c_reg & PSE_SPI_D0I3_CIP) {
   174			dev_info(dev, "%s d0i3c CIP detected", __func__);
   175		} else {
   176			dw_writel(dws, PSE_SPI_D0I3C, PSE_SPI_D0I3_EN);
   177			d0i3c_reg = dw_readl(dws, PSE_SPI_D0I3C);
   178		}
   179	
   180		while (time_before(jiffies, j1)) {
   181			d0i3c_reg = dw_readl(dws, PSE_SPI_D0I3C);
   182			if (!(d0i3c_reg & PSE_SPI_D0I3_CIP))
   183				break;
   184		}
   185	
   186		if (d0i3c_reg & PSE_SPI_D0I3_CIP)
   187			dev_info(dev, "%s: timeout waiting CIP to be cleared",
   188									__func__);
   189	
   190		return 0;
   191	}
   192	

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [intel-linux-intel-lts:5.4/yocto 1/1] drivers/spi/spi-dw-pci.c:155:5: sparse: sparse: undefined preprocessor identifier 'CONFIG_PM'
@ 2021-07-06 14:11 kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2021-07-06 14:11 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://github.com/intel/linux-intel-lts.git 5.4/yocto
head:   2e228f3df9479e9e061cc7e0b7aba0c071ea22bf
commit: 2e228f3df9479e9e061cc7e0b7aba0c071ea22bf [1/1] REVERT-ME: Temporary Enable D0i3 flow for PSE IOs
config: sparc-randconfig-s031-20210706 (attached as .config)
compiler: sparc-linux-gcc (GCC) 9.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.3-341-g8af24329-dirty
        # https://github.com/intel/linux-intel-lts/commit/2e228f3df9479e9e061cc7e0b7aba0c071ea22bf
        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 2e228f3df9479e9e061cc7e0b7aba0c071ea22bf
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=sparc SHELL=/bin/bash drivers/spi/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


sparse warnings: (new ones prefixed by >>)
>> drivers/spi/spi-dw-pci.c:155:5: sparse: sparse: undefined preprocessor identifier 'CONFIG_PM'

vim +/CONFIG_PM +155 drivers/spi/spi-dw-pci.c

   154	
 > 155	#if CONFIG_PM
   156	static int dw_spi_runtime_suspend(struct device *dev)
   157	{
   158		struct dw_spi *dws = dev_get_drvdata(dev);
   159		unsigned long j0, j1, delay;
   160		u32 d0i3c_reg;
   161		u32 cgsr_reg;
   162	
   163		delay = msecs_to_jiffies(100);
   164		j0 = jiffies;
   165		j1 = j0 + delay;
   166	
   167	
   168		cgsr_reg = dw_readl(dws, PSE_SPI_CGSR);
   169		dw_writel(dws, PSE_SPI_CGSR, PSE_SPI_D0I3_RR);
   170	
   171		d0i3c_reg = dw_readl(dws, PSE_SPI_D0I3C);
   172	
   173		if (d0i3c_reg & PSE_SPI_D0I3_CIP) {
   174			dev_info(dev, "%s d0i3c CIP detected", __func__);
   175		} else {
   176			dw_writel(dws, PSE_SPI_D0I3C, PSE_SPI_D0I3_EN);
   177			d0i3c_reg = dw_readl(dws, PSE_SPI_D0I3C);
   178		}
   179	
   180		while (time_before(jiffies, j1)) {
   181			d0i3c_reg = dw_readl(dws, PSE_SPI_D0I3C);
   182			if (!(d0i3c_reg & PSE_SPI_D0I3_CIP))
   183				break;
   184		}
   185	
   186		if (d0i3c_reg & PSE_SPI_D0I3_CIP)
   187			dev_info(dev, "%s: timeout waiting CIP to be cleared",
   188									__func__);
   189	
   190		return 0;
   191	}
   192	

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [intel-linux-intel-lts:5.4/yocto 1/1] drivers/spi/spi-dw-pci.c:155:5: sparse: sparse: undefined preprocessor identifier 'CONFIG_PM'
@ 2021-03-19 11:56 kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2021-03-19 11:56 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://github.com/intel/linux-intel-lts.git 5.4/yocto
head:   2e228f3df9479e9e061cc7e0b7aba0c071ea22bf
commit: 2e228f3df9479e9e061cc7e0b7aba0c071ea22bf [1/1] REVERT-ME: Temporary Enable D0i3 flow for PSE IOs
config: powerpc64-randconfig-s032-20210318 (attached as .config)
compiler: powerpc64-linux-gcc (GCC) 9.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.3-277-gc089cd2d-dirty
        # https://github.com/intel/linux-intel-lts/commit/2e228f3df9479e9e061cc7e0b7aba0c071ea22bf
        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 2e228f3df9479e9e061cc7e0b7aba0c071ea22bf
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=powerpc64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


sparse warnings: (new ones prefixed by >>)
>> drivers/spi/spi-dw-pci.c:155:5: sparse: sparse: undefined preprocessor identifier 'CONFIG_PM'

vim +/CONFIG_PM +155 drivers/spi/spi-dw-pci.c

   154	
 > 155	#if CONFIG_PM
   156	static int dw_spi_runtime_suspend(struct device *dev)
   157	{
   158		struct dw_spi *dws = dev_get_drvdata(dev);
   159		unsigned long j0, j1, delay;
   160		u32 d0i3c_reg;
   161		u32 cgsr_reg;
   162	
   163		delay = msecs_to_jiffies(100);
   164		j0 = jiffies;
   165		j1 = j0 + delay;
   166	
   167	
   168		cgsr_reg = dw_readl(dws, PSE_SPI_CGSR);
   169		dw_writel(dws, PSE_SPI_CGSR, PSE_SPI_D0I3_RR);
   170	
   171		d0i3c_reg = dw_readl(dws, PSE_SPI_D0I3C);
   172	
   173		if (d0i3c_reg & PSE_SPI_D0I3_CIP) {
   174			dev_info(dev, "%s d0i3c CIP detected", __func__);
   175		} else {
   176			dw_writel(dws, PSE_SPI_D0I3C, PSE_SPI_D0I3_EN);
   177			d0i3c_reg = dw_readl(dws, PSE_SPI_D0I3C);
   178		}
   179	
   180		while (time_before(jiffies, j1)) {
   181			d0i3c_reg = dw_readl(dws, PSE_SPI_D0I3C);
   182			if (!(d0i3c_reg & PSE_SPI_D0I3_CIP))
   183				break;
   184		}
   185	
   186		if (d0i3c_reg & PSE_SPI_D0I3_CIP)
   187			dev_info(dev, "%s: timeout waiting CIP to be cleared",
   188									__func__);
   189	
   190		return 0;
   191	}
   192	

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [intel-linux-intel-lts:5.4/yocto 1/1] drivers/spi/spi-dw-pci.c:155:5: sparse: sparse: undefined preprocessor identifier 'CONFIG_PM'
@ 2021-01-15 12:10 kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2021-01-15 12:10 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://github.com/intel/linux-intel-lts.git 5.4/yocto
head:   2e228f3df9479e9e061cc7e0b7aba0c071ea22bf
commit: 2e228f3df9479e9e061cc7e0b7aba0c071ea22bf [1/1] REVERT-ME: Temporary Enable D0i3 flow for PSE IOs
config: parisc-randconfig-s031-20210115 (attached as .config)
compiler: hppa-linux-gcc (GCC) 9.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.3-208-g46a52ca4-dirty
        # https://github.com/intel/linux-intel-lts/commit/2e228f3df9479e9e061cc7e0b7aba0c071ea22bf
        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 2e228f3df9479e9e061cc7e0b7aba0c071ea22bf
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=parisc 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


"sparse warnings: (new ones prefixed by >>)"
>> drivers/spi/spi-dw-pci.c:155:5: sparse: sparse: undefined preprocessor identifier 'CONFIG_PM'

vim +/CONFIG_PM +155 drivers/spi/spi-dw-pci.c

   154	
 > 155	#if CONFIG_PM
   156	static int dw_spi_runtime_suspend(struct device *dev)
   157	{
   158		struct dw_spi *dws = dev_get_drvdata(dev);
   159		unsigned long j0, j1, delay;
   160		u32 d0i3c_reg;
   161		u32 cgsr_reg;
   162	
   163		delay = msecs_to_jiffies(100);
   164		j0 = jiffies;
   165		j1 = j0 + delay;
   166	
   167	
   168		cgsr_reg = dw_readl(dws, PSE_SPI_CGSR);
   169		dw_writel(dws, PSE_SPI_CGSR, PSE_SPI_D0I3_RR);
   170	
   171		d0i3c_reg = dw_readl(dws, PSE_SPI_D0I3C);
   172	
   173		if (d0i3c_reg & PSE_SPI_D0I3_CIP) {
   174			dev_info(dev, "%s d0i3c CIP detected", __func__);
   175		} else {
   176			dw_writel(dws, PSE_SPI_D0I3C, PSE_SPI_D0I3_EN);
   177			d0i3c_reg = dw_readl(dws, PSE_SPI_D0I3C);
   178		}
   179	
   180		while (time_before(jiffies, j1)) {
   181			d0i3c_reg = dw_readl(dws, PSE_SPI_D0I3C);
   182			if (!(d0i3c_reg & PSE_SPI_D0I3_CIP))
   183				break;
   184		}
   185	
   186		if (d0i3c_reg & PSE_SPI_D0I3_CIP)
   187			dev_info(dev, "%s: timeout waiting CIP to be cleared",
   188									__func__);
   189	
   190		return 0;
   191	}
   192	

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-07-06 14:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-11 13:57 [intel-linux-intel-lts:5.4/yocto 1/1] drivers/spi/spi-dw-pci.c:155:5: sparse: sparse: undefined preprocessor identifier 'CONFIG_PM' kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2021-07-06 14:11 kernel test robot
2021-03-19 11:56 kernel test robot
2021-01-15 12:10 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.