aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/powerpc/copyloops/Makefile
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2019-06-20 16:00:40 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2019-07-03 15:19:36 +1000
commit3fefd1cd95df04da67c83c1cb93b663f04b3324f (patch)
tree1016f43d2c65f708b433ac360add43c0a9564ee0 /tools/testing/selftests/powerpc/copyloops/Makefile
parentpowerpc/powernv: Fix stale iommu table base after VFIO (diff)
downloadlinux-dev-3fefd1cd95df04da67c83c1cb93b663f04b3324f.tar.xz
linux-dev-3fefd1cd95df04da67c83c1cb93b663f04b3324f.zip
KVM: PPC: Book3S HV: Fix CR0 setting in TM emulation
When emulating tsr, treclaim and trechkpt, we incorrectly set CR0. The code currently sets: CR0 <- 00 || MSR[TS] but according to the ISA it should be: CR0 <- 0 || MSR[TS] || 0 This fixes the bit shift to put the bits in the correct location. This is a data integrity issue as CR0 is corrupted. Fixes: 4bb3c7a0208f ("KVM: PPC: Book3S HV: Work around transactional memory bugs in POWER9") Cc: stable@vger.kernel.org # v4.17+ Tested-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com> Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/testing/selftests/powerpc/copyloops/Makefile')
0 files changed, 0 insertions, 0 deletions