From: kbuild test robot <lkp@intel.com>
To: Thomas Bogendoerfer <tbogendoerfer@suse.de>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
"Paul Burton" <paul.burton@mips.com>,
"Philippe Mathieu-Daudé" <f4bug@amsat.org>
Subject: arch/mips/include/asm/mips-cm.h:165: undefined reference to `mips_gcr_base'
Date: Sat, 14 Dec 2019 15:01:11 +0800 [thread overview]
Message-ID: <201912141400.UkzmtOrE%lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2009 bytes --]
Hi Thomas,
It's probably a bug fix that unveils the link errors.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 37d4e84f765bb3038ddfeebdc5d1cfd7e1ef688f
commit: 46f1619500d022501a4f0389f9f4c349ab46bb86 MIPS: include: Mark __xchg as __always_inline
date: 9 weeks ago
config: mips-randconfig-a001-20191213 (attached as .config)
compiler: mips64el-linux-gcc (GCC) 7.4.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 46f1619500d022501a4f0389f9f4c349ab46bb86
# save the attached .config to linux build tree
GCC_VERSION=7.4.0 make.cross ARCH=mips
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
arch/mips/kernel/traps.o: In function `addr_gcr_err_control':
>> arch/mips/include/asm/mips-cm.h:165: undefined reference to `mips_gcr_base'
>> arch/mips/include/asm/mips-cm.h:165: undefined reference to `mips_gcr_base'
vim +165 arch/mips/include/asm/mips-cm.h
93c5bba575cedb Paul Burton 2017-08-12 163
93c5bba575cedb Paul Burton 2017-08-12 164 /* GCR_ERR_CONTROL - Control error checking logic */
b025d51873d5fe Paul Burton 2017-08-12 @165 GCR_ACCESSOR_RW(32, 0x038, err_control)
93c5bba575cedb Paul Burton 2017-08-12 166 #define CM_GCR_ERR_CONTROL_L2_ECC_EN BIT(1)
93c5bba575cedb Paul Burton 2017-08-12 167 #define CM_GCR_ERR_CONTROL_L2_ECC_SUPPORT BIT(0)
93c5bba575cedb Paul Burton 2017-08-12 168
:::::: The code at line 165 was first introduced by commit
:::::: b025d51873d5fe6f05f8e94174282cb00ef1f489 MIPS: CM: Specify register size when generating accessors
:::::: TO: Paul Burton <paul.burton@imgtec.com>
:::::: CC: Ralf Baechle <ralf@linux-mips.org>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 34992 bytes --]
reply other threads:[~2019-12-14 7:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=201912141400.UkzmtOrE%lkp@intel.com \
--to=lkp@intel.com \
--cc=f4bug@amsat.org \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=paul.burton@mips.com \
--cc=tbogendoerfer@suse.de \
/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®