summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/setup.h
diff options
context:
space:
mode:
authorDiana Craciun <diana.craciun@nxp.com>2018-12-12 15:03:03 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2018-12-20 12:59:03 +0100
commit98518c4d8728656db349f875fcbbc7c126d4c973 (patch)
treea0291c2161d8120adc257b786e2097160de54441 /arch/powerpc/include/asm/setup.h
parentpowerpc/fsl: Fix spectre_v2 mitigations reporting (diff)
downloadlinux-98518c4d8728656db349f875fcbbc7c126d4c973.tar.xz
linux-98518c4d8728656db349f875fcbbc7c126d4c973.zip
powerpc/fsl: Emulate SPRN_BUCSR register
In order to flush the branch predictor the guest kernel performs writes to the BUCSR register which is hypervisor privilleged. However, the branch predictor is flushed at each KVM entry, so the branch predictor has been already flushed, so just return as soon as possible to guest. Signed-off-by: Diana Craciun <diana.craciun@nxp.com> [mpe: Tweak comment formatting] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/setup.h')
0 files changed, 0 insertions, 0 deletions