[Accel-config] Re: [PATCH 1/1] accel-config/test: Remove pasid_enabled restriction from test script
Fenghua Yu <fenghua.yu at intel.com> Tue, 28 Jun 2022 08:38:14 -0700
| Newsgroups | dev.linux.lists.accel-config |
|---|---|
| Message-ID | <[email protected]> |
--===============3204348555876521812==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Hi, Tony,
On Tue, Jun 28, 2022 at 02:40:24PM +0800, Tony Zhu wrote:
> Kernel removed the restriction because it broken accel-config. Failure
s/broken/breaks/
> 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 suppo=
rt idxd"
> # skip if no pasid support as dsa_test does not support operation w/o pa=
sid yet.
> [ ! -f "/sys/bus/dsa/devices/$DSA/pasid_enabled" ] && echo "No SVM suppo=
rt" && exit "$EXIT_SKIP"
> =
> -pasid_en=3D$(cat /sys/bus/dsa/devices/$DSA/pasid_enabled)
> -if [ "$pasid_en" -ne 1 ]; then
> - exit "$EXIT_SKIP"
> -fi
> -
Without pasid, what sub-tests can run? Seems to me, without PASID enabled,
the test cannot continue.
> start_dsa()
> {
> configurable=3D$(cat /sys/bus/dsa/devices/$DSA/configurable)
> -- =
> 2.27.0
> =
Thanks.
-Fenghua
--===============3204348555876521812==--