[PATCH v3 6/6] arch, x86: pmem api for ensuring durability of persistent memory updates