25 lines
1.3 KiB
Diff
25 lines
1.3 KiB
Diff
diff -ur idxd-config-accel-config-v3.4.2/test/dsa_user_test_runner.sh idxd-config-accel-config-v3.4.2-new/test/dsa_user_test_runner.sh
|
|
--- idxd-config-accel-config-v3.4.2/test/dsa_user_test_runner.sh 2021-09-28 16:03:05.000000000 -0700
|
|
+++ idxd-config-accel-config-v3.4.2-new/test/dsa_user_test_runner.sh 2021-10-13 08:26:34.098233734 -0700
|
|
@@ -14,7 +14,7 @@
|
|
|
|
[ ! -f "$DSATEST" ] && echo "fail: $LINENO" && exit 1
|
|
|
|
-check_min_kver "5.6" || do_skip "kernel does not support idxd"
|
|
+check_min_kver "4.18" || do_skip "kernel does not support idxd"
|
|
|
|
# skip if no pasid support as dsa_test does not support operation w/o pasid yet.
|
|
[ ! -f "/sys/bus/dsa/devices/$DSA/pasid_enabled" ] && echo "No SVM support" && exit "$EXIT_SKIP"
|
|
diff -ur idxd-config-accel-config-v3.4.2/test/libaccfg.c idxd-config-accel-config-v3.4.2-new/test/libaccfg.c
|
|
--- idxd-config-accel-config-v3.4.2/test/libaccfg.c 2021-09-28 16:03:05.000000000 -0700
|
|
+++ idxd-config-accel-config-v3.4.2-new/test/libaccfg.c 2021-10-13 08:27:08.099387351 -0700
|
|
@@ -1003,7 +1003,7 @@
|
|
struct kmod_module *mod, *mdev_mod;
|
|
struct accfg_device *device;
|
|
|
|
- if (!accfg_test_attempt(test, KERNEL_VERSION(5, 6, 0)))
|
|
+ if (!accfg_test_attempt(test, KERNEL_VERSION(4, 18, 0)))
|
|
return EXIT_SKIP;
|
|
|
|
accfg_set_log_priority(ctx, loglevel);
|