summaryrefslogtreecommitdiff
path: root/sound/last.c
diff options
context:
space:
mode:
authorDiana Craciun <diana.craciun@nxp.com>2019-04-22 00:20:30 +1000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-05-16 19:44:50 +0200
commit526adfdf029e63d7f3973d99a1f27b5af2ce6c62 (patch)
treec1c09880d794d2db5e3b90c0c17b22ca34eff447 /sound/last.c
parent7fe905d0973eee071ebc4861cd6d23138116cd9e (diff)
powerpc/fsl: Add infrastructure to fixup branch predictor flush
commit 76a5eaa38b15dda92cd6964248c39b5a6f3a4e9d upstream. In order to protect against speculation attacks (Spectre variant 2) on NXP PowerPC platforms, the branch predictor should be flushed when the privillege level is changed. This patch is adding the infrastructure to fixup at runtime the code sections that are performing the branch predictor flush depending on a boot arg parameter which is added later in a separate patch. 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>
Diffstat (limited to 'sound/last.c')
0 files changed, 0 insertions, 0 deletions