linux_dsm_epyc7002/arch/mips/include/asm/mach-cavium-octeon
Steven J. Hill 3ff72be4c9 MIPS: Octeon: Enable KASLR
This patch enables KASLR for Octeon systems. The SMP startup code is
such that the secondaries monitor the volatile variable
'octeon_processor_relocated_kernel_entry' for any non-zero value.
The 'plat_post_relocation hook' is used to set that value to the
kernel entry point of the relocated kernel. The secondary CPUs will
then jusmp to the new kernel, perform their initialization again
and begin waiting for the boot CPU to start them via the relocated
loop 'octeon_spin_wait_boot'. Inspired by Steven's code from Cavium.

Signed-off-by: Matt Redfearn <matt.redfearn@imgtec.com>
Signed-off-by: Steven J. Hill <steven.hill@cavium.com>
Acked-by: David Daney <david.daney@cavium.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/14669/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2017-01-03 16:34:35 +01:00
..
cpu-feature-overrides.h MIPS: Clean up RDHWR handling 2016-06-15 23:58:25 +02:00
dma-coherence.h MIPS: DMA: Implement platform hook to perform post-DMA cache flushes. 2015-04-01 17:22:01 +02:00
irq.h MIPS: Octeon: Remove forced mappings of USB interrupts. 2016-07-28 12:01:06 +02:00
kernel-entry-init.h MIPS: Octeon: Enable KASLR 2017-01-03 16:34:35 +01:00
mangle-port.h MIPS: Octeon: mangle-port: fix build failure with VDSO code 2016-09-19 17:21:37 +02:00
spaces.h MIPS/OCTEON: Override default address space layout. 2013-06-21 18:07:02 +02:00
war.h MIPS: OCTEON: Implement DCache errata workaround for all CN6XXX 2015-02-20 15:31:27 +01:00