[git pull] IOMMU Fixes for Linux v5.3-rc4

From: Joerg Roedel
Date: Wed Aug 14 2019 - 10:09:15 EST


Hi Linus,

The following changes since commit e21a712a9685488f5ce80495b37b9fdbe96c230d:

Linux 5.3-rc3 (2019-08-04 18:40:12 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git tags/iommu-fixes-v5.3-rc4

for you to fetch changes up to 3a18844dcf89e636b2d0cbf577e3963b0bcb6d23:

iommu/vt-d: Fix possible use-after-free of private domain (2019-08-09 17:35:25 +0200)

----------------------------------------------------------------
IOMMU Fixes for Linux v5.3-rc4

Including:

- A couple more fixes for the Intel VT-d driver for bugs
introduced during the recent conversion of this driver to use
IOMMU core default domains.

- Fix for common dma-iommu code to make sure MSI mappings happen
in the correct domain for a device.

- Fix a corner case in the handling of sg-lists in dma-iommu
code that might cause dma_length to be truncated.

- Mark a switch as fall-through in arm-smmu code.

----------------------------------------------------------------
Anders Roxell (1):
iommu/arm-smmu: Mark expected switch fall-through

Lu Baolu (4):
iommu/vt-d: Detach domain when move device out of group
iommu/vt-d: Correctly check format of page table in debugfs
iommu/vt-d: Detach domain before using a private one
iommu/vt-d: Fix possible use-after-free of private domain

Robin Murphy (2):
iommu/dma: Handle MSI mappings separately
iommu/dma: Handle SG length overflow better

drivers/iommu/arm-smmu-v3.c | 4 ++--
drivers/iommu/dma-iommu.c | 19 +++++++++++--------
drivers/iommu/intel-iommu-debugfs.c | 2 +-
drivers/iommu/intel-iommu.c | 11 +++++++++--
4 files changed, 23 insertions(+), 13 deletions(-)

Please pull.

Thanks,

Joerg