Skip to contentSkip to conversation

scsi: ufs: Introduce HPB feature

PATCH Daejun Park 1 participant 1 message Sep 1, 2020 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Hi Bart,

Quoted 10 lines
Quoted 3 lines

m68k-linux-ld: drivers/scsi/ufs/ufshpb.o: in function `ufshpb_init_lu_parameter.isra.0':

Quoted 2 lines
Quoted 2 lines

ufshpb.c:(.text.unlikely+0xce): undefined reference to `__udivdi3'
m68k-linux-ld: ufshpb.c:(.text.unlikely+0x10c): undefined reference to `__udivdi3'

Hi Daejun,

Please use do_div() instead of using 64-bit divisions. 64-bit divisions can be identified e.g. by changing CONFIG_64BIT from 'y' into 'n' in the kernel config and by searching for __udivdi3 calls in the assembler code. One way to generate assembler code is as follows:

OK, I will change it to use do_dev().

Quoted 5 lines

make drivers/scsi/ufs/ufshcd.lst

Thanks,

Bart.

Thanks

Daejun.