[PATCH] wireguard: selftests: set CONFIG_NONPORTABLE on riscv32

Jason A. Donenfeld Jason at zx2c4.com
Tue Aug 9 07:57:57 PDT 2022


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
-- 
2.35.1




More information about the linux-riscv mailing list