Skip to content

RFC Introduce logical CPU mapping

Will Deacon linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest8 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8ARM: cpuid: add support for reading MPIDRarch/arm/include/asm/cputype.h+6 -00 replies
2/8ARM: smp: populate logical CPU mapping during bootarch/arm/include/asm/smp.h arch/arm/kernel/smp.c+21 -00 replies
3/8ARM: gic: convert logical CPU numbers into physical numbersarch/arm/common/gic.c+9 -30 replies
3/8ARM: gic: convert logical CPU numbers into physical numbers+0 -00 replies
4/8ARM: exynos4: convert logical CPU numbers to physical numbersarch/arm/mach-exynos4/hotplug.c arch/arm/mach-exynos4/platsmp.c+2 -21 reply
4/8ARM: exynos4: convert logical CPU numbers to physical numbers+0 -01 reply
4/8ARM: exynos4: convert logical CPU numbers to physical numbers+0 -00 replies
5/8ARM: msm: convert logical CPU numbers to physical numbersarch/arm/mach-msm/hotplug.c arch/arm/mach-msm/platsmp.c+2 -21 reply
5/8ARM: msm: convert logical CPU numbers to physical numbers+0 -01 reply
6/8ARM: shmobile: convert logical CPU numbers to physical numbersarch/arm/mach-shmobile/smp-sh73a0.c+5 -10 replies
7/8ARM: ux500: convert logical CPU numbers to physical numbersarch/arm/mach-ux500/hotplug.c arch/arm/mach-ux500/platsmp.c+2 -21 reply
8/8ARM: versatile: convert logical CPU numbers to physical numbersarch/arm/mach-realview/hotplug.c arch/arm/mach-vexpress/hotplug.c arch/arm/plat-versatile/platsmp.c+3 -30 replies

Reviews trailers per patch

6 of 12 patches have a Reviewed-by or Acked-by.

PatchDavid BrownKyungmin ParkLinus Walleij
1/8
2/8
3/8
3/8
4/8T-b A-b
4/8T-b A-b
4/8T-b A-b
5/8T-b A-b
5/8T-b A-b
6/8
7/8A-b
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [RFC PATCH 0/8] Introduce logical CPU mapping

Hello,

This patch series is an RFC following a discussion I had with Russell the other day:

http://lists.infradead.org/pipermail/linux-arm-kernel/2011-August/060370.html

The approach I've taken is fairly simple but is enough for booting on a CPU with physical ID != 0 on platforms which can handle it.

Note that I haven't touched the OMAP4 or Tegra platforms since it's not clear from the code how they would be adapted to make use of the physical CPU number.

I've tested this with a Cortex-A9 on the vexpress platform but other platforms have been compile-tested only.

This is an RFC, so I'd value any feedback or comments.

Thanks,

Will

Will Deacon (8):
ARM: cpuid: add support for reading MPIDR
ARM: smp: populate logical CPU mapping during boot
ARM: gic: convert logical CPU numbers into physical numbers
ARM: exynos4: convert logical CPU numbers to physical numbers
ARM: msm: convert logical CPU numbers to physical numbers
ARM: shmobile: convert logical CPU numbers to physical numbers
ARM: ux500: convert logical CPU numbers to physical numbers
ARM: versatile: convert logical CPU numbers to physical numbers

 arch/arm/common/gic.c               |   12 +++++++++---
 arch/arm/include/asm/cputype.h      |    6 ++++++
 arch/arm/include/asm/smp.h          |    6 ++++++
 arch/arm/kernel/smp.c               |   15 +++++++++++++++
 arch/arm/mach-exynos4/hotplug.c     |    2 +-
 arch/arm/mach-exynos4/platsmp.c     |    2 +-
 arch/arm/mach-msm/hotplug.c         |    2 +-
 arch/arm/mach-msm/platsmp.c         |    2 +-
 arch/arm/mach-realview/hotplug.c    |    2 +-
 arch/arm/mach-shmobile/smp-sh73a0.c |    6 +++++-
 arch/arm/mach-ux500/hotplug.c       |    2 +-
 arch/arm/mach-ux500/platsmp.c       |    2 +-
 arch/arm/mach-vexpress/hotplug.c    |    2 +-
 arch/arm/plat-versatile/platsmp.c   |    2 +-
 14 files changed, 50 insertions(+), 13 deletions(-)