[PATCH 0/4] arm64: SMCCC conduit cleanup
Lorenzo Pieralisi
lorenzo.pieralisi at arm.com
Mon May 14 04:43:22 PDT 2018
On Thu, May 03, 2018 at 06:03:26PM +0100, Mark Rutland wrote:
> Currently, the cpu errata code goes digging into PSCI internals to
> discover the SMCCC conduit, using the (arguably misnamed) PSCI_CONDUIT_*
> definitions. This lack of abstraction is somewhat unfortunate.
>
> Further, the SDEI code has an almost identical set of CONDUIT_*
> definitions, and the duplication is rather unfortunate.
>
> Let's unify things behind a common set of SMCCC_CONDUIT_* definitions,
> and expose the SMCCCv1.1 conduit via a new helper that hides the PSCI
> driver internals.
>
> Mark.
>
> Mark Rutland (4):
> arm/arm64: smccc/psci: add arm_smccc_get_conduit()
> arm64: errata: use arm_smccc_get_conduit()
> firmware/psci: use common SMCCC_CONDUIT_*
> firmware: arm_sdei: use common SMCCC_CONDUIT_*
>
> arch/arm64/kernel/cpu_errata.c | 11 +++--------
> arch/arm64/kernel/sdei.c | 3 ++-
> drivers/firmware/arm_sdei.c | 12 ++++++------
> drivers/firmware/psci.c | 24 ++++++++++++++++--------
> include/linux/arm-smccc.h | 16 ++++++++++++++++
> include/linux/arm_sdei.h | 6 ------
> include/linux/psci.h | 9 ++-------
> 7 files changed, 45 insertions(+), 36 deletions(-)
For the series:
Acked-by: Lorenzo Pieralisi <lorenzo.pieralisi at arm.com>
More information about the linux-arm-kernel
mailing list