diff options
| author | Balbir Singh <[email protected]> | 2019-08-20 13:43:51 +0530 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2019-08-21 22:23:48 +1000 |
| commit | 4d4a273854c9eac1a1b163830658dc825e183ad5 (patch) | |
| tree | 18b6a919f5cb50880c8b81d96bfd9f6fb881e59d /tools/perf/scripts/python | |
| parent | 895e3dceeb97855dc9990136cbb80a842fe581aa (diff) | |
powerpc/memcpy: Add memcpy_mcsafe for pmem
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 largely borrows from the copyuser_power7 logic and does not add
the VMX optimizations, largely to keep the patch simple. If needed those
optimizations can be folded in.
Signed-off-by: Balbir Singh <[email protected]>
[[email protected]: Added symbol export]
Co-developed-by: Santosh Sivaraj <[email protected]>
Signed-off-by: Santosh Sivaraj <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions