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: Ivaylo Ivanov <ivo.ivanov.ivanov1@gmail.com>
Subject: Re: [PATCH 1/2] mmu: define MAP_WRITECOMBINE for all architectures
Date: Tue, 05 Aug 2025 07:19:54 +0200	[thread overview]
Message-ID: <175437119405.3292846.3657739817760003248.b4-ty@pengutronix.de> (raw)
In-Reply-To: <20250730123126.1062875-1-a.fatoum@pengutronix.de>


On Wed, 30 Jul 2025 14:31:25 +0200, Ahmad Fatoum wrote:
> Write Combine (WC) memory is an optimization over uncached memory,
> especially suitable for framebuffers. We allocate WC memory using
> dma_alloc_writecombine(), but it can be useful to remap existing memory
> not allocated within barebox as WC.
> 
> To allow this, let's define MAP_WRITECOMBINE globally with a fallback to
> MAP_UNCACHED if not available.
> 
> [...]

Applied, thanks!

[1/2] mmu: define MAP_WRITECOMBINE for all architectures
      https://git.pengutronix.de/cgit/barebox/commit/?id=b87902baeb53 (link may not be stable)
[2/2] video: remap framebuffer as writecombine if possible
      https://git.pengutronix.de/cgit/barebox/commit/?id=16d0cfa203cb (link may not be stable)

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




      parent reply	other threads:[~2025-08-05  5:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-30 12:31 Ahmad Fatoum
2025-07-30 12:31 ` [PATCH 2/2] video: remap framebuffer as writecombine if possible Ahmad Fatoum
2025-08-05  5:19 ` 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=175437119405.3292846.3657739817760003248.b4-ty@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=ivo.ivanov.ivanov1@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