diff options
| author | Nicholas Piggin <npiggin@gmail.com> | 2021-11-23 19:51:46 +1000 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-11-24 21:08:57 +1100 |
| commit | eacc818864bb01828280f4d64334c4e5ae6a4daf (patch) | |
| tree | 3a5ee02d5cb821dd73f60037b060d27ce684f908 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | powerpc/time: add API for KVM to re-arm the host timer/decrementer (diff) | |
| download | linux-eacc818864bb01828280f4d64334c4e5ae6a4daf.tar.gz linux-eacc818864bb01828280f4d64334c4e5ae6a4daf.zip | |
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 <npiggin@gmail.com>
Reviewed-by: Fabiano Rosas <farosas@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20211123095231.1036501-9-npiggin@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
