]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: Introduce separate file for spectre mitigations and reporting
authorWill Deacon <will@kernel.org>
Tue, 15 Sep 2020 22:10:49 +0000 (23:10 +0100)
committerWill Deacon <will@kernel.org>
Tue, 29 Sep 2020 15:08:15 +0000 (16:08 +0100)
commit5ba37bd45f8ae00ae1e3b9ccc0d91359e43788b6
tree3acbd2f77e3f5f04f8ffb5d424472775f2b7f673
parent267ee019642899769a490022177f2f4a279d2e45
arm64: Introduce separate file for spectre mitigations and reporting

The spectre mitigation code is spread over a few different files, which
makes it both hard to follow, but also hard to remove it should we want
to do that in future.

Introduce a new file for housing the spectre mitigations, and populate
it with the spectre-v1 reporting code to start with.

Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/Makefile
arch/arm64/kernel/cpu_errata.c
arch/arm64/kernel/proton-pack.c [new file with mode: 0644]