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> |
||
|---|---|---|
| .. | ||
| include/hyp | ||
| nvhe | ||
| vhe | ||
| Makefile | ||
| aarch32.c | ||
| entry.S | ||
| fpsimd.S | ||
| hyp-entry.S | ||
| pgtable.c | ||
| smccc_wa.S | ||
| vgic-v2-cpuif-proxy.c | ||
| vgic-v3-sr.c | ||