diff options
author | Claire Chang <[email protected]> | 2021-06-19 11:40:41 +0800 |
---|---|---|
committer | Konrad Rzeszutek Wilk <[email protected]> | 2021-07-13 20:04:50 -0400 |
commit | 0b84e4f8b793eb4045fd64f6f514165a7974cd16 (patch) | |
tree | 321b1f2c11eb5088fb8df9d9033fd37abb9cad41 /tools/perf/scripts/python/stackcollapse.py | |
parent | f4111e39a52aa5d5136d890bbd1aa87c1c8fe3bc (diff) |
swiotlb: Add restricted DMA pool initialization
Add the initialization function to create restricted DMA pools from
matching reserved-memory nodes.
Regardless of swiotlb setting, the restricted DMA pool is preferred if
available.
The restricted DMA pools provide a basic level of protection against the
DMA overwriting buffer contents at unexpected times. However, to protect
against general data leakage and system memory corruption, the system
needs to provide a way to lock down the memory access, e.g., MPU.
Signed-off-by: Claire Chang <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Tested-by: Stefano Stabellini <[email protected]>
Tested-by: Will Deacon <[email protected]>
Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions