aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stat-cpi.py
diff options
context:
space:
mode:
authorDan Williams <[email protected]>2018-07-14 04:50:37 +0000
committerDave Jiang <[email protected]>2018-08-20 16:22:45 +0000
commitc953cc987ab87d180e1d5de2f1c217abe33aac77 (patch)
tree29e82381bba655d2141bf39c261312b56d128442 /tools/perf/scripts/python/stat-cpi.py
parentx86/memory_failure: Introduce {set, clear}_mce_nospec() (diff)
downloadkernel-c953cc987ab87d180e1d5de2f1c217abe33aac77.tar.gz
kernel-c953cc987ab87d180e1d5de2f1c217abe33aac77.zip
libnvdimm, pmem: Restore page attributes when clearing errors
Use clear_mce_nospec() to restore WB mode for the kernel linear mapping of a pmem page that was marked 'HWPoison'. A page with 'HWPoison' set has also been marked UC in PAT (page attribute table) via set_mce_nospec() to prevent speculative retrievals of poison. The 'HWPoison' flag is only cleared when overwriting an entire page. Signed-off-by: Dan Williams <[email protected]> Signed-off-by: Dave Jiang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions