From: "Philippe Mathieu-Daudé" <philmd@linaro.org>
To: qemu-devel@nongnu.org
Cc: Bernhard Beschow <shentey@gmail.com>,
Yoshinori Sato <ysato@users.sourceforge.jp>,
Magnus Damm <magnus.damm@gmail.com>
Subject: Re: [PATCH] hw/sh4/r2d: Convert legacy qemu_allocate_irqs() to qemu_init_irqs()
Date: Thu, 30 Jan 2025 22:49:35 +0100 [thread overview]
Message-ID: <131cce7a-8697-4df1-8cf5-45b2ed0c8e31@linaro.org> (raw)
In-Reply-To: <20250121182445.35309-1-philmd@linaro.org>
On 21/1/25 19:24, Philippe Mathieu-Daudé wrote:
> The FPGA exposes a fixed set of IRQs. Hold them in the FPGA
> state and initialize them in place calling qemu_init_irqs().
>
> Move r2d_fpga_irq enums earlier so we can use NR_IRQS within
> the r2d_fpga_t structure. r2d_fpga_init() returns r2d_fpga_t,
> and we dereference irq from it in r2d_init().
>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> ---
> Based-on: <20250121155526.29982-2-philmd@linaro.org>
> "hw/irq: Introduce qemu_init_irqs() helper"
> ---
> hw/sh4/r2d.c | 38 +++++++++++++++++++++-----------------
> 1 file changed, 21 insertions(+), 17 deletions(-)
Patch queued.
prev parent reply other threads:[~2025-01-30 21:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-21 18:24 [PATCH] hw/sh4/r2d: Convert legacy qemu_allocate_irqs() to qemu_init_irqs() Philippe Mathieu-Daudé
2025-01-21 23:14 ` Richard Henderson
2025-01-30 21:49 ` Philippe Mathieu-Daudé [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=131cce7a-8697-4df1-8cf5-45b2ed0c8e31@linaro.org \
--to=philmd@linaro.org \
--cc=magnus.damm@gmail.com \
--cc=qemu-devel@nongnu.org \
--cc=shentey@gmail.com \
--cc=ysato@users.sourceforge.jp \
/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).