diff options
author | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2024-05-27 15:55:01 +0300 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2024-06-24 00:08:21 +0300 |
commit | f86c61498a573a19b19b0ba2784dc1bd4dcfc170 (patch) | |
tree | 1d62ba4f1db557acb44c1ee95628e007c057519c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 178e19c0df1b1b27668fc6ca43b25a03eda01dad (diff) | |
download | linux-f86c61498a573a19b19b0ba2784dc1bd4dcfc170.tar.xz |
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 <bartosz.golaszewski@linaro.org>
Tested-by: Andrew Halaney <ahalaney@redhat.com> # sc8280xp-lenovo-thinkpad-x13s
Tested-by: Deepti Jaggi <quic_djaggi@quicinc.com> #sa8775p-ride
Reviewed-by: Elliot Berman <quic_eberman@quicinc.com>
Link: https://lore.kernel.org/r/20240527-shm-bridge-v10-11-ce7afaa58d3a@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions