linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] COVER: Remove memcpy_page_flushcache()
@ 2023-03-15 23:20 Ira Weiny
  2023-03-15 23:20 ` [PATCH 1/3] x86, uaccess: " Ira Weiny
                   ` (5 more replies)
  0 siblings, 6 replies; 12+ messages in thread
From: Ira Weiny @ 2023-03-15 23:20 UTC (permalink / raw)
  To: Dave Hansen, Thomas Gleixner, Michael Ellerman, Nicholas Piggin,
	Christophe Leroy, Catalin Marinas, Will Deacon, Ingo Molnar,
	Borislav Petkov, x86, H. Peter Anvin
  Cc: linuxppc-dev, linux-kernel, Al Viro, Dan Williams, Ira Weiny,
	linux-arm-kernel

Commit 21b56c847753 ("iov_iter: get rid of separate bvec and xarray 
callbacks") removed the calls to memcpy_page_flushcache().

kmap_atomic() is deprecated and used in the x86 version of
memcpy_page_flushcache().

Remove the unnecessary memcpy_page_flushcache() call from all arch's.

Signed-off-by: Ira Weiny <ira.weiny@intel.com>
---
Ira Weiny (3):
      x86, uaccess: Remove memcpy_page_flushcache()
      powerpc: Remove memcpy_page_flushcache()
      arm: uaccess: Remove memcpy_page_flushcache()

 arch/arm64/include/asm/uaccess.h    | 2 --
 arch/arm64/lib/uaccess_flushcache.c | 6 ------
 arch/powerpc/include/asm/uaccess.h  | 2 --
 arch/powerpc/lib/pmem.c             | 7 -------
 arch/x86/include/asm/uaccess_64.h   | 2 --
 arch/x86/lib/usercopy_64.c          | 9 ---------
 6 files changed, 28 deletions(-)
---
base-commit: 6015b1aca1a233379625385feb01dd014aca60b5
change-id: 20221230-kmap-x86-bfda7e1f07ee

Best regards,
-- 
Ira Weiny <ira.weiny@intel.com>


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2023-04-06  1:13 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-15 23:20 [PATCH 0/3] COVER: Remove memcpy_page_flushcache() Ira Weiny
2023-03-15 23:20 ` [PATCH 1/3] x86, uaccess: " Ira Weiny
2023-03-15 23:20 ` [PATCH 2/3] powerpc: " Ira Weiny
2023-03-15 23:20 ` [PATCH 3/3] arm: uaccess: " Ira Weiny
2023-03-15 23:33 ` [PATCH 0/3] COVER: " Dave Hansen
2023-03-16  1:12   ` Ira Weiny
2023-03-16  7:07     ` Michael Ellerman
2023-03-16 16:16       ` Ira Weiny
2023-03-17  0:06         ` Michael Ellerman
2023-03-17 14:48         ` Konstantin Ryabitsev
2023-03-27 16:29 ` Will Deacon
2023-04-06  1:09 ` (subset) " Michael Ellerman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).