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

Pierrick Bouvier posted 2 patches 4 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20250715212335.2215509-1-pierrick.bouvier@linaro.org
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
tests/functional/test_aarch64_device_passthrough.py | 9 +++++----
tests/functional/test_aarch64_rme_sbsaref.py        | 9 +++++----
tests/functional/test_aarch64_rme_virt.py           | 9 +++++----
3 files changed, 15 insertions(+), 12 deletions(-)
[PATCH 0/2] aarch64: update test images with new trusted firmware
Posted by Pierrick Bouvier 4 months 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.

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

 tests/functional/test_aarch64_device_passthrough.py | 9 +++++----
 tests/functional/test_aarch64_rme_sbsaref.py        | 9 +++++----
 tests/functional/test_aarch64_rme_virt.py           | 9 +++++----
 3 files changed, 15 insertions(+), 12 deletions(-)

-- 
2.47.2
Re: [PATCH 0/2] aarch64: update test images with new trusted firmware
Posted by Pierrick Bouvier 3 months, 4 weeks ago
On 7/15/25 2:23 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.
> 
> Pierrick Bouvier (2):
>    tests/functional/test_aarch64_device_passthrough: update image
>    tests/functional/test_aarch64_rme: update image
> 
>   tests/functional/test_aarch64_device_passthrough.py | 9 +++++----
>   tests/functional/test_aarch64_rme_sbsaref.py        | 9 +++++----
>   tests/functional/test_aarch64_rme_virt.py           | 9 +++++----
>   3 files changed, 15 insertions(+), 12 deletions(-)
> 

Superseded this with v2:
https://lore.kernel.org/qemu-devel/20250719035838.2284029-1-pierrick.bouvier@linaro.org/T/#t

Regards,
Pierrick
Re: [PATCH 0/2] aarch64: update test images with new trusted firmware
Posted by Richard Henderson 4 months ago
On 7/15/25 15:23, 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.
> 
> Pierrick Bouvier (2):
>    tests/functional/test_aarch64_device_passthrough: update image
>    tests/functional/test_aarch64_rme: update image
> 
>   tests/functional/test_aarch64_device_passthrough.py | 9 +++++----
>   tests/functional/test_aarch64_rme_sbsaref.py        | 9 +++++----
>   tests/functional/test_aarch64_rme_virt.py           | 9 +++++----
>   3 files changed, 15 insertions(+), 12 deletions(-)
> 

Thanks.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Tested-by: Richard Henderson <richard.henderson@linaro.org>

and queued with FEAT_MEC.  I'll re-post at some point closer to opening of the 10.2 tree.


r~
Re: [PATCH 0/2] aarch64: update test images with new trusted firmware
Posted by Pierrick Bouvier 4 months ago
On 7/16/25 9:40 AM, Richard Henderson wrote:
> On 7/15/25 15:23, 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.
>>
>> Pierrick Bouvier (2):
>>     tests/functional/test_aarch64_device_passthrough: update image
>>     tests/functional/test_aarch64_rme: update image
>>
>>    tests/functional/test_aarch64_device_passthrough.py | 9 +++++----
>>    tests/functional/test_aarch64_rme_sbsaref.py        | 9 +++++----
>>    tests/functional/test_aarch64_rme_virt.py           | 9 +++++----
>>    3 files changed, 15 insertions(+), 12 deletions(-)
>>
> 
> Thanks.
> 
> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
> Tested-by: Richard Henderson <richard.henderson@linaro.org>
> 
> and queued with FEAT_MEC.  I'll re-post at some point closer to opening of the 10.2 tree.
>

Do you plan to merge FEAT_MEC for 10.1, or prefer to wait for 10.2?

> 
> r~
Re: [PATCH 0/2] aarch64: update test images with new trusted firmware
Posted by Richard Henderson 4 months ago
On Wed, 16 July 2025, 10:50 Pierrick Bouvier, <pierrick.bouvier@linaro.org>
wrote:

> Do you plan to merge FEAT_MEC for 10.1, or prefer to wait for 10.2?
>

We have missed the soft freeze window. It must wait for 10.2 now.


r~

>
Re: [PATCH 0/2] aarch64: update test images with new trusted firmware
Posted by Pierrick Bouvier 4 months ago
On 7/16/25 11:13 AM, Richard Henderson wrote:
> On Wed, 16 July 2025, 10:50 Pierrick Bouvier, 
> <pierrick.bouvier@linaro.org <mailto:pierrick.bouvier@linaro.org>> wrote:
> 
>     Do you plan to merge FEAT_MEC for 10.1, or prefer to wait for 10.2?
> 
> 
> We have missed the soft freeze window. It must wait for 10.2 now.
> 

Oh right, I thought it was end of this week, but saw it was yesterday.

> 
> r~
>