|
@@ -143,3 +143,13 @@ So, this provides a way for drivers to avoid those error messages on calls
|
|
where allocation failures are not a problem, and shouldn't bother the logs.
|
|
where allocation failures are not a problem, and shouldn't bother the logs.
|
|
|
|
|
|
NOTE: At the moment DMA_ATTR_NO_WARN is only implemented on PowerPC.
|
|
NOTE: At the moment DMA_ATTR_NO_WARN is only implemented on PowerPC.
|
|
|
|
+
|
|
|
|
+DMA_ATTR_PRIVILEGED
|
|
|
|
+------------------------------
|
|
|
|
+
|
|
|
|
+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).
|