[PATCH v4 12/12] libnvdimm, pmem: Restore page attributes when clearing errors