diff options
| author | Nicholas Piggin <[email protected]> | 2021-11-23 19:51:41 +1000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2021-11-24 21:08:56 +1100 |
| commit | 5955c7469a73033f607ebd6d418058943fe13dd3 (patch) | |
| tree | 81741c2f1b2e197b469e6fd77577bbeb83ac832f /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 736df58fd5bcd02f811f7d474bbe02a35ffaa8f0 (diff) | |
KMV: PPC: Book3S HV P9: Use set_dec to set decrementer to host
The host Linux timer code arms the decrementer with the value
'decrementers_next_tb - current_tb' using set_dec(), which stores
val - 1 on Book3S-64, which is not quite the same as what KVM does
to re-arm the host decrementer when exiting the guest.
This shouldn't be a significant change, but it makes the logic match
and avoids this small extra change being brought into the next patch.
Suggested-by: Alexey Kardashevskiy <[email protected]>
Signed-off-by: Nicholas Piggin <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions