[git pull] IOMMU Updates for Linux v5.7

From: Joerg Roedel
Date: Tue Apr 07 2020 - 11:26:45 EST


Hi Linus,

The following changes since commit 16fbf79b0f83bc752cee8589279f1ebfe57b3b6e:

Linux 5.6-rc7 (2020-03-22 18:31:56 -0700)

are available in the Git repository at:

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

for you to fetch changes up to ff68eb23308e6538ec7864c83d39540f423bbe90:

Merge branches 'iommu/fixes', 'arm/qcom', 'arm/omap', 'arm/smmu', 'x86/amd', 'x86/vt-d', 'virtio' and 'core' into next (2020-03-27 11:33:27 +0100)

----------------------------------------------------------------
IOMMU Updates for Linux v5.7

Including:

- ARM-SMMU support for the TLB range invalidation command in
SMMUv3.2.

- ARM-SMMU introduction of command batching helpers to batch up
CD and ATC invalidation.

- ARM-SMMU support for PCI PASID, along with necessary PCI
symbol exports.

- Introduce a generic (actually rename an existing) IOMMU
related pointer in struct device and reduce the IOMMU related
pointers.

- Some fixes for the OMAP IOMMU driver to make it build on 64bit
architectures.

- Various smaller fixes and improvements.

----------------------------------------------------------------
Adrian Huang (1):
iommu/amd: Fix the configuration of GCR3 table root pointer

Gustavo A. R. Silva (1):
iommu/qcom: Replace zero-length array with flexible-array member

Jacob Pan (3):
iommu/vt-d: Fix page request descriptor size
iommu/vt-d: Fix mm reference leak
iommu/vt-d: Add build dependency on IOASID

Jean-Philippe Brucker (9):
iommu/virtio: Build virtio-iommu as module
PCI/ATS: Export symbols of PASID functions
iommu/arm-smmu-v3: Add support for PCI PASID
iommu/arm-smmu-v3: Write level-1 descriptors atomically
iommu/arm-smmu-v3: Add command queue batching helpers
iommu/arm-smmu-v3: Batch context descriptor invalidation
iommu/virtio: Fix sparse warning
iommu/virtio: Fix freeing of incomplete domains
iommu/virtio: Reject IOMMU page granule larger than PAGE_SIZE

Joerg Roedel (17):
Merge tag 'arm-smmu-updates' of git://git.kernel.org/.../will/linux into arm/smmu
iommu: Define dev_iommu_fwspec_get() for !CONFIG_IOMMU_API
ACPI/IORT: Remove direct access of dev->iommu_fwspec
drm/msm/mdp5: Remove direct access of dev->iommu_fwspec
iommu/tegra-gart: Remove direct access of dev->iommu_fwspec
iommu: Rename struct iommu_param to dev_iommu
iommu: Move iommu_fwspec to struct dev_iommu
iommu/arm-smmu: Fix uninitilized variable warning
iommu: Introduce accessors for iommu private data
iommu/arm-smmu-v3: Use accessor functions for iommu private data
iommu/arm-smmu: Use accessor functions for iommu private data
iommu/renesas: Use accessor functions for iommu private data
iommu/mediatek: Use accessor functions for iommu private data
iommu/qcom: Use accessor functions for iommu private data
iommu/virtio: Use accessor functions for iommu private data
iommu: Move fwspec->iommu_priv to struct dev_iommu
Merge branches 'iommu/fixes', 'arm/qcom', 'arm/omap', 'arm/smmu', 'x86/amd', 'x86/vt-d', 'virtio' and 'core' into next

Krzysztof Kozlowski (4):
iommu/omap: Fix pointer cast -Wpointer-to-int-cast warnings on 64 bit
iommu/omap: Fix printing format for size_t on 64-bit
iommu/omap: Fix -Woverflow warnings when compiling on 64-bit architectures
iommu: Enable compile testing for some of drivers

Qian Cai (1):
iommu/vt-d: Silence RCU-list debugging warning in dmar_find_atsr()

Rob Herring (2):
iommu/arm-smmu-v3: Batch ATC invalidation commands
iommu/arm-smmu-v3: Add SMMUv3.2 range invalidation support

Robin Murphy (3):
iommu: Use C99 flexible array in fwspec
MAINTAINERS: Cover Arm SMMU DT bindings
iommu/arm-smmu: Refactor master_cfg/fwspec usage

MAINTAINERS | 1 +
drivers/acpi/arm64/iort.c | 6 +-
drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c | 2 +-
drivers/iommu/Kconfig | 21 +--
drivers/iommu/amd_iommu_types.h | 2 +-
drivers/iommu/arm-smmu-v3.c | 214 ++++++++++++++++++++++++++-----
drivers/iommu/arm-smmu.c | 55 ++++----
drivers/iommu/intel-iommu.c | 3 +-
drivers/iommu/intel-svm.c | 9 +-
drivers/iommu/iommu.c | 46 ++++---
drivers/iommu/ipmmu-vmsa.c | 7 +-
drivers/iommu/mtk_iommu.c | 13 +-
drivers/iommu/mtk_iommu_v1.c | 14 +-
drivers/iommu/omap-iommu.c | 10 +-
drivers/iommu/omap-iopgtable.h | 3 +-
drivers/iommu/qcom_iommu.c | 63 +++++----
drivers/iommu/tegra-gart.c | 2 +-
drivers/iommu/virtio-iommu.c | 42 +++---
drivers/pci/ats.c | 4 +
include/linux/device.h | 9 +-
include/linux/iommu.h | 35 +++--
include/uapi/linux/virtio_iommu.h | 12 +-
22 files changed, 386 insertions(+), 187 deletions(-)

The changes to 'include/linux/device.h' have been reviewed by Greg.

Please pull.

Thanks,

Joerg

Attachment: signature.asc
Description: Digital signature