Sudeep Holla a4fb174651 firmware: smccc: Add function to fetch SMCCC version
For backward compatibility reasons, PSCI maintains SMCCC version as
SMCCC didn't provide ARM_SMCCC_VERSION_FUNC_ID until v1.1.

PSCI initialises both the SMCCC version and conduit. Similar to the
conduit, let us provide accessors to fetch the SMCCC version also so
that other SMCCC v1.1+ features can use it.

Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Tested-by: Etienne Carriere <etienne.carriere@st.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Reviewed-by: Etienne Carriere <etienne.carriere@st.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Link: https://lore.kernel.org/r/20200518091222.27467-7-sudeep.holla@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
2020-05-20 19:10:37 +01:00
..
2020-04-24 21:03:57 +02:00
2020-03-23 07:59:38 +01:00
2020-04-26 11:04:15 -07:00
2020-04-24 12:44:19 -07:00
2020-04-03 15:05:35 -07:00
2020-04-21 12:27:18 -07:00
2020-04-10 11:32:22 +02:00
2020-04-23 15:51:37 -07:00
2020-04-24 10:20:08 -07:00
2020-04-14 11:58:04 -07:00
2020-04-04 18:07:59 -07:00
2020-04-01 18:18:18 -07:00
2020-04-16 13:52:31 -07:00
2020-03-30 11:43:51 -07:00
2020-04-08 21:03:40 -07:00
2020-04-03 15:05:35 -07:00
2020-04-26 11:17:44 -07:00
2020-03-31 16:13:09 -07:00
2020-04-03 14:25:02 -07:00
2020-04-08 21:03:40 -07:00
2020-04-10 10:06:54 -07:00
2020-03-31 10:05:01 -07:00
2020-03-30 14:58:26 -07:00
2020-04-23 09:28:15 -07:00
2020-04-17 06:05:29 -04:00
2020-04-07 19:48:52 -07:00
2020-04-21 14:21:20 +02:00
2020-04-02 15:50:04 -07:00
2020-04-03 15:05:35 -07:00
2020-03-23 08:04:08 +01:00
2020-04-20 10:19:22 -04:00
2020-04-20 10:19:22 -04:00
2020-04-07 20:24:34 -07:00
2020-04-17 10:35:17 -07:00
2020-04-03 13:12:26 -07:00
2020-04-08 10:51:53 -07:00
2020-04-08 10:51:53 -07:00