iommu: Enable non-strict DMA on QCom SD/MMC
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest3 patches 16 repliesIn review
Changes in v2 from the cover letter
- No longer based on changes adding strictness to "struct device"
- Updated kernel-parameters docs.
- Patch moving check for strictness in arm-smmu new for v2.
- Now accomplish the goal by putting rules in the IOMMU driver.
- Reworded commit message to clarify things pointed out by Greg.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | iommu: Add per-domain strictness and combine with the global defaultDocumentation/ drivers/ include/ | +45 | 0 replies | |
| 2/3 | iommu/arm-smmu: Check for strictness after calling impl->init_context()drivers/ | +3 | 0 replies | |
| 3/3 | mmc: sdhci-msm: Request non-strict IOMMU modedrivers/ | +19 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/3] iommu: Enable non-strict DMA on QCom SD/MMC
The goal of this patch series is to get better SD/MMC performance on Qualcomm eMMC controllers and in generally nudge us forward on the path of allowing some devices to be in strict mode and others to be in non-strict mode. This patch series doesn't save the world but hopefully at least moves us in the right direction while accomplishing something useful. Specifically:
- No attempt is made to touch the PCI subsystem or cleanup the way that it requests strict vs. non-strict.
- No fully generic mechanism is come up with that makes it super easy for everyone to be in non-strict mode.
This patch conflicts with a few other patch series that are in flight. I've tried to call them out "after the cut" in patches. I assume other in flight patches will land before this one, so I'd expect to send a rebased version when that happens, assuming that this series isn't NAKed into the ground.
Changes in v2:
- No longer based on changes adding strictness to "struct device"
- Updated kernel-parameters docs.
- Patch moving check for strictness in arm-smmu new for v2.
- Now accomplish the goal by putting rules in the IOMMU driver.
- Reworded commit message to clarify things pointed out by Greg.
Douglas Anderson (3):
iommu: Add per-domain strictness and combine with the global default iommu/arm-smmu: Check for strictness after calling
impl->init_context()
mmc: sdhci-msm: Request non-strict IOMMU mode
.../admin-guide/kernel-parameters.txt | 5 ++- drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 19 ++++++++ drivers/iommu/arm/arm-smmu/arm-smmu.c | 6 +-- drivers/iommu/iommu.c | 43 +++++++++++++++---- include/linux/iommu.h | 7 +++ 5 files changed, 67 insertions(+), 13 deletions(-)
Signature · 1 line
2.32.0.93.g670b81a890-goog