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

2020-05-29 Thread kbuild test robot
Hi "Aneesh, I love your patch! Yet something to improve: [auto build test ERROR on powerpc/next] [also build test ERROR on v5.7-rc7 next-20200529] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option to spec

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

2020-05-19 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. Signed