]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pmem: Update ppc64 to use the new barrier instruction.
authorAneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Wed, 1 Jul 2020 07:22:33 +0000 (12:52 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 16 Jul 2020 03:00:23 +0000 (13:00 +1000)
commit3337ece13a8af74c96160ad1a8b055b42e78e6ae
treec76d88ed281803424e6ed5b2635874209af25889
parentbcf4f22a9e69f8ca4cf4487251b3a2a0db877ae6
powerpc/pmem: Update ppc64 to use the new barrier instruction.

pmem on POWER10 can now use phwsync instead of hwsync to ensure
all previous writes are architecturally visible for the platform
buffer flush.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200701072235.223558-6-aneesh.kumar@linux.ibm.com
arch/powerpc/include/asm/barrier.h