aboutsummaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2019-01-09 13:20:56 -0500
committerDavid A. Long <dave.long@linaro.org>2019-02-13 12:08:56 -0500
commitf762b665bef0c435998d5c6ae271c1ed1daeb7e8 (patch)
tree649cbc3fc7f74313801ab00c9a56cc086342273f /kernel
parentb991f790c4824b7e13b400429f9c485f10e6aa13 (diff)
ARM: ensure that processor vtables is not lost after boot
Commit 3a4d0c2172bcf15b7a3d9d498b2b355f9864286b upstream. Marek Szyprowski reported problems with CPU hotplug in current kernels. This was tracked down to the processor vtables being located in an init section, and therefore discarded after kernel boot, despite being required after boot to properly initialise the non-boot CPUs. Arrange for these tables to end up in .rodata when required. Reported-by: Marek Szyprowski <m.szyprowski@samsung.com> Tested-by: Krzysztof Kozlowski <krzk@kernel.org> Fixes: 383fb3ee8024 ("ARM: spectre-v2: per-CPU vtables to work around big.Little systems") Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: David A. Long <dave.long@linaro.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions