Re: [PATCH v4 1/2] x86, powerpc: Rename memcpy_mcsafe() to copy_mc_to_{user, kernel}()

2020-05-27 Thread Dan Williams
On Sat, May 23, 2020 at 5:04 AM Michael Ellerman wrote: > > Hi Dan, > > Sorry one minor nit below. > > Dan Williams writes: > > diff --git a/tools/testing/selftests/powerpc/copyloops/.gitignore > > b/tools/testing/selftests/powerpc/copyloops/.gitignore > > index ddaf140b8255..1152bcc819fe

Re: [PATCH v4 1/2] x86, powerpc: Rename memcpy_mcsafe() to copy_mc_to_{user, kernel}()

2020-05-23 Thread Michael Ellerman
Hi Dan, Sorry one minor nit below. Dan Williams writes: > diff --git a/tools/testing/selftests/powerpc/copyloops/.gitignore > b/tools/testing/selftests/powerpc/copyloops/.gitignore > index ddaf140b8255..1152bcc819fe 100644 > --- a/tools/testing/selftests/powerpc/copyloops/.gitignore > +++

[PATCH v4 1/2] x86, powerpc: Rename memcpy_mcsafe() to copy_mc_to_{user, kernel}()

2020-05-21 Thread Dan Williams
In reaction to a proposal to introduce a memcpy_mcsafe_fast() implementation Linus points out that memcpy_mcsafe() is poorly named relative to communicating the scope of the interface. Specifically what addresses are valid to pass as source, destination, and what faults / exceptions are handled.