Skip to content

More 'generic' vexpress poweroff/restart driver

Catalin Marinas linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2arm: vexpress: Move the poweroff/restart code to drivers/power/resetarch/arm/mach-vexpress/Kconfig arch/arm/mach-vexpress/Makefile drivers/power/reset/Kconfig +2 more+13 -20 replies
2/2arm: vexpress: Decouple vexpress-poweroff implementation from machine_descarch/arm/mach-vexpress/v2m.c drivers/power/reset/vexpress-poweroff.c include/linux/vexpress.h+7 -100 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchPawel Moll
1/2A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] More 'generic' vexpress poweroff/restart driver

Hi,

These patches move the vexpress poweroff/restart code to driver/power/reset/ so that it can be used on arm64. The only non-generic feature is the setting of the arm_pm_restart variable but I can probably live with this under arm64.

Thanks.

Catalin Marinas (2):
arm: vexpress: Move the poweroff/restart code to drivers/power/reset
arm: vexpress: Decouple vexpress-poweroff implementation from
machine_desc

 arch/arm/mach-vexpress/Kconfig                                   | 3 +++
 arch/arm/mach-vexpress/Makefile                                  | 2 +-
 arch/arm/mach-vexpress/v2m.c                                     | 5 -----
 drivers/power/reset/Kconfig                                      | 7 +++++++
 drivers/power/reset/Makefile                                     | 3 ++-
 .../reset.c => drivers/power/reset/vexpress-poweroff.c           | 9 +++++++--
 include/linux/vexpress.h                                         | 3 ---
 7 files changed, 20 insertions(+), 12 deletions(-)
 rename arch/arm/mach-vexpress/reset.c => drivers/power/reset/vexpress-poweroff.c (93%)