commit | 98518c4d8728656db349f875fcbbc7c126d4c973 | [log] [tgz] |
---|---|---|
author | Diana Craciun <diana.craciun@nxp.com> | Wed Dec 12 16:03:03 2018 +0200 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Thu Dec 20 22:59:03 2018 +1100 |
tree | a0291c2161d8120adc257b786e2097160de54441 | |
parent | 7d8bad99ba5a22892f0cad6881289fdc3875a930 [diff] |
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>