qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Philippe Mathieu-Daudé" <philmd@linaro.org>
To: "Gao, Lu" <Lu.Gao@verisilicon.com>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Cc: "Wen, Jianxian" <Jianxian.Wen@verisilicon.com>,
	Bin Meng <bin.meng@windriver.com>,
	"open list:SD (Secure Card)" <qemu-block@nongnu.org>,
	Alexander Bulekov <alxndr@bu.edu>,
	Prasad J Pandit <pjp@fedoraproject.org>
Subject: Re: [PATCH] hw/sd/sdhci: Block Size Register bits [14:12] is lost
Date: Fri, 22 Sep 2023 12:29:15 +0200	[thread overview]
Message-ID: <d1d3f256-ec18-80fb-aef9-a3d558057733@linaro.org> (raw)
In-Reply-To: <34781C803212B140A51E6B66D9092E5D01FA5C9937@SHASXM03.verisilicon.com>

On 22/12/22 09:54, Gao, Lu wrote:
> Hello,
> 
> Just want to check whether we can have it merged? Any other comments?

Oops sorry, I see I had this patch tagged for a merge request
but I lost track of it (likely when switching emails).

Patch queued!

> 
> Thanks a lot!
> B.R.
> 
> -----Original Message-----
> From: Philippe Mathieu-Daudé [mailto:philippe.mathieu.daude@gmail.com] On Behalf Of Philippe Mathieu-Daudé
> Sent: Tuesday, May 31, 2022 6:09 PM
> To: Gao, Lu; qemu-devel@nongnu.org
> Cc: Wen, Jianxian; Bin Meng; open list:SD (Secure Card); Alexander Bulekov; Prasad J Pandit
> Subject: Re: [PATCH] hw/sd/sdhci: Block Size Register bits [14:12] is lost
> 
> On 21/3/22 06:56, 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")
> 
> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
> 
>> Signed-off-by: Lu Gao <lu.gao@verisilicon.com>
>> Signed-off-by: Jianxian Wen <jianxian.wen@verisilicon.com>
>> ---
>>    hw/sd/sdhci.c | 15 +++++++++++----
>>    1 file changed, 11 insertions(+), 4 deletions(-)



      reply	other threads:[~2023-09-22 10:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-21  5:56 [PATCH] hw/sd/sdhci: Block Size Register bits [14:12] is lost Lu Gao
2022-04-25  1:34 ` 答复: " Gao, Lu
2022-05-10  2:38 ` Gao, Lu
2022-05-31 10:08 ` Philippe Mathieu-Daudé via
2022-12-22  8:54   ` Gao, Lu
2023-09-22 10:29     ` Philippe Mathieu-Daudé [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d1d3f256-ec18-80fb-aef9-a3d558057733@linaro.org \
    --to=philmd@linaro.org \
    --cc=Jianxian.Wen@verisilicon.com \
    --cc=Lu.Gao@verisilicon.com \
    --cc=alxndr@bu.edu \
    --cc=bin.meng@windriver.com \
    --cc=pjp@fedoraproject.org \
    --cc=qemu-block@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).