diff options
author | Dan Williams <dan.j.williams@intel.com> | 2018-05-04 02:06:31 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2018-05-15 08:32:42 +0200 |
commit | 8780356ef630aa577fd4daa49e49b79674711fae (patch) | |
tree | 104e73665ca067e220a59a70daee5539e50e0c99 /drivers | |
parent | x86/asm/memcpy_mcsafe: Add write-protection-fault handling (diff) | |
download | linux-8780356ef630aa577fd4daa49e49b79674711fae.tar.xz linux-8780356ef630aa577fd4daa49e49b79674711fae.zip |
x86/asm/memcpy_mcsafe: Define copy_to_iter_mcsafe()
Use the updated memcpy_mcsafe() implementation to define
copy_user_mcsafe() and copy_to_iter_mcsafe(). The most significant
difference from typical copy_to_iter() is that the ITER_KVEC and
ITER_BVEC iterator types can fail to complete a full transfer.
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Tony Luck <tony.luck@intel.com>
Cc: hch@lst.de
Cc: linux-fsdevel@vger.kernel.org
Cc: linux-nvdimm@lists.01.org
Link: http://lkml.kernel.org/r/152539239150.31796.9189779163576449784.stgit@dwillia2-desk3.amr.corp.intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions