mbox series

[PULL,SRU,Bionic] non-strict iommu mode for ARM

Message ID 20181221194428.GB25424@xps13.dannf
State New
Headers show
Series [PULL,SRU,Bionic] non-strict iommu mode for ARM | expand

Pull-request

git://git.launchpad.net/~dannf/ubuntu/+source/linux/+git/linux iommu-non-strict-b

Message

dann frazier Dec. 21, 2018, 7:44 p.m. UTC
BugLink: https://bugs.launchpad.net/bugs/1806488

Required some minor backporting (same as for cosmic), described in the
S-o-b area.

The following changes since commit 9f3c41672a4f2488bf85ac6b88394ef861dbc333:

  UBUNTU: Ubuntu-4.15.0-43.46 (2018-12-06 13:52:12 +0000)

are available in the Git repository at:

  git://git.launchpad.net/~dannf/ubuntu/+source/linux/+git/linux iommu-non-strict-b

for you to fetch changes up to 64d6553a0188e8d01e8940fe2e216b3613b62025:

  iommu/arm-smmu: Support non-strict mode (2018-12-19 17:04:16 -0700)

----------------------------------------------------------------
Robin Murphy (3):
      iommu/io-pgtable-arm: Fix race handling in split_blk_unmap()
      iommu/io-pgtable-arm-v7s: Add support for non-strict mode
      iommu/arm-smmu: Support non-strict mode

Zhen Lei (5):
      iommu/arm-smmu-v3: Implement flush_iotlb_all hook
      iommu/dma: Add support for non-strict mode
      iommu: Add "iommu.strict" command line option
      iommu/io-pgtable-arm: Add support for non-strict mode
      iommu/arm-smmu-v3: Add support for non-strict mode

 Documentation/admin-guide/kernel-parameters.txt | 12 ++++
 drivers/iommu/arm-smmu-v3.c                     | 89 ++++++++++++++++-------
 drivers/iommu/arm-smmu.c                        | 93 ++++++++++++++++++-------
 drivers/iommu/dma-iommu.c                       | 32 ++++++++-
 drivers/iommu/io-pgtable-arm-v7s.c              | 11 ++-
 drivers/iommu/io-pgtable-arm.c                  | 23 ++++--
 drivers/iommu/io-pgtable.h                      |  5 ++
 drivers/iommu/iommu.c                           | 14 ++++
 include/linux/iommu.h                           |  1 +
 9 files changed, 220 insertions(+), 60 deletions(-)

Comments

Stefan Bader Jan. 11, 2019, 8:29 a.m. UTC | #1
On 21.12.18 20:44, dann frazier wrote:
> BugLink: https://bugs.launchpad.net/bugs/1806488
> 
> Required some minor backporting (same as for cosmic), described in the
> S-o-b area.
> 
> The following changes since commit 9f3c41672a4f2488bf85ac6b88394ef861dbc333:
> 
>   UBUNTU: Ubuntu-4.15.0-43.46 (2018-12-06 13:52:12 +0000)
> 
> are available in the Git repository at:
> 
>   git://git.launchpad.net/~dannf/ubuntu/+source/linux/+git/linux iommu-non-strict-b
> 
> for you to fetch changes up to 64d6553a0188e8d01e8940fe2e216b3613b62025:
> 
>   iommu/arm-smmu: Support non-strict mode (2018-12-19 17:04:16 -0700)
> 
> ----------------------------------------------------------------
> Robin Murphy (3):
>       iommu/io-pgtable-arm: Fix race handling in split_blk_unmap()
>       iommu/io-pgtable-arm-v7s: Add support for non-strict mode
>       iommu/arm-smmu: Support non-strict mode
> 
> Zhen Lei (5):
>       iommu/arm-smmu-v3: Implement flush_iotlb_all hook
>       iommu/dma: Add support for non-strict mode
>       iommu: Add "iommu.strict" command line option
>       iommu/io-pgtable-arm: Add support for non-strict mode
>       iommu/arm-smmu-v3: Add support for non-strict mode
> 
>  Documentation/admin-guide/kernel-parameters.txt | 12 ++++
>  drivers/iommu/arm-smmu-v3.c                     | 89 ++++++++++++++++-------
>  drivers/iommu/arm-smmu.c                        | 93 ++++++++++++++++++-------
>  drivers/iommu/dma-iommu.c                       | 32 ++++++++-
>  drivers/iommu/io-pgtable-arm-v7s.c              | 11 ++-
>  drivers/iommu/io-pgtable-arm.c                  | 23 ++++--
>  drivers/iommu/io-pgtable.h                      |  5 ++
>  drivers/iommu/iommu.c                           | 14 ++++
>  include/linux/iommu.h                           |  1 +
>  9 files changed, 220 insertions(+), 60 deletions(-)
> 
At least mostly restricted to Arm parts. And the generic parts explained in the
bug report. This also is a bit at the shadow area between SRU worthy and not.
But the performance gain is probably big enough that we can accept this as bug
fix for Bionic.

