diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2022-05-04 23:29:20 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-05-05 03:49:57 +0300 |
commit | 3fc1b11e5d7278437bdfff0e01f51e777eefb222 (patch) | |
tree | d25c3d9d7ead417a3ecdc7fca002aaead4a1bd4f /tools/testing/selftests/wireguard/qemu/arch/riscv32.config | |
parent | a6b8ea9144340c0aaa66c817a3bbb6bca47f0321 (diff) | |
download | linux-3fc1b11e5d7278437bdfff0e01f51e777eefb222.tar.xz |
wireguard: selftests: set panic_on_warn=1 from cmdline
Rather than setting this once init is running, set panic_on_warn from
the kernel command line, so that it catches splats from WireGuard
initialization code and the various crypto selftests.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/selftests/wireguard/qemu/arch/riscv32.config')
-rw-r--r-- | tools/testing/selftests/wireguard/qemu/arch/riscv32.config | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/wireguard/qemu/arch/riscv32.config b/tools/testing/selftests/wireguard/qemu/arch/riscv32.config index ea53e78e923e..0bd0e72d95d4 100644 --- a/tools/testing/selftests/wireguard/qemu/arch/riscv32.config +++ b/tools/testing/selftests/wireguard/qemu/arch/riscv32.config @@ -8,5 +8,5 @@ CONFIG_SERIAL_OF_PLATFORM=y CONFIG_VIRTIO_MENU=y CONFIG_VIRTIO_MMIO=y CONFIG_VIRTIO_CONSOLE=y -CONFIG_CMDLINE="console=ttyS0 wg.success=vport0p1" +CONFIG_CMDLINE="console=ttyS0 wg.success=vport0p1 panic_on_warn=1" CONFIG_CMDLINE_FORCE=y |