23 Oct, 2015
1 commit
-
Now that __cpuinit has been removed, the __ref markings on these
functions are useless. Remove them. This also reduces the size of
the multi_v7_defconfig image:$ size before after
text data bss dec hex filename
12683578 1470996 348904 14503478 dd4e36 before
12683274 1470996 348904 14503174 dd4d06 afterpresumably because now we don't have to jump to code in the
.ref.text section and/or the noinline marking is removed.Cc: Shiraz Hashim
Cc: Stephen Warren
Cc: Alexandre Courbot
Cc: Lorenzo Pieralisi
Cc: Will Deacon
Cc:
Cc:
Cc:
Cc:
Acked-by: Tony Lindgren
Acked-by: Barry Song
Acked-by: Andy Gross
Acked-by: Viresh Kumar
Acked-by: Thierry Reding
Acked-by: Linus Walleij
Acked-by: Sudeep Holla
Acked-by: Mark Rutland
Signed-off-by: Stephen Boyd
Signed-off-by: Olof Johansson
04 May, 2013
1 commit
-
Pull ARM updates from Russell King:
"The major items included in here are:- MCPM, multi-cluster power management, part of the infrastructure
required for ARMs big.LITTLE support.- A rework of the ARM KVM code to allow re-use by ARM64.
- Error handling cleanups of the IS_ERR_OR_NULL() madness and fixes
of that stuff for arch/arm- Preparatory patches for Cortex-M3 support from Uwe Kleine-König.
There is also a set of three patches in here from Hugh/Catalin to
address freeing of inappropriate page tables on LPAE. You already
have these from akpm, but they were already part of my tree at the
time he sent them, so unfortunately they'll end up with duplicate
commits"* 'for-linus' of git://git.linaro.org/people/rmk/linux-arm: (77 commits)
ARM: EXYNOS: remove unnecessary use of IS_ERR_VALUE()
ARM: IMX: remove unnecessary use of IS_ERR_VALUE()
ARM: OMAP: use consistent error checking
ARM: cleanup: OMAP hwmod error checking
ARM: 7709/1: mcpm: Add explicit AFLAGS to support v6/v7 multiplatform kernels
ARM: 7700/2: Make cpu_init() notrace
ARM: 7702/1: Set the page table freeing ceiling to TASK_SIZE
ARM: 7701/1: mm: Allow arch code to control the user page table ceiling
ARM: 7703/1: Disable preemption in broadcast_tlb*_a15_erratum()
ARM: mcpm: provide an interface to set the SMP ops at run time
ARM: mcpm: generic SMP secondary bringup and hotplug support
ARM: mcpm_head.S: vlock-based first man election
ARM: mcpm: Add baremetal voting mutexes
ARM: mcpm: introduce helpers for platform coherency exit/setup
ARM: mcpm: introduce the CPU/cluster power API
ARM: multi-cluster PM: secondary kernel entry code
ARM: cacheflush: add synchronization helpers for mixed cache state accesses
ARM: cpu hotplug: remove majority of cache flushing from platforms
ARM: smp: flush L1 cache in cpu_die()
ARM: tegra: remove tegra specific cpu_disable()
...
19 Apr, 2013
1 commit
-
Remove the majority of cache flushing calls from the individual platform
files. This is now handled by the core code.Signed-off-by: Russell King
08 Apr, 2013
1 commit
-
mach/setup.h and mach/devices.h are only needed from inside of mach-ux500
now, so we can simply move them out of the include/mach directory.Signed-off-by: Arnd Bergmann
Signed-off-by: Linus Walleij
14 Sep, 2012
2 commits
-
Almost each SMP platform defines pen_release to manage booting secondary
CPUs. This of course clashes with the single zImage effort.Add the pen_release definition to the ARM SMP code, and remove all others.
This should only be used by platforms which lack any kind of CPU power
management...Reported-by: Arnd Bergmann
Signed-off-by: Marc Zyngier
Acked-by: Nicolas Pitre
Signed-off-by: Arnd Bergmann -
Convert ux500 platforms to use struct smp_operations to provide
their SMP and CPU hotplug operations.Cc: Linus Walleij
Signed-off-by: Marc Zyngier
Acked-by: srinidhi kasagar
Acked-by: Nicolas Pitre
Signed-off-by: Arnd Bergmann
23 Jan, 2012
1 commit
-
It turns out that the logical CPU mapping is useful even when !CONFIG_SMP
for manipulation of devices like interrupt and power controllers when
running a UP kernel on a CPU other than 0. This can happen when kexecing
a UP image from an SMP kernel.In the future, multi-cluster systems running AMP configurations will
require something similar for mapping cluster IDs, so it makes sense to
decouple this logic in preparation for this support.Acked-by: Yang Bai
Acked-by: Marc Zyngier
Reported-by: Joerg Roedel
Signed-off-by: Will Deacon
Signed-off-by: Russell King
17 Oct, 2011
1 commit
-
This patch uses the new cpu_logical_map() macro for converting logical
CPU numbers into physical numbers when dealing with the pen_release
variable in the SMP boot and CPU hotplug paths.Acked-by: Linus Walleij
Signed-off-by: Will Deacon
20 Dec, 2010
2 commits
-
platform_cpu_die() is entered from the CPU's own idle thread, which
can not be migrated to other CPUs. Moreover, the 'cpu' argument
comes from the thread info, which will always be the 'current'
CPU. So remove this useless bug check.Signed-off-by: Russell King
-
We always need to wait for the dying CPU to reach a safe state before
taking it down, irrespective of the requirements of the platform.
Move the completion code into the ARM SMP hotplug code rather than
having each platform re-implement this.Signed-off-by: Russell King
19 Sep, 2010
1 commit
-
Acked-by: Linus Walleij
Signed-off-by: Sundar Iyer
Signed-off-by: Russell King