Re: [PATCH v7] powerpc32: provide VIRT_CPU_ACCOUNTING

From: kbuild test robot
Date: Tue Feb 23 2016 - 13:40:14 EST


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: .config.gz
Description: Binary data