[PATCH] mem: add flush callback to sync caches for execution
Sascha Hauer
s.hauer at pengutronix.de
Mon Apr 13 04:24:52 PDT 2026
On Mon, 13 Apr 2026 12:28:12 +0200, Ahmad Fatoum wrote:
> barebox always calls sync_caches_for_execution() on boot, but it can be
> useful to trigger it manually when testing:
>
> - memcpy -s /dev/zero -d /dev/mem 0 $TFA_REGION_BASE $TFA_REGION_SIZE
> - sync /dev/mem # flush D$ and invalidate I$
> - smc -i # check if PSCI monitor is still usable
>
> [...]
Applied, thanks!
[1/1] mem: add flush callback to sync caches for execution
https://git.pengutronix.de/cgit/barebox/commit/?id=4f0cf6a66d84 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list