diff options
author | Mitchel Humpherys <[email protected]> | 2017-01-06 18:58:11 +0530 |
---|---|---|
committer | Will Deacon <[email protected]> | 2017-01-19 15:56:19 +0000 |
commit | b2fb366425ceb85dca56afa538257ec5a2c4f6d1 (patch) | |
tree | 253f2d37b4818737e2814e39a866e564f4d0cc20 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 5baf1e9d0bb223b086c422b880359c9fe2ee1476 (diff) |
common: DMA-mapping: add DMA_ATTR_PRIVILEGED attribute
This patch adds the DMA_ATTR_PRIVILEGED attribute to the DMA-mapping
subsystem.
Some advanced peripherals such as remote processors and GPUs perform
accesses to DMA buffers in both privileged "supervisor" and unprivileged
"user" modes. This attribute is used to indicate to the DMA-mapping
subsystem that the buffer is fully accessible at the elevated privilege
level (and ideally inaccessible or at least read-only at the
lesser-privileged levels).
Cc: [email protected]
Reviewed-by: Robin Murphy <[email protected]>
Tested-by: Robin Murphy <[email protected]>
Acked-by: Will Deacon <[email protected]>
Signed-off-by: Mitchel Humpherys <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions