[PATCH 1/2] mmu: define MAP_WRITECOMBINE for all architectures
Sascha Hauer
s.hauer at pengutronix.de
Mon Aug 4 22:19:54 PDT 2025
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 at pengutronix.de>
More information about the barebox
mailing list