Re: [PATCH v7 3/7] powerpc/pmem: Add flush routines using new pmem store and sync instruction

2022-01-21 Thread Aneesh Kumar K.V
Christophe Leroy writes: > Le 01/07/2020 à 09:22, Aneesh Kumar K.V a écrit : >> Start using dcbstps; phwsync; sequence for flushing persistent memory range. >> The new instructions are implemented as a variant of dcbf and hwsync and on >> P8 and P9 they will be executed as those instructions. We

Re: [PATCH v7 3/7] powerpc/pmem: Add flush routines using new pmem store and sync instruction

2022-01-20 Thread Christophe Leroy
Le 01/07/2020 à 09:22, Aneesh Kumar K.V a écrit : Start using dcbstps; phwsync; sequence for flushing persistent memory range. The new instructions are implemented as a variant of dcbf and hwsync and on P8 and P9 they will be executed as those instructions. We avoid using them on older hardware.

[PATCH v7 3/7] powerpc/pmem: Add flush routines using new pmem store and sync instruction

2020-07-01 Thread Aneesh Kumar K.V
Start using dcbstps; phwsync; sequence for flushing persistent memory range. The new instructions are implemented as a variant of dcbf and hwsync and on P8 and P9 they will be executed as those instructions. We avoid using them on older hardware. This helps to avoid difficult to debug bugs.