Re: [PATCH 5/5] firmware: google memconsole: Add ARM/ARM64 support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hi Thierry,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.11-rc3]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Thierry-Escande/firmware-google-memconsole/20170326-080828
config: ia64-allmodconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 6.2.0
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=ia64 

All errors (new ones prefixed by >>):

   drivers/firmware/google/gsmi.c: In function 'gsmi_exec.constprop':
>> drivers/firmware/google/gsmi.c:198:3: error: inconsistent operand constraints in an 'asm'
      asm volatile (
      ^~~
   drivers/firmware/google/gsmi.c:213:3: error: inconsistent operand constraints in an 'asm'
      asm volatile (
      ^~~
   drivers/firmware/google/gsmi.c:229:3: error: inconsistent operand constraints in an 'asm'
      asm volatile (
      ^~~

vim +/asm +198 drivers/firmware/google/gsmi.c

74c5b31c Mike Waychison 2011-04-29  182  	/*
74c5b31c Mike Waychison 2011-04-29  183  	 * AH  : Subfunction number
74c5b31c Mike Waychison 2011-04-29  184  	 * AL  : Function number
74c5b31c Mike Waychison 2011-04-29  185  	 * EBX : Parameter block address
74c5b31c Mike Waychison 2011-04-29  186  	 * DX  : SMI command port
74c5b31c Mike Waychison 2011-04-29  187  	 *
74c5b31c Mike Waychison 2011-04-29  188  	 * Three protocols here. See also the comment in gsmi_init().
74c5b31c Mike Waychison 2011-04-29  189  	 */
74c5b31c Mike Waychison 2011-04-29  190  	if (gsmi_dev.handshake_type == GSMI_HANDSHAKE_CF) {
74c5b31c Mike Waychison 2011-04-29  191  		/*
74c5b31c Mike Waychison 2011-04-29  192  		 * If handshake_type == HANDSHAKE_CF then set CF on the
74c5b31c Mike Waychison 2011-04-29  193  		 * way in and wait for the handler to clear it; this avoids
74c5b31c Mike Waychison 2011-04-29  194  		 * corrupting register state on those chipsets which have
74c5b31c Mike Waychison 2011-04-29  195  		 * a delay between writing the SMI trigger register and
74c5b31c Mike Waychison 2011-04-29  196  		 * entering SMM.
74c5b31c Mike Waychison 2011-04-29  197  		 */
74c5b31c Mike Waychison 2011-04-29 @198  		asm volatile (
74c5b31c Mike Waychison 2011-04-29  199  			"stc\n"
74c5b31c Mike Waychison 2011-04-29  200  			"outb %%al, %%dx\n"
74c5b31c Mike Waychison 2011-04-29  201  		"1:      jc 1b\n"
74c5b31c Mike Waychison 2011-04-29  202  			: "=a" (result)
74c5b31c Mike Waychison 2011-04-29  203  			: "0" (cmd),
74c5b31c Mike Waychison 2011-04-29  204  			  "d" (gsmi_dev.smi_cmd),
74c5b31c Mike Waychison 2011-04-29  205  			  "b" (gsmi_dev.param_buf->address)
74c5b31c Mike Waychison 2011-04-29  206  			: "memory", "cc"

:::::: The code at line 198 was first introduced by commit
:::::: 74c5b31c6618f01079212332b2e5f6c42f2d6307 driver: Google EFI SMI

:::::: TO: Mike Waychison <mikew@xxxxxxxxxx>
:::::: CC: Greg Kroah-Hartman <gregkh@xxxxxxx>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux