qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [RFC v2 0/2] target/loongarch: Add loongson binary translation feature
@ 2024-05-27  8:34 Bibo Mao
  2024-05-27  8:35 ` [RFC v2 1/2] " Bibo Mao
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Bibo Mao @ 2024-05-27  8:34 UTC (permalink / raw)
  To: Song Gao; +Cc: qemu-devel

Loongson Binary Translation (LBT) is used to accelerate binary
translation. LBT feature is added in kvm mode, not supported in TCG
mode since it is not emulated. And only LBT feature is added here, LBT
registers saving and restoring is not supported since it depeeds on LBT
feautre implemented in KVM kernel

---
v1 ... v2:
  1. Add LBT register saving and restoring in vmstate
  2. Add two pseudo feature flags: default_features and forced_features.
---

Bibo Mao (2):
  target/loongarch: Add loongson binary translation feature
  target/loongarch: Implement lbt registers save/restore function

 target/loongarch/cpu.c                | 69 ++++++++++++++++++++++++
 target/loongarch/cpu.h                | 24 +++++++++
 target/loongarch/kvm/kvm.c            | 78 +++++++++++++++++++++++++++
 target/loongarch/kvm/kvm_loongarch.h  | 16 ++++++
 target/loongarch/loongarch-qmp-cmds.c |  2 +-
 target/loongarch/machine.c            | 24 +++++++++
 6 files changed, 212 insertions(+), 1 deletion(-)


base-commit: ffdd099a782556b9ead26551a6f1d070a595306d
-- 
2.39.3



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-05-29  8:19 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-27  8:34 [RFC v2 0/2] target/loongarch: Add loongson binary translation feature Bibo Mao
2024-05-27  8:35 ` [RFC v2 1/2] " Bibo Mao
2024-05-27 10:37   ` Philippe Mathieu-Daudé
2024-05-28  1:07     ` maobibo
2024-05-28 12:56       ` gaosong
2024-05-29  8:18         ` maobibo
2024-05-27  8:35 ` [RFC v2 2/2] target/loongarch: Implement lbt registers save/restore function Bibo Mao
2024-05-27 10:39 ` [RFC v2 0/2] target/loongarch: Add loongson binary translation feature Philippe Mathieu-Daudé
2024-05-28  1:14   ` maobibo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).