mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 16:50:54 +07:00
c69509c70a
At the moment, the way we reset CP15 registers is mildly insane: We write junk to them, call the reset functions, and then check that we have something else in them. The "fun" thing is that this can happen while the guest is running (PSCI, for example). If anything in KVM has to evaluate the state of a CP15 register while junk is in there, bad thing may happen. Let's stop doing that. Instead, we track that we have called a reset function for that register, and assume that the reset function has done something. In the end, the very need of this reset check is pretty dubious, as it doesn't check everything (a lot of the CP15 reg leave outside of the cp15_regs[] array). It may well be axed in the near future. Signed-off-by: Marc Zyngier <maz@kernel.org> |
||
---|---|---|
.. | ||
hyp | ||
coproc_a7.c | ||
coproc_a15.c | ||
coproc.c | ||
coproc.h | ||
emulate.c | ||
guest.c | ||
handle_exit.c | ||
init.S | ||
interrupts.S | ||
irq.h | ||
Kconfig | ||
Makefile | ||
reset.c | ||
trace.h | ||
vgic-v3-coproc.c |