All of lore.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL] iommu/arm-smmu: Fixes for 4.13
@ 2017-07-24 12:29 ` Will Deacon
  0 siblings, 0 replies; 4+ messages in thread
From: Will Deacon @ 2017-07-24 12:29 UTC (permalink / raw)
  To: joro-zLv9SwRftAIdnm+yROfE0A
  Cc: ray.jui-dY08KVG/lbpWk0Htik3J/w,
	iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

Hi Joerg,

Please can you pull these arm-smmu/io-pgtable fixes for 4.13? The two main
things are:

  1. Ensure that we reject out-of-range map/unmap requests in the io-pgtable
     code (rather than operate on silently truncated addresses).

  2. Serialise TLB sync operations on arm-smmu, otherwise we can limit
     forward progress and cause timeouts in the driver (as observed by Ray).
     This undoes a previous micro-optimisation that is no longer sensible
     with the pgtable locsk removed, but which is required for correctness
     on the MTK IOMMU, so the MTK driver is updated to keep things working
     there.

Thanks,

Will

--->8

The following changes since commit 5771a8c08880cdca3bfb4a3fc6d309d6bba20877:

  Linux v4.13-rc1 (2017-07-15 15:22:10 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/will/linux.git for-joerg/arm-smmu/fixes

for you to fetch changes up to 76557391433c77d330cede1a531b358d2f90df66:

  iommu/io-pgtable: Sanitise map/unmap addresses (2017-07-20 10:30:28 +0100)

----------------------------------------------------------------
Robin Murphy (3):
      iommu/mtk: Avoid redundant TLB syncs locally
      Revert "iommu/io-pgtable: Avoid redundant TLB syncs"
      iommu/io-pgtable: Sanitise map/unmap addresses

Vivek Gautam (1):
      iommu/arm-smmu: Fix the error path in arm_smmu_add_device

Will Deacon (1):
      iommu/arm-smmu: Reintroduce locking around TLB sync operations

 drivers/iommu/arm-smmu.c           | 18 +++++++++++++-----
 drivers/iommu/io-pgtable-arm-v7s.c |  6 ++++++
 drivers/iommu/io-pgtable-arm.c     |  7 +++++++
 drivers/iommu/io-pgtable.h         |  9 +--------
 drivers/iommu/mtk_iommu.c          |  6 ++++++
 drivers/iommu/mtk_iommu.h          |  1 +
 6 files changed, 34 insertions(+), 13 deletions(-)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [GIT PULL] iommu/arm-smmu: Fixes for 4.13
@ 2017-07-24 12:29 ` Will Deacon
  0 siblings, 0 replies; 4+ messages in thread
From: Will Deacon @ 2017-07-24 12:29 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Joerg,

Please can you pull these arm-smmu/io-pgtable fixes for 4.13? The two main
things are:

  1. Ensure that we reject out-of-range map/unmap requests in the io-pgtable
     code (rather than operate on silently truncated addresses).

  2. Serialise TLB sync operations on arm-smmu, otherwise we can limit
     forward progress and cause timeouts in the driver (as observed by Ray).
     This undoes a previous micro-optimisation that is no longer sensible
     with the pgtable locsk removed, but which is required for correctness
     on the MTK IOMMU, so the MTK driver is updated to keep things working
     there.

Thanks,

Will

--->8

The following changes since commit 5771a8c08880cdca3bfb4a3fc6d309d6bba20877:

  Linux v4.13-rc1 (2017-07-15 15:22:10 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/will/linux.git for-joerg/arm-smmu/fixes

for you to fetch changes up to 76557391433c77d330cede1a531b358d2f90df66:

  iommu/io-pgtable: Sanitise map/unmap addresses (2017-07-20 10:30:28 +0100)

----------------------------------------------------------------
Robin Murphy (3):
      iommu/mtk: Avoid redundant TLB syncs locally
      Revert "iommu/io-pgtable: Avoid redundant TLB syncs"
      iommu/io-pgtable: Sanitise map/unmap addresses

Vivek Gautam (1):
      iommu/arm-smmu: Fix the error path in arm_smmu_add_device

Will Deacon (1):
      iommu/arm-smmu: Reintroduce locking around TLB sync operations

 drivers/iommu/arm-smmu.c           | 18 +++++++++++++-----
 drivers/iommu/io-pgtable-arm-v7s.c |  6 ++++++
 drivers/iommu/io-pgtable-arm.c     |  7 +++++++
 drivers/iommu/io-pgtable.h         |  9 +--------
 drivers/iommu/mtk_iommu.c          |  6 ++++++
 drivers/iommu/mtk_iommu.h          |  1 +
 6 files changed, 34 insertions(+), 13 deletions(-)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [GIT PULL] iommu/arm-smmu: Fixes for 4.13
  2017-07-24 12:29 ` Will Deacon
@ 2017-07-25 13:01     ` Joerg Roedel
  -1 siblings, 0 replies; 4+ messages in thread
From: Joerg Roedel @ 2017-07-25 13:01 UTC (permalink / raw)
  To: Will Deacon
  Cc: ray.jui-dY08KVG/lbpWk0Htik3J/w,
	iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

On Mon, Jul 24, 2017 at 01:29:43PM +0100, Will Deacon wrote:
> The following changes since commit 5771a8c08880cdca3bfb4a3fc6d309d6bba20877:
> 
>   Linux v4.13-rc1 (2017-07-15 15:22:10 -0700)
> 
> are available in the git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/will/linux.git for-joerg/arm-smmu/fixes

Pulled into iommu/fixes, thanks Will.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [GIT PULL] iommu/arm-smmu: Fixes for 4.13
@ 2017-07-25 13:01     ` Joerg Roedel
  0 siblings, 0 replies; 4+ messages in thread
From: Joerg Roedel @ 2017-07-25 13:01 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, Jul 24, 2017 at 01:29:43PM +0100, Will Deacon wrote:
> The following changes since commit 5771a8c08880cdca3bfb4a3fc6d309d6bba20877:
> 
>   Linux v4.13-rc1 (2017-07-15 15:22:10 -0700)
> 
> are available in the git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/will/linux.git for-joerg/arm-smmu/fixes

Pulled into iommu/fixes, thanks Will.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-07-25 13:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-24 12:29 [GIT PULL] iommu/arm-smmu: Fixes for 4.13 Will Deacon
2017-07-24 12:29 ` Will Deacon
     [not found] ` <20170724122943.GE29919-5wv7dgnIgG8@public.gmane.org>
2017-07-25 13:01   ` Joerg Roedel
2017-07-25 13:01     ` Joerg Roedel

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.