Skip to content

step towards removal of mach/system.h

Will Deacon linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 12 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 12 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH/RFT 0/12] step towards removal of mach/system.h

Hi Nico,

Quoted 5 lines · Nicolas Pitre

In the spirit of eventually being able to boot a single zImage on multiple SOCs, we need to get rid of mach/system.h. This file mainly contains two inline functions that should be out-of-line and assigned to the existing global hooks at run time. Those functions are arch_idle() and arch_reset(). The following series only address the former.

I'm looking at the latter, but I'm losing the will to live in the process.

Quoted 4 lines

[PATCH 01/12] ARM: clean up idle handlers
[PATCH 02/12] ARM: mach-at91: move special idle code to a [PATCH 03/12] ARM: mach-clps711x: move special idle code to a [PATCH 04/12] ARM: mach-ebsa110: move special idle code to a

Quoted 8 lines

[PATCH 05/12] ARM: mach-gemini: move special idle code to a [PATCH 06/12] ARM: mach-h720x: move special idle code to a [PATCH 07/12] ARM: mach-ixp23xx: properly disable CPU idle call [PATCH 08/12] ARM: mach-ixp4xx: properly disable CPU idle call [PATCH 09/12] ARM: s3c24xx: move special idle code to a proper [PATCH 10/12] ARM: mach-shark: properly disable CPU idle call [PATCH 11/12] ARM: mach-w90x900: properly disable CPU idle call [PATCH 12/12] ARM: imx: move special idle code to proper out-of-line

I think you might need to hack on mach-msm too as they have an implementation of arch_idle which is written in assembly (for reasons which aren't obvious to me).

Will