qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2] hw/sd/sdhci: Block Size Register bits [14:12] is lost


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v2] hw/sd/sdhci: Block Size Register bits [14:12] is lost
Date: Mon, 25 Sep 2023 18:24:04 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.15.1

On 22/9/23 04:03, Lu Gao wrote:
Block Size Register bits [14:12] is SDMA Buffer Boundary, it is missed
in register write, but it is needed in SDMA transfer. e.g. it will be
used in sdhci_sdma_transfer_multi_blocks to calculate boundary_ variables.

Missing this field will cause wrong operation for different SDMA Buffer
Boundary settings.

Fixes: d7dfca0807 ("hw/sdhci: introduce standard SD host controller")
Fixes: dfba99f17f ("hw/sdhci: Fix DMA Transfer Block Size field")

Signed-off-by: Lu Gao <lu.gao@verisilicon.com>
Signed-off-by: Jianxian Wen <jianxian.wen@verisilicon.com>
Reviewed-by: Philippe Mathieu-Daudé? <f4bug@amsat.org>
---
v2:
  - Add fixes information and reviewed-by information

  hw/sd/sdhci.c | 15 +++++++++++----
  1 file changed, 11 insertions(+), 4 deletions(-)

Thank you, queued (pull request will be next week).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]