linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv4 0/5] arm/arm64: Unify PSCI client support
@ 2015-07-02 17:12 Mark Rutland
  2015-07-02 17:12 ` [PATCHv4 1/5] ARM: psci: boot_secondary: replace __pa with virt_to_idmap Mark Rutland
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Mark Rutland @ 2015-07-02 17:12 UTC (permalink / raw)
  To: linux-arm-kernel

This series unifies the 32-bit and 64-bit PSCI client code, moving the bulk of
the FW invocation and probing out to a common location in drivers/firmware. The
bulk of the PSCI 0.2 cleanups have hit mainline now, so this is just the
unification portion.

This results in a reasonable saving in terms of lines of code, and will allow
for PSCI 1.0 support to be unified form the beginning, avoiding further
duplication.

Since v3 [1]:
* Drop the PSCI 0.2 patches as they're in mainline
* s/__pa/virt_to_idmap/ from Grygorii Strashko
* Use macros for Calxeda CPU_SUSPEND parameters

Russell, are you happy with the penultimate patch? If so, how would you prefer
that this be merged?

Rob, are you happy with the Highbank PM and Calxeda cpuidle changes?

Thanks,
Mark.

[1] http://lists.infradead.org/pipermail/linux-arm-kernel/2015-May/346492.html

Grygorii Strashko (1):
  ARM: psci: boot_secondary: replace __pa with virt_to_idmap

Mark Rutland (4):
  arm64: psci: factor invocation code to drivers
  drivers: psci: support native SMC{32,64} calls
  ARM: migrate to common PSCI client code
  MAINTAINERS: add PSCI entry

 MAINTAINERS                       |   9 +
 arch/arm/Kconfig                  |   1 +
 arch/arm/include/asm/psci.h       |  23 ---
 arch/arm/kernel/Makefile          |   2 +-
 arch/arm/kernel/psci.c            | 299 -----------------------------
 arch/arm/kernel/psci_smp.c        |  31 ++-
 arch/arm/kernel/setup.c           |   3 +-
 arch/arm/mach-highbank/highbank.c |   2 +-
 arch/arm/mach-highbank/pm.c       |  16 +-
 arch/arm64/Kconfig                |   1 +
 arch/arm64/include/asm/acpi.h     |   4 +-
 arch/arm64/include/asm/psci.h     |  28 ---
 arch/arm64/kernel/psci.c          | 361 +----------------------------------
 arch/arm64/kernel/setup.c         |   2 +-
 drivers/cpuidle/cpuidle-calxeda.c |  15 +-
 drivers/firmware/Kconfig          |   3 +
 drivers/firmware/Makefile         |   1 +
 drivers/firmware/psci.c           | 383 ++++++++++++++++++++++++++++++++++++++
 include/linux/psci.h              |  52 ++++++
 19 files changed, 501 insertions(+), 735 deletions(-)
 delete mode 100644 arch/arm/kernel/psci.c
 delete mode 100644 arch/arm64/include/asm/psci.h
 create mode 100644 drivers/firmware/psci.c
 create mode 100644 include/linux/psci.h

-- 
1.9.1

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-07-10  9:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-02 17:12 [PATCHv4 0/5] arm/arm64: Unify PSCI client support Mark Rutland
2015-07-02 17:12 ` [PATCHv4 1/5] ARM: psci: boot_secondary: replace __pa with virt_to_idmap Mark Rutland
2015-07-02 17:12 ` [PATCHv4 2/5] arm64: psci: factor invocation code to drivers Mark Rutland
2015-07-02 17:12 ` [PATCHv4 3/5] drivers: psci: support native SMC{32,64} calls Mark Rutland
2015-07-02 17:12 ` [PATCHv4 4/5] ARM: migrate to common PSCI client code Mark Rutland
2015-07-03  4:14   ` Rob Herring
2015-07-10  9:16   ` Mark Rutland
2015-07-02 17:12 ` [PATCHv4 5/5] MAINTAINERS: add PSCI entry Mark Rutland

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).