summaryrefslogtreecommitdiffstats
path: root/virt/kvm/assigned-dev.c
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2013-05-13 20:44:57 +0200
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-05-14 08:00:22 +0200
commit506e70d13236dfdb0bc15e0914298ab0a7b7f4df (patch)
tree08bf7cf0c04256df0cf5c1f100bc4778ec928fba /virt/kvm/assigned-dev.c
parentpowerpc/perf: Move BHRB code into CONFIG_PPC64 region (diff)
downloadlinux-506e70d13236dfdb0bc15e0914298ab0a7b7f4df.tar.xz
linux-506e70d13236dfdb0bc15e0914298ab0a7b7f4df.zip
powerpc/pmu: Fix order of interpreting BHRB target entries
The current Branch History Rolling Buffer (BHRB) code misinterprets the order of entries in the hardware buffer. It assumes that a branch target address will be read _after_ its corresponding branch. In reality the branch target comes before (lower mfbhrb entry) it's corresponding branch. This is a rewrite of the code to take this into account. Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'virt/kvm/assigned-dev.c')
0 files changed, 0 insertions, 0 deletions