All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH v3 1/2] x86, powerpc: Rename memcpy_mcsafe() to copy_mc_to_{user, kernel}()
Date: Wed, 20 May 2020 12:37:40 +0800	[thread overview]
Message-ID: <202005201232.eWcDIhxN%lkp@intel.com> (raw)
In-Reply-To: <158992635697.403910.6957168747147028694.stgit@dwillia2-desk3.amr.corp.intel.com>

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

Hi Dan,

I love your patch! Yet something to improve:

[auto build test ERROR on bba413deb1065f1291cb1f366247513f11215520]

url:    https://github.com/0day-ci/linux/commits/Dan-Williams/Renovate-memcpy_mcsafe-with-copy_mc_to_-user-kernel/20200520-070334
base:    bba413deb1065f1291cb1f366247513f11215520
config: i386-allyesconfig (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

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

All errors (new ones prefixed by >>, old ones prefixed by <<):

arch/x86/kernel/quirks.c: In function 'quirk_intel_brickland_xeon_ras_cap':
>> arch/x86/kernel/quirks.c:635:3: error: implicit declaration of function 'enable_copy_mc_fragile' [-Werror=implicit-function-declaration]
enable_copy_mc_fragile();
^~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
--
arch/x86/kernel/cpu/mce/core.c: In function 'mcheck_late_init':
>> arch/x86/kernel/cpu/mce/core.c:2595:3: error: implicit declaration of function 'enable_copy_mc_fragile'; did you mean 'enable_p5_mce'? [-Werror=implicit-function-declaration]
enable_copy_mc_fragile();
^~~~~~~~~~~~~~~~~~~~~~
enable_p5_mce
cc1: some warnings being treated as errors

vim +/enable_copy_mc_fragile +635 arch/x86/kernel/quirks.c

   623	
   624	DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_16H_NB_F3,
   625				amd_disable_seq_and_redirect_scrub);
   626	
   627	/* Ivy Bridge, Haswell, Broadwell */
   628	static void quirk_intel_brickland_xeon_ras_cap(struct pci_dev *pdev)
   629	{
   630		u32 capid0;
   631	
   632		pci_read_config_dword(pdev, 0x84, &capid0);
   633	
   634		if (capid0 & 0x10)
 > 635			enable_copy_mc_fragile();
   636	}
   637	

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

WARNING: multiple messages have this Message-ID (diff)
From: kbuild test robot <lkp@intel.com>
To: Dan Williams <dan.j.williams@intel.com>,
	tglx@linutronix.de, mingo@redhat.com
Cc: kbuild-all@lists.01.org, x86@kernel.org, stable@vger.kernel.org,
	Borislav Petkov <bp@alien8.de>, Tony Luck <tony.luck@intel.com>,
	"H. Peter Anvin" <hpa@zytor.com>,
	Paul Mackerras <paulus@samba.org>,
	Peter Zijlstra <peterz@infradead.org>,
	Mikulas Patocka <mpatocka@redhat.com>,
	Michael Ellerman <mpe@ellerman.id.au>
Subject: Re: [PATCH v3 1/2] x86, powerpc: Rename memcpy_mcsafe() to copy_mc_to_{user, kernel}()
Date: Wed, 20 May 2020 12:37:40 +0800	[thread overview]
Message-ID: <202005201232.eWcDIhxN%lkp@intel.com> (raw)
In-Reply-To: <158992635697.403910.6957168747147028694.stgit@dwillia2-desk3.amr.corp.intel.com>

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

Hi Dan,

I love your patch! Yet something to improve:

[auto build test ERROR on bba413deb1065f1291cb1f366247513f11215520]

url:    https://github.com/0day-ci/linux/commits/Dan-Williams/Renovate-memcpy_mcsafe-with-copy_mc_to_-user-kernel/20200520-070334
base:    bba413deb1065f1291cb1f366247513f11215520
config: i386-allyesconfig (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

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

All errors (new ones prefixed by >>, old ones prefixed by <<):

arch/x86/kernel/quirks.c: In function 'quirk_intel_brickland_xeon_ras_cap':
>> arch/x86/kernel/quirks.c:635:3: error: implicit declaration of function 'enable_copy_mc_fragile' [-Werror=implicit-function-declaration]
enable_copy_mc_fragile();
^~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
--
arch/x86/kernel/cpu/mce/core.c: In function 'mcheck_late_init':
>> arch/x86/kernel/cpu/mce/core.c:2595:3: error: implicit declaration of function 'enable_copy_mc_fragile'; did you mean 'enable_p5_mce'? [-Werror=implicit-function-declaration]
enable_copy_mc_fragile();
^~~~~~~~~~~~~~~~~~~~~~
enable_p5_mce
cc1: some warnings being treated as errors

vim +/enable_copy_mc_fragile +635 arch/x86/kernel/quirks.c

   623	
   624	DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_16H_NB_F3,
   625				amd_disable_seq_and_redirect_scrub);
   626	
   627	/* Ivy Bridge, Haswell, Broadwell */
   628	static void quirk_intel_brickland_xeon_ras_cap(struct pci_dev *pdev)
   629	{
   630		u32 capid0;
   631	
   632		pci_read_config_dword(pdev, 0x84, &capid0);
   633	
   634		if (capid0 & 0x10)
 > 635			enable_copy_mc_fragile();
   636	}
   637	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

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

  reply	other threads:[~2020-05-20  4:37 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-19 22:12 [PATCH v3 0/2] Renovate memcpy_mcsafe with copy_mc_to_{user, kernel} Dan Williams
2020-05-19 22:12 ` Dan Williams
2020-05-19 22:12 ` [PATCH v3 1/2] x86, powerpc: Rename memcpy_mcsafe() to copy_mc_to_{user, kernel}() Dan Williams
2020-05-19 22:12   ` Dan Williams
2020-05-20  4:37   ` kbuild test robot [this message]
2020-05-20  4:37     ` kbuild test robot
2020-05-20  9:53   ` Michael Ellerman
2020-05-20  9:53     ` Michael Ellerman
2020-05-20 15:25     ` Dan Williams
2020-05-20 15:25       ` Dan Williams
2020-05-20 15:33       ` David Laight
2020-05-20 15:33         ` David Laight
2020-05-20 15:34         ` David Laight
2020-05-20 15:34           ` David Laight
2020-05-22  0:12   ` Sasha Levin
2020-05-19 22:12 ` [PATCH v3 2/2] x86/copy_mc: Introduce copy_mc_generic() Dan Williams
2020-05-19 22:12   ` Dan Williams
2020-05-20 19:13   ` Vivek Goyal
2020-05-20 19:13     ` Vivek Goyal
2020-05-20 21:57     ` Dan Williams
2020-05-20 21:57       ` Dan Williams
2020-05-22  0:12   ` Sasha Levin

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=202005201232.eWcDIhxN%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /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 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.