[PATCH v7 2/7] powerpc/pmem: Add new instructions for persistent storage and sync

2020-07-01 Thread Aneesh Kumar K.V
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

[PATCH v7 1/7] powerpc/pmem: Restrict papr_scm to P8 and above.

2020-07-01 Thread Aneesh Kumar K.V
The PAPR based virtualized persistent memory devices are only supported on POWER9 and above. In the followup patch, the kernel will switch the persistent memory cache flush functions to use a new `dcbf` variant instruction. The new instructions even though added in ISA 3.1 works even on P8 and P9

[PATCH v7 0/7] Support new pmem flush and sync instructions for POWER

2020-07-01 Thread Aneesh Kumar K.V
This patch series enables the usage os new pmem flush and sync instructions on POWER architecture. 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

Re: [PATCH v2] powerpc/uaccess: Use flexible addressing with __put_user()/__get_user()

2020-07-01 Thread Christophe Leroy
Le 30/06/2020 à 23:18, Segher Boessenkool a écrit : Hi again, Thanks for your work so far! On Tue, Jun 30, 2020 at 06:53:39PM +, Christophe Leroy wrote: On 06/30/2020 04:33 PM, Segher Boessenkool wrote: + make -s CC=powerpc64-linux-gnu-gcc -j 160 In file included from

<    1   2