[PATCH v2 0/2] aarch64: update test images with new trusted firmware

Pierrick Bouvier posted 2 patches 3 months, 4 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20250719035838.2284029-1-pierrick.bouvier@linaro.org
Maintainers: Radoslaw Biernacki <rad@semihalf.com>, Peter Maydell <peter.maydell@linaro.org>, Leif Lindholm <leif.lindholm@oss.qualcomm.com>
.../test_aarch64_device_passthrough.py        | 27 +++---
tests/functional/test_aarch64_rme_sbsaref.py  | 64 ++++++++------
tests/functional/test_aarch64_rme_virt.py     | 85 +++++++------------
3 files changed, 80 insertions(+), 96 deletions(-)
[PATCH v2 0/2] aarch64: update test images with new trusted firmware
Posted by Pierrick Bouvier 3 months, 4 weeks ago
The FEAT_MEC series [1] introduces FEAT_TCR2 and FEAT_SCTLR2.
TF-A needs to be aware of that change to allow accesses to those registers, and
thus must be patched [2] to enable this for QEMU platforms.

Concerned test images need to be updated to allow them to boot.

[1] https://lore.kernel.org/qemu-devel/20250714155836.1514748-1-richard.henderson@linaro.org/
[2] https://git.codelinaro.org/linaro/dcap/tf-a/trusted-firmware-a/-/commit/c8836cec14213bf92dae79d353bc345254a0a31e

Note: [2] will be upstreamed in TF-A once associated series on QEMU side is
merged.

v2
--

- Updated test images with lighter images (only firmwares + kernel + lkvm)
  performing only a Realm boot, and skipping the attestation reporting.
  This does not change what is tested on QEMU side.
- Build those images automatically on GitHub, and fetch them from there
  directly.

Pierrick Bouvier (2):
  tests/functional/test_aarch64_device_passthrough: update image
  tests/functional/test_aarch64_rme: update image

 .../test_aarch64_device_passthrough.py        | 27 +++---
 tests/functional/test_aarch64_rme_sbsaref.py  | 64 ++++++++------
 tests/functional/test_aarch64_rme_virt.py     | 85 +++++++------------
 3 files changed, 80 insertions(+), 96 deletions(-)

-- 
2.47.2
Re: [PATCH v2 0/2] aarch64: update test images with new trusted firmware
Posted by Pierrick Bouvier 3 months, 4 weeks ago
Hi Richard,

On 7/18/25 8:58 PM, Pierrick Bouvier wrote:
> The FEAT_MEC series [1] introduces FEAT_TCR2 and FEAT_SCTLR2.
> TF-A needs to be aware of that change to allow accesses to those registers, and
> thus must be patched [2] to enable this for QEMU platforms.
> 
> Concerned test images need to be updated to allow them to boot.
> 
> [1] https://lore.kernel.org/qemu-devel/20250714155836.1514748-1-richard.henderson@linaro.org/
> [2] https://git.codelinaro.org/linaro/dcap/tf-a/trusted-firmware-a/-/commit/c8836cec14213bf92dae79d353bc345254a0a31e
> 
> Note: [2] will be upstreamed in TF-A once associated series on QEMU side is
> merged.
> 
> v2
> --
> 
> - Updated test images with lighter images (only firmwares + kernel + lkvm)
>    performing only a Realm boot, and skipping the attestation reporting.
>    This does not change what is tested on QEMU side.
> - Build those images automatically on GitHub, and fetch them from there
>    directly.
> 
> Pierrick Bouvier (2):
>    tests/functional/test_aarch64_device_passthrough: update image
>    tests/functional/test_aarch64_rme: update image
> 
>   .../test_aarch64_device_passthrough.py        | 27 +++---
>   tests/functional/test_aarch64_rme_sbsaref.py  | 64 ++++++++------
>   tests/functional/test_aarch64_rme_virt.py     | 85 +++++++------------
>   3 files changed, 80 insertions(+), 96 deletions(-)
> 

please fetch this new version instead of v1, as it contains images that 
will be easier for us to maintain in the long term.

Regards,
Pierrick