mbox

[PULL,Zesty] iommu changes for arm64

Message ID CALdTtnvaKqjrC8bC9m9sDRt8wWv0SbiFShMErrUQEfzZ+ULwxQ@mail.gmail.com
State New
Headers show

Pull-request

git://git.launchpad.net/~dannf/ubuntu/+source/linux/+git/linux for-zesty

Message

dann frazier Feb. 21, 2017, 4:41 p.m. UTC
This set of clean cherry picks from the 4.11 merge window enables the
kernel side of KVM PCIe passthrough and fixes IOMMU issues impacting
the ThunderX and Centriq 2400 platforms.

The following changes since commit cc104462712349ccb810a792dd9ba7e3a93c4077:

  clocksource/drivers/arm_arch_timer: Work around Hisilicon erratum
161010101 (2017-02-20 15:59:21 -0700)

are available in the git repository at:

  git://git.launchpad.net/~dannf/ubuntu/+source/linux/+git/linux for-zesty

for you to fetch changes up to 22a6071072d22f7949e875c67018cb9a5c9a53e1:

  iommu/arm-smmu: Fix for ThunderX erratum #27704 (2017-02-21 08:27:32 -0700)

----------------------------------------------------------------
Aleksey Makarov (1):
      iommu/arm-smmu: Support for Extended Stream ID (16 bit)

Eric Auger (17):
      iommu: Rename iommu_dm_regions into iommu_resv_regions
      iommu: Add a new type field in iommu_resv_region
      iommu: iommu_alloc_resv_region
      iommu: Only map direct mapped regions
      iommu: iommu_get_group_resv_regions
      iommu: Implement reserved_regions iommu-group sysfs file
      iommu/vt-d: Implement reserved region get/put callbacks
      iommu/amd: Declare MSI and HT regions as reserved IOVA regions
      iommu/arm-smmu: Implement reserved region get/put callbacks
      iommu/arm-smmu-v3: Implement reserved region get/put callbacks
      irqdomain: Add irq domain MSI and MSI_REMAP flags
      genirq/msi: Set IRQ_DOMAIN_FLAG_MSI on MSI domain creation
      irqdomain: irq_domain_check_msi_remap
      irqchip/gicv3-its: Sets IRQ_DOMAIN_FLAG_MSI_REMAP
      vfio/type1: Allow transparent MSI IOVA allocation
      vfio/type1: Check MSI remapping at irq domain level
      iommu/arm-smmu: Do not advertise IOMMU_CAP_INTR_REMAP anymore

Nate Watterson (2):
      iommu/arm-smmu-v3: Clear prior settings when updating STEs
      iommu/arm-smmu-v3: limit use of 2-level stream tables

Robin Murphy (1):
      iommu/dma: Allow MSI-only cookies

Tomasz Nowicki (1):
      iommu/arm-smmu: Fix for ThunderX erratum #27704

 Documentation/ABI/testing/sysfs-kernel-iommu_groups |  12 ++++
 drivers/iommu/amd_iommu.c                           |  54 +++++++++++-------
 drivers/iommu/arm-smmu-v3.c                         |  61 +++++++++++++-------
 drivers/iommu/arm-smmu.c                            | 102
+++++++++++++++++++++++++--------
 drivers/iommu/dma-iommu.c                           | 119
++++++++++++++++++++++++++++++--------
 drivers/iommu/intel-iommu.c                         |  92
++++++++++++++++++++++++------
 drivers/iommu/iommu.c                               | 177
+++++++++++++++++++++++++++++++++++++++++++++++++++++----
 drivers/irqchip/irq-gic-v3-its.c                    |   1 +
 drivers/vfio/vfio_iommu_type1.c                     |  37 +++++++++++-
 include/linux/dma-iommu.h                           |   6 ++
 include/linux/iommu.h                               |  46 ++++++++++-----
 include/linux/irqdomain.h                           |  36 ++++++++++++
 kernel/irq/irqdomain.c                              |  39 +++++++++++++
 kernel/irq/msi.c                                    |   4 +-
 14 files changed, 653 insertions(+), 133 deletions(-)

Comments

Tim Gardner Feb. 21, 2017, 5:03 p.m. UTC | #1