From: Zongyuan Li <zongyuan.li@smartx.com>
To: qemu-devel@nongnu.org
Cc: Zongyuan Li <zongyuan.li@smartx.com>
Subject: [RFC PATCH v2 0/1] Replace 'qemu_irq_split' with 'TYPE_SPLIT_IRQ'
Date: Mon, 21 Mar 2022 14:44:34 +0800 [thread overview]
Message-ID: <20220321064435.126799-1-zongyuan.li@smartx.com> (raw)
This is a WIP patch set trying to resolve
https://gitlab.com/qemu-project/qemu/-/issues/811
which will totally replace 'qemu_irq_split' with use
QOM object 'TYPE_SPLIT_IRQ' device.
I just want to make sure I'm on the right way, so
only 'realview' module is modified.
Changes since v1:
1. Remove unnecessary headers realview.c
2. Rewrite the splitter helper function. I agree that previous valist
implementation is too complicated, but keeping it will make code
more readable. Or any other reason we need to write the code
directly into the init function? If that is true, I will change that
3. Use 'qdev_*' rather than 'Object' directly
Thanks for reviewing.
Zongyuan Li (1):
hw/arm/realview: replace 'qemu_split_irq' with 'TYPE_SPLIT_IRQ'
hw/arm/realview.c | 41 ++++++++++++++++++++++++++++++++---------
1 file changed, 32 insertions(+), 9 deletions(-)
--
2.34.0
next reply other threads:[~2022-03-21 6:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-21 6:44 Zongyuan Li [this message]
2022-03-21 6:44 ` [RFC PATCH v2 1/1] hw/arm/realview: replace 'qemu_split_irq' with 'TYPE_SPLIT_IRQ' Zongyuan Li
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=20220321064435.126799-1-zongyuan.li@smartx.com \
--to=zongyuan.li@smartx.com \
--cc=qemu-devel@nongnu.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.