diff options
| author | Balbir Singh <[email protected]> | 2019-08-20 13:43:47 +0530 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2019-08-21 22:23:47 +1000 |
| commit | 99ead78afd1128bfcebe7f88f3b102fb2da09aee (patch) | |
| tree | e876d9e2439c0f19c79efca7bb5944199f611b2a /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | b5bda6263cad9a927e1a4edb7493d542da0c1410 (diff) | |
powerpc/mce: Fix MCE handling for huge pages
The current code would fail on huge pages addresses, since the shift would
be incorrect. Use the correct page shift value returned by
__find_linux_pte() to get the correct physical address. The code is more
generic and can handle both regular and compound pages.
Fixes: ba41e1e1ccb9 ("powerpc/mce: Hookup derror (load/store) UE errors")
Signed-off-by: Balbir Singh <[email protected]>
[[email protected]: Fixup pseries_do_memory_failure()]
Signed-off-by: Reza Arbab <[email protected]>
Tested-by: Mahesh Salgaonkar <[email protected]>
Signed-off-by: Santosh Sivaraj <[email protected]>
Cc: [email protected] # v4.15+
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions