hw/sd/sdhci: Set reset value of interrupt registers
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest14 patches 15 repliesIn review
- v414 patches 18 repliesSuperseded
- v312 patches 0 repliesSuperseded
Changes in v5 from the cover letter
- Convert quirks (Zoltan)
- Cache class to avoid invalid cast with PCI
- Remove 'endianness' property (Bernhard)
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | hw/qdev-properties-system: Include missing 'qapi/qapi-types-common.h'include/ | +1 | 1 reply | |
| 2/14 | hw/sd/sdhci: Remove need for SDHCIState::vendor fieldhw/ hw/ hw/ +5 more | +4 | 0 replies | |
| 3/14 | hw/sd/sdhci: Redefine SDHCI_QUIRK_NO_BUSY_IRQ bitmask as bithw/ include/ | +6 | 1 reply | |
| 4/14 | hw/sd/sdhci: Include 'wp-inverted' property in quirk bitmaskhw/ hw/ include/ | +14 | 1 reply | |
| 5/14 | hw/sd/sdhci: Include 'pending-insert-quirk' property in quirk bitmaskhw/ include/ | +8 | 1 reply | |
| 6/14 | hw/sd/sdhci: Introduce SDHCIClass stubhw/ hw/ include/ | +17 | 0 replies | |
| 7/14 | hw/sd/sdhci: Make quirks a class propertyhw/ include/ | +13 | 0 replies | |
| 8/14 | hw/sd/sdhci: Make I/O region size a class propertyhw/ include/ | +9 | 0 replies | |
| 9/14 | hw/sd/sdhci: Allow SDHCI classes to register their own MemoryRegionOpshw/ include/ | +9 | 1 reply | |
| 10/14 | hw/sd/sdhci: Allow SDHCI classes to register their own read-only regshw/ include/ | +16 | 0 replies | |
| 11/14 | hw/sd/sdhci: Allow SDHCI classes to have different register reset valueshw/ hw/ include/ | +46 | 0 replies | |
| 12/14 | hw/sd/sdhci: Implement Freescale eSDHC as TYPE_FSL_ESDHChw/ include/ | +45 | 0 replies | |
| 13/14 | hw/ppc/e500: Replace generic SDHCI by Freescale eSDHChw/ | +1 | 0 replies | |
| 14/14 | hw/sd/sdhci: Remove unnecessary 'endianness' propertyhw/ hw/ include/ | +3 | 10 replies |
Reviews trailers per patch
5 of 14 patches have a Reviewed-by or Acked-by.
| Patch | BALATON Zoltan | Bernhard Beschow |
|---|---|---|
| 1/14 | ||
| 2/14 | R-b | R-b |
| 3/14 | ||
| 4/14 | ||
| 5/14 | ||
| 6/14 | ||
| 7/14 | ||
| 8/14 | R-b | |
| 9/14 | R-b | |
| 10/14 | ||
| 11/14 | R-b | |
| 12/14 | ||
| 13/14 | R-b | |
| 14/14 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v5 00/14] hw/sd/sdhci: Set reset value of interrupt registers
Since v4:
- Convert quirks (Zoltan)
- Cache class to avoid invalid cast with PCI
- Remove 'endianness' property (Bernhard)
Since v3:
- Fix "hw/qdev-properties-system.h" (first patch)
- Convert to EndianMode (patch #10)
Rainy saturday, time for some hobbyist contributions :)
In this series we try to address the issue Zoltan reported and try to fix in [*], but using a more generic approach. The SDHCI code ends up better consolidated and ready to scale for more vendor implementations.
[*] https://lore.kernel.org/qemu-devel/[email protected]/
Philippe Mathieu-Daudé (14):
hw/qdev-properties-system: Include missing 'qapi/qapi-types-common.h' hw/sd/sdhci: Remove need for SDHCIState::vendor field hw/sd/sdhci: Redefine SDHCI_QUIRK_NO_BUSY_IRQ bitmask as bit hw/sd/sdhci: Include 'wp-inverted' property in quirk bitmask hw/sd/sdhci: Include 'pending-insert-quirk' property in quirk bitmask hw/sd/sdhci: Introduce SDHCIClass stub
hw/sd/sdhci: Make quirks a class property
hw/sd/sdhci: Make I/O region size a class property hw/sd/sdhci: Allow SDHCI classes to register their own MemoryRegionOps hw/sd/sdhci: Allow SDHCI classes to register their own read-only regs hw/sd/sdhci: Allow SDHCI classes to have different register reset
values
hw/sd/sdhci: Implement Freescale eSDHC as TYPE_FSL_ESDHC hw/ppc/e500: Replace generic SDHCI by Freescale eSDHC hw/sd/sdhci: Remove unnecessary 'endianness' property
hw/sd/sdhci-internal.h | 26 ++--- include/hw/qdev-properties-system.h | 1 + include/hw/sd/sdhci.h | 83 ++++++++++---- hw/arm/aspeed.c | 2 +- hw/arm/fsl-imx25.c | 2 - hw/arm/fsl-imx6.c | 2 - hw/arm/fsl-imx6ul.c | 2 - hw/arm/fsl-imx7.c | 2 - hw/arm/fsl-imx8mp.c | 2 - hw/ppc/e500.c | 12 +- hw/sd/sdhci-pci.c | 1 + hw/sd/sdhci.c | 166 ++++++++++++++++++---------- 12 files changed, 184 insertions(+), 117 deletions(-)
Signature · 1 line
2.47.1