powerpc/lib: Implement UACCESS_FLUSHCACHE API
authorOliver O'Halloran <oohall@gmail.com>
Thu, 19 Oct 2017 07:13:55 +0000 (18:13 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 12 Nov 2017 21:00:31 +0000 (08:00 +1100)
commit6c44741d75a27985a0496cd58b123a58c7177108
treecabc19300cc31e282e8663bc071b37ab24187c00
parent32ce3862af3c42a3890e99846a8d1ad8871a49f9
powerpc/lib: Implement UACCESS_FLUSHCACHE API

Implement the architecture specific portitions of the UACCESS_FLUSHCACHE
API. This provides functions for the copy_user_flushcache iterator that
ensure that when the copy is finished the destination buffer contains
a copy of the original and that the destination buffer is clean in the
processor caches.

Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/Kconfig
arch/powerpc/include/asm/string.h
arch/powerpc/include/asm/uaccess.h
arch/powerpc/lib/pmem.c