[PATCH 0/4] lib/iov_iter: Fixes and documentation for pmem user copies

From: Dan Williams
Date: Sun Jul 08 2018 - 16:56:00 EST


* Add missing documentation for the 'flushcache' operation for writing to
persistent memory, and the 'mcsafe' operation for reading from
potentially poisoned persistent memory.

* Introduce copy_pipe_to_iter_mcsafe() to properly handle ITER_PIPE for
_copy_to_iter_mcsafe().

* Make sure copy_to_user_mcsafe() falls back to an exception handling
capable copy routine, not plain memcpy().

---

Dan Williams (4):
lib/iov_iter: Document _copy_to_iter_mcsafe()
lib/iov_iter: Document _copy_to_iter_flushcache()
lib/iov_iter: Fix pipe handling in _copy_to_iter_mcsafe
x86/asm/memcpy_mcsafe: Fix copy_to_user_mcsafe() exception handling


arch/x86/Kconfig | 2 -
arch/x86/include/asm/uaccess_64.h | 7 +++
lib/iov_iter.c | 77 +++++++++++++++++++++++++++++++++++--
3 files changed, 80 insertions(+), 6 deletions(-)