From: Michael Levit <michael@videogpu.com>
To: "Philippe Mathieu-Daudé" <philmd@linaro.org>
Cc: qemu-devel@nongnu.org, qemu-riscv@nongnu.org,
liwei1518@gmail.com, dbarboza@ventanamicro.com,
zhiwei_liu@linux.alibaba.com, pbonzini@redhat.com
Subject: Re: [PATCH v1 1/1] hw/riscv: adding support for NeoRV32 RiscV MCU
Date: Tue, 21 Oct 2025 08:00:44 +0300 [thread overview]
Message-ID: <CA+KCYkvimD8_-X9k=AyubP1vNh162XCuRatemd6AL8NhzY7U-w@mail.gmail.com> (raw)
In-Reply-To: <b2a91079-f6b5-4bb5-89c3-18307481c7a9@linaro.org>
[-- Attachment #1: Type: text/plain, Size: 3067 bytes --]
Hi Phil,
Thank you for review and suggestions, I will split the patch and re-send it.
Yes, change in .gitignore is a mistake.
Best regards,
Michael
On Mon, Oct 20, 2025 at 10:21 PM Philippe Mathieu-Daudé <philmd@linaro.org>
wrote:
> Hi Michael,
>
> On 20/10/25 20:14, Michael Levit wrote:
> > From: Michael <michael@videogpu.com>
> >
> > 1) Initial support for Neorv32 soft-core MCU
> > 2) IMEM, DMEM memory regions, bootloader ROM
> > 3) Basic support for UART0 (no interrupts yet)
> > 4) Basic support for SPI
> > 5) Added SPI flash memory for loading firmware following bootloader
> > 6) Based on Neorv32 RTL implementation repo
> > https://github.com/stnolting/neorv32
> > commit id 7d0ef6b2
> >
> > Signed-off-by: Michael Levit <michael@videogpu.com>
> > ---
> > .gitignore | 1 +
> > configs/devices/riscv32-softmmu/default.mak | 1 +
> > docs/system/riscv/neorv32.rst | 110 +++++
> > hw/char/Kconfig | 3 +
> > hw/char/meson.build | 1 +
> > hw/char/neorv32_uart.c | 311 ++++++++++++
> > hw/misc/Kconfig | 2 +
> > hw/misc/meson.build | 1 +
> > hw/misc/neorv32_sysinfo.c | 183 +++++++
> > hw/misc/neorv32_sysinfo.h | 79 +++
> > hw/misc/neorv32_sysinfo_rtl.h | 134 ++++++
> > hw/riscv/Kconfig | 8 +
> > hw/riscv/meson.build | 1 +
> > hw/riscv/neorv32.c | 219 +++++++++
> > hw/ssi/Kconfig | 4 +
> > hw/ssi/meson.build | 1 +
> > hw/ssi/neorv32_spi.c | 504 ++++++++++++++++++++
> > include/hw/char/neorv32_uart.h | 68 +++
> > include/hw/riscv/neorv32.h | 60 +++
> > include/hw/ssi/neorv32_spi.h | 70 +++
> > target/riscv/cpu-qom.h | 2 +
> > target/riscv/cpu.c | 18 +
> > target/riscv/cpu.h | 3 +
> > target/riscv/cpu_cfg.h | 1 +
> > target/riscv/cpu_cfg_fields.h.inc | 1 +
> > target/riscv/cpu_vendorid.h | 2 +
> > target/riscv/meson.build | 1 +
> > target/riscv/neorv32_csr.c | 54 +++
> > 28 files changed, 1843 insertions(+)
>
> Thanks for your contribution! However I'm afraid this patch is too big
> to be reviewed without missing something. I'd suggest splitting like
> the 6 bullets you enumerated.
>
> > diff --git a/.gitignore b/.gitignore
> > index 61fa39967b..b53806de50 100644
> > --- a/.gitignore
> > +++ b/.gitignore
> > @@ -9,6 +9,7 @@
> > .clang-format
> > .gdb_history
> > cscope.*
> > +phases.hold
>
> Not sure from where this file comes; maybe a shell typo?
> Regards,
>
> Phil.
>
>
[-- Attachment #2: Type: text/html, Size: 4343 bytes --]
prev parent reply other threads:[~2025-10-21 5:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-20 18:14 [PATCH v1 0/1] hw/riscv: adding support for NeoRV32 RiscV MCU Michael Levit
2025-10-20 18:14 ` [PATCH v1 1/1] " Michael Levit
2025-10-20 19:21 ` Philippe Mathieu-Daudé
2025-10-21 5:00 ` Michael Levit [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='CA+KCYkvimD8_-X9k=AyubP1vNh162XCuRatemd6AL8NhzY7U-w@mail.gmail.com' \
--to=michael@videogpu.com \
--cc=dbarboza@ventanamicro.com \
--cc=liwei1518@gmail.com \
--cc=pbonzini@redhat.com \
--cc=philmd@linaro.org \
--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).