From: Jiaxun Yang <jiaxun.yang@flygoat.com>
To: maobibo <maobibo@loongson.cn>, Huacai Chen <chenhuacai@kernel.org>
Cc: Tianrui Zhao <zhaotianrui@loongson.cn>,
WANG Xuerui <kernel@xen0n.name>,
kvm@vger.kernel.org, loongarch@lists.linux.dev,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v4 2/3] LoongArch: KVM: Add LBT feature detection function
Date: Fri, 5 Jul 2024 03:44:44 +0800 [thread overview]
Message-ID: <ecb6df72-543c-4458-ba27-0ef8340c1eb3@flygoat.com> (raw)
In-Reply-To: <bdcc9ec4-31a8-1438-25c0-be8ba7f49ed0@loongson.cn>
On 2024/7/4 09:35, maobibo wrote:
> In another thread I found that Jiaxun said he has a solution to make
>> LBT be a vcpu feature and still works well. However, that may take
>> some time and is too late for 6.11.
>>
>> But we have another choice now: just remove the UAPI and vm.c parts in
>> this series, let the LBT main parts be upstream in 6.11, and then
>> solve other problems after 6.11. Even if Jiaxun's solution isn't
>> usable, we can still use this old vm feature solution then.
IMO this is the best approach to make some progress.
>
> I am sure it is best if it is VM feature for LBT feature detection,
> LSX/LASX feature detection uses CPU feature, we can improve it later.
Please justify the reason, we should always be serious on UAPI design
choices.
I don't really understand why the approach worked so well on Arm &
RISC-V is not working
for you.
I understand you may have some plans in your mind, please elaborate so
we can smash
them together. That's how community work.
>
> For host cpu type or migration feature detection, I have no idea now,
> also I do not think it will be big issue for me, I will do it with
> scheduled time. Of source, welcome Jiaxun and you to implement host
> cpu type or migration feature detection.
My concern is if you allow CPU features to have "auto" property you are
risking create
inconsistency among migration. Once you've done that it's pretty hard to
get rid of it.
Please check how RISC-V dealing with CPU features at QMP side.
I'm not meant to hinder your development work, but we should always
think ahead.
Thanks
- Jiaxun
>
next prev parent reply other threads:[~2024-07-04 19:44 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-26 6:32 [PATCH v4 0/3] LoongArch: KVM: Add Binary Translation extension support Bibo Mao
2024-06-26 6:32 ` [PATCH v4 1/3] LoongArch: KVM: Add HW " Bibo Mao
2024-06-26 6:32 ` [PATCH v4 2/3] LoongArch: KVM: Add LBT feature detection function Bibo Mao
2024-06-30 2:07 ` Huacai Chen
2024-07-01 1:27 ` maobibo
2024-07-01 10:26 ` Huacai Chen
2024-07-02 1:51 ` maobibo
2024-07-02 1:59 ` Huacai Chen
2024-07-02 2:25 ` maobibo
2024-07-02 2:34 ` Huacai Chen
2024-07-02 4:12 ` maobibo
2024-07-02 7:28 ` Huacai Chen
2024-07-02 8:42 ` maobibo
2024-07-02 15:43 ` Huacai Chen
2024-07-03 3:15 ` maobibo
2024-07-03 15:35 ` Huacai Chen
2024-07-04 1:24 ` maobibo
2024-07-08 9:51 ` Huacai Chen
2024-07-09 1:45 ` maobibo
2024-07-04 1:35 ` maobibo
2024-07-04 19:44 ` Jiaxun Yang [this message]
2024-07-05 1:21 ` maobibo
2024-07-05 3:19 ` Jiaxun Yang
2024-07-05 3:46 ` maobibo
2024-07-05 4:09 ` Jiaxun Yang
2024-07-05 5:05 ` maobibo
2024-06-26 6:32 ` [PATCH v4 3/3] LoongArch: KVM: Add vm migration support for LBT registers Bibo Mao
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=ecb6df72-543c-4458-ba27-0ef8340c1eb3@flygoat.com \
--to=jiaxun.yang@flygoat.com \
--cc=chenhuacai@kernel.org \
--cc=kernel@xen0n.name \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=loongarch@lists.linux.dev \
--cc=maobibo@loongson.cn \
--cc=zhaotianrui@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
all inboxes | Powered by JetHome®