]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/fsl: Flush branch predictor when entering KVM
authorDiana Craciun <diana.craciun@nxp.com>
Wed, 12 Dec 2018 14:03:07 +0000 (16:03 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 20 Dec 2018 11:59:03 +0000 (22:59 +1100)
commit18c774ae9037c77ec96071e263af04a9d1ff44ac
treefba9a1be4ce7035803f8833bda349a2a9518781b
parentfc216d780dd2a14e8084eedcbc02a6748957cbe3
powerpc/fsl: Flush branch predictor when entering KVM

Switching from the guest to host is another place
where the speculative accesses can be exploited.
Flush the branch predictor when entering KVM.

Signed-off-by: Diana Craciun <diana.craciun@nxp.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kvm/bookehv_interrupts.S