]> git.ipfire.org Git - thirdparty/linux.git/commit
firmware: stratix10-svc: Add support to query Arm Trusted Firmware (ATF) version
authorTze Yee Ng <tze.yee.ng@altera.com>
Wed, 3 Jun 2026 05:28:42 +0000 (22:28 -0700)
committerDinh Nguyen <dinguyen@kernel.org>
Mon, 8 Jun 2026 13:37:35 +0000 (22:37 +0900)
commit71e6a19fe2669faf7dcb96ba8a4fde927485e60e
treed195bfd4d36ae875426e38b34db5adb8c9ca9067
parent30b1f763bfc1b0db42f58904ec378066cc886c44
firmware: stratix10-svc: Add support to query Arm Trusted Firmware (ATF) version

Add entry in Stratix10 service layer that allow client to retrieve the ATF
version at runtime, which is useful for system diagnostics, compatibility
checks, and ensuring the correct secure firmware is in use.

The change introduces:
- A new service command definition in the Stratix10 service layer to
initiate the ATF version query.
- A corresponding macro definition in the header file to expose the command
ID for use by other components.

The service layer uses a Secure Monitor Call (SMC) to communicate with the
ATF and retrieve the version string, which can then be logged or validated
by client application.

Signed-off-by: Tze Yee Ng <tze.yee.ng@altera.com>
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
drivers/firmware/stratix10-svc.c
include/linux/firmware/intel/stratix10-smc.h
include/linux/firmware/intel/stratix10-svc-client.h