powerpc/64s: Enable barrier_nospec based on firmware settings
Check what firmware told us and enable/disable the barrier_nospec as appropriate. We err on the side of enabling the barrier, as it's no-op on older systems, see the comment for more detail. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:

committed by
Michael Ellerman

parent
815069ca57
commit
cb3d6759a9
@@ -534,6 +534,7 @@ void pseries_setup_rfi_flush(void)
|
||||
security_ftr_enabled(SEC_FTR_L1D_FLUSH_PR);
|
||||
|
||||
setup_rfi_flush(types, enable);
|
||||
setup_barrier_nospec();
|
||||
}
|
||||
|
||||
#ifdef CONFIG_PCI_IOV
|
||||
|
Reference in New Issue
Block a user