firmware: scmi: Drop mmu_set_region_dcache_behaviour() misuse
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Sat, 25 Oct 2025 21:35:09 +0000 (23:35 +0200)
committerPeng Fan <peng.fan@nxp.com>
Mon, 10 Nov 2025 12:57:42 +0000 (20:57 +0800)
commita5a0134570c88cd49a6fc97256764cb7fbb93dff
tree380a7950a6fccf66398633bb829a237041905c05
parent431f6cce118d22c98a65d20e9b512ecc31fc1c8e
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.

Fixes: 240720e9052f ("firmware: scmi: mailbox/smt agent device")
Fixes: 2a3f161c8b16 ("scmi: correctly configure MMU for SCMI buffer")
Fixes: b2ae10970d40 ("firmware: scmi: use PAGE_SIZE alignment for ARM64")
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Tested-by: Alice Guo <alice.guo@nxp.com>
Tested-by: Patrice Chotard <patrice.chotard@foss.st.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/firmware/scmi/smt.c