From: maobibo <maobibo@loongson.cn>
To: yangtiezhu <yangtiezhu@loongson.cn>
Cc: gaosong <gaosong@loongson.cn>,
Huacai Chen <chenhuacai@kernel.org>,
qemu-devel@nongnu.org
Subject: Re: [PATCH v4 2/2] target/loongarch: Implement lbt registers save/restore function
Date: Tue, 24 Sep 2024 09:28:33 +0800 [thread overview]
Message-ID: <e844b0f8-e85e-a026-72b3-3af4d1af19d9@loongson.cn> (raw)
In-Reply-To: <c7257d12-dad4-7d1e-2fb7-876599a820a8@loongson.cn>
Hi Tiezhu,
Does mainline gdb support to dump LBT register now?
Regards
Bibo Mao
On 2024/9/23 下午9:02, gaosong wrote:
> 在 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 <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
>>
>> 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.
>>>
>
next prev parent reply other threads:[~2024-09-24 1:29 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
2024-09-09 13:13 ` gaosong
2024-09-10 2:24 ` maobibo
2024-09-23 13:02 ` gaosong
2024-09-24 1:28 ` maobibo [this message]
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=e844b0f8-e85e-a026-72b3-3af4d1af19d9@loongson.cn \
--to=maobibo@loongson.cn \
--cc=chenhuacai@kernel.org \
--cc=gaosong@loongson.cn \
--cc=qemu-devel@nongnu.org \
--cc=yangtiezhu@loongson.cn \
/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).