[PATCH 1/2] tests/functional/test_aarch64_device_passthrough: update image

Pierrick Bouvier posted 2 patches 4 months ago
Maintainers: Radoslaw Biernacki <rad@semihalf.com>, Peter Maydell <peter.maydell@linaro.org>, Leif Lindholm <leif.lindholm@oss.qualcomm.com>
There is a newer version of this series
[PATCH 1/2] tests/functional/test_aarch64_device_passthrough: update image
Posted by Pierrick Bouvier 4 months ago
TF-A needs to be patched to enable support for FEAT_TCR2 and
FEAT_SCTLR2. This new image contains updated firmware.

Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
---
 tests/functional/test_aarch64_device_passthrough.py | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/tests/functional/test_aarch64_device_passthrough.py b/tests/functional/test_aarch64_device_passthrough.py
index 1f3f158a9ff..73bb0df8aba 100755
--- a/tests/functional/test_aarch64_device_passthrough.py
+++ b/tests/functional/test_aarch64_device_passthrough.py
@@ -77,15 +77,16 @@
 
 class Aarch64DevicePassthrough(QemuSystemTest):
 
-    # https://github.com/pbo-linaro/qemu-linux-stack
+    # https://github.com/pbo-linaro/qemu-linux-stack/tree/device_passthrough
+    # $ ./build.sh && ./archive_artifacts.sh out.tar.xz
     #
     # Linux kernel is compiled with defconfig +
     # IOMMUFD + VFIO_DEVICE_CDEV + ARM_SMMU_V3_IOMMUFD
     # https://docs.kernel.org/driver-api/vfio.html#vfio-device-cde
     ASSET_DEVICE_PASSTHROUGH_STACK = Asset(
-        ('https://fileserver.linaro.org/s/fx5DXxBYme8dw2G/'
-         'download/device_passthrough.tar.xz'),
-         '812750b664d61c2986f2b149939ae28cafbd60d53e9c7e4b16e97143845e196d')
+        ('https://fileserver.linaro.org/s/bz9cjSGPgWJ2iQT/'
+         'download/device_passthrough_v2.tar.xz'),
+         '5e892ee9ea4d1348e673524485ecfb960f748dfdd76dbc396347b1781a4f4252')
 
     # This tests the device passthrough implementation, by booting a VM
     # supporting it with two nvme disks attached, and launching a nested VM
-- 
2.47.2
Re: [PATCH 1/2] tests/functional/test_aarch64_device_passthrough: update image
Posted by Manos Pitsidianakis 4 months ago
On Wed, Jul 16, 2025 at 12:25 AM Pierrick Bouvier
<pierrick.bouvier@linaro.org> wrote:
>
> TF-A needs to be patched to enable support for FEAT_TCR2 and
> FEAT_SCTLR2. This new image contains updated firmware.
>
> Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
> ---
>  tests/functional/test_aarch64_device_passthrough.py | 9 +++++----
>  1 file changed, 5 insertions(+), 4 deletions(-)
>
> diff --git a/tests/functional/test_aarch64_device_passthrough.py b/tests/functional/test_aarch64_device_passthrough.py
> index 1f3f158a9ff..73bb0df8aba 100755
> --- a/tests/functional/test_aarch64_device_passthrough.py
> +++ b/tests/functional/test_aarch64_device_passthrough.py
> @@ -77,15 +77,16 @@
>
>  class Aarch64DevicePassthrough(QemuSystemTest):
>
> -    # https://github.com/pbo-linaro/qemu-linux-stack
> +    # https://github.com/pbo-linaro/qemu-linux-stack/tree/device_passthrough
> +    # $ ./build.sh && ./archive_artifacts.sh out.tar.xz
>      #
>      # Linux kernel is compiled with defconfig +
>      # IOMMUFD + VFIO_DEVICE_CDEV + ARM_SMMU_V3_IOMMUFD
>      # https://docs.kernel.org/driver-api/vfio.html#vfio-device-cde
>      ASSET_DEVICE_PASSTHROUGH_STACK = Asset(
> -        ('https://fileserver.linaro.org/s/fx5DXxBYme8dw2G/'
> -         'download/device_passthrough.tar.xz'),
> -         '812750b664d61c2986f2b149939ae28cafbd60d53e9c7e4b16e97143845e196d')
> +        ('https://fileserver.linaro.org/s/bz9cjSGPgWJ2iQT/'
> +         'download/device_passthrough_v2.tar.xz'),
> +         '5e892ee9ea4d1348e673524485ecfb960f748dfdd76dbc396347b1781a4f4252')
>
>      # This tests the device passthrough implementation, by booting a VM
>      # supporting it with two nvme disks attached, and launching a nested VM
> --
> 2.47.2
>
>

Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Tested-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>