All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alistair Francis <alistair23@gmail.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: "open list:RISC-V" <qemu-riscv@nongnu.org>,
	Sagar Karandikar <sagark@eecs.berkeley.edu>,
	bastian@mail.uni-paderborn.de, Palmer Dabbelt <palmer@sifive.com>,
	"qemu-devel@nongnu.org Developers" <qemu-devel@nongnu.org>,
	Alistair Francis <Alistair.Francis@wdc.com>,
	LIU ZhiWei <zhiwei_liu@c-sky.com>,
	Aleksandar Markovic <aleksandar.m.mail@gmail.com>
Subject: Re: [Qemu-devel] RISC-V: Vector && DSP Extension
Date: Thu, 15 Aug 2019 14:37:52 -0700	[thread overview]
Message-ID: <CAKmqyKM44ZAHgc5cYAiAXXtVG=dMcX1i7FLn+2mMwM1Av4Gqzg@mail.gmail.com> (raw)
In-Reply-To: <CAFEAcA9bDU4AWetkR4w4WLUzMW_MMy0CsVa5SibWqf85RyaX5g@mail.gmail.com>

On Thu, Aug 15, 2019 at 2:07 AM Peter Maydell <peter.maydell@linaro.org> wrote:
>
> On Thu, 15 Aug 2019 at 09:53, Aleksandar Markovic
> <aleksandar.m.mail@gmail.com> wrote:
> >
> > > We can accept draft
> > > extensions in QEMU as long as they are disabled by default.
>
> > Hi, Alistair, Palmer,
> >
> > Is this an official stance of QEMU community, or perhaps Alistair's
> > personal judgement, or maybe a rule within risv subcomunity?
>
> Alistair asked on a previous thread; my view was:
> https://lists.gnu.org/archive/html/qemu-devel/2019-07/msg03364.html
> and nobody else spoke up disagreeing (summary: should at least be
> disabled-by-default and only enabled by setting an explicit
> property whose name should start with the 'x-' prefix).

Agreed!

