OSDN Git Service

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)
commit455697adefdb8604cd10413da37c60014aecbbb7
tree3acbd2f77e3f5f04f8ffb5d424472775f2b7f673
parent688f1e4b6d8f792c44bec3a448664fd9e8949964
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]