[PATCH] firmware: scmi: Drop mmu_set_region_dcache_behaviour() misuse
Peng Fan
peng.fan at nxp.com
Tue Oct 28 09:25:18 CET 2025
Hi Marek,
> Subject: [PATCH] firmware: scmi: Drop
> mmu_set_region_dcache_behaviour() misuse
>
> MMU region cache behavior configuration for SCMI/SMT mailboxes is
> platform specific. Even on ARM systems, the mailbox memory may not
> even be located in any cacheable MMU region and may instead reside
> in some SRAM. Remove this non-generic cache behavior configuration
> code from generic code path.
>
> It is unlikely that any platform is affected by this change if it did
> configure its MMU regions correctly on start up. Platforms which might
> be affected are i.MX94/95 and STM32MP.
>
If the memory is mapped before running SCMI stuff, it is ok.
But if memory is dynamic mapped at run time, there might be issue.
I saw TI platforms has some changes to use dynamic mappings,
I have not read the details, TBH.
Thanks,
Peng.
More information about the U-Boot
mailing list