mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Thierry Escande <thierry.escande@collabora.com>
Cc: kbuild-all@01.org, Rob Herring <robh@kernel.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Olof Johansson <olof@lixom.net>,
	Stephen Warren <swarren@nvidia.com>,
	linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
	Julius Werner <jwerner@chromium.org>,
	Brian Norris <briannorris@chromium.org>
Subject: Re: [PATCH 5/5] firmware: google memconsole: Add ARM/ARM64 support
Date: Sun, 26 Mar 2017 09:41:17 +0800	[thread overview]
Message-ID: <201703260936.VB0xXnwH%fengguang.wu@intel.com> (raw)
In-Reply-To: <1490303069-13230-6-git-send-email-thierry.escande@collabora.com>

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

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@google.com>
:::::: CC: Greg Kroah-Hartman <gregkh@suse.de>

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 46805 bytes --]

  parent reply	other threads:[~2017-03-26  1:42 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-23 21:04 [PATCH 0/5] firmware: google memconsole Thierry Escande
2017-03-23 21:04 ` [PATCH 1/5] firmware: google memconsole: Remove useless submenu in Kconfig Thierry Escande
2017-03-23 21:04 ` [PATCH 2/5] firmware: google memconsole: Move specific EBDA parts Thierry Escande
2017-03-23 21:04 ` [PATCH 3/5] firmware: google memconsole: Add coreboot support Thierry Escande
2017-03-23 21:04 ` [PATCH 4/5] firmware: Add coreboot device tree binding documentation Thierry Escande
2017-03-24 12:21   ` Mark Rutland
2017-03-24 17:57     ` Brian Norris
     [not found]       ` <CAODwPW94vsaWF8+DrLduWhHpbBvdvynbDocXCv2ekZH178BHjQ@mail.gmail.com>
2017-03-24 19:33         ` Julius Werner
2017-03-23 21:04 ` [PATCH 5/5] firmware: google memconsole: Add ARM/ARM64 support Thierry Escande
2017-03-24 12:28   ` Mark Rutland
2017-03-24 18:00     ` Brian Norris
2017-03-24 19:50     ` Julius Werner
2017-03-26  1:41   ` kbuild test robot [this message]
2017-03-27 16:56   ` Brian Norris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201703260936.VB0xXnwH%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=briannorris@chromium.org \
    --cc=devicetree@vger.kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=jwerner@chromium.org \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=olof@lixom.net \
    --cc=robh@kernel.org \
    --cc=swarren@nvidia.com \
    --cc=thierry.escande@collabora.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®