[Accel-config] [PATCH 1/1] accel-config/test: Remove pasid_enabled restriction from test script
Tony Zhu <tony.zhu at intel.com> Tue, 28 Jun 2022 14:40:24 +0800
| Newsgroups | dev.linux.lists.accel-config |
|---|---|
| Message-ID | <[email protected]> |
--===============0425643317762021029==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Kernel removed the restriction because it broken accel-config. Failure
will happen during wq enable. Remove the checking from test script too.
Signed-off-by: Tony Zhu <tony.zhu(a)intel.com>
---
test/dsa_user_test_runner.sh | 5 -----
1 file changed, 5 deletions(-)
diff --git a/test/dsa_user_test_runner.sh b/test/dsa_user_test_runner.sh
index dfaa930..ae9010d 100755
--- a/test/dsa_user_test_runner.sh
+++ b/test/dsa_user_test_runner.sh
@@ -19,11 +19,6 @@ check_min_kver "5.6" || do_skip "kernel does not support=
idxd"
# skip if no pasid support as dsa_test does not support operation w/o pasi=
d yet.
[ ! -f "/sys/bus/dsa/devices/$DSA/pasid_enabled" ] && echo "No SVM support=
" && exit "$EXIT_SKIP"
=
-pasid_en=3D$(cat /sys/bus/dsa/devices/$DSA/pasid_enabled)
-if [ "$pasid_en" -ne 1 ]; then
- exit "$EXIT_SKIP"
-fi
-
start_dsa()
{
configurable=3D$(cat /sys/bus/dsa/devices/$DSA/configurable)
-- =
2.27.0
--===============0425643317762021029==--