[PATCH openEuler-5.10 36/38] x86: pmem: move persistent memory(legacy) code into nvdimm