Skip to content

hw/sd/sdhci: Check ADMA descriptors can be accessed

Philippe Mathieu-Daudé qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest4 patches 3 repliesIn review

Changes in v2 from the cover letter

- split patch
- do not return MemTxResult from get_adma_description()
- single DMA read in SDHC_CTRL_ADMA2_64 case

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4hw/sd/sdhci: Reduce variables scope in sdhci_do_adma()hw/sd/sdhci.c+7 -80 replies
2/4hw/sd/sdhci: Reduce variables scope in get_adma_description()hw/sd/sdhci.c+48 -390 replies
3/4hw/sd/sdhci: Read ADMA2_64 descriptor with a single dma_memory_read()hw/sd/sdhci.c+13 -90 replies
4/4hw/sd/sdhci: Check ADMA descriptors can be accessedhw/sd/sdhci.c+17 -61 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH-for-9.1? v2 0/4] hw/sd/sdhci: Check ADMA descriptors can be accessed

Since v1:
- split patch
- do not return MemTxResult from get_adma_description()
- single DMA read in SDHC_CTRL_ADMA2_64 case

Based-on: <[email protected]>

Philippe Mathieu-Daudé (4):
hw/sd/sdhci: Reduce variables scope in sdhci_do_adma() hw/sd/sdhci: Reduce variables scope in get_adma_description() hw/sd/sdhci: Read ADMA2_64 descriptor with a single dma_memory_read() hw/sd/sdhci: Check ADMA descriptors can be accessed

 hw/sd/sdhci.c | 117 ++++++++++++++++++++++++++++++--------------------
 1 file changed, 70 insertions(+), 47 deletions(-)
Signature · 1 line
2.45.2