From: Ethan Chen via <qemu-riscv@nongnu.org>
To: Alistair Francis <alistair23@gmail.com>
Cc: <qemu-devel@nongnu.org>, <peter.maydell@linaro.org>,
<edgar.iglesias@gmail.com>, <richard.henderson@linaro.org>,
<pbonzini@redhat.com>, <palmer@dabbelt.com>,
<alistair.francis@wdc.com>, <in.meng@windriver.com>,
<liweiwei@iscas.ac.cn>, <dbarboza@ventanamicro.com>,
<hiwei_liu@linux.alibaba.com>, <qemu-riscv@nongnu.org>,
<peterx@redhat.com>, <david@redhat.com>
Subject: Re: [PATCH v3 1/4] hw/core: Add config stream
Date: Tue, 21 Nov 2023 18:09:05 +0800 [thread overview]
Message-ID: <ZVyBwVbNIGy52rB9@ethan84-VirtualBox> (raw)
In-Reply-To: <CAKmqyKNF199hEJ_tuHwj361b38RvOivyszVWDtCLUAbNSaQh9Q@mail.gmail.com>
On Tue, Nov 21, 2023 at 03:28:13PM +1000, Alistair Francis wrote:
> On Tue, Nov 21, 2023 at 3:24 PM Alistair Francis <alistair23@gmail.com> wrote:
> >
> > On Tue, Nov 14, 2023 at 7:49 PM Ethan Chen via <qemu-devel@nongnu.org> wrote:
> > >
> > > Make other device can use /hw/core/stream.c by select this config.
> > >
> > > Signed-off-by: Ethan Chen <ethan84@andestech.com>
> > > ---
> > > hw/core/Kconfig | 3 +++
> > > hw/core/meson.build | 1 +
> > > 2 files changed, 4 insertions(+)
> > >
> > > diff --git a/hw/core/Kconfig b/hw/core/Kconfig
> > > index 9397503656..628dc3d883 100644
> > > --- a/hw/core/Kconfig
> > > +++ b/hw/core/Kconfig
> > > @@ -27,3 +27,6 @@ config REGISTER
> > >
> > > config SPLIT_IRQ
> > > bool
> > > +
> > > +config STREAM
> > > + bool
> > > \ No newline at end of file
> >
> > You are missing a newline here. I think checkpatch should catch this,
> > make sure you run it on all of your patches
Sorry for that. It is wired that this was not catched by checkpatch.
> >
> > > diff --git a/hw/core/meson.build b/hw/core/meson.build
> > > index 67dad04de5..d6ce14d5ce 100644
> > > --- a/hw/core/meson.build
> > > +++ b/hw/core/meson.build
> > > @@ -34,6 +34,7 @@ system_ss.add(when: 'CONFIG_REGISTER', if_true: files('register.c'))
> > > system_ss.add(when: 'CONFIG_SPLIT_IRQ', if_true: files('split-irq.c'))
> > > system_ss.add(when: 'CONFIG_XILINX_AXI', if_true: files('stream.c'))
> > > system_ss.add(when: 'CONFIG_PLATFORM_BUS', if_true: files('sysbus-fdt.c'))
> > > +system_ss.add(when: 'CONFIG_STREAM', if_true: files('stream.c'))
> >
> > You have added the build but not the file. This will fail to compile.
> >
> > Each patch must compile and run when applied individually in order.
> > That way we maintain git bisectability. Can you please make sure that
> > the build is not broken as your patches are applied
>
> Whoops! The file already exists.
>
> We should only include the file stream.c once. So we should change the
> CONFIG_XILINX_AXI to select CONFIG_STREAM in this patch
>
I will fix that in next revision.
Thanks,
Ethan Chen
WARNING: multiple messages have this Message-ID (diff)
From: Ethan Chen via <qemu-devel@nongnu.org>
To: Alistair Francis <alistair23@gmail.com>
Cc: <qemu-devel@nongnu.org>, <peter.maydell@linaro.org>,
<edgar.iglesias@gmail.com>, <richard.henderson@linaro.org>,
<pbonzini@redhat.com>, <palmer@dabbelt.com>,
<alistair.francis@wdc.com>, <in.meng@windriver.com>,
<liweiwei@iscas.ac.cn>, <dbarboza@ventanamicro.com>,
<hiwei_liu@linux.alibaba.com>, <qemu-riscv@nongnu.org>,
<peterx@redhat.com>, <david@redhat.com>
Subject: Re: [PATCH v3 1/4] hw/core: Add config stream
Date: Tue, 21 Nov 2023 18:09:05 +0800 [thread overview]
Message-ID: <ZVyBwVbNIGy52rB9@ethan84-VirtualBox> (raw)
In-Reply-To: <CAKmqyKNF199hEJ_tuHwj361b38RvOivyszVWDtCLUAbNSaQh9Q@mail.gmail.com>
On Tue, Nov 21, 2023 at 03:28:13PM +1000, Alistair Francis wrote:
> On Tue, Nov 21, 2023 at 3:24 PM Alistair Francis <alistair23@gmail.com> wrote:
> >
> > On Tue, Nov 14, 2023 at 7:49 PM Ethan Chen via <qemu-devel@nongnu.org> wrote:
> > >
> > > Make other device can use /hw/core/stream.c by select this config.
> > >
> > > Signed-off-by: Ethan Chen <ethan84@andestech.com>
> > > ---
> > > hw/core/Kconfig | 3 +++
> > > hw/core/meson.build | 1 +
> > > 2 files changed, 4 insertions(+)
> > >
> > > diff --git a/hw/core/Kconfig b/hw/core/Kconfig
> > > index 9397503656..628dc3d883 100644
> > > --- a/hw/core/Kconfig
> > > +++ b/hw/core/Kconfig
> > > @@ -27,3 +27,6 @@ config REGISTER
> > >
> > > config SPLIT_IRQ
> > > bool
> > > +
> > > +config STREAM
> > > + bool
> > > \ No newline at end of file
> >
> > You are missing a newline here. I think checkpatch should catch this,
> > make sure you run it on all of your patches
Sorry for that. It is wired that this was not catched by checkpatch.
> >
> > > diff --git a/hw/core/meson.build b/hw/core/meson.build
> > > index 67dad04de5..d6ce14d5ce 100644
> > > --- a/hw/core/meson.build
> > > +++ b/hw/core/meson.build
> > > @@ -34,6 +34,7 @@ system_ss.add(when: 'CONFIG_REGISTER', if_true: files('register.c'))
> > > system_ss.add(when: 'CONFIG_SPLIT_IRQ', if_true: files('split-irq.c'))
> > > system_ss.add(when: 'CONFIG_XILINX_AXI', if_true: files('stream.c'))
> > > system_ss.add(when: 'CONFIG_PLATFORM_BUS', if_true: files('sysbus-fdt.c'))
> > > +system_ss.add(when: 'CONFIG_STREAM', if_true: files('stream.c'))
> >
> > You have added the build but not the file. This will fail to compile.
> >
> > Each patch must compile and run when applied individually in order.
> > That way we maintain git bisectability. Can you please make sure that
> > the build is not broken as your patches are applied
>
> Whoops! The file already exists.
>
> We should only include the file stream.c once. So we should change the
> CONFIG_XILINX_AXI to select CONFIG_STREAM in this patch
>
I will fix that in next revision.
Thanks,
Ethan Chen
next prev parent reply other threads:[~2023-11-21 10:09 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-14 9:47 [PATCH v3 0/4] Support RISC-V IOPMP Ethan Chen via
2023-11-14 9:47 ` Ethan Chen via
2023-11-14 9:47 ` [PATCH v3 1/4] hw/core: Add config stream Ethan Chen via
2023-11-14 9:47 ` Ethan Chen via
2023-11-21 5:24 ` Alistair Francis
2023-11-21 5:28 ` Alistair Francis
2023-11-21 10:09 ` Ethan Chen via [this message]
2023-11-21 10:09 ` Ethan Chen via
2023-11-14 9:47 ` [PATCH v3 2/4] Add RISC-V IOPMP support Ethan Chen via
2023-11-14 9:47 ` Ethan Chen via
2023-11-21 5:38 ` Alistair Francis
2023-11-14 9:47 ` [PATCH v3 3/4] hw/dma: Add Andes ATCDMAC300 support Ethan Chen via
2023-11-14 9:47 ` Ethan Chen via
2023-11-21 5:39 ` Alistair Francis
2023-11-14 9:47 ` [PATCH v3 4/4] hw/riscv/virt: Add IOPMP support Ethan Chen via
2023-11-14 9:47 ` Ethan Chen via
2023-11-14 17:50 ` Daniel Henrique Barboza
2023-11-15 1:51 ` Ethan Chen via
2023-11-15 1:51 ` Ethan Chen via
2023-11-21 5:22 ` Alistair Francis
2023-11-21 9:54 ` Ethan Chen via
2023-11-21 9:54 ` Ethan Chen via
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=ZVyBwVbNIGy52rB9@ethan84-VirtualBox \
--to=qemu-riscv@nongnu.org \
--cc=alistair.francis@wdc.com \
--cc=alistair23@gmail.com \
--cc=david@redhat.com \
--cc=dbarboza@ventanamicro.com \
--cc=edgar.iglesias@gmail.com \
--cc=ethan84@andestech.com \
--cc=hiwei_liu@linux.alibaba.com \
--cc=in.meng@windriver.com \
--cc=liweiwei@iscas.ac.cn \
--cc=palmer@dabbelt.com \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=peterx@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.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 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.