Hi Sandrine,
This is a good start. Can you help define the SMC FID and the return value for this use case?
Please consider the requirement to return a 3-digit value (x.y.z) to support LTS versions too.
Thanks.
-----Original Message----- From: Sandrine Bailleux sandrine.bailleux@arm.com Sent: Wednesday, 11 January 2023 8:50 AM To: Varun Wadekar vwadekar@nvidia.com Cc: tfa-lts@lists.trustedfirmware.org; tf-a@lists.trustedfirmware.org Subject: Re: [TF-A] Query BL31 version from NWd
External email: Use caution opening links or attachments
Hello Varun,
Happy New Year to you too!
This sounds like a reasonable idea to me.
JFYI we introduced an interface to query TF-A semantic version in the following patch:
https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.truste...
This is available for any BLx image, not just BL31. At the time, it was just meant to be used internally within TF-A so it's missing the SMC handler to return this information to normal world.
Best regards, Sandrine
On 1/10/23 23:42, Varun Wadekar via TF-A wrote:
Hi,
Happy new year!
For NVIDIA Tegra platforms, we need the capability to query the BL31 version (e.g. 2.7, 2.8, 2.8.x) from the NWd at runtime. I could not find an FID that returns this value.
I propose we introduce a new runtime service in bl31 that returns the version_string to the NWd to support this requirement.
Thoughts?
-Varun