oe-kbuild-all.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH v5 2/3] i2c: designware: Use PCI PSP driver for communication
       [not found] <20230321212822.5714-3-mario.limonciello@amd.com>
@ 2023-03-22  3:26 ` kernel test robot
  2023-03-22  9:45   ` Andy Shevchenko
  0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2023-03-22  3:26 UTC (permalink / raw)
  To: Mario Limonciello, Mark Hasemeyer, Grzegorz Bernacki,
	Jarkko Nikula, Andy Shevchenko, Mika Westerberg, Jan Dabros
  Cc: oe-kbuild-all, Held Felix, Mario Limonciello, Tom Lendacky,
	linux-i2c, linux-kernel

Hi Mario,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on e6af5c0c4d32a27e04a56f29aad587e03ff427f1]

url:    https://github.com/intel-lab-lkp/linux/commits/Mario-Limonciello/crypto-ccp-Bump-up-doorbell-debug-messages-to-error/20230322-053048
base:   e6af5c0c4d32a27e04a56f29aad587e03ff427f1
patch link:    https://lore.kernel.org/r/20230321212822.5714-3-mario.limonciello%40amd.com
patch subject: [PATCH v5 2/3] i2c: designware: Use PCI PSP driver for communication
config: loongarch-allmodconfig (https://download.01.org/0day-ci/archive/20230322/202303221157.58L3rUhr-lkp@intel.com/config)
compiler: loongarch64-linux-gcc (GCC) 12.1.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-lab-lkp/linux/commit/0ddf14b7f34bfe410e49c800d855f4e0c59d6bef
        git remote add linux-review https://github.com/intel-lab-lkp/linux
        git fetch --no-tags linux-review Mario-Limonciello/crypto-ccp-Bump-up-doorbell-debug-messages-to-error/20230322-053048
        git checkout 0ddf14b7f34bfe410e49c800d855f4e0c59d6bef
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=loongarch olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=loongarch SHELL=/bin/bash drivers/i2c/busses/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202303221157.58L3rUhr-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/i2c/busses/i2c-designware-amdpsp.c:8:10: fatal error: asm/msr.h: No such file or directory
       8 | #include <asm/msr.h>
         |          ^~~~~~~~~~~
   compilation terminated.


vim +8 drivers/i2c/busses/i2c-designware-amdpsp.c

78d5e9e299e31b Jan Dabros 2022-02-08  7  
78d5e9e299e31b Jan Dabros 2022-02-08 @8  #include <asm/msr.h>
78d5e9e299e31b Jan Dabros 2022-02-08  9  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests

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

* Re: [PATCH v5 2/3] i2c: designware: Use PCI PSP driver for communication
  2023-03-22  3:26 ` [PATCH v5 2/3] i2c: designware: Use PCI PSP driver for communication kernel test robot
@ 2023-03-22  9:45   ` Andy Shevchenko
  2023-03-22 15:56     ` Mario Limonciello
  0 siblings, 1 reply; 3+ messages in thread
From: Andy Shevchenko @ 2023-03-22  9:45 UTC (permalink / raw)
  To: kernel test robot
  Cc: Mario Limonciello, Mark Hasemeyer, Grzegorz Bernacki,
	Jarkko Nikula, Mika Westerberg, Jan Dabros, oe-kbuild-all,
	Held Felix, Tom Lendacky, linux-i2c, linux-kernel

On Wed, Mar 22, 2023 at 11:26:01AM +0800, kernel test robot wrote:

...

> All errors (new ones prefixed by >>):
> 
> >> drivers/i2c/busses/i2c-designware-amdpsp.c:8:10: fatal error: asm/msr.h: No such file or directory
>        8 | #include <asm/msr.h>
>          |          ^~~~~~~~~~~
>    compilation terminated.

Should be under "#ifdef CONFIG_X86" (IIRC).

-- 
With Best Regards,
Andy Shevchenko



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

* Re: [PATCH v5 2/3] i2c: designware: Use PCI PSP driver for communication
  2023-03-22  9:45   ` Andy Shevchenko
@ 2023-03-22 15:56     ` Mario Limonciello
  0 siblings, 0 replies; 3+ messages in thread
From: Mario Limonciello @ 2023-03-22 15:56 UTC (permalink / raw)
  To: Andy Shevchenko, kernel test robot
  Cc: Mark Hasemeyer, Grzegorz Bernacki, Jarkko Nikula,
	Mika Westerberg, Jan Dabros, oe-kbuild-all, Held Felix,
	Tom Lendacky, linux-i2c, linux-kernel


On 3/22/23 04:45, Andy Shevchenko wrote:
> On Wed, Mar 22, 2023 at 11:26:01AM +0800, kernel test robot wrote:
>
> ...
>
>> All errors (new ones prefixed by >>):
>>
>>>> drivers/i2c/busses/i2c-designware-amdpsp.c:8:10: fatal error: asm/msr.h: No such file or directory
>>         8 | #include <asm/msr.h>
>>           |          ^~~~~~~~~~~
>>     compilation terminated.
> Should be under "#ifdef CONFIG_X86" (IIRC).
>
Actually the header isn't needed anymore with these changes.

I'll drop it in the next version of the series once I have some updated 
results from Grzegorz and Jan.


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

end of thread, other threads:[~2023-03-22 15:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20230321212822.5714-3-mario.limonciello@amd.com>
2023-03-22  3:26 ` [PATCH v5 2/3] i2c: designware: Use PCI PSP driver for communication kernel test robot
2023-03-22  9:45   ` Andy Shevchenko
2023-03-22 15:56     ` Mario Limonciello

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).