]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pmem: Avoid the barrier in flush routines
authorAneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Wed, 1 Jul 2020 07:22:34 +0000 (12:52 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 16 Jul 2020 03:00:23 +0000 (13:00 +1000)
commitdd1b370c9d65d8f4407edab6ac925d5ba36f0709
treee295aa82e16f6bfcc78670a9e90f932678cb5ec4
parent3337ece13a8af74c96160ad1a8b055b42e78e6ae
powerpc/pmem: Avoid the barrier in flush routines

nvdimm expect the flush routines to just mark the cache clean. The barrier
that mark the store globally visible is done in nvdimm_flush().

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-7-aneesh.kumar@linux.ibm.com
arch/powerpc/lib/pmem.c