Skip to content

Add support for privileged mappings

Mitchel Humpherys linux-arm-kernel linux-iommu 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 3 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 3 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Add support for privileged mappings
Quoted 9 lines · Jordan Crouse
Quoted 5 lines

Whilst this series is a step in the right direction for fixing that, I don't think you can claim that only low-level users need this, given that we have in-tree code which would break without it. Perhaps you just need to extend things slightly more to expose this to the DMA API as well (or, alternatively, hack the PL330 driver some how).

I agree that hacking the DMA api would be the best long term solution but there be dragons there. Perhaps a workable compromise might be to white-list privileged aware devices via the device tree.

I'm sending a v2 with an attempt at plumbing this through the DMA layer. Hopefully avoiding dragons while I'm at it :)

-Mitch

Signature · 3 lines
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project