[PATCH v9 5/5] riscv: Test checksum functions

Arnd Bergmann arnd at arndb.de
Wed Nov 1 12:14:07 PDT 2023


On Wed, Nov 1, 2023, at 01:18, Charlie Jenkins wrote:
> Add Kconfig support for riscv specific testing modules. This was created
> to supplement lib/checksum_kunit.c, and add tests for ip_fast_csum and
> csum_ipv6_magic.
>
> Signed-off-by: Charlie Jenkins <charlie at rivosinc.com>
> ---
>  arch/riscv/Kconfig.debug              |   1 +
>  arch/riscv/lib/Kconfig.debug          |  31 ++++
>  arch/riscv/lib/Makefile               |   2 +
>  arch/riscv/lib/riscv_checksum_kunit.c | 330 ++++++++++++++++++++++++++++++++++

I don't understand this bit, what is special about riscv here
that prevents you from adding it to the common lib/checksum_kunit.c?

       Arnd



More information about the linux-riscv mailing list