From: kbuild test robot <lkp@intel.com>
To: Christophe Leroy <christophe.leroy@c-s.fr>
Cc: kbuild-all@01.org,
Benjamin Herrenschmidt <benh@kernel.crashing.org>,
Paul Mackerras <paulus@samba.org>,
Michael Ellerman <mpe@ellerman.id.au>,
Scott Wood <oss@buserror.net>,
linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org
Subject: Re: [PATCH v7] powerpc32: provide VIRT_CPU_ACCOUNTING
Date: Wed, 24 Feb 2016 02:38:51 +0800 [thread overview]
Message-ID: <201602240229.rczorCJa%fengguang.wu@intel.com> (raw)
In-Reply-To: <20160223165943.050941A2400@localhost.localdomain>
[-- Attachment #1: Type: text/plain, Size: 12256 bytes --]
Hi Christophe,
[auto build test ERROR on powerpc/next]
[also build test ERROR on v4.5-rc5 next-20160223]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]
url: https://github.com/0day-ci/linux/commits/Christophe-Leroy/powerpc32-provide-VIRT_CPU_ACCOUNTING/20160224-010322
base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
config: powerpc-defconfig (attached as .config)
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=powerpc
All errors (new ones prefixed by >>):
arch/powerpc/kernel/time.c: In function 'accumulate_stolen_time':
>> arch/powerpc/kernel/time.c:274:6: error: 'struct cpu_accounting_data' has no member named 'stolen_time'
acct->stolen_time += ust + sst;
^
arch/powerpc/kernel/time.c: In function 'calculate_stolen_time':
arch/powerpc/kernel/time.c:289:16: error: 'struct cpu_accounting_data' has no member named 'stolen_time'
stolen += acct->stolen_time;
^
arch/powerpc/kernel/time.c:290:6: error: 'struct cpu_accounting_data' has no member named 'stolen_time'
acct->stolen_time = 0;
^
--
arch/powerpc/xmon/xmon.c: In function 'dump_one_paca':
>> arch/powerpc/xmon/xmon.c:2130:63: error: 'struct paca_struct' has no member named 'user_time'
printf(" %-*s = %#-*"format"\t(0x%lx)\n", 20, #name, 18, paca->name, \
^
arch/powerpc/xmon/xmon.c:2200:2: note: in expansion of macro 'DUMP'
DUMP(p, user_time, "llx");
^
In file included from include/linux/compiler.h:56:0,
from include/uapi/linux/stddef.h:1,
from include/linux/stddef.h:4,
from include/uapi/linux/posix_types.h:4,
from include/uapi/linux/types.h:13,
from include/linux/types.h:5,
from include/uapi/linux/capability.h:16,
from include/linux/capability.h:15,
from include/linux/sched.h:15,
from arch/powerpc/xmon/xmon.c:14:
include/linux/compiler-gcc.h:158:2: error: 'struct paca_struct' has no member named 'user_time'
__builtin_offsetof(a, b)
^
include/linux/stddef.h:16:32: note: in expansion of macro '__compiler_offsetof'
#define offsetof(TYPE, MEMBER) __compiler_offsetof(TYPE, MEMBER)
^
arch/powerpc/xmon/xmon.c:2131:3: note: in expansion of macro 'offsetof'
offsetof(struct paca_struct, name));
^
arch/powerpc/xmon/xmon.c:2200:2: note: in expansion of macro 'DUMP'
DUMP(p, user_time, "llx");
^
>> arch/powerpc/xmon/xmon.c:2130:63: error: 'struct paca_struct' has no member named 'system_time'
printf(" %-*s = %#-*"format"\t(0x%lx)\n", 20, #name, 18, paca->name, \
^
arch/powerpc/xmon/xmon.c:2201:2: note: in expansion of macro 'DUMP'
DUMP(p, system_time, "llx");
^
In file included from include/linux/compiler.h:56:0,
from include/uapi/linux/stddef.h:1,
from include/linux/stddef.h:4,
from include/uapi/linux/posix_types.h:4,
from include/uapi/linux/types.h:13,
from include/linux/types.h:5,
from include/uapi/linux/capability.h:16,
from include/linux/capability.h:15,
from include/linux/sched.h:15,
from arch/powerpc/xmon/xmon.c:14:
include/linux/compiler-gcc.h:158:2: error: 'struct paca_struct' has no member named 'system_time'
__builtin_offsetof(a, b)
^
include/linux/stddef.h:16:32: note: in expansion of macro '__compiler_offsetof'
#define offsetof(TYPE, MEMBER) __compiler_offsetof(TYPE, MEMBER)
^
arch/powerpc/xmon/xmon.c:2131:3: note: in expansion of macro 'offsetof'
offsetof(struct paca_struct, name));
^
arch/powerpc/xmon/xmon.c:2201:2: note: in expansion of macro 'DUMP'
DUMP(p, system_time, "llx");
^
>> arch/powerpc/xmon/xmon.c:2130:63: error: 'struct paca_struct' has no member named 'user_time_scaled'
printf(" %-*s = %#-*"format"\t(0x%lx)\n", 20, #name, 18, paca->name, \
^
arch/powerpc/xmon/xmon.c:2202:2: note: in expansion of macro 'DUMP'
DUMP(p, user_time_scaled, "llx");
^
In file included from include/linux/compiler.h:56:0,
from include/uapi/linux/stddef.h:1,
from include/linux/stddef.h:4,
from include/uapi/linux/posix_types.h:4,
from include/uapi/linux/types.h:13,
from include/linux/types.h:5,
from include/uapi/linux/capability.h:16,
from include/linux/capability.h:15,
from include/linux/sched.h:15,
from arch/powerpc/xmon/xmon.c:14:
include/linux/compiler-gcc.h:158:2: error: 'struct paca_struct' has no member named 'user_time_scaled'
__builtin_offsetof(a, b)
^
include/linux/stddef.h:16:32: note: in expansion of macro '__compiler_offsetof'
#define offsetof(TYPE, MEMBER) __compiler_offsetof(TYPE, MEMBER)
^
arch/powerpc/xmon/xmon.c:2131:3: note: in expansion of macro 'offsetof'
offsetof(struct paca_struct, name));
^
arch/powerpc/xmon/xmon.c:2202:2: note: in expansion of macro 'DUMP'
DUMP(p, user_time_scaled, "llx");
^
>> arch/powerpc/xmon/xmon.c:2130:63: error: 'struct paca_struct' has no member named 'starttime'
printf(" %-*s = %#-*"format"\t(0x%lx)\n", 20, #name, 18, paca->name, \
^
arch/powerpc/xmon/xmon.c:2203:2: note: in expansion of macro 'DUMP'
DUMP(p, starttime, "llx");
^
In file included from include/linux/compiler.h:56:0,
from include/uapi/linux/stddef.h:1,
from include/linux/stddef.h:4,
from include/uapi/linux/posix_types.h:4,
from include/uapi/linux/types.h:13,
from include/linux/types.h:5,
from include/uapi/linux/capability.h:16,
from include/linux/capability.h:15,
from include/linux/sched.h:15,
from arch/powerpc/xmon/xmon.c:14:
include/linux/compiler-gcc.h:158:2: error: 'struct paca_struct' has no member named 'starttime'
__builtin_offsetof(a, b)
^
include/linux/stddef.h:16:32: note: in expansion of macro '__compiler_offsetof'
#define offsetof(TYPE, MEMBER) __compiler_offsetof(TYPE, MEMBER)
^
arch/powerpc/xmon/xmon.c:2131:3: note: in expansion of macro 'offsetof'
offsetof(struct paca_struct, name));
^
arch/powerpc/xmon/xmon.c:2203:2: note: in expansion of macro 'DUMP'
DUMP(p, starttime, "llx");
^
>> arch/powerpc/xmon/xmon.c:2130:63: error: 'struct paca_struct' has no member named 'starttime_user'
printf(" %-*s = %#-*"format"\t(0x%lx)\n", 20, #name, 18, paca->name, \
^
arch/powerpc/xmon/xmon.c:2204:2: note: in expansion of macro 'DUMP'
DUMP(p, starttime_user, "llx");
^
In file included from include/linux/compiler.h:56:0,
from include/uapi/linux/stddef.h:1,
from include/linux/stddef.h:4,
from include/uapi/linux/posix_types.h:4,
from include/uapi/linux/types.h:13,
from include/linux/types.h:5,
from include/uapi/linux/capability.h:16,
from include/linux/capability.h:15,
from include/linux/sched.h:15,
from arch/powerpc/xmon/xmon.c:14:
include/linux/compiler-gcc.h:158:2: error: 'struct paca_struct' has no member named 'starttime_user'
__builtin_offsetof(a, b)
^
include/linux/stddef.h:16:32: note: in expansion of macro '__compiler_offsetof'
#define offsetof(TYPE, MEMBER) __compiler_offsetof(TYPE, MEMBER)
^
arch/powerpc/xmon/xmon.c:2131:3: note: in expansion of macro 'offsetof'
offsetof(struct paca_struct, name));
^
arch/powerpc/xmon/xmon.c:2204:2: note: in expansion of macro 'DUMP'
DUMP(p, starttime_user, "llx");
^
>> arch/powerpc/xmon/xmon.c:2130:63: error: 'struct paca_struct' has no member named 'startspurr'
printf(" %-*s = %#-*"format"\t(0x%lx)\n", 20, #name, 18, paca->name, \
^
arch/powerpc/xmon/xmon.c:2205:2: note: in expansion of macro 'DUMP'
DUMP(p, startspurr, "llx");
^
In file included from include/linux/compiler.h:56:0,
from include/uapi/linux/stddef.h:1,
from include/linux/stddef.h:4,
from include/uapi/linux/posix_types.h:4,
from include/uapi/linux/types.h:13,
from include/linux/types.h:5,
from include/uapi/linux/capability.h:16,
from include/linux/capability.h:15,
from include/linux/sched.h:15,
from arch/powerpc/xmon/xmon.c:14:
include/linux/compiler-gcc.h:158:2: error: 'struct paca_struct' has no member named 'startspurr'
__builtin_offsetof(a, b)
^
include/linux/stddef.h:16:32: note: in expansion of macro '__compiler_offsetof'
#define offsetof(TYPE, MEMBER) __compiler_offsetof(TYPE, MEMBER)
^
arch/powerpc/xmon/xmon.c:2131:3: note: in expansion of macro 'offsetof'
offsetof(struct paca_struct, name));
^
arch/powerpc/xmon/xmon.c:2205:2: note: in expansion of macro 'DUMP'
DUMP(p, startspurr, "llx");
^
>> arch/powerpc/xmon/xmon.c:2130:63: error: 'struct paca_struct' has no member named 'utime_sspurr'
printf(" %-*s = %#-*"format"\t(0x%lx)\n", 20, #name, 18, paca->name, \
^
arch/powerpc/xmon/xmon.c:2206:2: note: in expansion of macro 'DUMP'
DUMP(p, utime_sspurr, "llx");
^
In file included from include/linux/compiler.h:56:0,
from include/uapi/linux/stddef.h:1,
from include/linux/stddef.h:4,
from include/uapi/linux/posix_types.h:4,
from include/uapi/linux/types.h:13,
from include/linux/types.h:5,
from include/uapi/linux/capability.h:16,
from include/linux/capability.h:15,
from include/linux/sched.h:15,
from arch/powerpc/xmon/xmon.c:14:
include/linux/compiler-gcc.h:158:2: error: 'struct paca_struct' has no member named 'utime_sspurr'
__builtin_offsetof(a, b)
^
include/linux/stddef.h:16:32: note: in expansion of macro '__compiler_offsetof'
#define offsetof(TYPE, MEMBER) __compiler_offsetof(TYPE, MEMBER)
^
arch/powerpc/xmon/xmon.c:2131:3: note: in expansion of macro 'offsetof'
offsetof(struct paca_struct, name));
^
arch/powerpc/xmon/xmon.c:2206:2: note: in expansion of macro 'DUMP'
DUMP(p, utime_sspurr, "llx");
^
vim +274 arch/powerpc/kernel/time.c
268 local_paca->soft_enabled = 0;
269
270 sst = scan_dispatch_log(acct->starttime_user);
271 ust = scan_dispatch_log(acct->starttime);
272 acct->system_time -= sst;
273 acct->user_time -= ust;
> 274 acct->stolen_time += ust + sst;
275
276 local_paca->soft_enabled = save_soft_enabled;
277 }
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 21908 bytes --]
prev parent reply other threads:[~2016-02-23 18:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-23 16:59 Christophe Leroy
2016-02-23 18:38 ` kbuild test robot [this message]
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=201602240229.rczorCJa%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=benh@kernel.crashing.org \
--cc=christophe.leroy@c-s.fr \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mpe@ellerman.id.au \
--cc=oss@buserror.net \
--cc=paulus@samba.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®