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