mbox series

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

Message ID 20240731212501.44385-1-philmd@linaro.org
Headers show
Series hw/sd/sdhci: Check ADMA descriptors can be accessed | expand

Message

Philippe Mathieu-Daudé July 31, 2024, 9:24 p.m. UTC
Since v1:
- split patch
- do not return MemTxResult from get_adma_description()
- single DMA read in SDHC_CTRL_ADMA2_64 case

Based-on: <20240730092138.32443-5-philmd@linaro.org>

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

Comments

Philippe Mathieu-Daudé Aug. 5, 2024, 6:14 p.m. UTC | #1
On 31/7/24 23:24, Philippe Mathieu-Daudé wrote:
> Since v1:
> - split patch
> - do not return MemTxResult from get_adma_description()
> - single DMA read in SDHC_CTRL_ADMA2_64 case
> 
> Based-on: <20240730092138.32443-5-philmd@linaro.org>
> 
> 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(-)
> 

Ping?