commit | e1217b4a5acec3da22eee7088b2649bc827eb14e | [log] [tgz] |
---|---|---|
author | Michal Suchanek <msuchanek@suse.de> | Thu Apr 11 21:46:01 2019 +1000 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Apr 17 08:36:40 2019 +0200 |
tree | 0952503c64dde5f8f72298bb73a517a9dcfe3d03 | |
parent | 73b0f626499c15b268f7d49d6871d49508edaa56 [diff] |
powerpc/64s: Enable barrier_nospec based on firmware settings commit cb3d6759a93c6d0aea1c10deb6d00e111c29c19c upstream. 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> Signed-off-by: Sasha Levin <sashal@kernel.org>