[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <153108275728.37979.14771120672220174225.stgit@dwillia2-desk3.amr.corp.intel.com>
Date: Sun, 08 Jul 2018 13:45:57 -0700
From: Dan Williams <dan.j.williams@...el.com>
To: mingo@...nel.org
Cc: Tony Luck <tony.luck@...el.com>,
Peter Zijlstra <peterz@...radead.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Borislav Petkov <bp@...en8.de>,
Thomas Gleixner <tglx@...utronix.de>,
Ross Zwisler <ross.zwisler@...ux.intel.com>,
Andy Lutomirski <luto@...capital.net>,
Al Viro <viro@...iv.linux.org.uk>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org, x86@...nel.org
Subject: [PATCH 0/4] lib/iov_iter: Fixes and documentation for pmem user
copies
* 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(-)
Powered by blists - more mailing lists