summaryrefslogtreecommitdiff
path: root/include/asm-generic/barrier.h
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.ibm.com>2020-07-01 10:22:30 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2020-07-16 06:00:22 +0300
commit32db09d992ddc7d145595cff49cccfe14e018266 (patch)
treeb0e01af79819284553384d12ca1e0233ff26a8f0 /include/asm-generic/barrier.h
parentc83040192f3763b243ece26073d61a895b4a230f (diff)
downloadlinux-32db09d992ddc7d145595cff49cccfe14e018266.tar.xz
powerpc/pmem: Add new instructions for persistent storage and sync
POWER10 introduces two new variants of dcbf instructions (dcbstps and dcbfps) that can be used to write modified locations back to persistent storage. Additionally, POWER10 also introduce phwsync and plwsync which can be used to establish order of these writes to persistent storage. This patch exposes these instructions to the rest of the kernel. The existing dcbf and hwsync instructions in P8 and P9 are adequate to enable appropriate synchronization with OpenCAPI-hosted persistent storage. Hence the new instructions are added as a variant of the old ones that old hardware won't differentiate. 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-3-aneesh.kumar@linux.ibm.com
Diffstat (limited to 'include/asm-generic/barrier.h')
0 files changed, 0 insertions, 0 deletions