[PATCH v7 0/3] riscv32 library enhancements and build fixes
Dmitry Antipov <[email protected]>
| Newsgroups | org.kernel.vger.linux-efi,org.infradead.lists.linux-riscv,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
This series should immediately follow v8 of lib and lib/cmdline enhancements, see https://patchew.org/linux/[email protected]. Started from riscv32 build quirk, now it aims to provide platform-specific double-word shifts and corresponding KUnit test (tested on ARM as well). Dmitry Antipov (3): riscv: add platform-specific double word shifts for riscv32 lib: kunit: add tests for __ashldi3(), __ashrdi3(), and __lshrdi3() riscv: fix building compressed EFI image arch/riscv/Kconfig | 3 - arch/riscv/kernel/image-vars.h | 9 ++ arch/riscv/lib/Makefile | 1 + arch/riscv/lib/ashldi3.S | 36 ++++++ arch/riscv/lib/ashrdi3.S | 36 ++++++ arch/riscv/lib/lshrdi3.S | 36 ++++++ drivers/firmware/efi/libstub/Makefile | 3 +- lib/Kconfig.debug | 10 ++ lib/tests/Makefile | 1 + lib/tests/shdi3_kunit.c | 175 ++++++++++++++++++++++++++ 10 files changed, 306 insertions(+), 4 deletions(-) create mode 100644 arch/riscv/lib/ashldi3.S create mode 100644 arch/riscv/lib/ashrdi3.S create mode 100644 arch/riscv/lib/lshrdi3.S create mode 100644 lib/tests/shdi3_kunit.c -- 2.53.0