summaryrefslogtreecommitdiff
path: root/include/asm-generic
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.ibm.com>2020-07-01 12:52:30 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2020-07-16 13:00:22 +1000
commit32db09d992ddc7d145595cff49cccfe14e018266 (patch)
treeb0e01af79819284553384d12ca1e0233ff26a8f0 /include/asm-generic
parentc83040192f3763b243ece26073d61a895b4a230f (diff)
downloadlwn-32db09d992ddc7d145595cff49cccfe14e018266.tar.gz
lwn-32db09d992ddc7d145595cff49cccfe14e018266.zip
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')
0 files changed, 0 insertions, 0 deletions