tree:
https://github.com/linuxppc/linux next-test
head: a0e12ec27095fc3f3c3d94c86fccf08ffb58d9de
commit: ec53bfbca2559623d146321f8b3da4ec65379fff [43/86] powerpc/vdso64: Switch from
__get_datapage() to get_datapage inline macro
config: powerpc-defconfig (attached as .config)
compiler: powerpc64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout ec53bfbca2559623d146321f8b3da4ec65379fff
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=powerpc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
Note: the linuxppc/next-test HEAD a0e12ec27095fc3f3c3d94c86fccf08ffb58d9de builds fine.
It only hurts bisectibility.
All errors (new ones prefixed by >>):
arch/powerpc/kernel/vdso64/gettimeofday.S: Assembler messages:
> arch/powerpc/kernel/vdso64/gettimeofday.S:29: Error: unrecognized
opcode: `get_datapage'
arch/powerpc/kernel/vdso64/gettimeofday.S:74: Error:
unrecognized opcode: `get_datapage'
arch/powerpc/kernel/vdso64/gettimeofday.S:191: Error: unrecognized opcode:
`get_datapage'
arch/powerpc/kernel/vdso64/gettimeofday.S:224: Error: unrecognized opcode:
`get_datapage'
vim +29 arch/powerpc/kernel/vdso64/gettimeofday.S
14
15 .text
16 /*
17 * Exact prototype of gettimeofday
18 *
19 * int __kernel_gettimeofday(struct timeval *tv, struct timezone *tz);
20 *
21 */
22 V_FUNCTION_BEGIN(__kernel_gettimeofday)
23 .cfi_startproc
24 mflr r12
25 .cfi_register lr,r12
26
27 mr r11,r3 /* r11 holds tv */
28 mr r10,r4 /* r10 holds tz */
29 get_datapage r3, r0
30 cmpldi r11,0 /* check if tv
is NULL */
31 beq 2f
32 lis r7,1000000@ha /* load up USEC_PER_SEC */
33 addi r7,r7,1000000@l
34 bl V_LOCAL_FUNC(__do_get_tspec) /* get sec/us from tb & kernel */
35 std r4,TVAL64_TV_SEC(r11) /* store sec in tv */
36 std r5,TVAL64_TV_USEC(r11) /* store usec in tv */
37 2: cmpldi r10,0 /* check if tz is NULL */
38 beq 1f
39 lwz r4,CFG_TZ_MINUTEWEST(r3)/* fill tz */
40 lwz r5,CFG_TZ_DSTTIME(r3)
41 stw r4,TZONE_TZ_MINWEST(r10)
42 stw r5,TZONE_TZ_DSTTIME(r10)
43 1: mtlr r12
44 crclr cr0*4+so
45 li r3,0 /* always success */
46 blr
47 .cfi_endproc
48 V_FUNCTION_END(__kernel_gettimeofday)
49
50
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org