Re: [kvm-unit-tests PATCH] riscv: sbi: Add SBI Debug Triggers Extension tests

2025-06-02 Thread Charlie Jenkins
On Thu, May 29, 2025 at 03:36:10PM -0700, Jesse Taube wrote: > Add tests for the DBTR SBI extension. > > Signed-off-by: Jesse Taube Thanks! Reviewed-by: Charlie Jenkins Tested-by: Charlie Jenkins > --- > lib/riscv/asm/sbi.h | 28 ++ > lib/riscv/sbi.c | 58 > riscv/Makefile |

Re: [RFC PATCH 04/33] vfio: selftests: Test basic VFIO and IOMMUFD integration

2025-06-02 Thread Alex Williamson
On Fri, 23 May 2025 23:29:49 + David Matlack wrote: > +int main(int argc, char *argv[]) > +{ > + char *bdf; > + > + if (argc != 2) { > + printf("Usage: %s bus:device:function\n", argv[0]); segment:bus:device.function? > + return 1; 1 or KSFT_FAIL? Thanks, A

[PATCH net] selftests: drv-net: add configs for the TSO test

2025-06-02 Thread Jakub Kicinski
Add missing config options for the tso.py test, specifically to make sure the kernel is built with vxlan and gre tunnels. I noticed this while adding a TSO-capable device QEMU to the CI. Previously we only run virtio tests and it doesn't report LSO stats on the QEMU we have. Fixes: 0d0f4174f6c8 (

Re: [RFC PATCH 30/33] vfio: selftests: Add a script to help with running VFIO selftests

2025-06-02 Thread Alex Williamson
On Fri, 23 May 2025 23:30:15 + David Matlack wrote: > Introduce run.sh, a script to help with running VFIO selftests. The > script is intended to be used for both humans manually running VFIO > selftests, and to incorporate into test automation where VFIO selftests > may run alongside other t

Re: [PATCH net] Revert "kunit: configs: Enable CONFIG_INIT_STACK_ALL_PATTERN in all_tests"

2025-06-02 Thread Shuah Khan
On 6/2/25 07:34, Richard Fitzgerald wrote: On 31/05/2025 2:07 am, Jakub Kicinski wrote: On Fri, 30 May 2025 10:59:54 -0600 Shuah Khan wrote: On 5/30/25 07:58, Jakub Kicinski wrote: This reverts commit a571a9a1b120264e24b41eddf1ac5140131bfa84. The commit in question breaks kunit for older comp

Re: [RFC PATCH 00/33] vfio: Introduce selftests for VFIO

2025-06-02 Thread Cédric Le Goater
On 5/24/25 01:29, David Matlack wrote: This series introduces VFIO selftests, located in tools/testing/selftests/vfio/. VFIO selftests aim to enable kernel developers to write and run tests that take the form of userspace programs that interact with VFIO and IOMMUFD uAPIs. VFIO selftests can be

Re: [PATCH net] Revert "kunit: configs: Enable CONFIG_INIT_STACK_ALL_PATTERN in all_tests"

2025-06-02 Thread Richard Fitzgerald
On 31/05/2025 2:07 am, Jakub Kicinski wrote: On Fri, 30 May 2025 10:59:54 -0600 Shuah Khan wrote: On 5/30/25 07:58, Jakub Kicinski wrote: This reverts commit a571a9a1b120264e24b41eddf1ac5140131bfa84. The commit in question breaks kunit for older compilers: $ gcc --version gcc (GCC) 11.5.0