diff options
| author | James Hogan <[email protected]> | 2015-03-13 15:54:08 +0000 |
|---|---|---|
| committer | James Hogan <[email protected]> | 2017-02-03 15:20:43 +0000 |
| commit | 1534b3964901ff55465a9f582838204193354966 (patch) | |
| tree | de8331f46b6b68bdd0f66a9957b6fa894bbd4c75 /tools/perf/scripts/python | |
| parent | 00104b4171491794b53f8d6cc255f539e8bf18b4 (diff) | |
KVM: MIPS/MMU: Simplify ASID restoration
KVM T&E uses an ASID for guest kernel mode and an ASID for guest user
mode. The current ASID is saved when the guest is scheduled out, and
restored when scheduling back in, with checks for whether the ASID needs
to be regenerated.
This isn't really necessary as the ASID can be easily determined by the
current guest mode, so lets simplify it to just read the required ASID
from guest_kernel_asid or guest_user_asid even if the ASID hasn't been
regenerated.
Signed-off-by: James Hogan <[email protected]>
Cc: Paolo Bonzini <[email protected]>
Cc: "Radim Krčmář" <[email protected]>
Cc: Ralf Baechle <[email protected]>
Cc: [email protected]
Cc: [email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions