qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Philippe Mathieu-Daudé" <philippe.mathieu.daude@gmail.com>
To: Bernhard Beschow <shentey@gmail.com>, qemu-devel@nongnu.org
Subject: Re: [PATCH v3 0/7] isa: Resolve unneeded IRQ attributes from ISADevice
Date: Mon, 7 Mar 2022 01:34:27 +0100	[thread overview]
Message-ID: <43235477-83c2-1101-93df-25d52a9ac529@gmail.com> (raw)
In-Reply-To: <20220301220037.76555-1-shentey@gmail.com>

On 1/3/22 23:00, Bernhard Beschow wrote:

> The IRQ attributes are mostly used for printing ('info qtree') and there is one
> user, hw/ppc/pnv, to use the attributes directly. As it turns out, the printing
> is redundant if the IRQ numbers are exposed as QOM properties and hw/ppc/pnv
> can be easily ported away.
> 
> The patch series is structured as follows: Patch 1-3 QOM'ify the last devices
> which rely on printing their IRQ numbers via the ISADevice attributes. Patch
> 4 and 5 remove the last users of the ISADevice attributes such that they can be
> removed in patch 6. The remainder of the patch series is cleanup.
> 
> Patch 6 turns isa_init_irq() into a trivial wrapper for isa_get_irq(). That is,
> the former function becomes redundant. All users are therefore converted to use
> isa_get_irq() directly. Finally, the last patch removes the now unused
> isa_init_irq().
> 
> 
> Bernhard Beschow (7):
>    hw/rtc/mc146818rtc: QOM'ify IRQ number
>    hw/rtc/m48t59-isa: QOM'ify IRQ number
>    hw/input/pckbd: QOM'ify IRQ numbers
>    hw/isa/isa-bus: Remove isabus_dev_print()
>    hw/ppc/pnv: Determine ns16550's IRQ number from QOM property
>    isa: Drop unused attributes from ISADevice
>    isa: Inline and remove one-line isa_init_irq()
> 
>   hw/audio/cs4231a.c           |  2 +-
>   hw/audio/gus.c               |  2 +-
>   hw/audio/sb16.c              |  2 +-
>   hw/block/fdc-isa.c           |  2 +-
>   hw/char/parallel.c           |  2 +-
>   hw/char/serial-isa.c         |  2 +-
>   hw/ide/isa.c                 |  2 +-
>   hw/input/pckbd.c             | 26 +++++++++++++++++++++----
>   hw/ipmi/isa_ipmi_bt.c        |  2 +-
>   hw/ipmi/isa_ipmi_kcs.c       |  2 +-
>   hw/isa/isa-bus.c             | 37 +-----------------------------------
>   hw/isa/piix4.c               |  2 +-
>   hw/net/ne2000-isa.c          |  2 +-
>   hw/ppc/pnv.c                 |  5 ++++-
>   hw/rtc/m48t59-isa.c          |  9 ++++++++-
>   hw/rtc/mc146818rtc.c         | 13 +++++++++++--
>   hw/tpm/tpm_tis_isa.c         |  2 +-
>   include/hw/isa/isa.h         |  3 ---
>   include/hw/rtc/mc146818rtc.h |  1 +
>   tests/qemu-iotests/172.out   | 26 -------------------------
>   20 files changed, 59 insertions(+), 85 deletions(-)
> 

Please avoid posting 2 series going in different directions but touching
the same files, and expect the same person to take them both and resolve
resulting conflicts. Post one, then the second one based on the previous
one (and so on if multiple steps). Anyway, for now I adapted this series
on top of your "malta: Fix PCI IRQ levels" series and queued to mips.

Thanks,

Phil.


  parent reply	other threads:[~2022-03-07  0:35 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-01 22:00 [PATCH v3 0/7] isa: Resolve unneeded IRQ attributes from ISADevice Bernhard Beschow
2022-03-01 22:00 ` [PATCH v3 1/7] hw/rtc/mc146818rtc: QOM'ify IRQ number Bernhard Beschow
2022-03-01 22:00 ` [PATCH v3 2/7] hw/rtc/m48t59-isa: " Bernhard Beschow
2022-03-01 22:00 ` [PATCH v3 3/7] hw/input/pckbd: QOM'ify IRQ numbers Bernhard Beschow
2022-03-01 22:00 ` [PATCH v3 4/7] hw/isa/isa-bus: Remove isabus_dev_print() Bernhard Beschow
2022-03-01 22:00 ` [PATCH v3 5/7] hw/ppc/pnv: Determine ns16550's IRQ number from QOM property Bernhard Beschow
2022-03-01 22:00 ` [PATCH v3 6/7] isa: Drop unused attributes from ISADevice Bernhard Beschow
2022-03-01 22:00 ` [PATCH v3 7/7] isa: Inline and remove one-line isa_init_irq() Bernhard Beschow
2022-03-02  8:05   ` Gerd Hoffmann
2022-03-07  0:34 ` Philippe Mathieu-Daudé [this message]
2022-03-12 21:54   ` [PATCH v3 0/7] isa: Resolve unneeded IRQ attributes from ISADevice Bernhard Beschow

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=43235477-83c2-1101-93df-25d52a9ac529@gmail.com \
    --to=philippe.mathieu.daude@gmail.com \
    --cc=qemu-devel@nongnu.org \
    --cc=shentey@gmail.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).