| commit | ec206826323afbc20daeaf862663e330cea10de1 | [log] [tgz] |
|---|---|---|
| author | Diana Craciun <diana.craciun@nxp.com> | Mon Apr 29 18:49:01 2019 +0300 |
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu May 16 19:44:52 2019 +0200 |
| tree | c15a5d16b962ce1c6cb5f3f145f98fdbca120dd1 | |
| parent | 389fd9776f3e1313501d6802e4513cb48070d9f6 [diff] |
powerpc/fsl: Enable runtime patching if nospectre_v2 boot arg is used commit 3bc8ea8603ae4c1e09aca8de229ad38b8091fcb3 upstream. If the user choses not to use the mitigations, replace the code sequence with nops. Signed-off-by: Diana Craciun <diana.craciun@nxp.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>