Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 2be63ba2 authored by Anmolpreet Kaur's avatar Anmolpreet Kaur
Browse files

smcinvoke: Add cache operation handling inside smcinvoke driver



MMU Mapping uses short descriptor mapping on v7 targets and long
descriptor mapping for v8 targets. We have concept of NS shared
cache lines for long decscriptor mapped targets  which means no
cache maintenance is required for those.On MDM targets, we use short
descriptor mapping due to low memory constraints and hence the cache
line is not shared and explicit cache maintenance is required. Add
shmbridge flush and invalidate operations inside smcinvoke driver for
MDM targets so as to ensure proper cache maintenance is done.

This change also removes some redundant code and refactors it for
better readability and lesser loc.

Change-Id: Id8216c5247b0584c26f85c08899df16db7f0dc0a
Signed-off-by: default avatarAnmolpreet Kaur <anmolpre@codeaurora.org>
parent a0792664
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment