[PATCH] wireguard: selftests: set CONFIG_NONPORTABLE on riscv32

Palmer Dabbelt palmer at rivosinc.com
Fri Aug 12 09:05:48 PDT 2022


On Tue, 09 Aug 2022 07:57:57 PDT (-0700), Jason at zx2c4.com wrote:
> When the CONFIG_PORTABLE/CONFIG_NONPORTABLE switches were added, various
> configs were updated, but the wireguard config was forgotten about. This
> leads to unbootable test kernels, causing CI fails. Add
> CONFIG_NONPORTABLE=y to the wireguard test suite configuration for
> riscv32.
>
> Cc: Palmer Dabbelt <palmer at rivosinc.com>
> Cc: Arnd Bergmann <arnd at arndb.de>
> Cc: Atish Patra <atishp at rivosinc.com>
> Cc: Damien Le Moal <damien.lemoal at opensource.wdc.com>
> Cc: Guo Ren <guoren at kernel.org>
> Fixes: 44c1e84a38a0 ("RISC-V: Add CONFIG_{NON,}PORTABLE")
> Signed-off-by: Jason A. Donenfeld <Jason at zx2c4.com>
> ---
>  tools/testing/selftests/wireguard/qemu/arch/riscv32.config | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/tools/testing/selftests/wireguard/qemu/arch/riscv32.config b/tools/testing/selftests/wireguard/qemu/arch/riscv32.config
> index 0bd0e72d95d4..2fc36efb166d 100644
> --- a/tools/testing/selftests/wireguard/qemu/arch/riscv32.config
> +++ b/tools/testing/selftests/wireguard/qemu/arch/riscv32.config
> @@ -1,3 +1,4 @@
> +CONFIG_NONPORTABLE=y
>  CONFIG_ARCH_RV32I=y
>  CONFIG_MMU=y
>  CONFIG_FPU=y

Thanks, this is on for-next (still planning on sending the PR for 5.20, 
things just got a bit hung up on my end).



More information about the linux-riscv mailing list