[jirislaby:devel 59/62] arch/arm64/lib/memcpy.S:61: Error: junk at end of line, first unrecognized character is `('
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git devel
head: bc9f741e3e9e4828b7bb963e951a24ec7680346c
commit: af9e70f8604aff3131b16f8a533a495f1379ce9a [59/62] linkage: perform symbol pair checking (per group)
config: arm64-randconfig-r006-20210722 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 10.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
# https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git/commi...
git remote add jirislaby https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git
git fetch --no-tags jirislaby devel
git checkout af9e70f8604aff3131b16f8a533a495f1379ce9a
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=arm64 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
arch/arm64/lib/memcpy.S: Assembler messages:
>> arch/arm64/lib/memcpy.S:61: Error: junk at end of line, first unrecognized character is `('
>> /tmp/cca3dGaS.s: Error: .size expression for memmove does not evaluate to a constant
vim +61 arch/arm64/lib/memcpy.S
808dbac6b51f34 zhichang.yuan 2014-04-28 59
285133040e6ce0 Robin Murphy 2021-05-27 60 SYM_FUNC_START_ALIAS(__memmove)
285133040e6ce0 Robin Murphy 2021-05-27 @61 SYM_FUNC_START_WEAK_ALIAS_PI(memmove)
3ac0f4526dfb80 Mark Brown 2020-01-06 62 SYM_FUNC_START_ALIAS(__memcpy)
ec9d78070de986 Fangrui Song 2020-10-29 63 SYM_FUNC_START_WEAK_PI(memcpy)
285133040e6ce0 Robin Murphy 2021-05-27 64 add srcend, src, count
285133040e6ce0 Robin Murphy 2021-05-27 65 add dstend, dstin, count
285133040e6ce0 Robin Murphy 2021-05-27 66 cmp count, 128
285133040e6ce0 Robin Murphy 2021-05-27 67 b.hi L(copy_long)
285133040e6ce0 Robin Murphy 2021-05-27 68 cmp count, 32
285133040e6ce0 Robin Murphy 2021-05-27 69 b.hi L(copy32_128)
285133040e6ce0 Robin Murphy 2021-05-27 70
285133040e6ce0 Robin Murphy 2021-05-27 71 /* Small copies: 0..32 bytes. */
285133040e6ce0 Robin Murphy 2021-05-27 72 cmp count, 16
285133040e6ce0 Robin Murphy 2021-05-27 73 b.lo L(copy16)
285133040e6ce0 Robin Murphy 2021-05-27 74 ldp A_l, A_h, [src]
285133040e6ce0 Robin Murphy 2021-05-27 75 ldp D_l, D_h, [srcend, -16]
285133040e6ce0 Robin Murphy 2021-05-27 76 stp A_l, A_h, [dstin]
285133040e6ce0 Robin Murphy 2021-05-27 77 stp D_l, D_h, [dstend, -16]
285133040e6ce0 Robin Murphy 2021-05-27 78 ret
285133040e6ce0 Robin Murphy 2021-05-27 79
285133040e6ce0 Robin Murphy 2021-05-27 80 /* Copy 8-15 bytes. */
285133040e6ce0 Robin Murphy 2021-05-27 81 L(copy16):
285133040e6ce0 Robin Murphy 2021-05-27 82 tbz count, 3, L(copy8)
285133040e6ce0 Robin Murphy 2021-05-27 83 ldr A_l, [src]
285133040e6ce0 Robin Murphy 2021-05-27 84 ldr A_h, [srcend, -8]
285133040e6ce0 Robin Murphy 2021-05-27 85 str A_l, [dstin]
285133040e6ce0 Robin Murphy 2021-05-27 86 str A_h, [dstend, -8]
285133040e6ce0 Robin Murphy 2021-05-27 87 ret
285133040e6ce0 Robin Murphy 2021-05-27 88
285133040e6ce0 Robin Murphy 2021-05-27 89 .p2align 3
285133040e6ce0 Robin Murphy 2021-05-27 90 /* Copy 4-7 bytes. */
285133040e6ce0 Robin Murphy 2021-05-27 91 L(copy8):
285133040e6ce0 Robin Murphy 2021-05-27 92 tbz count, 2, L(copy4)
285133040e6ce0 Robin Murphy 2021-05-27 93 ldr A_lw, [src]
285133040e6ce0 Robin Murphy 2021-05-27 94 ldr B_lw, [srcend, -4]
285133040e6ce0 Robin Murphy 2021-05-27 95 str A_lw, [dstin]
285133040e6ce0 Robin Murphy 2021-05-27 96 str B_lw, [dstend, -4]
285133040e6ce0 Robin Murphy 2021-05-27 97 ret
285133040e6ce0 Robin Murphy 2021-05-27 98
285133040e6ce0 Robin Murphy 2021-05-27 99 /* Copy 0..3 bytes using a branchless sequence. */
285133040e6ce0 Robin Murphy 2021-05-27 100 L(copy4):
285133040e6ce0 Robin Murphy 2021-05-27 101 cbz count, L(copy0)
285133040e6ce0 Robin Murphy 2021-05-27 102 lsr tmp1, count, 1
285133040e6ce0 Robin Murphy 2021-05-27 103 ldrb A_lw, [src]
285133040e6ce0 Robin Murphy 2021-05-27 104 ldrb C_lw, [srcend, -1]
285133040e6ce0 Robin Murphy 2021-05-27 105 ldrb B_lw, [src, tmp1]
285133040e6ce0 Robin Murphy 2021-05-27 106 strb A_lw, [dstin]
285133040e6ce0 Robin Murphy 2021-05-27 107 strb B_lw, [dstin, tmp1]
285133040e6ce0 Robin Murphy 2021-05-27 108 strb C_lw, [dstend, -1]
285133040e6ce0 Robin Murphy 2021-05-27 109 L(copy0):
285133040e6ce0 Robin Murphy 2021-05-27 110 ret
285133040e6ce0 Robin Murphy 2021-05-27 111
285133040e6ce0 Robin Murphy 2021-05-27 112 .p2align 4
285133040e6ce0 Robin Murphy 2021-05-27 113 /* Medium copies: 33..128 bytes. */
285133040e6ce0 Robin Murphy 2021-05-27 114 L(copy32_128):
285133040e6ce0 Robin Murphy 2021-05-27 115 ldp A_l, A_h, [src]
285133040e6ce0 Robin Murphy 2021-05-27 116 ldp B_l, B_h, [src, 16]
285133040e6ce0 Robin Murphy 2021-05-27 117 ldp C_l, C_h, [srcend, -32]
285133040e6ce0 Robin Murphy 2021-05-27 118 ldp D_l, D_h, [srcend, -16]
285133040e6ce0 Robin Murphy 2021-05-27 119 cmp count, 64
285133040e6ce0 Robin Murphy 2021-05-27 120 b.hi L(copy128)
285133040e6ce0 Robin Murphy 2021-05-27 121 stp A_l, A_h, [dstin]
285133040e6ce0 Robin Murphy 2021-05-27 122 stp B_l, B_h, [dstin, 16]
285133040e6ce0 Robin Murphy 2021-05-27 123 stp C_l, C_h, [dstend, -32]
285133040e6ce0 Robin Murphy 2021-05-27 124 stp D_l, D_h, [dstend, -16]
808dbac6b51f34 zhichang.yuan 2014-04-28 125 ret
285133040e6ce0 Robin Murphy 2021-05-27 126
285133040e6ce0 Robin Murphy 2021-05-27 127 .p2align 4
285133040e6ce0 Robin Murphy 2021-05-27 128 /* Copy 65..128 bytes. */
285133040e6ce0 Robin Murphy 2021-05-27 129 L(copy128):
285133040e6ce0 Robin Murphy 2021-05-27 130 ldp E_l, E_h, [src, 32]
285133040e6ce0 Robin Murphy 2021-05-27 131 ldp F_l, F_h, [src, 48]
285133040e6ce0 Robin Murphy 2021-05-27 132 cmp count, 96
285133040e6ce0 Robin Murphy 2021-05-27 133 b.ls L(copy96)
285133040e6ce0 Robin Murphy 2021-05-27 134 ldp G_l, G_h, [srcend, -64]
285133040e6ce0 Robin Murphy 2021-05-27 135 ldp H_l, H_h, [srcend, -48]
285133040e6ce0 Robin Murphy 2021-05-27 136 stp G_l, G_h, [dstend, -64]
285133040e6ce0 Robin Murphy 2021-05-27 137 stp H_l, H_h, [dstend, -48]
285133040e6ce0 Robin Murphy 2021-05-27 138 L(copy96):
285133040e6ce0 Robin Murphy 2021-05-27 139 stp A_l, A_h, [dstin]
285133040e6ce0 Robin Murphy 2021-05-27 140 stp B_l, B_h, [dstin, 16]
285133040e6ce0 Robin Murphy 2021-05-27 141 stp E_l, E_h, [dstin, 32]
285133040e6ce0 Robin Murphy 2021-05-27 142 stp F_l, F_h, [dstin, 48]
285133040e6ce0 Robin Murphy 2021-05-27 143 stp C_l, C_h, [dstend, -32]
285133040e6ce0 Robin Murphy 2021-05-27 144 stp D_l, D_h, [dstend, -16]
285133040e6ce0 Robin Murphy 2021-05-27 145 ret
285133040e6ce0 Robin Murphy 2021-05-27 146
285133040e6ce0 Robin Murphy 2021-05-27 147 .p2align 4
285133040e6ce0 Robin Murphy 2021-05-27 148 /* Copy more than 128 bytes. */
285133040e6ce0 Robin Murphy 2021-05-27 149 L(copy_long):
285133040e6ce0 Robin Murphy 2021-05-27 150 /* Use backwards copy if there is an overlap. */
285133040e6ce0 Robin Murphy 2021-05-27 151 sub tmp1, dstin, src
285133040e6ce0 Robin Murphy 2021-05-27 152 cbz tmp1, L(copy0)
285133040e6ce0 Robin Murphy 2021-05-27 153 cmp tmp1, count
285133040e6ce0 Robin Murphy 2021-05-27 154 b.lo L(copy_long_backwards)
285133040e6ce0 Robin Murphy 2021-05-27 155
285133040e6ce0 Robin Murphy 2021-05-27 156 /* Copy 16 bytes and then align dst to 16-byte alignment. */
285133040e6ce0 Robin Murphy 2021-05-27 157
285133040e6ce0 Robin Murphy 2021-05-27 158 ldp D_l, D_h, [src]
285133040e6ce0 Robin Murphy 2021-05-27 159 and tmp1, dstin, 15
285133040e6ce0 Robin Murphy 2021-05-27 160 bic dst, dstin, 15
285133040e6ce0 Robin Murphy 2021-05-27 161 sub src, src, tmp1
285133040e6ce0 Robin Murphy 2021-05-27 162 add count, count, tmp1 /* Count is now 16 too large. */
285133040e6ce0 Robin Murphy 2021-05-27 163 ldp A_l, A_h, [src, 16]
285133040e6ce0 Robin Murphy 2021-05-27 164 stp D_l, D_h, [dstin]
285133040e6ce0 Robin Murphy 2021-05-27 165 ldp B_l, B_h, [src, 32]
285133040e6ce0 Robin Murphy 2021-05-27 166 ldp C_l, C_h, [src, 48]
285133040e6ce0 Robin Murphy 2021-05-27 167 ldp D_l, D_h, [src, 64]!
285133040e6ce0 Robin Murphy 2021-05-27 168 subs count, count, 128 + 16 /* Test and readjust count. */
285133040e6ce0 Robin Murphy 2021-05-27 169 b.ls L(copy64_from_end)
285133040e6ce0 Robin Murphy 2021-05-27 170
:::::: The code at line 61 was first introduced by commit
:::::: 285133040e6ce0e6f37db962f2b4dad10ea46da0 arm64: Import latest memcpy()/memmove() implementation
:::::: TO: Robin Murphy <robin.murphy(a)arm.com>
:::::: CC: Will Deacon <will(a)kernel.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 1 month
[jirislaby:devel 59/62] arch/arm64/lib/memcpy.S:61: Error: junk at end of line, first unrecognized character is `('
by kernel test robot
Hi Jiri,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git devel
head: bc9f741e3e9e4828b7bb963e951a24ec7680346c
commit: af9e70f8604aff3131b16f8a533a495f1379ce9a [59/62] linkage: perform symbol pair checking (per group)
config: arm64-randconfig-r015-20210722 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 9625ca5b602616b2f5584e8a49ba93c52c141e40)
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
# install arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git/commi...
git remote add jirislaby https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git
git fetch --no-tags jirislaby devel
git checkout af9e70f8604aff3131b16f8a533a495f1379ce9a
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=arm64 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
arch/arm64/lib/memcpy.S: Assembler messages:
>> arch/arm64/lib/memcpy.S:61: Error: junk at end of line, first unrecognized character is `('
/tmp/memcpy-606108.s: Error: .size expression for memmove does not evaluate to a constant
clang-13: error: assembler command failed with exit code 1 (use -v to see invocation)
--
arch/arm64/kvm/hyp/nvhe/../../../lib/memcpy.S: Assembler messages:
>> arch/arm64/kvm/hyp/nvhe/../../../lib/memcpy.S:61: Error: junk at end of line, first unrecognized character is `('
/tmp/memcpy-3df3d7.s: Error: .size expression for memmove does not evaluate to a constant
clang-13: error: assembler command failed with exit code 1 (use -v to see invocation)
vim +61 arch/arm64/lib/memcpy.S
808dbac6b51f34 zhichang.yuan 2014-04-28 59
285133040e6ce0 Robin Murphy 2021-05-27 60 SYM_FUNC_START_ALIAS(__memmove)
285133040e6ce0 Robin Murphy 2021-05-27 @61 SYM_FUNC_START_WEAK_ALIAS_PI(memmove)
3ac0f4526dfb80 Mark Brown 2020-01-06 62 SYM_FUNC_START_ALIAS(__memcpy)
ec9d78070de986 Fangrui Song 2020-10-29 63 SYM_FUNC_START_WEAK_PI(memcpy)
285133040e6ce0 Robin Murphy 2021-05-27 64 add srcend, src, count
285133040e6ce0 Robin Murphy 2021-05-27 65 add dstend, dstin, count
285133040e6ce0 Robin Murphy 2021-05-27 66 cmp count, 128
285133040e6ce0 Robin Murphy 2021-05-27 67 b.hi L(copy_long)
285133040e6ce0 Robin Murphy 2021-05-27 68 cmp count, 32
285133040e6ce0 Robin Murphy 2021-05-27 69 b.hi L(copy32_128)
285133040e6ce0 Robin Murphy 2021-05-27 70
285133040e6ce0 Robin Murphy 2021-05-27 71 /* Small copies: 0..32 bytes. */
285133040e6ce0 Robin Murphy 2021-05-27 72 cmp count, 16
285133040e6ce0 Robin Murphy 2021-05-27 73 b.lo L(copy16)
285133040e6ce0 Robin Murphy 2021-05-27 74 ldp A_l, A_h, [src]
285133040e6ce0 Robin Murphy 2021-05-27 75 ldp D_l, D_h, [srcend, -16]
285133040e6ce0 Robin Murphy 2021-05-27 76 stp A_l, A_h, [dstin]
285133040e6ce0 Robin Murphy 2021-05-27 77 stp D_l, D_h, [dstend, -16]
285133040e6ce0 Robin Murphy 2021-05-27 78 ret
285133040e6ce0 Robin Murphy 2021-05-27 79
285133040e6ce0 Robin Murphy 2021-05-27 80 /* Copy 8-15 bytes. */
285133040e6ce0 Robin Murphy 2021-05-27 81 L(copy16):
285133040e6ce0 Robin Murphy 2021-05-27 82 tbz count, 3, L(copy8)
285133040e6ce0 Robin Murphy 2021-05-27 83 ldr A_l, [src]
285133040e6ce0 Robin Murphy 2021-05-27 84 ldr A_h, [srcend, -8]
285133040e6ce0 Robin Murphy 2021-05-27 85 str A_l, [dstin]
285133040e6ce0 Robin Murphy 2021-05-27 86 str A_h, [dstend, -8]
285133040e6ce0 Robin Murphy 2021-05-27 87 ret
285133040e6ce0 Robin Murphy 2021-05-27 88
285133040e6ce0 Robin Murphy 2021-05-27 89 .p2align 3
285133040e6ce0 Robin Murphy 2021-05-27 90 /* Copy 4-7 bytes. */
285133040e6ce0 Robin Murphy 2021-05-27 91 L(copy8):
285133040e6ce0 Robin Murphy 2021-05-27 92 tbz count, 2, L(copy4)
285133040e6ce0 Robin Murphy 2021-05-27 93 ldr A_lw, [src]
285133040e6ce0 Robin Murphy 2021-05-27 94 ldr B_lw, [srcend, -4]
285133040e6ce0 Robin Murphy 2021-05-27 95 str A_lw, [dstin]
285133040e6ce0 Robin Murphy 2021-05-27 96 str B_lw, [dstend, -4]
285133040e6ce0 Robin Murphy 2021-05-27 97 ret
285133040e6ce0 Robin Murphy 2021-05-27 98
285133040e6ce0 Robin Murphy 2021-05-27 99 /* Copy 0..3 bytes using a branchless sequence. */
285133040e6ce0 Robin Murphy 2021-05-27 100 L(copy4):
285133040e6ce0 Robin Murphy 2021-05-27 101 cbz count, L(copy0)
285133040e6ce0 Robin Murphy 2021-05-27 102 lsr tmp1, count, 1
285133040e6ce0 Robin Murphy 2021-05-27 103 ldrb A_lw, [src]
285133040e6ce0 Robin Murphy 2021-05-27 104 ldrb C_lw, [srcend, -1]
285133040e6ce0 Robin Murphy 2021-05-27 105 ldrb B_lw, [src, tmp1]
285133040e6ce0 Robin Murphy 2021-05-27 106 strb A_lw, [dstin]
285133040e6ce0 Robin Murphy 2021-05-27 107 strb B_lw, [dstin, tmp1]
285133040e6ce0 Robin Murphy 2021-05-27 108 strb C_lw, [dstend, -1]
285133040e6ce0 Robin Murphy 2021-05-27 109 L(copy0):
285133040e6ce0 Robin Murphy 2021-05-27 110 ret
285133040e6ce0 Robin Murphy 2021-05-27 111
285133040e6ce0 Robin Murphy 2021-05-27 112 .p2align 4
285133040e6ce0 Robin Murphy 2021-05-27 113 /* Medium copies: 33..128 bytes. */
285133040e6ce0 Robin Murphy 2021-05-27 114 L(copy32_128):
285133040e6ce0 Robin Murphy 2021-05-27 115 ldp A_l, A_h, [src]
285133040e6ce0 Robin Murphy 2021-05-27 116 ldp B_l, B_h, [src, 16]
285133040e6ce0 Robin Murphy 2021-05-27 117 ldp C_l, C_h, [srcend, -32]
285133040e6ce0 Robin Murphy 2021-05-27 118 ldp D_l, D_h, [srcend, -16]
285133040e6ce0 Robin Murphy 2021-05-27 119 cmp count, 64
285133040e6ce0 Robin Murphy 2021-05-27 120 b.hi L(copy128)
285133040e6ce0 Robin Murphy 2021-05-27 121 stp A_l, A_h, [dstin]
285133040e6ce0 Robin Murphy 2021-05-27 122 stp B_l, B_h, [dstin, 16]
285133040e6ce0 Robin Murphy 2021-05-27 123 stp C_l, C_h, [dstend, -32]
285133040e6ce0 Robin Murphy 2021-05-27 124 stp D_l, D_h, [dstend, -16]
808dbac6b51f34 zhichang.yuan 2014-04-28 125 ret
285133040e6ce0 Robin Murphy 2021-05-27 126
285133040e6ce0 Robin Murphy 2021-05-27 127 .p2align 4
285133040e6ce0 Robin Murphy 2021-05-27 128 /* Copy 65..128 bytes. */
285133040e6ce0 Robin Murphy 2021-05-27 129 L(copy128):
285133040e6ce0 Robin Murphy 2021-05-27 130 ldp E_l, E_h, [src, 32]
285133040e6ce0 Robin Murphy 2021-05-27 131 ldp F_l, F_h, [src, 48]
285133040e6ce0 Robin Murphy 2021-05-27 132 cmp count, 96
285133040e6ce0 Robin Murphy 2021-05-27 133 b.ls L(copy96)
285133040e6ce0 Robin Murphy 2021-05-27 134 ldp G_l, G_h, [srcend, -64]
285133040e6ce0 Robin Murphy 2021-05-27 135 ldp H_l, H_h, [srcend, -48]
285133040e6ce0 Robin Murphy 2021-05-27 136 stp G_l, G_h, [dstend, -64]
285133040e6ce0 Robin Murphy 2021-05-27 137 stp H_l, H_h, [dstend, -48]
285133040e6ce0 Robin Murphy 2021-05-27 138 L(copy96):
285133040e6ce0 Robin Murphy 2021-05-27 139 stp A_l, A_h, [dstin]
285133040e6ce0 Robin Murphy 2021-05-27 140 stp B_l, B_h, [dstin, 16]
285133040e6ce0 Robin Murphy 2021-05-27 141 stp E_l, E_h, [dstin, 32]
285133040e6ce0 Robin Murphy 2021-05-27 142 stp F_l, F_h, [dstin, 48]
285133040e6ce0 Robin Murphy 2021-05-27 143 stp C_l, C_h, [dstend, -32]
285133040e6ce0 Robin Murphy 2021-05-27 144 stp D_l, D_h, [dstend, -16]
285133040e6ce0 Robin Murphy 2021-05-27 145 ret
285133040e6ce0 Robin Murphy 2021-05-27 146
285133040e6ce0 Robin Murphy 2021-05-27 147 .p2align 4
285133040e6ce0 Robin Murphy 2021-05-27 148 /* Copy more than 128 bytes. */
285133040e6ce0 Robin Murphy 2021-05-27 149 L(copy_long):
285133040e6ce0 Robin Murphy 2021-05-27 150 /* Use backwards copy if there is an overlap. */
285133040e6ce0 Robin Murphy 2021-05-27 151 sub tmp1, dstin, src
285133040e6ce0 Robin Murphy 2021-05-27 152 cbz tmp1, L(copy0)
285133040e6ce0 Robin Murphy 2021-05-27 153 cmp tmp1, count
285133040e6ce0 Robin Murphy 2021-05-27 154 b.lo L(copy_long_backwards)
285133040e6ce0 Robin Murphy 2021-05-27 155
285133040e6ce0 Robin Murphy 2021-05-27 156 /* Copy 16 bytes and then align dst to 16-byte alignment. */
285133040e6ce0 Robin Murphy 2021-05-27 157
285133040e6ce0 Robin Murphy 2021-05-27 158 ldp D_l, D_h, [src]
285133040e6ce0 Robin Murphy 2021-05-27 159 and tmp1, dstin, 15
285133040e6ce0 Robin Murphy 2021-05-27 160 bic dst, dstin, 15
285133040e6ce0 Robin Murphy 2021-05-27 161 sub src, src, tmp1
285133040e6ce0 Robin Murphy 2021-05-27 162 add count, count, tmp1 /* Count is now 16 too large. */
285133040e6ce0 Robin Murphy 2021-05-27 163 ldp A_l, A_h, [src, 16]
285133040e6ce0 Robin Murphy 2021-05-27 164 stp D_l, D_h, [dstin]
285133040e6ce0 Robin Murphy 2021-05-27 165 ldp B_l, B_h, [src, 32]
285133040e6ce0 Robin Murphy 2021-05-27 166 ldp C_l, C_h, [src, 48]
285133040e6ce0 Robin Murphy 2021-05-27 167 ldp D_l, D_h, [src, 64]!
285133040e6ce0 Robin Murphy 2021-05-27 168 subs count, count, 128 + 16 /* Test and readjust count. */
285133040e6ce0 Robin Murphy 2021-05-27 169 b.ls L(copy64_from_end)
285133040e6ce0 Robin Murphy 2021-05-27 170
:::::: The code at line 61 was first introduced by commit
:::::: 285133040e6ce0e6f37db962f2b4dad10ea46da0 arm64: Import latest memcpy()/memmove() implementation
:::::: TO: Robin Murphy <robin.murphy(a)arm.com>
:::::: CC: Will Deacon <will(a)kernel.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 1 month
Re: [PATCH v3] include: linux: Reorganize timekeeping and ktime headers
by kernel test robot
Hi Carlos,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on tip/timers/core]
[also build test WARNING on kvmarm/next abelloni/rtc-next sound/for-next soc/for-next linus/master tip/x86/core v5.14-rc2 next-20210722]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Carlos-Bilbao/include-linux-Reor...
base: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git 2d0a9eb23ccfdf11308bec6db0bc007585d919d2
config: x86_64-randconfig-a011-20210722 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 9625ca5b602616b2f5584e8a49ba93c52c141e40)
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
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# https://github.com/0day-ci/linux/commit/e35011219261f218feeaea55c97d4d583...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Carlos-Bilbao/include-linux-Reorganize-timekeeping-and-ktime-headers/20210722-233301
git checkout e35011219261f218feeaea55c97d4d583d9747a9
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
>> arch/x86/kernel/rtc.c:148:5: warning: no previous prototype for function 'update_persistent_clock64' [-Wmissing-prototypes]
int update_persistent_clock64(struct timespec64 now)
^
arch/x86/kernel/rtc.c:148:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int update_persistent_clock64(struct timespec64 now)
^
static
>> arch/x86/kernel/rtc.c:154:6: warning: no previous prototype for function 'read_persistent_clock64' [-Wmissing-prototypes]
void read_persistent_clock64(struct timespec64 *ts)
^
arch/x86/kernel/rtc.c:154:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void read_persistent_clock64(struct timespec64 *ts)
^
static
2 warnings generated.
vim +/update_persistent_clock64 +148 arch/x86/kernel/rtc.c
fe599f9fbc5d47 Thomas Gleixner 2008-01-30 147
e27c49291a7fe9 Arnd Bergmann 2018-04-27 @148 int update_persistent_clock64(struct timespec64 now)
fe599f9fbc5d47 Thomas Gleixner 2008-01-30 149 {
3565184ed0c1ea David Vrabel 2013-05-13 150 return x86_platform.set_wallclock(&now);
fe599f9fbc5d47 Thomas Gleixner 2008-01-30 151 }
fe599f9fbc5d47 Thomas Gleixner 2008-01-30 152
fe599f9fbc5d47 Thomas Gleixner 2008-01-30 153 /* not static: needed by APM */
e27c49291a7fe9 Arnd Bergmann 2018-04-27 @154 void read_persistent_clock64(struct timespec64 *ts)
fe599f9fbc5d47 Thomas Gleixner 2008-01-30 155 {
3565184ed0c1ea David Vrabel 2013-05-13 156 x86_platform.get_wallclock(ts);
fe599f9fbc5d47 Thomas Gleixner 2008-01-30 157 }
fe599f9fbc5d47 Thomas Gleixner 2008-01-30 158
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 1 month
Re: [PATCH v3] include: linux: Reorganize timekeeping and ktime headers
by kernel test robot
Hi Carlos,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on tip/timers/core]
[also build test WARNING on kvmarm/next abelloni/rtc-next sound/for-next soc/for-next linus/master tip/x86/core v5.14-rc2 next-20210722]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Carlos-Bilbao/include-linux-Reor...
base: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git 2d0a9eb23ccfdf11308bec6db0bc007585d919d2
config: x86_64-randconfig-a003-20210722 (attached as .config)
compiler: gcc-10 (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0
reproduce (this is a W=1 build):
# https://github.com/0day-ci/linux/commit/e35011219261f218feeaea55c97d4d583...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Carlos-Bilbao/include-linux-Reorganize-timekeeping-and-ktime-headers/20210722-233301
git checkout e35011219261f218feeaea55c97d4d583d9747a9
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
>> arch/x86/kernel/rtc.c:148:5: warning: no previous prototype for 'update_persistent_clock64' [-Wmissing-prototypes]
148 | int update_persistent_clock64(struct timespec64 now)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
>> arch/x86/kernel/rtc.c:154:6: warning: no previous prototype for 'read_persistent_clock64' [-Wmissing-prototypes]
154 | void read_persistent_clock64(struct timespec64 *ts)
| ^~~~~~~~~~~~~~~~~~~~~~~
vim +/update_persistent_clock64 +148 arch/x86/kernel/rtc.c
fe599f9fbc5d470 Thomas Gleixner 2008-01-30 147
e27c49291a7fe9d Arnd Bergmann 2018-04-27 @148 int update_persistent_clock64(struct timespec64 now)
fe599f9fbc5d470 Thomas Gleixner 2008-01-30 149 {
3565184ed0c1ea4 David Vrabel 2013-05-13 150 return x86_platform.set_wallclock(&now);
fe599f9fbc5d470 Thomas Gleixner 2008-01-30 151 }
fe599f9fbc5d470 Thomas Gleixner 2008-01-30 152
fe599f9fbc5d470 Thomas Gleixner 2008-01-30 153 /* not static: needed by APM */
e27c49291a7fe9d Arnd Bergmann 2018-04-27 @154 void read_persistent_clock64(struct timespec64 *ts)
fe599f9fbc5d470 Thomas Gleixner 2008-01-30 155 {
3565184ed0c1ea4 David Vrabel 2013-05-13 156 x86_platform.get_wallclock(ts);
fe599f9fbc5d470 Thomas Gleixner 2008-01-30 157 }
fe599f9fbc5d470 Thomas Gleixner 2008-01-30 158
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 1 month
[RFC PATCH] drm/i915/guc/slpc: slpc_decode_min_freq() can be static
by kernel test robot
drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c:217:5: warning: symbol 'slpc_decode_min_freq' was not declared. Should it be static?
drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c:229:5: warning: symbol 'slpc_decode_max_freq' was not declared. Should it be static?
Reported-by: kernel test robot <lkp(a)intel.com>
Signed-off-by: kernel test robot <lkp(a)intel.com>
---
intel_guc_slpc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c b/drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c
index 48db2a8f67d1d..372606a451451 100644
--- a/drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c
+++ b/drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c
@@ -214,7 +214,7 @@ int intel_guc_slpc_init(struct intel_guc_slpc *slpc)
return slpc_shared_data_init(slpc);
}
-u32 slpc_decode_min_freq(struct intel_guc_slpc *slpc)
+static u32 slpc_decode_min_freq(struct intel_guc_slpc *slpc)
{
struct slpc_shared_data *data = slpc->vaddr;
@@ -226,7 +226,7 @@ u32 slpc_decode_min_freq(struct intel_guc_slpc *slpc)
GT_FREQUENCY_MULTIPLIER, GEN9_FREQ_SCALER);
}
-u32 slpc_decode_max_freq(struct intel_guc_slpc *slpc)
+static u32 slpc_decode_max_freq(struct intel_guc_slpc *slpc)
{
struct slpc_shared_data *data = slpc->vaddr;
1 year, 1 month