From: Yanfeng <yfliu2008@qq.com>
To: Daniel Henrique Barboza <dbarboza@ventanamicro.com>,
Alistair Francis <alistair23@gmail.com>
Cc: qemu-devel@nongnu.org, qemu-riscv@nongnu.org,
Weiwei Li <liwei1518@gmail.com>,
Liu Zhiwei <zhiwei_liu@linux.alibaba.com>,
Alistair Francis <alistair.francis@wdc.com>
Subject: Re: [PATCH] include virtualization mode as part of priv
Date: Fri, 29 Nov 2024 16:36:02 +0800 [thread overview]
Message-ID: <tencent_473EB04841ACAD201DCF67FB1D917DB8130A@qq.com> (raw)
In-Reply-To: <1f2a4b6f-7a70-4f61-a073-f6c953003d32@ventanamicro.com>
On Thu, 2024-11-28 at 10:02 -0300, Daniel Henrique Barboza wrote:
>
>
> On 11/28/24 3:39 AM, Yanfeng wrote:
> > On Thu, 2024-11-28 at 14:46 +1000, Alistair Francis wrote:
> > > On Thu, Nov 28, 2024 at 2:27 PM Yanfeng <yfliu2008@qq.com> wrote:
> > > >
> > > > On Thu, 2024-11-28 at 14:10 +1000, Alistair Francis wrote:
> > > > > On Thu, Nov 28, 2024 at 2:05 PM Yanfeng <yfliu2008@qq.com> wrote:
> > > > > >
> > > > > > Alistair.
> > > > > >
> > > > > > My initial `git send-email" on Ubuntu 22.04 wasn't lukcy:
> > > > > >
> > > > > > ```shell
> > > > > > $ git send-email
> > > > > > git: 'send-email' is not a git command. See 'git --help'.
> > > > > > ```
> > > > > >
> > > > > > I need time to find a solution.
> > > > >
> > > > > You will need to install git-send-email (or something like that)
> > > >
> > > > Yes, now the "git send-email" exists and I will see how to use it
> > > > correctly.
> > > >
> > > > >
> > > > > >
> > > > > > As for seperate `virt` thing, my concern is that though the V and P
> > > > > > status
> > > > > > looks
> > > > > > orthogonal, they are not so independent (e.g. `P=3` implies `V=0`).
> > > > > > Having
> > > > > > them
> > > > > > in one `priv` register tells user that that they should be operated
> > > > > > together
> > > > > > using one command.
> > > > >
> > > > > True, but how can a user know what bit 8 means?
> > > >
> > > > Good point. Can we mention it in the user document for `priv` register?
> > >
> > > AFAIK we don't really have a place to document that. Which is why a
> > > "virt" register would help as it's self documenting.
> >
> > Okay, I will try adding a `virt` virtual register in a [PATCH v2] later.
>
> Can you please also change the patch title/subject to:
>
> "riscv: include virtualization mode as part of priv"
>
> Adding 'riscv' at the beginning will help people from the common qemu-devel ML
> to
> identify which subsystem/arch this patch is aimed at.
>
Sure, will do in updated versions later.
Thanks,
yf
>
> Thanks,
>
> Daniel
>
>
>
> > >
> > > Alistair
> > >
> > > >
> > > > I used bit(8) at my first try and it worked from GDB command line.
> > > > Actually
> > > > I
> > > > also tried bit(4) but found GDB command takes that bit as part of P
> > > > value so
> > > > I
> > > > withdrawed back to bit(8).
> > > >
> > > >
> >
prev parent reply other threads:[~2024-11-29 8:37 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-27 12:08 [PATCH] include virtualization mode as part of priv Yanfeng
2024-11-28 0:39 ` Alistair Francis
2024-11-28 1:43 ` Yanfeng
2024-11-28 2:43 ` Alistair Francis
2024-11-28 4:05 ` Yanfeng
2024-11-28 4:10 ` Alistair Francis
2024-11-28 4:27 ` Yanfeng
2024-11-28 4:46 ` Alistair Francis
2024-11-28 6:39 ` Yanfeng
2024-11-28 13:02 ` Daniel Henrique Barboza
2024-11-29 8:36 ` Yanfeng [this message]
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=tencent_473EB04841ACAD201DCF67FB1D917DB8130A@qq.com \
--to=yfliu2008@qq.com \
--cc=alistair.francis@wdc.com \
--cc=alistair23@gmail.com \
--cc=dbarboza@ventanamicro.com \
--cc=liwei1518@gmail.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-riscv@nongnu.org \
--cc=zhiwei_liu@linux.alibaba.com \
/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).