[PATCH v2 0/5] arm/arm64: smccc: Add ARCH_SOC_ID support

From: Sudeep Holla
Date: Mon May 04 2020 - 05:29:14 EST


Hi,

This patch series adds support for SMCCCv1.2 ARCH_SOC_ID.
This doesn't add other changes added in SMCCC v1.2 yet. They will
follow these soon along with its first user SPCI/PSA-FF.

This is tested using upstream TF-A + the patch[1] fixing the original
implementation there.


v1[0]->v2:
- Incorporated comments from Steven Price in patch 5/5
- Fixed build for CONFIG_PSCI_FW=n on some arm32 platforms
- Added Steven Price's review tags

Regards,
Sudeep

[0] https://lore.kernel.org/r/20200430114814.14116-1-sudeep.holla@xxxxxxx/
[1] https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/4001

Sudeep Holla (5):
arm/arm64: smccc: Update link to latest SMCCC specification
arm/arm64: smccc: Add the definition for SMCCCv1.2 version/error codes
arm/arm64: smccc: Drop smccc_version enum and use ARM_SMCCC_VERSION_1_x instead
firmware: psci: Add function to fetch SMCCC version
arm/arm64: smccc: Add ARCH_SOC_ID support

arch/arm64/kernel/paravirt.c | 2 +-
drivers/firmware/psci/Kconfig | 9 ++
drivers/firmware/psci/Makefile | 1 +
drivers/firmware/psci/psci.c | 13 ++-
drivers/firmware/psci/soc_id.c | 165 +++++++++++++++++++++++++++++++++
include/linux/arm-smccc.h | 23 ++++-
include/linux/psci.h | 7 +-
7 files changed, 207 insertions(+), 13 deletions(-)
create mode 100644 drivers/firmware/psci/soc_id.c

--
2.17.1