]> git.baikalelectronics.ru Git - kernel.git/commit
firmware: smccc: Add HAVE_ARM_SMCCC_DISCOVERY to identify SMCCC v1.1 and above
authorSudeep Holla <sudeep.holla@arm.com>
Mon, 18 May 2020 09:12:16 +0000 (10:12 +0100)
committerWill Deacon <will@kernel.org>
Wed, 20 May 2020 18:10:37 +0000 (19:10 +0100)
commit0b1051a0b317909e4b49b0ecf259e0402e9ddbc2
tree889849636f4133571170998637b8926d6f948966
parenta3c98f842c1888b4df27e091ed5a315b6f7c1aa9
firmware: smccc: Add HAVE_ARM_SMCCC_DISCOVERY to identify SMCCC v1.1 and above

SMCCC v1.0 lacked discoverability of version and features. To accelerate
adoption of few mitigations and protect systems more rapidly from various
vulnerability, PSCI v1.0 was updated to add SMCCC discovery mechanism
though the PSCI firmware implementation of PSCI_FEATURES(SMCCC_VERSION)
which returns success on firmware compliant to SMCCC v1.1 and above.

This inturn makes SMCCC v1.1 and above dependent on ARM_PSCI_FW for
backward compatibility. Let us introduce a new hidden config for the
same to build more features on top of SMCCC v1.1 and above.

While at it, also sort alphabetically the psci entry.

Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Tested-by: Etienne Carriere <etienne.carriere@st.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-2-sudeep.holla@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/firmware/Kconfig
drivers/firmware/smccc/Kconfig [new file with mode: 0644]