diff options
author | Bartosz Golaszewski <[email protected]> | 2024-05-27 14:55:01 +0200 |
---|---|---|
committer | Bjorn Andersson <[email protected]> | 2024-06-23 16:08:21 -0500 |
commit | f86c61498a573a19b19b0ba2784dc1bd4dcfc170 (patch) | |
tree | 1d62ba4f1db557acb44c1ee95628e007c057519c /lib/netdev-notifier-error-inject.c | |
parent | 178e19c0df1b1b27668fc6ca43b25a03eda01dad (diff) |
firmware: qcom: tzmem: enable SHM Bridge support
SHM Bridge is a safety mechanism allowing to limit the amount of memory
shared between the kernel and the TrustZone to regions explicitly marked
as such.
Add a variant of the tzmem allocator that configures the memory pools as
SHM bridges. It also enables the SHM bridge globally so non-SHM bridge
memory will no longer work with SCM calls.
If enabled at build-time, it will still be checked for availability at
run-time. If the architecture doesn't support SHM Bridge, the allocator
will fall back to the generic mode.
Signed-off-by: Bartosz Golaszewski <[email protected]>
Tested-by: Andrew Halaney <[email protected]> # sc8280xp-lenovo-thinkpad-x13s
Tested-by: Deepti Jaggi <[email protected]> #sa8775p-ride
Reviewed-by: Elliot Berman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions