From: gaosong <gaosong@loongson.cn>
To: Bibo Mao <maobibo@loongson.cn>
Cc: Huacai Chen <chenhuacai@kernel.org>, qemu-devel@nongnu.org
Subject: Re: [PATCH v4 2/2] target/loongarch: Implement lbt registers save/restore function
Date: Mon, 9 Sep 2024 19:52:34 +0800 [thread overview]
Message-ID: <c14c8927-bb9b-9c3f-dca7-c86f79e73770@loongson.cn> (raw)
In-Reply-To: <20240904061859.86615-3-maobibo@loongson.cn>
在 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
next prev parent reply other threads:[~2024-09-09 11:53 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-04 6:18 [PATCH v4 0/2] target/loongarch: Add loongson binary translation feature Bibo Mao
2024-09-04 6:18 ` [PATCH v4 1/2] " Bibo Mao
2024-09-09 11:45 ` gaosong
2024-09-04 6:18 ` [PATCH v4 2/2] target/loongarch: Implement lbt registers save/restore function Bibo Mao
2024-09-09 11:52 ` gaosong [this message]
2024-09-09 13:13 ` gaosong
2024-09-10 2:24 ` maobibo
2024-09-23 13:02 ` gaosong
2024-09-24 1:28 ` maobibo
2024-09-25 3:07 ` Tiezhu Yang
2024-09-29 4:07 ` maobibo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c14c8927-bb9b-9c3f-dca7-c86f79e73770@loongson.cn \
--to=gaosong@loongson.cn \
--cc=chenhuacai@kernel.org \
--cc=maobibo@loongson.cn \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).