diff options
author | Juergen Gross <[email protected]> | 2022-09-26 08:23:51 +0200 |
---|---|---|
committer | Juergen Gross <[email protected]> | 2022-10-11 10:50:51 +0200 |
commit | 8714f7bcd3c20d36890f43cc6a8e0c3c17b843aa (patch) | |
tree | ee323125ca1747c841781668e97f3a31c5bd5151 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | 61367688f1fb07678b1d865a0ce9364f5267a896 (diff) |
xen/pv: add fault recovery control to pmu msr accesses
Today pmu_msr_read() and pmu_msr_write() fall back to the safe variants
of read/write MSR in case the MSR access isn't emulated via Xen. Allow
the caller to select that faults should not be recovered from by passing
NULL for the error pointer.
Restructure the code to make it more readable.
Signed-off-by: Juergen Gross <[email protected]>
Reviewed-by: Jan Beulich <[email protected]>
Signed-off-by: Juergen Gross <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions