Skip to contentSkip to conversation

ARM/arm64: arm_pm_restart removal

GIT PULL Thierry Reding 5 participants 6 messages Oct 2, 2019 – Oct 15, 2019

lore
Share & tools
lore
#0 lore raw

Hi ARM SoC maintainers,

The following changes since commit 54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c:

Linux 5.4-rc1 (2019-09-30 10:35:40 -0700)

are available in the Git repository at:

https://github.com/thierryreding/linux.git tags/for-5.5/arm-pm-restart-removal

for you to fetch changes up to 81b3f28283e2f0b03cea2127e9ff78e7c505b3d3:

ARM: Remove arm_pm_restart() (2019-10-02 14:56:22 +0200)

This is the set of changes that we recently discussed that remove all uses of the arm_pm_restart symbol and replaces it by usages of the new restart handler that Guenter had introduced.

I've rebased these on top of v5.4-rc1.

Thierry

----------------------------------------------------------------
ARM/arm64: arm_pm_restart removal

This set of patches converts all remaining users of the arm_pm_restart mechanism for installing reboot hooks to the restart handler mechanism and finally removes the arm_pm_restart symbol.

----------------------------------------------------------------
Guenter Roeck (6):
ARM: prima2: Register with kernel restart handler
ARM: xen: Register with kernel restart handler
drivers: firmware: psci: Register with kernel restart handler
ARM: Register with kernel restart handler
ARM64: Remove arm_pm_restart()
ARM: Remove arm_pm_restart()

 arch/arm/include/asm/system_misc.h   |  1 -
 arch/arm/kernel/reboot.c             |  6 +-----
 arch/arm/kernel/setup.c              | 20 ++++++++++++++++++--
 arch/arm/mach-prima2/rstc.c          | 11 +++++++++--
 arch/arm/xen/enlighten.c             | 12 ++++++++++--
 arch/arm64/include/asm/system_misc.h |  2 --
 arch/arm64/kernel/process.c          |  7 +------
 drivers/firmware/psci/psci.c         | 12 ++++++++++--
 8 files changed, 49 insertions(+), 22 deletions(-)

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#1 lore raw

Why was I not copied on these changes (which clearly touch core ARM code) both the patch series and this pull request?

Quoted 48 lines · Thierry Reding

Hi ARM SoC maintainers,

The following changes since commit 54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c:

Linux 5.4-rc1 (2019-09-30 10:35:40 -0700)

are available in the Git repository at:

https://github.com/thierryreding/linux.git tags/for-5.5/arm-pm-restart-removal

for you to fetch changes up to 81b3f28283e2f0b03cea2127e9ff78e7c505b3d3:

ARM: Remove arm_pm_restart() (2019-10-02 14:56:22 +0200)

This is the set of changes that we recently discussed that remove all uses of the arm_pm_restart symbol and replaces it by usages of the new restart handler that Guenter had introduced.

I've rebased these on top of v5.4-rc1.

Thierry

----------------------------------------------------------------
ARM/arm64: arm_pm_restart removal

This set of patches converts all remaining users of the arm_pm_restart mechanism for installing reboot hooks to the restart handler mechanism and finally removes the arm_pm_restart symbol.

----------------------------------------------------------------
Guenter Roeck (6):
ARM: prima2: Register with kernel restart handler
ARM: xen: Register with kernel restart handler
drivers: firmware: psci: Register with kernel restart handler
ARM: Register with kernel restart handler
ARM64: Remove arm_pm_restart()
ARM: Remove arm_pm_restart()

 arch/arm/include/asm/system_misc.h   |  1 -
 arch/arm/kernel/reboot.c             |  6 +-----
 arch/arm/kernel/setup.c              | 20 ++++++++++++++++++--
 arch/arm/mach-prima2/rstc.c          | 11 +++++++++--
 arch/arm/xen/enlighten.c             | 12 ++++++++++--
 arch/arm64/include/asm/system_misc.h |  2 --
 arch/arm64/kernel/process.c          |  7 +------
 drivers/firmware/psci/psci.c         | 12 ++++++++++--
 8 files changed, 49 insertions(+), 22 deletions(-)
Signature · 8 lines
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps up
According to speedtest.net: 11.9Mbps down 500kbps up

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#2 lore raw

It looks like it's an old patchset that you were cc:d on at the time, but I can't blame anyone for missing context here.

Thierry, a reference to the thread would have been useful:
https://lore.kernel.org/linux-arm-kernel/[email protected]/

Given that the code is 2.5 years old, posting it again for awareness seems appropriate, even if it was acked by a few stakeholders originally.

-Olof

Quoted 54 lines · Russell King - ARM Linux admin

Why was I not copied on these changes (which clearly touch core ARM code) both the patch series and this pull request?

Quoted 38 lines · Thierry Reding

Hi ARM SoC maintainers,

The following changes since commit 54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c:

