linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] iommu/arm-smmu: Updates for 5.10
@ 2020-09-30  8:05 Will Deacon
  2020-10-01 11:51 ` Will Deacon
  2020-10-01 12:24 ` Joerg Roedel
  0 siblings, 2 replies; 3+ messages in thread
From: Will Deacon @ 2020-09-30  8:05 UTC (permalink / raw)
  To: joro
  Cc: jean-philippe, robin.murphy, linux-kernel, iommu, kernel-team,
	linux-arm-kernel

Hi Joerg,

Please pull these arm-smmu updates for 5.10. Summary in the tag, but the
big thing here is the long-awaited SVM enablement from Jean-Philippe.
We're not quite done yet, but this pull extends the SMMUv3 driver so that
we're very close to being able to share page-tables directly with the CPU.

Other than that, there are a couple of things to note:

  1. My PGP subkeys expired. I've updated them here:

	https://mirrors.edge.kernel.org/pub/linux/kernel/people/will/3E542FD9.asc

     and I've also mailed an updated copy for inclusion in the pgpkeys
     repository on kernel.org, but it hasn't landed yet:

	https://lore.kernel.org/keys/20200929222707.GA14916@willie-the-truck/T/#u

  2. The SVM enablement has a dependency on some ASID allocation rework
     in the arm64 tree, so I made a shared branch and pulled that in here
     too.

Please shout if you run into any problems.

Will

--->8

