Message ID | 1544623390-18710-10-git-send-email-diana.craciun@nxp.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 3bc8ea8603ae4c1e09aca8de229ad38b8091fcb3 |
Headers | show |
Series | powerpc/fsl: NXP PowerPC Spectre variant 2 workarounds | expand |
Context | Check | Description |
---|---|---|
snowpatch_ozlabs/apply_patch | success | next/apply_patch Successfully applied |
snowpatch_ozlabs/checkpatch | success | total: 0 errors, 0 warnings, 0 checks, 7 lines checked |
diff --git a/arch/powerpc/kernel/setup-common.c b/arch/powerpc/kernel/setup-common.c index 93ee370..f27eeda 100644 --- a/arch/powerpc/kernel/setup-common.c +++ b/arch/powerpc/kernel/setup-common.c @@ -974,6 +974,7 @@ void __init setup_arch(char **cmdline_p) ppc_md.setup_arch(); setup_barrier_nospec(); + setup_spectre_v2(); paging_init();
If the user choses not to use the mitigations, replace the code sequence with nops. Signed-off-by: Diana Craciun <diana.craciun@nxp.com> --- arch/powerpc/kernel/setup-common.c | 1 + 1 file changed, 1 insertion(+)