aboutsummaryrefslogtreecommitdiffstats
path: root/arch/riscv/lib
AgeCommit message (Expand)AuthorFilesLines
2026-05-28riscv: add platform-specific double word shifts for riscv32Dmitry Antipov4-0/+109
2026-04-24Merge tag 'riscv-for-linus-7.1-mw1' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds6-3/+242
2026-04-04riscv: lib: add strrchr() implementationFeng Jiang2-0/+38
2026-04-04riscv: lib: add strchr() implementationFeng Jiang2-0/+36
2026-04-04riscv: lib: add strnlen() implementationFeng Jiang2-0/+165
2026-04-04riscv: fix various typos in comments and codeSean Chang2-3/+3
2026-04-02riscv: move the XOR code to lib/raid/Christoph Hellwig2-82/+0
2026-02-09riscv: lib: optimize strlen loop efficiencyFeng Jiang1-5/+3
2025-11-19riscv: checksum: Use riscv_has_extension_likelyVivian Wang1-41/+12
2025-07-28Merge tag 'libcrypto-updates-for-linus' of git://git.kernel.org/pub/scm/linux...Linus Torvalds7-688/+0
2025-06-30lib/crc: riscv: Migrate optimized CRC code into lib/crc/Eric Biggers12-617/+0
2025-06-30lib/crypto: riscv: Move arch/riscv/lib/crypto/ into lib/crypto/Eric Biggers7-688/+0
2025-06-06Merge tag 'riscv-for-linus-6.16-mw1' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds3-22/+54
2025-06-05riscv: make unsafe user copy routines use existing assembly routinesAlexandre Ghiti3-22/+54
2025-05-12crypto: lib/chacha - add array bounds to function prototypesEric Biggers1-1/+2
2025-05-12crypto: lib/chacha - strongly type the ChaCha stateEric Biggers2-9/+9
2025-05-05crypto: riscv/sha256 - Add simd block functionHerbert Xu2-4/+10
2025-05-05crypto: arch/sha256 - Export block functions as GPL onlyHerbert Xu1-2/+2
2025-05-05Revert "crypto: run initcalls for generic implementations earlier"Herbert Xu2-2/+2
2025-05-05crypto: riscv/sha256 - implement library instead of shashEric Biggers4-0/+297
2025-04-28crypto: lib/chacha - remove INTERNAL symbol and selection of CRYPTOEric Biggers1-1/+1
2025-04-28crypto: riscv - move library functions to arch/riscv/lib/crypto/Eric Biggers5-0/+384
2025-04-04Merge tag 'riscv-for-linus-6.15-mw1' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds4-24/+12
2025-03-18Merge patch series "RISC-V: clarify what some RISCV_ISA* config options do & ...Alexandre Ghiti4-24/+12
2025-03-18RISC-V: separate Zbb optimisations requiring and not requiring toolchain supportConor Dooley4-24/+12
2025-03-10riscv/crc64: add Zbc optimized CRC64 functionsEric Biggers6-1/+111
2025-03-10riscv/crc-t10dif: add Zbc optimized CRC-T10DIF functionEric Biggers5-1/+65
2025-03-10riscv/crc32: reimplement the CRC32 functions using new templateEric Biggers7-310/+177
2025-03-10riscv/crc: add "template" for Zbc optimized CRC functionsEric Biggers1-0/+265
2025-02-08lib/crc32: remove "_le" from crc32c base and arch functionsEric Biggers1-3/+3
2025-02-08lib/crc32: don't bother with pure and const function attributesEric Biggers1-7/+6
2024-12-01lib/crc32: expose whether the lib is really optimized at runtimeEric Biggers1-0/+10
2024-12-01lib/crc32: improve support for arch-specific overridesEric Biggers2-5/+11
2024-12-01lib/crc32: drop leading underscores from __crc32c_le_baseEric Biggers1-1/+1
2024-09-19Merge patch series "riscv: Improve KASAN coverage to fix unit tests"Palmer Dabbelt4-0/+5
2024-09-19riscv: Omit optimized string routines when using KASANSamuel Holland4-0/+5
2024-08-05Merge patch series "RISC-V: Parse DT for Zkr to seed KASLR"Palmer Dabbelt3-0/+4
2024-08-05RISC-V: lib: Add pi aliases for string functionsJesse Taube3-0/+4
2024-07-10riscv: Optimize crc32 with Zbc extensionXiao Wang2-0/+295
2024-05-30riscv: vector: adjust minimum Vector requirement to ZVE32XAndy Chiu1-1/+1
2024-05-22riscv: uaccess: Relax the threshold for fast pathXiao Wang1-1/+1
2024-05-22riscv: uaccess: Allow the last potential unrolled copyXiao Wang1-1/+1
2024-03-22Merge tag 'riscv-for-linus-6.9-mw2' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds2-6/+2
2024-03-13Merge patch series "riscv: Use Kconfig to set unaligned access speed"Palmer Dabbelt1-5/+2
2024-03-13riscv: lib: Introduce has_fast_unaligned_access()Charlie Jenkins1-5/+2
2024-02-09work around gcc bugs with 'asm goto' with outputsLinus Torvalds1-5/+5
2024-01-21riscv: remove unneeded #include <asm-generic/export.h>Masahiro Yamada1-1/+0
2024-01-18riscv: lib: Check if output in asm goto supportedCharlie Jenkins1-0/+2
2024-01-17Merge patch series "riscv: Add fine-tuned checksum functions"Palmer Dabbelt2-1/+328
2024-01-17riscv: Add checksum libraryCharlie Jenkins2-0/+327
2024-01-16Merge patch series "riscv: support kernel-mode Vector"Palmer Dabbelt5-1/+195
2024-01-16riscv: lib: vectorize copy_to_user/copy_from_userAndy Chiu4-1/+113
2024-01-16riscv: Add vector extension XOR implementationGreentime Hu2-0/+82
2024-01-09use linux/export.h rather than asm-generic/export.hAl Viro3-3/+3
2023-11-06riscv: Use SYM_*() assembly macros instead of deprecated onesClément Léger4-14/+12
2023-11-06riscv: use ".L" local labels in assembly when applicableClément Léger1-27/+27
2023-11-05RISC-V: capitalise CMO op macrosConor Dooley1-16/+16
2023-08-16riscv: uaccess: Return the number of bytes effectively not copiedAlexandre Ghiti1-4/+7
2023-04-26riscv: Allow to downgrade paging mode from the command lineAlexandre Ghiti3-0/+5
2023-03-14RISC-V: Use Zicboz in clear_page when availableAndrew Jones2-0/+75
2023-03-14riscv: lib: Include hwcap.h directlyAndrew Jones3-6/+3
2023-02-28riscv, lib: Fix Zbb strncmpBjörn Töpel1-1/+3
2023-02-28RISC-V: improve string-function assemblyHeiko Stuebner3-16/+16
2023-02-14riscv: Fix Zbb alternative IDsSamuel Holland3-3/+3
2023-01-31RISC-V: add zbb support to string functionsHeiko Stuebner3-0/+288
2023-01-31RISC-V: add infrastructure to allow different str* implementationsHeiko Stuebner4-0/+108
2022-08-10riscv: lib: uaccess: fix CSR_STATUS SR_SUM bitChen Lifu1-2/+2
2022-03-10riscv: Fixed misaligned memory access. Fixed pointer comparison.Michael T. Kloos1-50/+302
2022-01-05riscv: extable: consolidate definitionsJisheng Zhang1-4/+2
2022-01-05riscv: lib: uaccess: fold fixups into bodyJisheng Zhang1-11/+11
2022-01-05riscv: switch to relative exception tablesJisheng Zhang1-2/+2
2021-11-09include/linux/delay.h: replace kernel.h with the necessary inclusionsAndy Shevchenko1-0/+4
2021-07-23riscv: __asm_copy_to-from_user: Fix: Typos in commentsAkira Tsukamoto1-9/+9
2021-07-23riscv: __asm_copy_to-from_user: Remove unnecessary size checkAkira Tsukamoto1-1/+0
2021-07-23riscv: __asm_copy_to-from_user: Fix: fail on RV32Akira Tsukamoto1-1/+1
2021-07-23riscv: __asm_copy_to-from_user: Fix: overrun copyAkira Tsukamoto1-3/+3
2021-07-06riscv: __asm_copy_to-from_user: Optimize unaligned memory access and pipeline...Akira Tsukamoto1-35/+146
2021-01-14riscv: Add support for function error injectionGuo Ren2-0/+12
2020-12-10riscv: provide memmove implementationNylon Chen2-0/+65
2020-10-04riscv: use memcpy based uaccess for nommu againChristoph Hellwig1-1/+1
2020-04-09Merge tag 'riscv-for-linus-5.7' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-4/+2
2020-03-18riscv: uaccess should be used in nommu modeGreentime Hu1-1/+1
2020-03-03RISC-V: Stop using LOCAL for the uaccess fixupsPalmer Dabbelt1-4/+2
2020-01-22riscv: Add KASAN supportNick Hu2-4/+6
2020-01-18riscv: Less inefficient gcc tishift helpers (and export their symbols)Olof Johansson1-18/+57
2019-12-27riscv: fix compile failure with EXPORT_SYMBOL() & !MMULuc Van Oostenryck1-0/+4
2019-11-17riscv: add nommu supportChristoph Hellwig1-6/+5
2019-11-05riscv: abstract out CSR names for supervisor vs machine modeChristoph Hellwig1-6/+6
2019-08-30riscv: Using CSR numbers to access CSRsBin Meng1-6/+6
2019-08-08RISC-V: Remove udivdi3Palmer Dabbelt2-34/+0
2019-08-08riscv: delay: use do_div() instead of __udivdi3()Paul Walmsley1-1/+5
2019-06-17Merge tag 'riscv-for-v5.2/fixes-rc6' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-1/+1
2019-06-11riscv: Fix udelay in RV32.Nick Hu1-1/+1
2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 286Thomas Gleixner5-45/+5
2019-05-21treewide: Add SPDX license identifier - Makefile/KconfigThomas Gleixner1-0/+1
2018-12-21RISC-V: lib: minor asm cleanupOlof Johansson2-48/+53
2018-11-12RISC-V: lib: Fix build error for 64-bitOlof Johansson1-1/+1
2018-10-22RISC-V: Build tishift only on 64-bitZong Li1-1/+2
2018-08-13RISC-V: implement __lshrti3.Alex Guo2-0/+43
2018-06-11RISC-V: Make our port sparse-cleanPalmer Dabbelt1-2/+4
2018-06-09riscv: split the declaration of __copy_userLuc Van Oostenryck1-2/+4
2018-06-04riscv: Fix the bug in memory access fixup codeAlan Kao1-4/+9
2017-11-30RISC-V: Export some expected symbols for modulesOlof Johansson1-0/+1
2017-09-26RISC-V: Build InfrastructurePalmer Dabbelt1-0/+6
2017-09-26RISC-V: Device, timer, IRQs, and the SBIPalmer Dabbelt1-0/+110
2017-09-26RISC-V: Generic library routines and assemblyPalmer Dabbelt4-0/+390