diff mbox series

wireguard: selftests: set CONFIG_NONPORTABLE on riscv32

Message ID 20220809145757.83673-1-Jason@zx2c4.com (mailing list archive)
State New, archived
Headers show
Series wireguard: selftests: set CONFIG_NONPORTABLE on riscv32 | expand

Commit Message

Jason A. Donenfeld Aug. 9, 2022, 2:57 p.m. UTC
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@rivosinc.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Atish Patra <atishp@rivosinc.com>
Cc: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Cc: Guo Ren <guoren@kernel.org>
Fixes: 44c1e84a38a0 ("RISC-V: Add CONFIG_{NON,}PORTABLE")
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
---
 tools/testing/selftests/wireguard/qemu/arch/riscv32.config | 1 +
 1 file changed, 1 insertion(+)

Comments

Palmer Dabbelt Aug. 12, 2022, 4:05 p.m. UTC | #1
On Tue, 09 Aug 2022 07:57:57 PDT (-0700), Jason@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@rivosinc.com>
> Cc: Arnd Bergmann <arnd@arndb.de>
> Cc: Atish Patra <atishp@rivosinc.com>
> Cc: Damien Le Moal <damien.lemoal@opensource.wdc.com>
> Cc: Guo Ren <guoren@kernel.org>
> Fixes: 44c1e84a38a0 ("RISC-V: Add CONFIG_{NON,}PORTABLE")
> Signed-off-by: Jason A. Donenfeld <Jason@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).
diff mbox series

Patch

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