Re: [PATCH v3] x86, pmem: use memcpy_mcsafe() for memcpy_from_pmem()

From: Ingo Molnar
Date: Tue Mar 29 2016 - 04:38:28 EST

* Dan Williams <dan.j.williams@xxxxxxxxx> wrote:

> Update the definition of memcpy_from_pmem() to return 0 or a negative
> error code. Implement x86/arch_memcpy_from_pmem() with memcpy_mcsafe().
> Cc: Borislav Petkov <bp@xxxxxxxxx>
> Cc: Ingo Molnar <mingo@xxxxxxxxxx>
> Cc: Tony Luck <tony.luck@xxxxxxxxx>
> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> Cc: Andy Lutomirski <luto@xxxxxxxxxxxxxx>
> Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
> Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> Cc: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
> Reviewed-by: Ross Zwisler <ross.zwisler@xxxxxxxxxxxxxxx>
> Signed-off-by: Dan Williams <dan.j.williams@xxxxxxxxx>

I suspect you want to carry this in the nvdimm tree? If so:

Acked-by: Ingo Molnar <mingo@xxxxxxxxxx>