diff options
author | Bjorn Andersson <[email protected]> | 2023-09-20 19:37:31 -0700 |
---|---|---|
committer | Bjorn Andersson <[email protected]> | 2023-09-27 16:05:58 -0700 |
commit | 9265bc6bce6919c771970e5a425a66551a1c78a0 (patch) | |
tree | 7ca02fa6dd7c8df1e9873fb68fceafc408fbc5a6 /rust/helpers/helpers.c | |
parent | 3ad96787949a96256931ca59aff73ea604bc0e6c (diff) |
soc: qcom: rmtfs: Support discarding guard pages
In some configurations, the exact placement of the rmtfs shared memory
region isn't so strict. The DeviceTree author can then choose to use the
"size" property and rely on the OS for placement (in combination with
"alloc-ranges", if desired).
But on some platforms the rmtfs memory region may not be allocated
adjacent to regions allocated by other clients. Add support for
discarding the first and last 4k block in the region, if
qcom,use-guard-pages is specified in DeviceTree.
Signed-off-by: Bjorn Andersson <[email protected]>
Reviewed-by: Stephan Gerhold <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions