Skip to content

iommu: A couple of urgent fixes

Thierry Reding linux-iommu 2 versions – Applied

Status from this message: Applied to my fixes branch.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 3 repliesApplied
  2. v14 patches 8 repliesSuperseded

Changes in v2 from the cover letter

- avoid potential leak by dropping references to device tree nodes
- remove fixups from module exit functions since they are unused

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4iommu/exynos: Play nice in multi-platform buildsdrivers/iommu/exynos-iommu.c+7 -00 replies
2/4iommu/omap: Play nice in multi-platform buildsdrivers/iommu/omap-iommu.c+7 -01 reply
3/4iommu/rockchip: Play nice in multi-platform buildsdrivers/iommu/rockchip-iommu.c+7 -00 replies
4/4iommu/msm: Mark driver BROKENdrivers/iommu/Kconfig+1 -00 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchHeiko StuebnerRob ClarkLaurent Pinchart
1/4
2/4A-b
3/4R-b T-b
4/4A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/4] iommu: A couple of urgent fixes

From: Thierry Reding <[email protected]>

Hi Joerg,

Here are a couple of urgent fixes for a regression on old Tegra devices related to IOMMU support. The issue is that many drivers think it's a good idea to register IOMMU support unconditionally, which is not the smart thing to do at all on multi-platform kernels. This probably went unnoticed for a while because the offending drivers aren't enabled in any of the multi-platform default configurations. Fedora ARM has their own config where the offending drivers did get enabled, hence caused a regression on Tegra20. I would expect the same regression to exist on a number of other SoCs, possibly all that support IOMMU.

I've tried to keep the patches minimal in the hopes of still getting this into v3.19-rc8 or the final release to avoid the regression.

Changes in v2:
- avoid potential leak by dropping references to device tree nodes
- remove fixups from module exit functions since they are unused

Thierry

Thierry Reding (4):
iommu/exynos: Play nice in multi-platform builds iommu/omap: Play nice in multi-platform builds iommu/rockchip: Play nice in multi-platform builds iommu/msm: Mark driver BROKEN

 drivers/iommu/Kconfig          | 1 +
 drivers/iommu/exynos-iommu.c   | 7 +++++++
 drivers/iommu/omap-iommu.c     | 7 +++++++
 drivers/iommu/rockchip-iommu.c | 7 +++++++
 4 files changed, 22 insertions(+)
Signature · 1 line
2.1.3