[PW_SID:1077931] add riscv32 double-word shifts and library test#1733
[PW_SID:1077931] add riscv32 double-word shifts and library test#1733linux-riscv-bot wants to merge 2 commits into
Conversation
Add riscv32-specific '__ashldi3()', '__ashrdi3()', and '__lshrdi3()'. This is mostly intended to fix the following link error observed when building EFI-enabled kernel with CONFIG_EFI_STUB=y and CONFIG_EFI_GENERIC_STUB=y: riscv32-linux-gnu-ld: ./drivers/firmware/efi/libstub/lib-cmdline.stub.o: in function `__efistub_.L49': __efistub_cmdline.c:(.init.text+0x1f2): undefined reference to `__efistub___ashldi3' riscv32-linux-gnu-ld: __efistub_cmdline.c:(.init.text+0x202): undefined reference to `__efistub___lshrdi3' Tested with 'qemu-system-riscv32 -M virt' only. Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202603041925.KLKqpK6N-lkp@intel.com Suggested-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
Add KUnit tests for '__ashldi3()', '__ashrdi3()', and '__lshrdi3()' helper functions used to implement 64-bit arithmetic shift left, arithmetic shift right and logical shift right, respectively, on a 32-bit CPUs. Tested with 'qemu-system-riscv32 -M virt' and 'qemu-system-arm -M virt'. Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
|
Patch 1: "[1/2] riscv: add platform-specific double word shifts for riscv32" |
|
Patch 1: "[1/2] riscv: add platform-specific double word shifts for riscv32" |
|
Patch 1: "[1/2] riscv: add platform-specific double word shifts for riscv32" |
|
Patch 1: "[1/2] riscv: add platform-specific double word shifts for riscv32" |
|
Patch 1: "[1/2] riscv: add platform-specific double word shifts for riscv32" |
|
Patch 1: "[1/2] riscv: add platform-specific double word shifts for riscv32" |
|
Patch 1: "[1/2] riscv: add platform-specific double word shifts for riscv32" |
|
Patch 1: "[1/2] riscv: add platform-specific double word shifts for riscv32" |
|
Patch 1: "[1/2] riscv: add platform-specific double word shifts for riscv32" |
|
Patch 1: "[1/2] riscv: add platform-specific double word shifts for riscv32" |
|
Patch 1: "[1/2] riscv: add platform-specific double word shifts for riscv32" |
|
Patch 1: "[1/2] riscv: add platform-specific double word shifts for riscv32" |
|
Patch 2: "[2/2] lib: kunit: add tests for __ashldi3(), __ashrdi3(), and __lshrdi3()" |
|
Patch 2: "[2/2] lib: kunit: add tests for __ashldi3(), __ashrdi3(), and __lshrdi3()" |
|
Patch 2: "[2/2] lib: kunit: add tests for __ashldi3(), __ashrdi3(), and __lshrdi3()" |
|
Patch 2: "[2/2] lib: kunit: add tests for __ashldi3(), __ashrdi3(), and __lshrdi3()" |
|
Patch 2: "[2/2] lib: kunit: add tests for __ashldi3(), __ashrdi3(), and __lshrdi3()" |
|
Patch 2: "[2/2] lib: kunit: add tests for __ashldi3(), __ashrdi3(), and __lshrdi3()" |
|
Patch 2: "[2/2] lib: kunit: add tests for __ashldi3(), __ashrdi3(), and __lshrdi3()" |
|
Patch 2: "[2/2] lib: kunit: add tests for __ashldi3(), __ashrdi3(), and __lshrdi3()" |
|
Patch 2: "[2/2] lib: kunit: add tests for __ashldi3(), __ashrdi3(), and __lshrdi3()" |
|
Patch 2: "[2/2] lib: kunit: add tests for __ashldi3(), __ashrdi3(), and __lshrdi3()" |
|
Patch 2: "[2/2] lib: kunit: add tests for __ashldi3(), __ashrdi3(), and __lshrdi3()" |
|
Patch 2: "[2/2] lib: kunit: add tests for __ashldi3(), __ashrdi3(), and __lshrdi3()" |
PR for series 1077931 applied to workflow__riscv__fixes
Name: add riscv32 double-word shifts and library test
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1077931
Version: 1