KVM's infrastructure for spectre mitigations in the vectors in v5.10 and earlier is different, it uses templates which are used to build a set of vectors at runtime. There are two copy-and-paste errors in the templates: __spectre_bhb_loop_k24 should loop 24 times and __spectre_bhb_loop_k32 32. Fix these. Reported-by: Pavel Machek <pavel@denx.de> Link: https://lore.kernel.org/all/20220310234858.GB16308@amd/ Signed-off-by: James Morse <james.morse@arm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
|---|---|---|
| .. | ||
| hyp | ||
| vgic | ||
| Kconfig | ||
| Makefile | ||
| aarch32.c | ||
| arch_timer.c | ||
| arm.c | ||
| debug.c | ||
| fpsimd.c | ||
| guest.c | ||
| handle_exit.c | ||
| hypercalls.c | ||
| inject_fault.c | ||
| irq.h | ||
| mmio.c | ||
| mmu.c | ||
| perf.c | ||
| pmu-emul.c | ||
| pmu.c | ||
| psci.c | ||
| pvtime.c | ||
| regmap.c | ||
| reset.c | ||
| sys_regs.c | ||
| sys_regs.h | ||
| trace.h | ||
| trace_arm.h | ||
| trace_handle_exit.h | ||
| va_layout.c | ||
| vgic-sys-reg-v3.c | ||