在 2024/9/9 下午7:52, gaosong 写道:
在 2024/9/4 下午2:18, Bibo Mao 写道:
Six registers scr0 - scr3, eflags and ftop are added in percpu vmstate.
And two functions kvm_loongarch_get_lbt/kvm_loongarch_put_lbt are added
to save/restore lbt registers.
Signed-off-by: Bibo Mao <maobibo@loongson.cn>
---
target/loongarch/cpu.h | 12 ++++++++
target/loongarch/kvm/kvm.c | 60 ++++++++++++++++++++++++++++++++++++++
target/loongarch/machine.c | 24 +++++++++++++++
3 files changed, 96 insertions(+)
Reviewed-by: Song Gao <gaosong@loongson.cn>
Thanks
Song Gao
Hi, this patch need rebase.
Applying: target/loongarch: Implement lbt registers save/restore function
error: sha1 information is lacking or useless (target/loongarch/kvm/kvm.c).
error: could not build fake ancestor
Patch failed at 0001 target/loongarch: Implement lbt registers
save/restore function