[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200504092905.10580-1-sudeep.holla@arm.com>
Date: Mon, 4 May 2020 10:29:00 +0100
From: Sudeep Holla <sudeep.holla@....com>
To: linux-arm-kernel@...ts.infradead.org
Cc: Sudeep Holla <sudeep.holla@....com>,
Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Lorenzo Pieralisi <lorenzo.pieralisi@....com>,
Steven Price <steven.price@....com>,
linux-kernel@...r.kernel.org, harb@...erecomputing.com
Subject: [PATCH v2 0/5] arm/arm64: smccc: Add ARCH_SOC_ID support
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@arm.com/
[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
Powered by blists - more mailing lists