Skip to contentSkip to conversation

IOMMU Updates for Linux v5.5

GIT PULL Merged Joerg Roedel 2 participants 2 messages Nov 29, 2019 – Dec 2, 2019

lore
Share & tools
lore
#0 lore raw

Hi Linus,

The following changes since commit 31f4f5b495a62c9a8b15b1c3581acd5efeb9af8c:

Linux 5.4-rc7 (2019-11-10 16:17:15 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git tags/iommu-updates-v5.5

for you to fetch changes up to 9b3a713feef8db41d4bcccb3b97e86ee906690c8:

Merge branches 'iommu/fixes', 'arm/qcom', 'arm/renesas', 'arm/rockchip', 'arm/mediatek', 'arm/tegra', 'arm/smmu', 'x86/amd', 'x86/vt-d', 'virtio' and 'core' into next (2019-11-12 17:11:25 +0100)

----------------------------------------------------------------
IOMMU Updates for Linux v5.5

Including:

- Conversion of the AMD IOMMU driver to use the dma-iommu code for imlementing the DMA-API. This gets rid of quite some code in the driver itself, but also has some potential for regressions (non are known at the moment).

- Support for the Qualcomm SMMUv2 implementation in the SDM845 SoC. This also includes some firmware interface changes, but those are acked by the respective maintainers.

- Preparatory work to support two distinct page-tables per domain in the ARM-SMMU driver

- Power management improvements for the ARM SMMUv2

- Custom PASID allocator support

- Multiple PCI DMA alias support for the AMD IOMMU driver

- Adaption of the Mediatek driver to the changed IO/TLB flush interface of the IOMMU core code.

- Preparatory patches for the Renesas IOMMU driver to support future hardware.

----------------------------------------------------------------
Biju Das (2):
dt-bindings: iommu: ipmmu-vmsa: Add r8a774b1 support iommu/ipmmu-vmsa: Hook up r8a774b1 DT matching code

Christophe JAILLET (3):
iommu/io-pgtable: Move some initialization data to .init.rodata iommu/arm-smmu: Axe a useless test in 'arm_smmu_master_alloc_smes()' iommu/qcom: Simplify a test in 'qcom_iommu_add_device()'

Cristiane Naves (1):
iommu/virtio: Remove unused variable

Deepa Dinamani (1):
iommu/vt-d: Turn off translations at shutdown

Denys Vlasenko (1):

      iommu/amd: Do not re-fetch iommu->cmd_buf_tail

Eric Auger (1):
iommu/vt-d: Fix QI_DEV_IOTLB_PFSID and QI_DEV_EIOTLB_PFSID macros

Ezequiel Garcia (1):
iommu: rockchip: Free domain on .domain_free

Jacob Pan (2):
iommu/ioasid: Add custom allocators
iommu: Introduce guest PASID bind function

Jean-Philippe Brucker (3):
iommu: Add I/O ASID allocator
iommu/arm-smmu-v3: Don't display an error when IRQ lines are missing iommu/arm-smmu: Remove duplicate error message

Joerg Roedel (3):
iommu/amd: Pass gfp flags to iommu_map_page() in amd_iommu_map()
Merge branch 'for-joerg/arm-smmu/updates' of git://git.kernel.org/.../will/linux into arm/smmu
Merge branches 'iommu/fixes', 'arm/qcom', 'arm/renesas', 'arm/rockchip', 'arm/mediatek', 'arm/tegra', 'arm/smmu', 'x86/amd', 'x86/vt-d', 'virtio' and 'core' into next

Logan Gunthorpe (2):
iommu/amd: Support multiple PCI DMA aliases in device table iommu/amd: Support multiple PCI DMA aliases in IRQ Remapping

Lu Baolu (2):
iommu/vt-d: Refactor find_domain() helper
MAINTAINERS: Update for INTEL IOMMU (VT-d) entry

Navneet Kumar (2):
iommu/tegra-smmu: Use non-secure register for flushing iommu/tegra-smmu: Fix client enablement order

Rob Clark (1):
iommu/arm-smmu: Avoid pathological RPM behaviour for unmaps

Robin Murphy (13):
iommu/arm-smmu: Remove .tlb_inv_range indirection iommu/arm-smmu: Remove "leaf" indirection iommu/arm-smmu: Move .tlb_sync method to implementation iommu/arm-smmu: Remove arm_smmu_flush_ops iommu/arm-smmu: Report USF more clearly iommu/io-pgtable: Make selftest gubbins consistently __init iommu/io-pgtable-arm: Rationalise size check iommu/io-pgtable-arm: Simplify bounds checks iommu/io-pgtable-arm: Simplify start level lookup iommu/io-pgtable-arm: Simplify PGD size handling iommu/io-pgtable-arm: Simplify level indexing iommu/io-pgtable-arm: Rationalise MAIR handling iommu/rockchip: Don't provoke WARN for harmless IRQs

Suthikulpanit, Suravee (1):
iommu/amd: Simpify decoding logic for INVALID_PPR_REQUEST event

Thierry Reding (1):
iommu/tegra-smmu: Fix page tables in > 4 GiB memory

Tom Murphy (5):
iommu/amd: Remove unnecessary locking from AMD iommu driver
iommu: Add gfp parameter to iommu_ops::map iommu/dma-iommu: Handle deferred devices iommu/dma-iommu: Use the dev->coherent_dma_mask iommu/amd: Convert AMD iommu driver to the dma-iommu api

Vivek Gautam (3):
firmware: qcom_scm-64: Add atomic version of qcom_scm_call firmware/qcom_scm: Add scm call to handle smmu errata
iommu: arm-smmu-impl: Add sdm845 implementation hook

Will Deacon (3):
firmware: qcom: scm: Ensure 'a0' status code is treated as signed Merge branch 'for-joerg/arm-smmu/fixes' into for-joerg/arm-smmu/updates iommu/io-pgtable-arm: Rename IOMMU_QCOM_SYS_CACHE and improve doc

Yi L Liu (1):
iommu: Introduce cache_invalidate API

Yian Chen (1):
iommu/vt-d: Check VT-d RMRR region in BIOS is reported as reserved

Yong Wu (8):
memory: mtk-smi: Add PM suspend and resume ops iommu/mediatek: Correct the flush_iotlb_all callback iommu/mediatek: Add a new tlb_lock for tlb_flush iommu/mediatek: Use gather to achieve the tlb range flush iommu/mediatek: Delete the leaf in the tlb_flush iommu/mediatek: Move the tlb_sync into tlb_flush iommu/mediatek: Get rid of the pgtlock iommu/mediatek: Reduce the tlb flush timeout value

Yoshihiro Shimoda (6):
iommu/ipmmu-vmsa: Remove all unused register definitions iommu/ipmmu-vmsa: tidyup register definitions iommu/ipmmu-vmsa: Add helper functions for MMU "context" registers iommu/ipmmu-vmsa: Calculate context registers' offset instead of a macro iommu/ipmmu-vmsa: Add helper functions for "uTLB" registers iommu/ipmmu-vmsa: Add utlb_offset_base

 .../bindings/iommu/renesas,ipmmu-vmsa.txt          |   1 +
 MAINTAINERS                                        |   7 +-
 arch/ia64/include/asm/iommu.h                      |   5 +
 arch/x86/include/asm/iommu.h                       |  18 +
 drivers/firmware/qcom_scm-32.c                     |   5 +
 drivers/firmware/qcom_scm-64.c                     | 153 ++--
 drivers/firmware/qcom_scm.c                        |   6 +
 drivers/firmware/qcom_scm.h                        |   5 +
 drivers/iommu/Kconfig                              |   5 +
 drivers/iommu/Makefile                             |   3 +-
 drivers/iommu/amd_iommu.c                          | 893 ++++-----------------
 drivers/iommu/amd_iommu_types.h                    |   3 +-
 drivers/iommu/arm-smmu-impl.c                      |   5 +-
 drivers/iommu/arm-smmu-qcom.c                      |  51 ++
 drivers/iommu/arm-smmu-v3.c                        |  12 +-
 drivers/iommu/arm-smmu.c                           | 223 ++---
 drivers/iommu/arm-smmu.h                           |  16 +-
 drivers/iommu/dma-iommu.c                          |  43 +-
 drivers/iommu/dmar.c                               |   5 +-
 drivers/iommu/exynos-iommu.c                       |   2 +-
 drivers/iommu/intel-iommu.c                        |  61 +-
 drivers/iommu/io-pgtable-arm-v7s.c                 |  15 +-
 drivers/iommu/io-pgtable-arm.c                     | 130 +--
 drivers/iommu/ioasid.c                             | 422 ++++++++++
 drivers/iommu/iommu.c                              |  73 +-
 drivers/iommu/ipmmu-vmsa.c                         | 223 +++--
 drivers/iommu/msm_iommu.c                          |   2 +-
 drivers/iommu/mtk_iommu.c                          |  90 +--
 drivers/iommu/mtk_iommu.h                          |   2 +-
 drivers/iommu/mtk_iommu_v1.c                       |   2 +-
 drivers/iommu/omap-iommu.c                         |   2 +-
 drivers/iommu/qcom_iommu.c                         |  10 +-
 drivers/iommu/rockchip-iommu.c                     |  11 +-
 drivers/iommu/s390-iommu.c                         |   2 +-
 drivers/iommu/tegra-gart.c                         |   2 +-
 drivers/iommu/tegra-smmu.c                         |  38 +-
 drivers/iommu/virtio-iommu.c                       |   5 +-
 drivers/memory/mtk-smi.c                           |   4 +
 include/linux/dmar.h                               |   2 +
 include/linux/intel-iommu.h                        |   6 +-
 include/linux/io-pgtable.h                         |   2 +-
 include/linux/ioasid.h                             |  76 ++
 include/linux/iommu.h                              |  65 +-
 include/linux/qcom_scm.h                           |   2 +
 include/uapi/linux/iommu.h                         | 169 ++++
 45 files changed, 1660 insertions(+), 1217 deletions(-)
 create mode 100644 drivers/iommu/arm-smmu-qcom.c
 create mode 100644 drivers/iommu/ioasid.c
 create mode 100644 include/linux/ioasid.h

Please pull.

Thanks,

Joerg

merge bot Merged
#1 lore raw
The pull request you sent on Fri, 29 Nov 2019 13:02:51 +0100:

The pull request you sent on Fri, 29 Nov 2019 13:02:51 +0100:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git tags/iommu-updates-v5.5

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/1daa56bcfd8b329447e0c1b1e91c3925d08489b7

Thank you!

Signature · 6 lines
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker
_______________________________________________
iommu mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/iommu