diff options
author | Huacai Chen <[email protected]> | 2020-05-23 15:56:33 +0800 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2020-06-04 13:49:00 -0400 |
commit | 3210e2c279fee1076978b49988acdd935a6f7435 (patch) | |
tree | 1029d1e6a5a180ce00a03d99128a60dc9a00007b /scripts/gdb/linux/modules.py | |
parent | 8bf31295030e35ef1e9e1b25b02041423f8291d3 (diff) |
KVM: MIPS: Introduce and use cpu_guest_has_ldpte
Loongson-3 has lddir/ldpte instructions and their related CP0 registers
are the same as HTW. So we introduce a cpu_guest_has_ldpte flag and use
it to indicate whether we need to save/restore HTW related CP0 registers
(PWBase, PWSize, PWField and PWCtl).
Acked-by: Thomas Bogendoerfer <[email protected]>
Reviewed-by: Aleksandar Markovic <[email protected]>
Signed-off-by: Huacai Chen <[email protected]>
Co-developed-by: Jiaxun Yang <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions