diff options
author | James Hogan <[email protected]> | 2016-11-28 16:38:01 +0000 |
---|---|---|
committer | James Hogan <[email protected]> | 2017-02-03 15:19:02 +0000 |
commit | 7170bdc777556dad87f92e6a73a6cc557bf3290e (patch) | |
tree | 1a5cfc93d2ee14cb099d872f5ebe00cdc0c65211 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 722b45443146f425453525d3c2270ff2733f5dc4 (diff) |
MIPS: Add return errors to protected cache ops
The protected cache ops contain no out of line fixup code to return an
error code in the event of a fault, with the cache op being skipped in
that case. For KVM however we'd like to detect this case as page
faulting will be disabled so it could happen during normal operation if
the GVA page tables were flushed, and need to be handled by the caller.
Add the out-of-line fixup code to load the error value -EFAULT into the
return variable, and adapt the protected cache line functions to pass
the error back to the caller.
Signed-off-by: James Hogan <[email protected]>
Acked-by: Ralf Baechle <[email protected]>
Cc: Ralf Baechle <[email protected]>
Cc: Paolo Bonzini <[email protected]>
Cc: "Radim Krčmář" <[email protected]>
Cc: [email protected]
Cc: [email protected]
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions