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: Denis Orlov <denorl2009@gmail.com>
Subject: Re: [PATCH 0/6] dma: give dma_alloc_coherent a device parameter
Date: Tue, 15 Oct 2024 09:41:08 +0200	[thread overview]
Message-ID: <172897806865.2368693.18152888665059519055.b4-ty@pengutronix.de> (raw)
In-Reply-To: <20241014125843.2064532-1-a.fatoum@pengutronix.de>


On Mon, 14 Oct 2024 14:58:37 +0200, Ahmad Fatoum wrote:
> Devices can be inherently DMA coherent and thus dma_alloc_coherent could
> be implemented as a normal allocation.
> 
> While using uncached memory in this case isn't wrong, it can lead
> to a a very stark performance degradation as identified in this patch[1]
> when barebox ran under KVM.
> 
> [...]

Applied, thanks!

[1/6] dma: make DMA_ADDRESS_BROKEN type-safe
      https://git.pengutronix.de/cgit/barebox/commit/?id=5f004115ac0f (link may not be stable)
[2/6] video: stm: use DMA_ADDRESS_BROKEN instead of NULL
      https://git.pengutronix.de/cgit/barebox/commit/?id=2ca7fca692c0 (link may not be stable)
[3/6] crypto: caam - pbl-init: use DMA_ADDRESS_BROKEN instead of NULL
      https://git.pengutronix.de/cgit/barebox/commit/?id=b3b20535573c (link may not be stable)
[4/6] net: designware: don't use dma_mapping_error for non-streaming DMA
      https://git.pengutronix.de/cgit/barebox/commit/?id=0b2bc567a82a (link may not be stable)
[5/6] net: macb: fix DMA_ADDRESS_BROKEN in the coherent ring allocations
      https://git.pengutronix.de/cgit/barebox/commit/?id=df13e1902a2c (link may not be stable)
[6/6] dma: give dma_alloc_coherent a device parameter
      https://git.pengutronix.de/cgit/barebox/commit/?id=a4c9398795be (link may not be stable)

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




  parent reply	other threads:[~2024-10-15  7:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-14 12:58 Ahmad Fatoum
2024-10-14 12:58 ` [PATCH 1/6] dma: make DMA_ADDRESS_BROKEN type-safe Ahmad Fatoum
2024-10-14 12:58 ` [PATCH 2/6] video: stm: use DMA_ADDRESS_BROKEN instead of NULL Ahmad Fatoum
2024-10-14 12:58 ` [PATCH 3/6] crypto: caam - pbl-init: " Ahmad Fatoum
2024-10-14 12:58 ` [PATCH 4/6] net: designware: don't use dma_mapping_error for non-streaming DMA Ahmad Fatoum
2024-10-14 12:58 ` [PATCH 5/6] net: macb: fix DMA_ADDRESS_BROKEN in the coherent ring allocations Ahmad Fatoum
2024-10-14 12:58 ` [PATCH 6/6] dma: give dma_alloc_coherent a device parameter Ahmad Fatoum
2024-10-15  7:41 ` Sascha Hauer [this message]
2024-10-18  8:39 ` [PATCH 0/6] " Sascha Hauer

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=172897806865.2368693.18152888665059519055.b4-ty@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=denorl2009@gmail.com \
    /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