summaryrefslogtreecommitdiff
path: root/arch/microblaze/include/asm/pgtable.h
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2018-07-14 07:50:37 +0300
committerDave Jiang <dave.jiang@intel.com>2018-08-20 19:22:45 +0300
commitc953cc987ab87d180e1d5de2f1c217abe33aac77 (patch)
tree29e82381bba655d2141bf39c261312b56d128442 /arch/microblaze/include/asm/pgtable.h
parent284ce4011ba60d6c487b668eea729b6294930806 (diff)
downloadlinux-c953cc987ab87d180e1d5de2f1c217abe33aac77.tar.xz
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 <dan.j.williams@intel.com> Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Diffstat (limited to 'arch/microblaze/include/asm/pgtable.h')
0 files changed, 0 insertions, 0 deletions