Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge branch 'spectre' of git://git.armlinux.org.uk/~rmk/linux-arm

Pull ARM spectre fix from Russell King:
"Exynos folk noticed that CPU hotplug wasn't working with their kernel
configuration, and have tested this as fixing the problem"

* 'spectre' of git://git.armlinux.org.uk/~rmk/linux-arm:
ARM: ensure that processor vtables is not lost after boot

+10
+10
arch/arm/mm/proc-macros.S
··· 274 274 .endm 275 275 276 276 .macro define_processor_functions name:req, dabort:req, pabort:req, nommu=0, suspend=0, bugs=0 277 + /* 278 + * If we are building for big.Little with branch predictor hardening, 279 + * we need the processor function tables to remain available after boot. 280 + */ 281 + #if 1 // defined(CONFIG_BIG_LITTLE) && defined(CONFIG_HARDEN_BRANCH_PREDICTOR) 282 + .section ".rodata" 283 + #endif 277 284 .type \name\()_processor_functions, #object 278 285 .align 2 279 286 ENTRY(\name\()_processor_functions) ··· 316 309 .endif 317 310 318 311 .size \name\()_processor_functions, . - \name\()_processor_functions 312 + #if 1 // defined(CONFIG_BIG_LITTLE) && defined(CONFIG_HARDEN_BRANCH_PREDICTOR) 313 + .previous 314 + #endif 319 315 .endm 320 316 321 317 .macro define_cache_functions name:req