qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/11] hw/sd: QOMify omap-mmc, remove legacy APIs
@ 2025-01-28 10:45 Peter Maydell
  2025-01-28 10:45 ` [PATCH 01/11] hw/sd/omap_mmc: Do a minimal conversion to QDev Peter Maydell
                   ` (11 more replies)
  0 siblings, 12 replies; 36+ messages in thread
From: Peter Maydell @ 2025-01-28 10:45 UTC (permalink / raw)
  To: qemu-arm, qemu-devel
  Cc: qemu-block, Philippe Mathieu-Daudé, Bin Meng,
	Bernhard Beschow

This series QOMifies the omap-mmc device. The main reason for
this is that this device is now the only remaining in-tree
user of the legacy SD APIs defined in sdcard_legacy.h.
The first 8 patches QOMify the device and do some minor
cleanup on it. Patches 9 to 11 then remove the unused
legacy APIs, deleting sdcard_legacy.h entirely. This includes
letting us get rid of the me_no_qdev_me_kill_mammoth_with_rocks
codepaths in sd.c.

thanks
-- PMM

Peter Maydell (11):
  hw/sd/omap_mmc: Do a minimal conversion to QDev
  hw/sd/omap_mmc: Convert remaining 'struct omap_mmc_s' uses to
    OMAPMMCState
  hw/sd/omap_mmc: Convert output qemu_irqs to gpio and sysbus IRQ APIs
  hw/sd/omap_mmc: Convert to SDBus API
  hw/sd/omap_mmc: Use similar API for "wire up omap_clk" to other OMAP
    devices
  hw/arm/omap1: Inline creation of MMC
  hw/sd/omap_mmc: Remove unused coverswitch qemu_irq
  hw/sd/omap_mmc: Untabify
  hw/sd: Remove unused 'enable' method from SDCardClass
  hw/sd: Remove unused legacy functions, stop killing mammoths
  hw/sd: Remove unused SDState::enable

 include/hw/arm/omap.h         |  17 ++-
 include/hw/sd/sd.h            |   1 -
 include/hw/sd/sdcard_legacy.h |  50 -------
 hw/arm/omap1.c                |  26 +++-
 hw/sd/omap_mmc.c              | 256 +++++++++++++++++++---------------
 hw/sd/sd.c                    |  94 +++----------
 6 files changed, 190 insertions(+), 254 deletions(-)
 delete mode 100644 include/hw/sd/sdcard_legacy.h

-- 
2.34.1



^ permalink raw reply	[flat|nested] 36+ messages in thread

end of thread, other threads:[~2025-01-31 17:02 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-28 10:45 [PATCH 00/11] hw/sd: QOMify omap-mmc, remove legacy APIs Peter Maydell
2025-01-28 10:45 ` [PATCH 01/11] hw/sd/omap_mmc: Do a minimal conversion to QDev Peter Maydell
2025-01-28 18:50   ` Richard Henderson
2025-01-28 20:13     ` Peter Maydell
2025-01-30 22:30   ` Philippe Mathieu-Daudé
2025-01-28 10:45 ` [PATCH 02/11] hw/sd/omap_mmc: Convert remaining 'struct omap_mmc_s' uses to OMAPMMCState Peter Maydell
2025-01-28 18:51   ` Richard Henderson
2025-01-30 22:05   ` Philippe Mathieu-Daudé
2025-01-28 10:45 ` [PATCH 03/11] hw/sd/omap_mmc: Convert output qemu_irqs to gpio and sysbus IRQ APIs Peter Maydell
2025-01-28 18:58   ` Richard Henderson
2025-01-30 22:06   ` Philippe Mathieu-Daudé
2025-01-28 10:45 ` [PATCH 04/11] hw/sd/omap_mmc: Convert to SDBus API Peter Maydell
2025-01-30 22:26   ` Philippe Mathieu-Daudé
2025-01-31 10:22     ` Peter Maydell
2025-01-28 10:45 ` [PATCH 05/11] hw/sd/omap_mmc: Use similar API for "wire up omap_clk" to other OMAP devices Peter Maydell
2025-01-30 22:09   ` Philippe Mathieu-Daudé
2025-01-28 10:45 ` [PATCH 06/11] hw/arm/omap1: Inline creation of MMC Peter Maydell
2025-01-28 19:04   ` Richard Henderson
2025-01-30 22:11   ` Philippe Mathieu-Daudé
2025-01-28 10:45 ` [PATCH 07/11] hw/sd/omap_mmc: Remove unused coverswitch qemu_irq Peter Maydell
2025-01-28 19:04   ` Richard Henderson
2025-01-30 22:14   ` Philippe Mathieu-Daudé
2025-01-28 10:45 ` [PATCH 08/11] hw/sd/omap_mmc: Untabify Peter Maydell
2025-01-28 19:04   ` Richard Henderson
2025-01-30 22:14   ` Philippe Mathieu-Daudé
2025-01-28 10:45 ` [PATCH 09/11] hw/sd: Remove unused 'enable' method from SDCardClass Peter Maydell
2025-01-28 19:06   ` Richard Henderson
2025-01-29  7:36   ` Philippe Mathieu-Daudé
2025-01-28 10:45 ` [PATCH 10/11] hw/sd: Remove unused legacy functions, stop killing mammoths Peter Maydell
2025-01-28 19:10   ` Richard Henderson
2025-01-30 22:21   ` Philippe Mathieu-Daudé
2025-01-31  7:52   ` Markus Armbruster
2025-01-28 10:45 ` [PATCH 11/11] hw/sd: Remove unused SDState::enable Peter Maydell
2025-01-28 19:13   ` Richard Henderson
2025-01-30 22:15   ` Philippe Mathieu-Daudé
2025-01-31 17:01 ` [PATCH 00/11] hw/sd: QOMify omap-mmc, remove legacy APIs Philippe Mathieu-Daudé

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).