mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* arch/arm/crypto/aes-ce-core.S:467: Error: selected processor does not support `movw ip,:lower16:.Lcts_permute_table' in ARM mode
@ 2019-10-01 11:38 kbuild test robot
  2019-10-01 12:42 ` Ard Biesheuvel
  0 siblings, 1 reply; 3+ messages in thread
From: kbuild test robot @ 2019-10-01 11:38 UTC (permalink / raw)
  To: Ard Biesheuvel; +Cc: kbuild-all, linux-kernel, Herbert Xu

[-- Attachment #1: Type: text/plain, Size: 4013 bytes --]

Hi Ard,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c
commit: c61b1607ed4fbbf2ba7c86f29768cff44a1a88f8 crypto: arm/aes-ce - implement ciphertext stealing for XTS
date:   3 weeks ago
config: arm-allmodconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 7.4.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout c61b1607ed4fbbf2ba7c86f29768cff44a1a88f8
        # save the attached .config to linux build tree
        GCC_VERSION=7.4.0 make.cross ARCH=arm 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   arch/arm/crypto/aes-ce-core.S: Assembler messages:
>> arch/arm/crypto/aes-ce-core.S:467: Error: selected processor does not support `movw ip,:lower16:.Lcts_permute_table' in ARM mode
>> arch/arm/crypto/aes-ce-core.S:468: Error: selected processor does not support `movt ip,:upper16:.Lcts_permute_table' in ARM mode
   arch/arm/crypto/aes-ce-core.S:553: Error: selected processor does not support `movw ip,:lower16:.Lcts_permute_table' in ARM mode
   arch/arm/crypto/aes-ce-core.S:554: Error: selected processor does not support `movt ip,:upper16:.Lcts_permute_table' in ARM mode

vim +467 arch/arm/crypto/aes-ce-core.S

   403	
   404	ENTRY(ce_aes_xts_encrypt)
   405		push		{r4-r6, lr}
   406	
   407		bl		ce_aes_xts_init		@ run shared prologue
   408		prepare_key	r2, r3
   409		vmov		q4, q0
   410	
   411		teq		r6, #0			@ start of a block?
   412		bne		.Lxtsenc4x
   413	
   414	.Lxtsencloop4x:
   415		next_tweak	q4, q4, q15, q10
   416	.Lxtsenc4x:
   417		subs		r4, r4, #64
   418		bmi		.Lxtsenc1x
   419		vld1.8		{q0-q1}, [r1]!		@ get 4 pt blocks
   420		vld1.8		{q2-q3}, [r1]!
   421		next_tweak	q5, q4, q15, q10
   422		veor		q0, q0, q4
   423		next_tweak	q6, q5, q15, q10
   424		veor		q1, q1, q5
   425		next_tweak	q7, q6, q15, q10
   426		veor		q2, q2, q6
   427		veor		q3, q3, q7
   428		bl		aes_encrypt_4x
   429		veor		q0, q0, q4
   430		veor		q1, q1, q5
   431		veor		q2, q2, q6
   432		veor		q3, q3, q7
   433		vst1.8		{q0-q1}, [r0]!		@ write 4 ct blocks
   434		vst1.8		{q2-q3}, [r0]!
   435		vmov		q4, q7
   436		teq		r4, #0
   437		beq		.Lxtsencret
   438		b		.Lxtsencloop4x
   439	.Lxtsenc1x:
   440		adds		r4, r4, #64
   441		beq		.Lxtsencout
   442		subs		r4, r4, #16
   443		bmi		.LxtsencctsNx
   444	.Lxtsencloop:
   445		vld1.8		{q0}, [r1]!
   446	.Lxtsencctsout:
   447		veor		q0, q0, q4
   448		bl		aes_encrypt
   449		veor		q0, q0, q4
   450		teq		r4, #0
   451		beq		.Lxtsencout
   452		subs		r4, r4, #16
   453		next_tweak	q4, q4, q15, q6
   454		bmi		.Lxtsenccts
   455		vst1.8		{q0}, [r0]!
   456		b		.Lxtsencloop
   457	.Lxtsencout:
   458		vst1.8		{q0}, [r0]
   459	.Lxtsencret:
   460		vst1.8		{q4}, [r5]
   461		pop		{r4-r6, pc}
   462	
   463	.LxtsencctsNx:
   464		vmov		q0, q3
   465		sub		r0, r0, #16
   466	.Lxtsenccts:
 > 467		movw		ip, :lower16:.Lcts_permute_table
 > 468		movt		ip, :upper16:.Lcts_permute_table
   469	
   470		add		r1, r1, r4		@ rewind input pointer
   471		add		r4, r4, #16		@ # bytes in final block
   472		add		lr, ip, #32
   473		add		ip, ip, r4
   474		sub		lr, lr, r4
   475		add		r4, r0, r4		@ output address of final block
   476	
   477		vld1.8		{q1}, [r1]		@ load final partial block
   478		vld1.8		{q2}, [ip]
   479		vld1.8		{q3}, [lr]
   480	
   481		vtbl.8		d4, {d0-d1}, d4
   482		vtbl.8		d5, {d0-d1}, d5
   483		vtbx.8		d0, {d2-d3}, d6
   484		vtbx.8		d1, {d2-d3}, d7
   485	
   486		vst1.8		{q2}, [r4]		@ overlapping stores
   487		mov		r4, #0
   488		b		.Lxtsencctsout
   489	ENDPROC(ce_aes_xts_encrypt)
   490	
   491	

---
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: 71389 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread
* arch/arm/crypto/aes-ce-core.S:467: Error: selected processor does not support `movw ip,:lower16:.Lcts_permute_table' in ARM mode
@ 2019-09-30 10:20 kbuild test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kbuild test robot @ 2019-09-30 10:20 UTC (permalink / raw)
  To: Ard Biesheuvel; +Cc: kbuild-all, linux-kernel, Herbert Xu

[-- Attachment #1: Type: text/plain, Size: 4013 bytes --]

Hi Ard,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   97f9a3c4eee55b0178b518ae7114a6a53372913d
commit: c61b1607ed4fbbf2ba7c86f29768cff44a1a88f8 crypto: arm/aes-ce - implement ciphertext stealing for XTS
date:   3 weeks ago
config: arm-allmodconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 7.4.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout c61b1607ed4fbbf2ba7c86f29768cff44a1a88f8
        # save the attached .config to linux build tree
        GCC_VERSION=7.4.0 make.cross ARCH=arm 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   arch/arm/crypto/aes-ce-core.S: Assembler messages:
>> arch/arm/crypto/aes-ce-core.S:467: Error: selected processor does not support `movw ip,:lower16:.Lcts_permute_table' in ARM mode
>> arch/arm/crypto/aes-ce-core.S:468: Error: selected processor does not support `movt ip,:upper16:.Lcts_permute_table' in ARM mode
   arch/arm/crypto/aes-ce-core.S:553: Error: selected processor does not support `movw ip,:lower16:.Lcts_permute_table' in ARM mode
   arch/arm/crypto/aes-ce-core.S:554: Error: selected processor does not support `movt ip,:upper16:.Lcts_permute_table' in ARM mode

vim +467 arch/arm/crypto/aes-ce-core.S

   403	
   404	ENTRY(ce_aes_xts_encrypt)
   405		push		{r4-r6, lr}
   406	
   407		bl		ce_aes_xts_init		@ run shared prologue
   408		prepare_key	r2, r3
   409		vmov		q4, q0
   410	
   411		teq		r6, #0			@ start of a block?
   412		bne		.Lxtsenc4x
   413	
   414	.Lxtsencloop4x:
   415		next_tweak	q4, q4, q15, q10
   416	.Lxtsenc4x:
   417		subs		r4, r4, #64
   418		bmi		.Lxtsenc1x
   419		vld1.8		{q0-q1}, [r1]!		@ get 4 pt blocks
   420		vld1.8		{q2-q3}, [r1]!
   421		next_tweak	q5, q4, q15, q10
   422		veor		q0, q0, q4
   423		next_tweak	q6, q5, q15, q10
   424		veor		q1, q1, q5
   425		next_tweak	q7, q6, q15, q10
   426		veor		q2, q2, q6
   427		veor		q3, q3, q7
   428		bl		aes_encrypt_4x
   429		veor		q0, q0, q4
   430		veor		q1, q1, q5
   431		veor		q2, q2, q6
   432		veor		q3, q3, q7
   433		vst1.8		{q0-q1}, [r0]!		@ write 4 ct blocks
   434		vst1.8		{q2-q3}, [r0]!
   435		vmov		q4, q7
   436		teq		r4, #0
   437		beq		.Lxtsencret
   438		b		.Lxtsencloop4x
   439	.Lxtsenc1x:
   440		adds		r4, r4, #64
   441		beq		.Lxtsencout
   442		subs		r4, r4, #16
   443		bmi		.LxtsencctsNx
   444	.Lxtsencloop:
   445		vld1.8		{q0}, [r1]!
   446	.Lxtsencctsout:
   447		veor		q0, q0, q4
   448		bl		aes_encrypt
   449		veor		q0, q0, q4
   450		teq		r4, #0
   451		beq		.Lxtsencout
   452		subs		r4, r4, #16
   453		next_tweak	q4, q4, q15, q6
   454		bmi		.Lxtsenccts
   455		vst1.8		{q0}, [r0]!
   456		b		.Lxtsencloop
   457	.Lxtsencout:
   458		vst1.8		{q0}, [r0]
   459	.Lxtsencret:
   460		vst1.8		{q4}, [r5]
   461		pop		{r4-r6, pc}
   462	
   463	.LxtsencctsNx:
   464		vmov		q0, q3
   465		sub		r0, r0, #16
   466	.Lxtsenccts:
 > 467		movw		ip, :lower16:.Lcts_permute_table
 > 468		movt		ip, :upper16:.Lcts_permute_table
   469	
   470		add		r1, r1, r4		@ rewind input pointer
   471		add		r4, r4, #16		@ # bytes in final block
   472		add		lr, ip, #32
   473		add		ip, ip, r4
   474		sub		lr, lr, r4
   475		add		r4, r0, r4		@ output address of final block
   476	
   477		vld1.8		{q1}, [r1]		@ load final partial block
   478		vld1.8		{q2}, [ip]
   479		vld1.8		{q3}, [lr]
   480	
   481		vtbl.8		d4, {d0-d1}, d4
   482		vtbl.8		d5, {d0-d1}, d5
   483		vtbx.8		d0, {d2-d3}, d6
   484		vtbx.8		d1, {d2-d3}, d7
   485	
   486		vst1.8		{q2}, [r4]		@ overlapping stores
   487		mov		r4, #0
   488		b		.Lxtsencctsout
   489	ENDPROC(ce_aes_xts_encrypt)
   490	
   491	

---
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: 71389 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-10-01 12:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-01 11:38 arch/arm/crypto/aes-ce-core.S:467: Error: selected processor does not support `movw ip,:lower16:.Lcts_permute_table' in ARM mode kbuild test robot
2019-10-01 12:42 ` Ard Biesheuvel
  -- strict thread matches above, loose matches on Subject: below --
2019-09-30 10:20 kbuild test robot

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®