]> rtime.felk.cvut.cz Git - jailhouse.git/commit
arm: ignore writes to the ACTLR register
authorJean-Philippe Brucker <jean-philippe.brucker@arm.com>
Fri, 1 Aug 2014 16:00:34 +0000 (17:00 +0100)
committerJan Kiszka <jan.kiszka@siemens.com>
Fri, 19 Dec 2014 10:04:07 +0000 (11:04 +0100)
commitb9fddc31159bf3cf670adc81e0d98e87928342eb
tree5e11c163293a2d722ae4b0a4f24d3dd744a0a651
parent7d65457ba01c21a1e470f7043f1914f0f76757bf
arm: ignore writes to the ACTLR register

The Auxiliary Control Register may be used on some platforms to disable
memory coherency between the cores, for instance when unplugging a CPU.
This patch ensures that ACTLR is never modified, by trapping its accesses
with the HCR.TAC bit.

Signed-off-by: Jean-Philippe Brucker <jean-philippe.brucker@arm.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
hypervisor/arch/arm/control.c
hypervisor/arch/arm/setup.c
hypervisor/arch/arm/traps.c