linux/arch/arm64/kernel
Dave Martin 882416c1e4 arm64: Fix EL1/EL2 early init inconsistencies with VHE
When using the Virtualisation Host Extensions, EL1 is not used in
the host and requires no separate configuration.

In addition, with VHE enabled, non-hyp-specific EL2 configuration
that does not need to be done early will be done anyway in
__cpu_setup via the _EL1 system register aliases.  In particular,
the layout and definition of CPTR_EL2 are changed by enabling VHE
so that they resemble CPACR_EL1, so existing code to initialise
CPTR_EL2 becomes architecturally wrong in this case.

This patch simply skips the affected initialisation code in the
non-VHE case.

Signed-off-by: Dave Martin <Dave.Martin@arm.com>
Reviewed-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
2016-04-21 18:34:23 +01:00
..
vdso
.gitignore
Makefile
acpi.c
acpi_parking_protocol.c
alternative.c
arm64ksyms.c
armv8_deprecated.c
asm-offsets.c
cacheinfo.c
cpu_errata.c
cpu_ops.c
cpufeature.c
cpuidle.c
cpuinfo.c
debug-monitors.c
efi-entry.S
efi.c
entry-fpsimd.S
entry-ftrace.S
entry.S arm64/kernel: fix incorrect EL0 check in inv_entry macro 2016-03-21 12:05:34 +00:00
entry32.S
fpsimd.c
ftrace.c
head.S arm64: Fix EL1/EL2 early init inconsistencies with VHE 2016-04-21 18:34:23 +01:00
hw_breakpoint.c
hyp-stub.S
image.h
insn.c
io.c
irq.c
jump_label.c
kaslr.c
kgdb.c
kuser32.S
module-plts.c
module.c
module.lds
paravirt.c
pci.c
perf_callchain.c
perf_event.c arm64: perf: Move PMU register related defines to asm/perf_event.h 2016-03-29 16:04:57 +01:00
perf_regs.c
process.c
psci.c
ptrace.c
return_address.c
setup.c
signal.c
signal32.c
sleep.S
smccc-call.S
smp.c
smp_spin_table.c arm64: spin-table: add missing of_node_put() 2016-04-20 10:35:15 +01:00
stacktrace.c
suspend.c
sys.c
sys32.c
sys_compat.c
time.c
topology.c
trace-events-emulation.h
traps.c
vdso.c
vmlinux.lds.S arch, ftrace: for KASAN put hard/soft IRQ entries into separate sections 2016-03-25 16:37:42 -07:00