summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/head_40x.S
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2013-11-17 01:39:05 +0100
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-11-21 00:33:39 +0100
commit84b073868b9d9e754ae48b828337633d1b386482 (patch)
tree8e67a8fd82c71ffbe5eeece1b254039b00f324b9 /arch/powerpc/kernel/head_40x.S
parentpowerpc: Remove a few lines of oops output (diff)
downloadlinux-84b073868b9d9e754ae48b828337633d1b386482.tar.xz
linux-84b073868b9d9e754ae48b828337633d1b386482.zip
powerpc/pseries: Duplicate dtl entries sometimes sent to userspace
When reading from the dispatch trace log (dtl) userspace interface, I sometimes see duplicate entries. One example: # hexdump -C dtl.out 00000000 07 04 00 0c 00 00 48 44 00 00 00 00 00 00 00 00 00000010 00 0c a0 b4 16 83 6d 68 00 00 00 00 00 00 00 00 00000020 00 00 00 00 10 00 13 50 80 00 00 00 00 00 d0 32 00000030 07 04 00 0c 00 00 48 44 00 00 00 00 00 00 00 00 00000040 00 0c a0 b4 16 83 6d 68 00 00 00 00 00 00 00 00 00000050 00 00 00 00 10 00 13 50 80 00 00 00 00 00 d0 32 The problem is in scan_dispatch_log() where we call dtl_consumer() but bail out before incrementing the index. To fix this I moved dtl_consumer() after the timebase comparison. Signed-off-by: Anton Blanchard <anton@samba.org> Cc: stable@vger.kernel.org Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/head_40x.S')
0 files changed, 0 insertions, 0 deletions