linux-riscv.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] wireguard: selftests: set CONFIG_NONPORTABLE on riscv32
@ 2022-08-09 14:57 Jason A. Donenfeld
  2022-08-12 16:05 ` Palmer Dabbelt
  0 siblings, 1 reply; 2+ messages in thread
From: Jason A. Donenfeld @ 2022-08-09 14:57 UTC (permalink / raw)
  To: palmer; +Cc: linux-riscv, Jason A. Donenfeld

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


_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] wireguard: selftests: set CONFIG_NONPORTABLE on riscv32
  2022-08-09 14:57 [PATCH] wireguard: selftests: set CONFIG_NONPORTABLE on riscv32 Jason A. Donenfeld
@ 2022-08-12 16:05 ` Palmer Dabbelt
  0 siblings, 0 replies; 2+ messages in thread
From: Palmer Dabbelt @ 2022-08-12 16:05 UTC (permalink / raw)
  To: Jason; +Cc: linux-riscv, Jason

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).

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-08-12 16:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-09 14:57 [PATCH] wireguard: selftests: set CONFIG_NONPORTABLE on riscv32 Jason A. Donenfeld
2022-08-12 16:05 ` Palmer Dabbelt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).