Re: [PATCH 11/26] hw/sd: sdhci: Resume version 4 SDMA at buffer boundaries

Philippe Mathieu-Daudé <[email protected]>
Newsgroups org.nongnu.qemu-devel
Message-ID <[email protected]>
On 23/7/26 17:18, Bin Meng wrote:
> Version 4 SDMA selects its system address from the registers also named
> as the ADMA System Address registers. Updating those registers does not
> resume a transfer that stopped at the configured SDMA buffer boundary.
> 
> Resume 32-bit addressing after an access completes the lower 32 bits of
> the ADMA System Address register. For 64-bit addressing, wait until an
> access completes the upper 32 bits so software can update the low half
> before the high half without starting from a mixed address.
> 
> Signed-off-by: Bin Meng <[email protected]>
> ---
> 
>   hw/sd/sdhci.c | 32 ++++++++++++++++++++++++++------
>   1 file changed, 26 insertions(+), 6 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.