diff options
| author | Nicholas Piggin <[email protected]> | 2021-11-23 19:52:14 +1000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2021-11-24 21:09:01 +1100 |
| commit | a3e18ca8ab6f7f2260978f0a3842845414d799c0 (patch) | |
| tree | a87f1b4fb98324206da8621d996148452ce4a697 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 34e02d555d8fa36cc756a083de1eeb56edab0e00 (diff) | |
KVM: PPC: Book3S HV P9: Demand fault EBB facility registers
Use HFSCR facility disabling to implement demand faulting for EBB, with
a hysteresis counter similar to the load_fp etc counters in context
switching that implement the equivalent demand faulting for userspace
facilities.
This speeds up guest entry/exit by avoiding the register save/restore
when a guest is not frequently using them. When a guest does use them
often, there will be some additional demand fault overhead, but these
are not commonly used facilities.
Signed-off-by: Nicholas Piggin <[email protected]>
Reviewed-by: Fabiano Rosas <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions