From: Sudeep Holla <sudeep.holla@arm.com>
To: linux-arm-kernel@lists.infradead.org
Cc: Sudeep Holla <sudeep.holla@arm.com>,
Catalin Marinas <catalin.marinas@arm.com>,
Will Deacon <will@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>,
Steven Price <steven.price@arm.com>,
linux-kernel@vger.kernel.org, harb@amperecomputing.com
Subject: [PATCH v2 0/5] arm/arm64: smccc: Add ARCH_SOC_ID support
Date: Mon, 4 May 2020 10:29:00 +0100 [thread overview]
Message-ID: <20200504092905.10580-1-sudeep.holla@arm.com> (raw)
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
next reply other threads:[~2020-05-04 9:29 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-04 9:29 Sudeep Holla [this message]
2020-05-04 9:29 ` [PATCH v2 1/5] arm/arm64: smccc: Update link to latest SMCCC specification Sudeep Holla
2020-05-04 9:29 ` [PATCH v2 2/5] arm/arm64: smccc: Add the definition for SMCCCv1.2 version/error codes Sudeep Holla
2020-05-04 9:29 ` [PATCH v2 3/5] arm/arm64: smccc: Drop smccc_version enum and use ARM_SMCCC_VERSION_1_x instead Sudeep Holla
2020-05-04 9:29 ` [PATCH v2 4/5] firmware: psci: Add function to fetch SMCCC version Sudeep Holla
2020-05-04 14:11 ` Steven Price
2020-05-04 9:29 ` [PATCH v2 5/5] arm/arm64: smccc: Add ARCH_SOC_ID support Sudeep Holla
2020-05-04 14:10 ` Steven Price
2020-05-04 14:49 ` Sudeep Holla
2020-05-05 16:20 ` Will Deacon
2020-05-05 17:59 ` Sudeep Holla
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200504092905.10580-1-sudeep.holla@arm.com \
--to=sudeep.holla@arm.com \
--cc=catalin.marinas@arm.com \
--cc=harb@amperecomputing.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lorenzo.pieralisi@arm.com \
--cc=mark.rutland@arm.com \
--cc=steven.price@arm.com \
--cc=will@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®