Re: [RFC PATCH 1/3] hw/sd/sdhci: Honor failed DMA transactions

2022-03-18 Thread Thomas Huth
On 15/12/2021 21.56, Philippe Mathieu-Daudé wrote: From: Philippe Mathieu-Daudé DMA transactions might fail. The DMA API returns a MemTxResult, indicating such failures. Do not ignore it. On failure, raise the ADMA error flag and eventually triggering an IRQ (see spec chapter 1.13.5: "ADMA2 Sta

[RFC PATCH 1/3] hw/sd/sdhci: Honor failed DMA transactions

2021-12-15 Thread Philippe Mathieu-Daudé
From: Philippe Mathieu-Daudé DMA transactions might fail. The DMA API returns a MemTxResult, indicating such failures. Do not ignore it. On failure, raise the ADMA error flag and eventually triggering an IRQ (see spec chapter 1.13.5: "ADMA2 States"). Signed-off-by: Philippe Mathieu-Daudé --- h