Re: [v5 3/6] powerpc/memcpy: Add memcpy_mcsafe for pmem

2019-07-11 Thread Nicholas Piggin
Santosh Sivaraj's on July 9, 2019 10:15 pm: > From: Balbir Singh > > The pmem infrastructure uses memcpy_mcsafe in the pmem layer so as to > convert machine check exceptions into a return value on failure in case > a machine check exception is encountered during the memcpy. The return > value is

[v5 3/6] powerpc/memcpy: Add memcpy_mcsafe for pmem

2019-07-09 Thread Santosh Sivaraj
From: Balbir Singh The pmem infrastructure uses memcpy_mcsafe in the pmem layer so as to convert machine check exceptions into a return value on failure in case a machine check exception is encountered during the memcpy. The return value is the number of bytes remaining to be copied. This patch