Acked-by: Stefan Bader <stefan.bader@canonical.com>
Kleber Sacilotto de Souza Jan. 11, 2019, 10:50 a.m. UTC | #2
On 12/21/18 8:44 PM, dann frazier wrote:
> BugLink: https://bugs.launchpad.net/bugs/1806488
>
> Required some minor backporting (same as for cosmic), described in the
> S-o-b area.
>
> The following changes since commit 9f3c41672a4f2488bf85ac6b88394ef861dbc333:
>
>   UBUNTU: Ubuntu-4.15.0-43.46 (2018-12-06 13:52:12 +0000)
>
> are available in the Git repository at:
>
>   git://git.launchpad.net/~dannf/ubuntu/+source/linux/+git/linux iommu-non-strict-b
>
> for you to fetch changes up to 64d6553a0188e8d01e8940fe2e216b3613b62025:
>
>   iommu/arm-smmu: Support non-strict mode (2018-12-19 17:04:16 -0700)
>
> ----------------------------------------------------------------
> Robin Murphy (3):
>       iommu/io-pgtable-arm: Fix race handling in split_blk_unmap()
>       iommu/io-pgtable-arm-v7s: Add support for non-strict mode
>       iommu/arm-smmu: Support non-strict mode
>
> Zhen Lei (5):
>       iommu/arm-smmu-v3: Implement flush_iotlb_all hook
>       iommu/dma: Add support for non-strict mode
>       iommu: Add "iommu.strict" command line option
>       iommu/io-pgtable-arm: Add support for non-strict mode
>       iommu/arm-smmu-v3: Add support for non-strict mode
>
>  Documentation/admin-guide/kernel-parameters.txt | 12 ++++
>  drivers/iommu/arm-smmu-v3.c                     | 89 ++++++++++++++++-------
>  drivers/iommu/arm-smmu.c                        | 93 ++++++++++++++++++-------
>  drivers/iommu/dma-iommu.c                       | 32 ++++++++-
>  drivers/iommu/io-pgtable-arm-v7s.c              | 11 ++-
>  drivers/iommu/io-pgtable-arm.c                  | 23 ++++--
>  drivers/iommu/io-pgtable.h                      |  5 ++
>  drivers/iommu/iommu.c                           | 14 ++++
>  include/linux/iommu.h                           |  1 +
>  9 files changed, 220 insertions(+), 60 deletions(-)
>
Acked-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
Kleber Sacilotto de Souza Jan. 11, 2019, 11:08 a.m. UTC | #3
On 12/21/18 8:44 PM, dann frazier wrote:
> BugLink: https://bugs.launchpad.net/bugs/1806488
>
> Required some minor backporting (same as for cosmic), described in the
> S-o-b area.
>
> The following changes since commit 9f3c41672a4f2488bf85ac6b88394ef861dbc333:
>
>   UBUNTU: Ubuntu-4.15.0-43.46 (2018-12-06 13:52:12 +0000)
>
> are available in the Git repository at:
>
>   git://git.launchpad.net/~dannf/ubuntu/+source/linux/+git/linux iommu-non-strict-b
>
> for you to fetch changes up to 64d6553a0188e8d01e8940fe2e216b3613b62025:
>
>   iommu/arm-smmu: Support non-strict mode (2018-12-19 17:04:16 -0700)
>
> ----------------------------------------------------------------
> Robin Murphy (3):
>       iommu/io-pgtable-arm: Fix race handling in split_blk_unmap()
>       iommu/io-pgtable-arm-v7s: Add support for non-strict mode
>       iommu/arm-smmu: Support non-strict mode
>
> Zhen Lei (5):
>       iommu/arm-smmu-v3: Implement flush_iotlb_all hook
>       iommu/dma: Add support for non-strict mode
>       iommu: Add "iommu.strict" command line option
>       iommu/io-pgtable-arm: Add support for non-strict mode
>       iommu/arm-smmu-v3: Add support for non-strict mode
>
>  Documentation/admin-guide/kernel-parameters.txt | 12 ++++
>  drivers/iommu/arm-smmu-v3.c                     | 89 ++++++++++++++++-------
>  drivers/iommu/arm-smmu.c                        | 93 ++++++++++++++++++-------
>  drivers/iommu/dma-iommu.c                       | 32 ++++++++-
>  drivers/iommu/io-pgtable-arm-v7s.c              | 11 ++-
>  drivers/iommu/io-pgtable-arm.c                  | 23 ++++--
>  drivers/iommu/io-pgtable.h                      |  5 ++
>  drivers/iommu/iommu.c                           | 14 ++++
>  include/linux/iommu.h                           |  1 +
>  9 files changed, 220 insertions(+), 60 deletions(-)
>
Applied to bionic/master-next branch.

Thanks,
Kleber