UPSTREAM: arm64: Defer dcache flush in __cpu_copy_user_page
authorAshok Kumar <ashoks@broadcom.com>
Thu, 17 Dec 2015 09:38:31 +0000 (01:38 -0800)
committerJeff Vander Stoep <jeffv@google.com>
Sun, 18 Sep 2016 20:33:57 +0000 (13:33 -0700)
commitb10551a35399a277afe9b2e28266e2a00a5f6253
treee55da67a9a1269f243ba32972a6c9e8a6d34fa89
parent41b7e19e9b27266024dc0565426a91d922c3d96b
UPSTREAM: arm64: Defer dcache flush in __cpu_copy_user_page

Defer dcache flushing to __sync_icache_dcache by calling
flush_dcache_page which clears PG_dcache_clean flag.

Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Ashok Kumar <ashoks@broadcom.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Bug: 30369029
Patchset: rework-pagetable

(cherry picked from commit e6b1185f77351aa154e63bd54b05d07ff99d4ffa)
Signed-off-by: Jeff Vander Stoep <jeffv@google.com>
Change-Id: I2e02ce2f43f68287337bed30e3c3455c0eee4164
arch/arm64/mm/copypage.c