All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joerg Roedel <joro-zLv9SwRftAIdnm+yROfE0A@public.gmane.org>
To: Linus Torvalds
	<torvalds-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>
Cc: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: [git pull] IOMMU Updates for Linux v3.17
Date: Tue, 5 Aug 2014 16:14:09 +0200	[thread overview]
Message-ID: <20140805141408.GA28907@8bytes.org> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 8922 bytes --]

Hi Linus,

The following changes since commit 64aa90f26c06e1cb2aacfb98a7d0eccfbd6c1a91:

  Linux 3.16-rc7 (2014-07-27 12:41:55 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git tags/iommu-updates-v3.17

for you to fetch changes up to 4c5e9d9f0ddf5d4ba9c51eee2ef1a4d6e93ccf56:

  Merge branches 'x86/vt-d', 'x86/amd', 'arm/omap', 'ppc/pamu', 'arm/smmu', 'arm/exynos' and 'core' into next (2014-07-31 20:29:02 +0200)

----------------------------------------------------------------

IOMMU Updates for Linux v3.17

This time with:

	* Support for the generic PCI device alias code in x86 IOMMU
	  drivers

	* A new sysfs interface for IOMMUs

	* Preparations for hotplug support in the Intel IOMMU driver

	* Change the AMD IOMMUv2 driver to not hold references to core
	  data structures like mm_struct or task_struct. Rely on
	  mmu_notifers instead.

	* Removal of the OMAP IOVMM interface, all users of it are
	  converted to DMA-API now

	* Make the struct iommu_ops const everywhere

	* Initial PCI support for the ARM SMMU driver

	* There is now a generic device tree binding documented for
	  ARM IOMMUs

	* Various fixes and cleanups all over the place

Also included are some changes to the OMAP code, which are acked by the
maintainer.

----------------------------------------------------------------
Alex Williamson (12):
      iommu/core: Create central IOMMU group lookup/creation interface
      iommu/amd: Update to use PCI DMA aliases
      iommu/amd: Use iommu_group_get_for_dev()
      iommu/vt-d: Use iommu_group_get_for_dev()
      iommu/vt-d: Update to use PCI DMA aliases
      iommu/fsl: Use iommu_group_get_for_dev() for IOMMU groups
      iommu: Remove pci.h
      iommu: Add sysfs support for IOMMUs
      iommu/vt-d: Make use of IOMMU sysfs support
      iommu/amd: Add sysfs support
      iommu: Fix IOMMU sysfs stubs
      iommu/vt-d: Exclude devices using RMRRs from IOMMU API domains

Alexey Skidanov (2):
      iommu/amd: Fix for pasid initialization
      iommu/amd: Moving PPR fault flags macros definitions

Borislav Petkov (1):
      iommu/amd: Drop oprofile dependency

Chi Pham (1):
      iommu/fsl: Add void declarations in zero-arg functions.

Fabian Frederick (2):
      iommu/omap: Use PAGE_ALIGNED instead of IS_ALIGNED(PAGE_SIZE)
      iommu/fsl_pamu: Remove unnecessary null test before kfree

Greg Edwards (1):
      iommu/vt-d: Fix race setting IRQ CPU affinity while freeing IRQ

Jiang Liu (13):
      iommu/vt-d: Match segment number when searching for dev_iotlb capable devices
      iommu/vt-d: Use correct domain id to flush virtual machine domains
      iommu/vt-d: Introduce helper functions to improve code readability
      iommu/vt-d: Introduce helper functions to make code symmetric for readability
      iommu/vt-d: Allocate dynamic domain id for virtual domains only
      iommu/vt-d: Fix possible invalid memory access caused by free_dmar_iommu()
      iommu/vt-d: Avoid freeing virtual machine domain in free_dmar_iommu()
      iommu/vt-d: Simplify include/linux/dmar.h
      iommu/vt-d: Change iommu_enable/disable_translation to return void
      iommu/vt-d: Simplify intel_unmap_sg() and kill duplicated code
      iommu/vt-d: Introduce helper domain_pfn_within_range() to simplify code
      iommu/vt-d: Introduce helper function iova_size() to improve code readability
      iommu/vt-d: Fix issue in computing domain's iommu_snooping flag

Joerg Roedel (18):
      iommu/vt-d: Don't use magic number in dma_pte_superpage
      iommu: Fix compile error in iommu-sysfs.c
      Merge branch 'for-joerg/arm-smmu/updates' of git://git.kernel.org/.../will/linux into arm/smmu
      iommu/amd: Fix typo in amd_iommu_v2 driver
      iommu/amd: Don't call mmu_notifer_unregister in __unbind_pasid
      iommu/amd: Don't free pasid_state in mn_release path
      iommu/amd: Get rid of __unbind_pasid
      iommu/amd: Drop pasid_state reference in ppr_notifer error path
      iommu/amd: Add pasid_state->invalid flag
      iommu/amd: Don't hold a reference to mm_struct
      iommu/amd: Don't hold a reference to task_struct
      iommu/amd: Don't call the inv_ctx_cb when pasid is not set up
      Merge branch 'core' into x86/vt-d
      iommu/amd: Don't set pasid_state->mm to NULL in unbind_pasid
      iommu/amd: Remove change_pte mmu_notifier call-back
      iommu/amd: Fix device_state reference counting
      iommu/amd: Fix 2 typos in comments
      Merge branches 'x86/vt-d', 'x86/amd', 'arm/omap', 'ppc/pamu', 'arm/smmu', 'arm/exynos' and 'core' into next

Laurent Pinchart (3):
      iommu/omap: Remove virtual memory manager
      ARM: omap: Don't set iommu pdata da_start and da_end fields
      iommu/omap: Remove platform data da_start and da_end fields

Mitchel Humpherys (1):
      iommu/arm-smmu: fix some checkpatch issues

Thierry Reding (2):
      iommu: Constify struct iommu_ops
      devicetree: Add generic IOMMU device tree bindings

Tushar Behera (1):
      iommu/exynos: Select ARM_DMA_USE_IOMMU

Will Deacon (6):
      iommu/arm-smmu: fix calculation of TCR.T0SZ
      iommu/arm-smmu: add support for PCI master devices
      iommu/arm-smmu: caps: add IOMMU_CAP_INTR_REMAP capability
      iommu/arm-smmu: remove support for chained SMMUs
      iommu/arm-smmu: prefer stage-1 mappings where we have a choice
      iommu/arm-smmu: fix capability checking prior to device attach

Yijing Wang (7):
      iommu/vt-d: Use list_for_each_safe() to simplify code
      iommu/vt-d: Clear the redundant assignment in dmar_enable_qi
      iommu/vt-d: Clear the redundant assignment for domain->nid
      iommu/vt-d: Use inline function dma_pte_superpage instead of macros
      iommu/vt-d: Fix reference count in iommu_prepare_isa
      iommu/vt-d: Remove the useless dma_pte_addr
      iommu/vt-d: Suppress compiler warnings

 Documentation/ABI/testing/sysfs-class-iommu        |  17 +
 .../ABI/testing/sysfs-class-iommu-amd-iommu        |  14 +
 .../ABI/testing/sysfs-class-iommu-intel-iommu      |  32 +
 .../devicetree/bindings/iommu/arm,smmu.txt         |   6 -
 Documentation/devicetree/bindings/iommu/iommu.txt  | 182 +++++
 arch/arm/mach-omap2/omap-iommu.c                   |   2 -
 arch/arm/mach-omap2/omap_hwmod_3xxx_data.c         |   4 -
 arch/arm/mach-omap2/omap_hwmod_44xx_data.c         |   4 -
 drivers/iommu/Kconfig                              |  13 +-
 drivers/iommu/Makefile                             |   2 +-
 drivers/iommu/amd_iommu.c                          | 224 ++----
 drivers/iommu/amd_iommu_init.c                     |  38 +
 drivers/iommu/amd_iommu_types.h                    |  10 +-
 drivers/iommu/amd_iommu_v2.c                       | 107 ++-
 drivers/iommu/arm-smmu.c                           | 495 ++++++------
 drivers/iommu/dmar.c                               |  12 +-
 drivers/iommu/exynos-iommu.c                       |   2 +-
 drivers/iommu/fsl_pamu.c                           |   2 +-
 drivers/iommu/fsl_pamu_domain.c                    |  73 +-
 drivers/iommu/intel-iommu.c                        | 874 ++++++++++-----------
 drivers/iommu/intel_irq_remapping.c                |  60 +-
 drivers/iommu/iommu-sysfs.c                        | 134 ++++
 drivers/iommu/iommu.c                              | 201 ++++-
 drivers/iommu/ipmmu-vmsa.c                         |   2 +-
 drivers/iommu/msm_iommu.c                          |   2 +-
 drivers/iommu/omap-iommu-debug.c                   | 114 ---
 drivers/iommu/omap-iommu.c                         |  15 +-
 drivers/iommu/omap-iommu.h                         |   8 +-
 drivers/iommu/omap-iovmm.c                         | 791 -------------------
 drivers/iommu/pci.h                                |  29 -
 drivers/iommu/shmobile-iommu.c                     |   2 +-
 drivers/iommu/tegra-gart.c                         |   2 +-
 drivers/iommu/tegra-smmu.c                         |   2 +-
 include/linux/amd-iommu.h                          |   7 +
 include/linux/device.h                             |   2 +-
 include/linux/dmar.h                               |  50 +-
 include/linux/intel-iommu.h                        |   3 +
 include/linux/iommu.h                              |  32 +-
 include/linux/iova.h                               |   5 +
 include/linux/omap-iommu.h                         |  37 +-
 include/linux/platform_data/iommu-omap.h           |   6 -
 41 files changed, 1567 insertions(+), 2050 deletions(-)
 create mode 100644 Documentation/ABI/testing/sysfs-class-iommu
 create mode 100644 Documentation/ABI/testing/sysfs-class-iommu-amd-iommu
 create mode 100644 Documentation/ABI/testing/sysfs-class-iommu-intel-iommu
 create mode 100644 Documentation/devicetree/bindings/iommu/iommu.txt
 create mode 100644 drivers/iommu/iommu-sysfs.c
 delete mode 100644 drivers/iommu/omap-iovmm.c
 delete mode 100644 drivers/iommu/pci.h

Please pull.

Thanks,

	Joerg


[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



WARNING: multiple messages have this Message-ID (diff)
From: Joerg Roedel <joro@8bytes.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org
Subject: [git pull] IOMMU Updates for Linux v3.17
Date: Tue, 5 Aug 2014 16:14:09 +0200	[thread overview]
Message-ID: <20140805141408.GA28907@8bytes.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 8922 bytes --]

Hi Linus,

The following changes since commit 64aa90f26c06e1cb2aacfb98a7d0eccfbd6c1a91:

  Linux 3.16-rc7 (2014-07-27 12:41:55 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git tags/iommu-updates-v3.17

for you to fetch changes up to 4c5e9d9f0ddf5d4ba9c51eee2ef1a4d6e93ccf56:

  Merge branches 'x86/vt-d', 'x86/amd', 'arm/omap', 'ppc/pamu', 'arm/smmu', 'arm/exynos' and 'core' into next (2014-07-31 20:29:02 +0200)

----------------------------------------------------------------

IOMMU Updates for Linux v3.17

This time with:

	* Support for the generic PCI device alias code in x86 IOMMU
	  drivers

	* A new sysfs interface for IOMMUs

	* Preparations for hotplug support in the Intel IOMMU driver

	* Change the AMD IOMMUv2 driver to not hold references to core
	  data structures like mm_struct or task_struct. Rely on
	  mmu_notifers instead.

	* Removal of the OMAP IOVMM interface, all users of it are
	  converted to DMA-API now

	* Make the struct iommu_ops const everywhere

	* Initial PCI support for the ARM SMMU driver

	* There is now a generic device tree binding documented for
	  ARM IOMMUs

	* Various fixes and cleanups all over the place

Also included are some changes to the OMAP code, which are acked by the
maintainer.

----------------------------------------------------------------
Alex Williamson (12):
      iommu/core: Create central IOMMU group lookup/creation interface
      iommu/amd: Update to use PCI DMA aliases
      iommu/amd: Use iommu_group_get_for_dev()
      iommu/vt-d: Use iommu_group_get_for_dev()
      iommu/vt-d: Update to use PCI DMA aliases
      iommu/fsl: Use iommu_group_get_for_dev() for IOMMU groups
      iommu: Remove pci.h
      iommu: Add sysfs support for IOMMUs
      iommu/vt-d: Make use of IOMMU sysfs support
      iommu/amd: Add sysfs support
      iommu: Fix IOMMU sysfs stubs
      iommu/vt-d: Exclude devices using RMRRs from IOMMU API domains

Alexey Skidanov (2):
      iommu/amd: Fix for pasid initialization
      iommu/amd: Moving PPR fault flags macros definitions

Borislav Petkov (1):
      iommu/amd: Drop oprofile dependency

Chi Pham (1):
      iommu/fsl: Add void declarations in zero-arg functions.

Fabian Frederick (2):
      iommu/omap: Use PAGE_ALIGNED instead of IS_ALIGNED(PAGE_SIZE)
      iommu/fsl_pamu: Remove unnecessary null test before kfree

Greg Edwards (1):
      iommu/vt-d: Fix race setting IRQ CPU affinity while freeing IRQ

Jiang Liu (13):
      iommu/vt-d: Match segment number when searching for dev_iotlb capable devices
      iommu/vt-d: Use correct domain id to flush virtual machine domains
      iommu/vt-d: Introduce helper functions to improve code readability
      iommu/vt-d: Introduce helper functions to make code symmetric for readability
      iommu/vt-d: Allocate dynamic domain id for virtual domains only
      iommu/vt-d: Fix possible invalid memory access caused by free_dmar_iommu()
      iommu/vt-d: Avoid freeing virtual machine domain in free_dmar_iommu()
      iommu/vt-d: Simplify include/linux/dmar.h
      iommu/vt-d: Change iommu_enable/disable_translation to return void
      iommu/vt-d: Simplify intel_unmap_sg() and kill duplicated code
      iommu/vt-d: Introduce helper domain_pfn_within_range() to simplify code
      iommu/vt-d: Introduce helper function iova_size() to improve code readability
      iommu/vt-d: Fix issue in computing domain's iommu_snooping flag

Joerg Roedel (18):
      iommu/vt-d: Don't use magic number in dma_pte_superpage
      iommu: Fix compile error in iommu-sysfs.c
      Merge branch 'for-joerg/arm-smmu/updates' of git://git.kernel.org/.../will/linux into arm/smmu
      iommu/amd: Fix typo in amd_iommu_v2 driver
      iommu/amd: Don't call mmu_notifer_unregister in __unbind_pasid
      iommu/amd: Don't free pasid_state in mn_release path
      iommu/amd: Get rid of __unbind_pasid
      iommu/amd: Drop pasid_state reference in ppr_notifer error path
      iommu/amd: Add pasid_state->invalid flag
      iommu/amd: Don't hold a reference to mm_struct
      iommu/amd: Don't hold a reference to task_struct
      iommu/amd: Don't call the inv_ctx_cb when pasid is not set up
      Merge branch 'core' into x86/vt-d
      iommu/amd: Don't set pasid_state->mm to NULL in unbind_pasid
      iommu/amd: Remove change_pte mmu_notifier call-back
      iommu/amd: Fix device_state reference counting
      iommu/amd: Fix 2 typos in comments
      Merge branches 'x86/vt-d', 'x86/amd', 'arm/omap', 'ppc/pamu', 'arm/smmu', 'arm/exynos' and 'core' into next

Laurent Pinchart (3):
      iommu/omap: Remove virtual memory manager
      ARM: omap: Don't set iommu pdata da_start and da_end fields
      iommu/omap: Remove platform data da_start and da_end fields

Mitchel Humpherys (1):
      iommu/arm-smmu: fix some checkpatch issues

Thierry Reding (2):
      iommu: Constify struct iommu_ops
      devicetree: Add generic IOMMU device tree bindings

Tushar Behera (1):
      iommu/exynos: Select ARM_DMA_USE_IOMMU

Will Deacon (6):
      iommu/arm-smmu: fix calculation of TCR.T0SZ
      iommu/arm-smmu: add support for PCI master devices
      iommu/arm-smmu: caps: add IOMMU_CAP_INTR_REMAP capability
      iommu/arm-smmu: remove support for chained SMMUs
      iommu/arm-smmu: prefer stage-1 mappings where we have a choice
      iommu/arm-smmu: fix capability checking prior to device attach

Yijing Wang (7):
      iommu/vt-d: Use list_for_each_safe() to simplify code
      iommu/vt-d: Clear the redundant assignment in dmar_enable_qi
      iommu/vt-d: Clear the redundant assignment for domain->nid
      iommu/vt-d: Use inline function dma_pte_superpage instead of macros
      iommu/vt-d: Fix reference count in iommu_prepare_isa
      iommu/vt-d: Remove the useless dma_pte_addr
      iommu/vt-d: Suppress compiler warnings

 Documentation/ABI/testing/sysfs-class-iommu        |  17 +
 .../ABI/testing/sysfs-class-iommu-amd-iommu        |  14 +
 .../ABI/testing/sysfs-class-iommu-intel-iommu      |  32 +
 .../devicetree/bindings/iommu/arm,smmu.txt         |   6 -
 Documentation/devicetree/bindings/iommu/iommu.txt  | 182 +++++
 arch/arm/mach-omap2/omap-iommu.c                   |   2 -
 arch/arm/mach-omap2/omap_hwmod_3xxx_data.c         |   4 -
 arch/arm/mach-omap2/omap_hwmod_44xx_data.c         |   4 -
 drivers/iommu/Kconfig                              |  13 +-
 drivers/iommu/Makefile                             |   2 +-
 drivers/iommu/amd_iommu.c                          | 224 ++----
 drivers/iommu/amd_iommu_init.c                     |  38 +
 drivers/iommu/amd_iommu_types.h                    |  10 +-
 drivers/iommu/amd_iommu_v2.c                       | 107 ++-
 drivers/iommu/arm-smmu.c                           | 495 ++++++------
 drivers/iommu/dmar.c                               |  12 +-
 drivers/iommu/exynos-iommu.c                       |   2 +-
 drivers/iommu/fsl_pamu.c                           |   2 +-
 drivers/iommu/fsl_pamu_domain.c                    |  73 +-
 drivers/iommu/intel-iommu.c                        | 874 ++++++++++-----------
 drivers/iommu/intel_irq_remapping.c                |  60 +-
 drivers/iommu/iommu-sysfs.c                        | 134 ++++
 drivers/iommu/iommu.c                              | 201 ++++-
 drivers/iommu/ipmmu-vmsa.c                         |   2 +-
 drivers/iommu/msm_iommu.c                          |   2 +-
 drivers/iommu/omap-iommu-debug.c                   | 114 ---
 drivers/iommu/omap-iommu.c                         |  15 +-
 drivers/iommu/omap-iommu.h                         |   8 +-
 drivers/iommu/omap-iovmm.c                         | 791 -------------------
 drivers/iommu/pci.h                                |  29 -
 drivers/iommu/shmobile-iommu.c                     |   2 +-
 drivers/iommu/tegra-gart.c                         |   2 +-
 drivers/iommu/tegra-smmu.c                         |   2 +-
 include/linux/amd-iommu.h                          |   7 +
 include/linux/device.h                             |   2 +-
 include/linux/dmar.h                               |  50 +-
 include/linux/intel-iommu.h                        |   3 +
 include/linux/iommu.h                              |  32 +-
 include/linux/iova.h                               |   5 +
 include/linux/omap-iommu.h                         |  37 +-
 include/linux/platform_data/iommu-omap.h           |   6 -
 41 files changed, 1567 insertions(+), 2050 deletions(-)
 create mode 100644 Documentation/ABI/testing/sysfs-class-iommu
 create mode 100644 Documentation/ABI/testing/sysfs-class-iommu-amd-iommu
 create mode 100644 Documentation/ABI/testing/sysfs-class-iommu-intel-iommu
 create mode 100644 Documentation/devicetree/bindings/iommu/iommu.txt
 create mode 100644 drivers/iommu/iommu-sysfs.c
 delete mode 100644 drivers/iommu/omap-iovmm.c
 delete mode 100644 drivers/iommu/pci.h

Please pull.

Thanks,

	Joerg


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

             reply	other threads:[~2014-08-05 14:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-05 14:14 Joerg Roedel [this message]
2014-08-05 14:14 ` [git pull] IOMMU Updates for Linux v3.17 Joerg Roedel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140805141408.GA28907@8bytes.org \
    --to=joro-zlv9swrftaidnm+yrofe0a@public.gmane.org \
    --cc=iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=torvalds-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.