>
> In general QEMU does sometimes introduce experimental extensions
> (we've had them in the block layer, for example) and so the 'x-'
> property to enable them is a reasonably established convention.
> I think it's a reasonable compromise to allow this sort of work
> to start and not have to live out-of-tree for a long time, without
> confusing users or getting into a situation where some QEMU
> versions behave differently or to obsolete drafts of a spec
> without it being clear from the command line that experimental
> extensions are being enabled.
>
> There is also an element of "submaintainer judgement" to be applied
> here -- upstream is probably not the place for a draft extension
> to be implemented if it is:
>  * still fast moving or subject to major changes of design direction
>  * major changes to the codebase (especially if it requires
>    changes to core code) that might later need to be redone
>    entirely differently
>  * still experimental

Yep, agreed. For RISC-V I think this would extend to only allowing
extensions that have backing from the foundation and are under active
discussion.

Alistair

>
> thanks
> -- PMM


WARNING: multiple messages have this Message-ID (diff)
From: Alistair Francis <alistair23@gmail.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: Aleksandar Markovic <aleksandar.m.mail@gmail.com>,
	"open list:RISC-V" <qemu-riscv@nongnu.org>,
	 Sagar Karandikar <sagark@eecs.berkeley.edu>,
	bastian@mail.uni-paderborn.de,
	 Palmer Dabbelt <palmer@sifive.com>,
	 "qemu-devel@nongnu.org Developers" <qemu-devel@nongnu.org>,
	Alistair Francis <Alistair.Francis@wdc.com>,
	 LIU ZhiWei <zhiwei_liu@c-sky.com>
Subject: Re: [Qemu-riscv] [Qemu-devel] RISC-V: Vector && DSP Extension
Date: Thu, 15 Aug 2019 14:37:52 -0700	[thread overview]
Message-ID: <CAKmqyKM44ZAHgc5cYAiAXXtVG=dMcX1i7FLn+2mMwM1Av4Gqzg@mail.gmail.com> (raw)
In-Reply-To: <CAFEAcA9bDU4AWetkR4w4WLUzMW_MMy0CsVa5SibWqf85RyaX5g@mail.gmail.com>

On Thu, Aug 15, 2019 at 2:07 AM Peter Maydell <peter.maydell@linaro.org> wrote:
>
> On Thu, 15 Aug 2019 at 09:53, Aleksandar Markovic
> <aleksandar.m.mail@gmail.com> wrote:
> >
> > > We can accept draft
> > > extensions in QEMU as long as they are disabled by default.
>
> > Hi, Alistair, Palmer,
> >
> > Is this an official stance of QEMU community, or perhaps Alistair's
> > personal judgement, or maybe a rule within risv subcomunity?
>
> Alistair asked on a previous thread; my view was:
> https://lists.gnu.org/archive/html/qemu-devel/2019-07/msg03364.html
> and nobody else spoke up disagreeing (summary: should at least be
> disabled-by-default and only enabled by setting an explicit
> property whose name should start with the 'x-' prefix).

Agreed!

>
> In general QEMU does sometimes introduce experimental extensions
> (we've had them in the block layer, for example) and so the 'x-'
> property to enable them is a reasonably established convention.
> I think it's a reasonable compromise to allow this sort of work
> to start and not have to live out-of-tree for a long time, without
> confusing users or getting into a situation where some QEMU
> versions behave differently or to obsolete drafts of a spec
> without it being clear from the command line that experimental
> extensions are being enabled.
>
> There is also an element of "submaintainer judgement" to be applied
> here -- upstream is probably not the place for a draft extension
> to be implemented if it is:
>  * still fast moving or subject to major changes of design direction
>  * major changes to the codebase (especially if it requires
>    changes to core code) that might later need to be redone
>    entirely differently
>  * still experimental

Yep, agreed. For RISC-V I think this would extend to only allowing
extensions that have backing from the foundation and are under active
discussion.

Alistair

>
> thanks
> -- PMM


  parent reply	other threads:[~2019-08-15 21:49 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-08  9:39 [Qemu-devel] RISC-V: Vector && DSP Extension liuzhiwei
2019-08-08  9:39 ` [Qemu-riscv] " liuzhiwei
2019-08-08 11:29 ` [Qemu-devel] " Aleksandar Markovic
2019-08-08 11:29   ` [Qemu-riscv] " Aleksandar Markovic
2019-08-08 13:48   ` Chih-Min Chao
2019-08-08 13:48     ` [Qemu-riscv] " Chih-Min Chao
2019-08-08 14:19     ` Aleksandar Markovic
2019-08-08 14:19       ` [Qemu-riscv] " Aleksandar Markovic
2019-08-10 13:35     ` LIU ZhiWei
2019-08-10 13:35       ` [Qemu-riscv] " LIU ZhiWei
2019-08-10  1:54 ` Alistair Francis
2019-08-10  1:54   ` [Qemu-riscv] " Alistair Francis
2019-08-10 13:55   ` LIU ZhiWei
2019-08-10 13:55     ` [Qemu-riscv] " LIU ZhiWei
2019-08-11 16:50     ` Alistair Francis
2019-08-11 16:50       ` [Qemu-riscv] " Alistair Francis
2019-08-15  8:53       ` Aleksandar Markovic
2019-08-15  8:53         ` [Qemu-riscv] " Aleksandar Markovic
2019-08-15  9:07         ` Peter Maydell
2019-08-15  9:07           ` [Qemu-riscv] " Peter Maydell
2019-08-15 10:32           ` Aleksandar Markovic
2019-08-15 10:32             ` [Qemu-riscv] " Aleksandar Markovic
2019-08-15 21:37           ` Alistair Francis [this message]
2019-08-15 21:37             ` Alistair Francis
2019-08-21 19:31             ` Palmer Dabbelt
2019-08-21 19:31               ` [Qemu-riscv] " Palmer Dabbelt
2019-08-21 23:10               ` [Qemu-devel] [Qemu-riscv] " Jonathan Behrens
2019-08-21 23:10                 ` [Qemu-riscv] [Qemu-devel] " Jonathan Behrens
2019-08-22  1:50               ` liuzhiwei
2019-08-22  1:50                 ` [Qemu-riscv] " liuzhiwei
2019-08-22 22:37                 ` Alistair Francis
2019-08-22 22:37                   ` [Qemu-riscv] " Alistair Francis
2019-08-28  0:25                   ` Palmer Dabbelt
2019-08-28  0:25                     ` [Qemu-riscv] " Palmer Dabbelt

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='CAKmqyKM44ZAHgc5cYAiAXXtVG=dMcX1i7FLn+2mMwM1Av4Gqzg@mail.gmail.com' \
    --to=alistair23@gmail.com \
    --cc=Alistair.Francis@wdc.com \
    --cc=aleksandar.m.mail@gmail.com \
    --cc=bastian@mail.uni-paderborn.de \
    --cc=palmer@sifive.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-riscv@nongnu.org \
    --cc=sagark@eecs.berkeley.edu \
    --cc=zhiwei_liu@c-sky.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.