aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stat-cpi.py
diff options
context:
space:
mode:
authorNicholas Piggin <[email protected]>2019-02-15 20:20:20 +1000
committerMichael Ellerman <[email protected]>2019-02-22 00:10:14 +1100
commit7104dccfd052fde51eecc9972dad9c40bd3e0d11 (patch)
treefe00f68990bb9d292c1d9188ef0573b925b29a0a /tools/perf/scripts/python/stat-cpi.py
parent3d8810e02b7f811be3bc9ad2f433be4e245e8267 (diff)
powerpc/64s/hash: Fix assert_slb_presence() use of the slbfee. instruction
The slbfee. instruction must have bit 24 of RB clear, failure to do so can result in false negatives that result in incorrect assertions. This is not obvious from the ISA v3.0B document, which only says: The hardware ignores the contents of RB 36:38 40:63 -- p.1032 This patch fixes the bug and also clears all other bits from PPC bit 36-63, which is good practice when dealing with reserved or ignored bits. Fixes: e15a4fea4dee ("powerpc/64s/hash: Add some SLB debugging tests") Cc: [email protected] # v4.20+ Reported-by: Aneesh Kumar K.V <[email protected]> Tested-by: Aneesh Kumar K.V <[email protected]> Signed-off-by: Nicholas Piggin <[email protected]> Reviewed-by: Aneesh Kumar K.V <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions