在 2024/9/10 上午10:24, maobibo 写道:


On 2024/9/9 下午9:13, gaosong wrote:
在 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 <maob...@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 <gaos...@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

Hi Song,

It can apply with the latest qemu version on my side, only that it fails to compile since kvm uapi header files need be updated.

LBT patch on qemu side can be skipped here since it depends on LBT patch merged on kernel side firstly.

Hi,

The LBT patches already merged on kernel side.
Could you update this series  and add a patch to support gdb LBT feature ?

Thanks.
Song Gao

Regards
Bibo Mao


Thanks.
Song Gao.



Reply via email to