Linux 5.4-rc1 (2019-09-30 10:35:40 -0700)

are available in the Git repository at:

https://github.com/thierryreding/linux.git tags/for-5.5/arm-pm-restart-removal

for you to fetch changes up to 81b3f28283e2f0b03cea2127e9ff78e7c505b3d3:

ARM: Remove arm_pm_restart() (2019-10-02 14:56:22 +0200)

This is the set of changes that we recently discussed that remove all uses of the arm_pm_restart symbol and replaces it by usages of the new restart handler that Guenter had introduced.

I've rebased these on top of v5.4-rc1.

Thierry

----------------------------------------------------------------
ARM/arm64: arm_pm_restart removal

This set of patches converts all remaining users of the arm_pm_restart mechanism for installing reboot hooks to the restart handler mechanism and finally removes the arm_pm_restart symbol.

----------------------------------------------------------------
Guenter Roeck (6):
ARM: prima2: Register with kernel restart handler
ARM: xen: Register with kernel restart handler
drivers: firmware: psci: Register with kernel restart handler
ARM: Register with kernel restart handler
ARM64: Remove arm_pm_restart()
ARM: Remove arm_pm_restart()

Quoted 10 lines
 arch/arm/include/asm/system_misc.h   |  1 -
 arch/arm/kernel/reboot.c             |  6 +-----
 arch/arm/kernel/setup.c              | 20 ++++++++++++++++++--
 arch/arm/mach-prima2/rstc.c          | 11 +++++++++--
 arch/arm/xen/enlighten.c             | 12 ++++++++++--
 arch/arm64/include/asm/system_misc.h |  2 --
 arch/arm64/kernel/process.c          |  7 +------
 drivers/firmware/psci/psci.c         | 12 ++++++++++--
 8 files changed, 49 insertions(+), 22 deletions(-)
Quoted 4 lines

--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps up According to speedtest.net: 11.9Mbps down 500kbps up

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#3 lore raw
Quoted 10 lines · Olof Johansson

It looks like it's an old patchset that you were cc:d on at the time, but I can't blame anyone for missing context here.

Thierry, a reference to the thread would have been useful:
https://lore.kernel.org/linux-arm-kernel/[email protected]/

Given that the code is 2.5 years old, posting it again for awareness seems appropriate, even if it was acked by a few stakeholders originally.

Thierry,

would you mind doing that ?

To give some background: I had completely forgotten about this, until I recently hit a problem with restart that was difficult to debug since it was hard to figure out which reset sequence was actually executed. I thought about re-posting the series, but then we (ie those who cared enough to be involved in above referenced exchange) decided to use this approach. Now I still wonder what it will take to get the series applied.

At least posting the series as pull request did generate some attention. I count that as an improvement.

Guenter

Quoted 64 lines

-Olof

Quoted 58 lines · Russell King - ARM Linux admin

Why was I not copied on these changes (which clearly touch core ARM code) both the patch series and this pull request?

Quoted 38 lines · Thierry Reding

Hi ARM SoC maintainers,

The following changes since commit 54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c:

   Linux 5.4-rc1 (2019-09-30 10:35:40 -0700)

are available in the Git repository at:

https://github.com/thierryreding/linux.git tags/for-5.5/arm-pm-restart-removal

for you to fetch changes up to 81b3f28283e2f0b03cea2127e9ff78e7c505b3d3:

   ARM: Remove arm_pm_restart() (2019-10-02 14:56:22 +0200)

This is the set of changes that we recently discussed that remove all uses of the arm_pm_restart symbol and replaces it by usages of the new restart handler that Guenter had introduced.

I've rebased these on top of v5.4-rc1.

Thierry

----------------------------------------------------------------
ARM/arm64: arm_pm_restart removal

This set of patches converts all remaining users of the arm_pm_restart mechanism for installing reboot hooks to the restart handler mechanism and finally removes the arm_pm_restart symbol.

----------------------------------------------------------------
Guenter Roeck (6):
ARM: prima2: Register with kernel restart handler
ARM: xen: Register with kernel restart handler
drivers: firmware: psci: Register with kernel restart handler
ARM: Register with kernel restart handler
ARM64: Remove arm_pm_restart()
ARM: Remove arm_pm_restart()

Quoted 10 lines
  arch/arm/include/asm/system_misc.h   |  1 -
  arch/arm/kernel/reboot.c             |  6 +-----
  arch/arm/kernel/setup.c              | 20 ++++++++++++++++++--
  arch/arm/mach-prima2/rstc.c          | 11 +++++++++--
  arch/arm/xen/enlighten.c             | 12 ++++++++++--
  arch/arm64/include/asm/system_misc.h |  2 --
  arch/arm64/kernel/process.c          |  7 +------
  drivers/firmware/psci/psci.c         | 12 ++++++++++--
  8 files changed, 49 insertions(+), 22 deletions(-)

