mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org, Ahmad Fatoum <a.fatoum@pengutronix.de>
Cc: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Subject: Re: [PATCH master] mci: core: allocate memory used for DMA with dma_alloc
Date: Tue, 23 Apr 2024 08:26:02 +0200	[thread overview]
Message-ID: <171385356265.1710700.8314634744900159518.b4-ty@pengutronix.de> (raw)
In-Reply-To: <20240423060435.1514644-1-a.fatoum@pengutronix.de>


On Tue, 23 Apr 2024 08:04:35 +0200, Ahmad Fatoum wrote:
> Memory allocated by normal malloc may not fulfill the alignment
> requirements for DMA.
> 
> This fixes memory corruption observed on the i.MX8MP when the
> DMA-enabled eSDHC driver attempts to probe an eMMC.
> 
> This issues always existed, but only after commit 65ef5d885263
> ("ARM64: let 'end' point after the range in cache functions"), the whole
> 512 bytes were getting invalidated, which corrupted the TLSF malloc
> header of the block after it.
> 
> [...]

Applied, thanks!

[1/1] mci: core: allocate memory used for DMA with dma_alloc
      https://git.pengutronix.de/cgit/barebox/commit/?id=b986aad24ab8 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer@pengutronix.de>




      reply	other threads:[~2024-04-23  6:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-23  6:04 Ahmad Fatoum
2024-04-23  6:26 ` Sascha Hauer [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=171385356265.1710700.8314634744900159518.b4-ty@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=enrico.scholz@sigma-chemnitz.de \
    /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