diff options
| author | Nicholas Piggin <[email protected]> | 2021-11-23 19:51:46 +1000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2021-11-24 21:08:57 +1100 |
| commit | eacc818864bb01828280f4d64334c4e5ae6a4daf (patch) | |
| tree | 3a5ee02d5cb821dd73f60037b060d27ce684f908 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 25aa145856cd0d94864bf501218be84a7c8062ae (diff) | |
KVM: PPC: Book3S HV: POWER10 enable HAIL when running radix guests
HV interrupts may be taken with the MMU enabled when radix guests are
running. Enable LPCR[HAIL] on ISA v3.1 processors for radix guests.
Make this depend on the host LPCR[HAIL] being enabled. Currently that is
always enabled, but having this test means any issue that might require
LPCR[HAIL] to be disabled in the host will not have to be duplicated in
KVM.
This optimisation takes 1380 cycles off a NULL hcall entry+exit micro
benchmark on a POWER10.
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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions