diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2017-10-05 09:44:26 +0300 |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2017-11-14 13:01:43 +0300 |
commit | c771320e9357c9b85634002daedfe5c8988f27a6 (patch) | |
tree | bf405eb39a9cb33d352fddaf2edf3eeacf4eb74f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cefbeb5df56e1daf0adda8ca5eecee03c5084af6 (diff) | |
download | linux-c771320e9357c9b85634002daedfe5c8988f27a6.tar.xz |
s390/mm,kvm: improve detection of KVM guest faults
The identification of guest fault currently relies on the PF_VCPU flag.
This is set in guest_entry_irqoff and cleared in guest_exit_irqoff.
Both functions are called by __vcpu_run, the PF_VCPU flag is set for
quite a lot of kernel code outside of the guest execution.
Replace the PF_VCPU scheme with the PIF_GUEST_FAULT in the pt_regs and
make the program check handler code in entry.S set the bit only for
exception that occurred between the .Lsie_gmap and .Lsie_done labels.
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions