From: kbuild test robot <lkp@intel.com>
To: Waiman Long <longman@redhat.com>
Cc: kbuild-all@01.org, Peter Zijlstra <peterz@infradead.org>,
Ingo Molnar <mingo@redhat.com>,
linux-kernel@vger.kernel.org, Waiman Long <longman@redhat.com>
Subject: Re: [PATCH v2 1/3] locking/spinlock_debug: Reduce lockup suspected message clutter
Date: Thu, 2 Feb 2017 10:21:03 +0800 [thread overview]
Message-ID: <201702021008.JNlm7pki%fengguang.wu@intel.com> (raw)
In-Reply-To: <1485983620-11958-2-git-send-email-longman@redhat.com>
[-- Attachment #1: Type: text/plain, Size: 2893 bytes --]
Hi Waiman,
[auto build test ERROR on tip/locking/core]
[also build test ERROR on v4.10-rc6 next-20170201]
[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/Waiman-Long/locking-spinlock_debug-Change-it-to-a-mostly-fair-lock/20170202-052215
config: arm-omap2plus_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm
All errors (new ones prefixed by >>):
kernel/built-in.o: In function `do_raw_spin_lock':
>> arch/arm/include/asm/cmpxchg.h:109: undefined reference to `__bad_xchg'
>> kernel/built-in.o:(.debug_addr+0x28c6c): undefined reference to `__bad_xchg'
vim +109 arch/arm/include/asm/cmpxchg.h
9f97da78 David Howells 2012-03-28 93 asm volatile("@ __xchg1\n"
9f97da78 David Howells 2012-03-28 94 " swpb %0, %1, [%2]"
9f97da78 David Howells 2012-03-28 95 : "=&r" (ret)
9f97da78 David Howells 2012-03-28 96 : "r" (x), "r" (ptr)
9f97da78 David Howells 2012-03-28 97 : "memory", "cc");
9f97da78 David Howells 2012-03-28 98 break;
9f97da78 David Howells 2012-03-28 99 case 4:
9f97da78 David Howells 2012-03-28 100 asm volatile("@ __xchg4\n"
9f97da78 David Howells 2012-03-28 101 " swp %0, %1, [%2]"
9f97da78 David Howells 2012-03-28 102 : "=&r" (ret)
9f97da78 David Howells 2012-03-28 103 : "r" (x), "r" (ptr)
9f97da78 David Howells 2012-03-28 104 : "memory", "cc");
9f97da78 David Howells 2012-03-28 105 break;
9f97da78 David Howells 2012-03-28 106 #endif
9f97da78 David Howells 2012-03-28 107 default:
31cd08c3 Russell King 2015-05-19 108 /* Cause a link-time error, the xchg() size is not supported */
9f97da78 David Howells 2012-03-28 @109 __bad_xchg(ptr, size), ret = 0;
9f97da78 David Howells 2012-03-28 110 break;
9f97da78 David Howells 2012-03-28 111 }
9f97da78 David Howells 2012-03-28 112
9f97da78 David Howells 2012-03-28 113 return ret;
9f97da78 David Howells 2012-03-28 114 }
9f97da78 David Howells 2012-03-28 115
0ca326de Will Deacon 2015-08-06 116 #define xchg_relaxed(ptr, x) ({ \
e001bbae Russell King 2015-05-26 117 (__typeof__(*(ptr)))__xchg((unsigned long)(x), (ptr), \
:::::: The code at line 109 was first introduced by commit
:::::: 9f97da78bf018206fb623cd351d454af2f105fe0 Disintegrate asm/system.h for ARM
:::::: TO: David Howells <dhowells@redhat.com>
:::::: CC: David Howells <dhowells@redhat.com>
---
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: 28763 bytes --]
next prev parent reply other threads:[~2017-02-02 2:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-01 21:13 [PATCH v2 0/3] locking/spinlock_debug: Change it to a mostly fair lock Waiman Long
2017-02-01 21:13 ` [PATCH v2 1/3] locking/spinlock_debug: Reduce lockup suspected message clutter Waiman Long
2017-02-02 2:21 ` kbuild test robot [this message]
2017-02-01 21:13 ` [PATCH v2 2/3] locking/spinlock_debug: Reduce lock cacheline contention Waiman Long
2017-02-01 21:13 ` [PATCH v2 3/3] locking/spinlock: Disable GENERIC_LOCKBREAK when DEBUG_LOCK_ALLOC is on Waiman Long
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=201702021008.JNlm7pki%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=longman@redhat.com \
--cc=mingo@redhat.com \
--cc=peterz@infradead.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 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®