The following changes since commit f75aef392f869018f78cfedf3c320a6b3fcfda6b:

  Linux 5.9-rc3 (2020-08-30 16:01:54 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/will/linux.git tags/arm-smmu-updates

for you to fetch changes up to e2eae09939a89e0994f7965ba3c676a5eac8b4b0:

  iommu/qcom: add missing put_device() call in qcom_iommu_of_xlate() (2020-09-29 16:25:52 +0100)

----------------------------------------------------------------
Arm SMMU updates for 5.10

- Continued SVM enablement, where page-table is shared with CPU

- Groundwork to support integrated SMMU with Adreno GPU

- Allow disabling of MSI-based polling on the kernel command-line

- Minor driver fixes and cleanups (octal permissions, error messages, ...)

----------------------------------------------------------------
Barry Song (3):
      iommu/arm-smmu-v3: replace symbolic permissions by octal permissions for module parameter
      iommu/arm-smmu-v3: replace module_param_named by module_param for disable_bypass
      iommu/arm-smmu-v3: permit users to disable msi polling

Jean-Philippe Brucker (9):
      iommu/arm-smmu-v3: Fix endianness annotations
      arm64: mm: Pin down ASIDs for sharing mm with devices
      arm64: cpufeature: Export symbol read_sanitised_ftr_reg()
      iommu/io-pgtable-arm: Move some definitions to a header
      iommu/arm-smmu-v3: Move definitions to a header
      iommu/arm-smmu-v3: Share process page tables
      iommu/arm-smmu-v3: Seize private ASID
      iommu/arm-smmu-v3: Check for SVA features
      iommu/arm-smmu-v3: Add SVA device feature

Jordan Crouse (3):
      iommu/arm-smmu: Pass io-pgtable config to implementation specific function
      iommu/arm-smmu: Add support for split pagetables
      iommu/arm-smmu: Prepare for the adreno-smmu implementation

Rob Clark (1):
      iommu/arm-smmu: Constify some helpers

Will Deacon (1):
      Merge branch 'for-next/svm' of git://git.kernel.org/.../arm64/linux into for-joerg/arm-smmu/updates

Yu Kuai (1):
      iommu/qcom: add missing put_device() call in qcom_iommu_of_xlate()

Zenghui Yu (1):
      iommu/arm-smmu-v3: Fix l1 stream table size in the error message

Zhou Wang (1):
      iommu/arm-smmu-v3: Ensure queue is read after updating prod pointer

 MAINTAINERS                                     |   3 +-
 arch/arm64/include/asm/barrier.h                |   1 +
 arch/arm64/include/asm/io.h                     |   1 +
 arch/arm64/include/asm/mmu.h                    |   3 +
 arch/arm64/include/asm/mmu_context.h            |  11 +-
 arch/arm64/kernel/cpufeature.c                  |   1 +
 arch/arm64/mm/context.c                         | 105 ++-
 drivers/iommu/Kconfig                           |  10 +
 drivers/iommu/arm/arm-smmu-v3/Makefile          |   5 +-
 drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-sva.c | 248 +++++++
 drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c     | 843 +++++-------------------
 drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h     | 723 ++++++++++++++++++++
 drivers/iommu/arm/arm-smmu/arm-smmu-impl.c      |   3 +-
 drivers/iommu/arm/arm-smmu/arm-smmu.c           | 102 ++-
 drivers/iommu/arm/arm-smmu/arm-smmu.h           |  84 ++-
 drivers/iommu/arm/arm-smmu/qcom_iommu.c         |   8 +-
 drivers/iommu/io-pgtable-arm.c                  |  27 +-
 drivers/iommu/io-pgtable-arm.h                  |  30 +
 18 files changed, 1410 insertions(+), 798 deletions(-)
 create mode 100644 drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-sva.c
 create mode 100644 drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h
 create mode 100644 drivers/iommu/io-pgtable-arm.h

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [GIT PULL] iommu/arm-smmu: Updates for 5.10
  2020-09-30  8:05 [GIT PULL] iommu/arm-smmu: Updates for 5.10 Will Deacon
@ 2020-10-01 11:51 ` Will Deacon
  2020-10-01 12:24 ` Joerg Roedel
  1 sibling, 0 replies; 3+ messages in thread
From: Will Deacon @ 2020-10-01 11:51 UTC (permalink / raw)
  To: joro
  Cc: jean-philippe, robin.murphy, linux-kernel, iommu, kernel-team,
	linux-arm-kernel

On Wed, Sep 30, 2020 at 09:05:23AM +0100, Will Deacon wrote:
> Please pull these arm-smmu updates for 5.10. Summary in the tag, but the
> big thing here is the long-awaited SVM enablement from Jean-Philippe.
> We're not quite done yet, but this pull extends the SMMUv3 driver so that
> we're very close to being able to share page-tables directly with the CPU.
> 
> Other than that, there are a couple of things to note:
> 
>   1. My PGP subkeys expired. I've updated them here:
> 
> 	https://mirrors.edge.kernel.org/pub/linux/kernel/people/will/3E542FD9.asc
> 
>      and I've also mailed an updated copy for inclusion in the pgpkeys
>      repository on kernel.org, but it hasn't landed yet:

Just to say that my updated key has now landed in the pgpkeys repo.

Will

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [GIT PULL] iommu/arm-smmu: Updates for 5.10
  2020-09-30  8:05 [GIT PULL] iommu/arm-smmu: Updates for 5.10 Will Deacon
  2020-10-01 11:51 ` Will Deacon
@ 2020-10-01 12:24 ` Joerg Roedel
  1 sibling, 0 replies; 3+ messages in thread
From: Joerg Roedel @ 2020-10-01 12:24 UTC (permalink / raw)
  To: Will Deacon
  Cc: jean-philippe, robin.murphy, linux-kernel, iommu, kernel-team,
	linux-arm-kernel

On Wed, Sep 30, 2020 at 09:05:23AM +0100, Will Deacon wrote:
> The following changes since commit f75aef392f869018f78cfedf3c320a6b3fcfda6b:
> 
>   Linux 5.9-rc3 (2020-08-30 16:01:54 -0700)
> 
> are available in the Git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/will/linux.git tags/arm-smmu-updates
> 
> for you to fetch changes up to e2eae09939a89e0994f7965ba3c676a5eac8b4b0:

Pulled, thanks Will.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2020-10-01 12:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-30  8:05 [GIT PULL] iommu/arm-smmu: Updates for 5.10 Will Deacon
2020-10-01 11:51 ` Will Deacon
2020-10-01 12:24 ` Joerg Roedel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).