--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps up According to speedtest.net: 11.9Mbps down 500kbps up

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#4 lore raw
Quoted 25 lines · Guenter Roeck
Quoted 10 lines · Olof Johansson

It looks like it's an old patchset that you were cc:d on at the time, but I can't blame anyone for missing context here.

Thierry, a reference to the thread would have been useful:
https://lore.kernel.org/linux-arm-kernel/[email protected]/

Given that the code is 2.5 years old, posting it again for awareness seems appropriate, even if it was acked by a few stakeholders originally.

Thierry,

would you mind doing that ?

To give some background: I had completely forgotten about this, until I recently hit a problem with restart that was difficult to debug since it was hard to figure
out which reset sequence was actually executed. I thought about re-posting the series, but then we (ie those who cared enough to be involved in above referenced
exchange) decided to use this approach. Now I still wonder what it will take to get the series applied.

Quoted 2 lines

At least posting the series as pull request did generate some attention. I count that as an improvement.

By chance I just sent a patch which moves to restart handler for PSCI this weekend [1]. So this patch set is very much appreciated.

--
Stefan

[1]
https://lore.kernel.org/linux-arm-kernel/[email protected]/T/#u

Quoted 69 lines

Guenter

Quoted 64 lines

-Olof

Quoted 58 lines · Russell King - ARM Linux admin

Why was I not copied on these changes (which clearly touch core ARM code) both the patch series and this pull request?

Quoted 38 lines · Thierry Reding

Hi ARM SoC maintainers,

The following changes since commit 54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c:

   Linux 5.4-rc1 (2019-09-30 10:35:40 -0700)

are available in the Git repository at:

https://github.com/thierryreding/linux.git tags/for-5.5/arm-pm-restart-removal

for you to fetch changes up to 81b3f28283e2f0b03cea2127e9ff78e7c505b3d3:

   ARM: Remove arm_pm_restart() (2019-10-02 14:56:22 +0200)

This is the set of changes that we recently discussed that remove all uses of the arm_pm_restart symbol and replaces it by usages of the new restart handler that Guenter had introduced.

I've rebased these on top of v5.4-rc1.

Thierry

----------------------------------------------------------------
ARM/arm64: arm_pm_restart removal

This set of patches converts all remaining users of the arm_pm_restart mechanism for installing reboot hooks to the restart handler mechanism and finally removes the arm_pm_restart symbol.

----------------------------------------------------------------
Guenter Roeck (6):
ARM: prima2: Register with kernel restart handler
ARM: xen: Register with kernel restart handler
drivers: firmware: psci: Register with kernel restart handler
ARM: Register with kernel restart handler
ARM64: Remove arm_pm_restart()
ARM: Remove arm_pm_restart()

Quoted 10 lines
  arch/arm/include/asm/system_misc.h   |  1 -
  arch/arm/kernel/reboot.c             |  6 +-----
  arch/arm/kernel/setup.c              | 20 ++++++++++++++++++--
  arch/arm/mach-prima2/rstc.c          | 11 +++++++++--
  arch/arm/xen/enlighten.c             | 12 ++++++++++--
  arch/arm64/include/asm/system_misc.h |  2 --
  arch/arm64/kernel/process.c          |  7 +------
  drivers/firmware/psci/psci.c         | 12 ++++++++++--
  8 files changed, 49 insertions(+), 22 deletions(-)

--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps up According to speedtest.net: 11.9Mbps down 500kbps up

Quoted 4 lines

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#5 lore raw
Quoted 26 lines · Stefan Agner
Quoted 25 lines · Guenter Roeck
Quoted 10 lines · Olof Johansson

It looks like it's an old patchset that you were cc:d on at the time, but I can't blame anyone for missing context here.

Thierry, a reference to the thread would have been useful:
https://lore.kernel.org/linux-arm-kernel/[email protected]/

Given that the code is 2.5 years old, posting it again for awareness seems appropriate, even if it was acked by a few stakeholders originally.

Thierry,

would you mind doing that ?

To give some background: I had completely forgotten about this, until I recently hit a problem with restart that was difficult to debug since it was hard to figure
out which reset sequence was actually executed. I thought about re-posting the series, but then we (ie those who cared enough to be involved in above referenced
exchange) decided to use this approach. Now I still wonder what it will take to get the series applied.

Quoted 6 lines
Quoted 2 lines

At least posting the series as pull request did generate some attention. I count that as an improvement.

By chance I just sent a patch which moves to restart handler for PSCI this weekend [1]. So this patch set is very much appreciated.

I would suggest to not rely on this series. This is the third time this has been tried. Each time the series was either ignored, or there were unspecified objections along the line of "we need review this further". I may be pessimistic, but at this point I don't think the series will ever be applied. With that in mind, it might be better to either apply your patch for PSCI, or the matching patch from this series.

Guenter

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel