Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1683763

[RFC 0/2] arm-smmu-v3 tlbi-on-map option

From Eric Auger <eric.auger@redhat.com>
Newsgroups linux.kernel
Subject [RFC 0/2] arm-smmu-v3 tlbi-on-map option
Date 2017-07-09 17:20 +0200
Message-ID <u1ma6-We-29@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


This series adds a new tlbi-on-map option to the smmuv3 driver.
When set, the IO_PGTABLE_QUIRK_TLBI_ON_MAP quirk is applied for 
LPAE tables and the smmuv3 driver sends TLB invalidations on map.

This mode is useful when running the driver on a guest as it allows
the virtualizer to trap any change to the translation structures.
This is similar to the Intel vtd caching mode (CM).

This is especially needed for VFIO integration integration where
guest mappings must be applied to the physical IOMMU.

At the moment the option only is available for DT probing.

Best Regards

Eric

Eric Auger (2):
  iommu/io-pgtable-arm: flush TLBs when IO_PGTABLE_QUIRK_TLBI_ON_MAP
  arm-smmu-v3: Add tlbi_on_map option

 Documentation/devicetree/bindings/iommu/arm,smmu-v3.txt |  4 ++++
 drivers/iommu/arm-smmu-v3.c                             |  5 +++++
 drivers/iommu/io-pgtable-arm.c                          | 13 +++++++++++--
 3 files changed, 20 insertions(+), 2 deletions(-)

-- 
2.5.5

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[RFC 0/2] arm-smmu-v3 tlbi-on-map option Eric Auger <eric.auger@redhat.com> - 2017-07-09 17:20 +0200
  Re: [RFC 0/2] arm-smmu-v3 tlbi-on-map option Will Deacon <will.deacon@arm.com> - 2017-07-12 20:00 +0200
    Re: [RFC 0/2] arm-smmu-v3 tlbi-on-map option "Michael S. Tsirkin" <mst@redhat.com> - 2017-07-13 00:10 +0200
      Re: [RFC 0/2] arm-smmu-v3 tlbi-on-map option Jean-Philippe Brucker <jean-philippe.brucker@arm.com> - 2017-07-13 11:30 +0200
        Re: [RFC 0/2] arm-smmu-v3 tlbi-on-map option "Michael S. Tsirkin" <mst@redhat.com> - 2017-07-13 19:50 +0200
          Re: [RFC 0/2] arm-smmu-v3 tlbi-on-map option Jean-Philippe Brucker <jean-philippe.brucker@arm.com> - 2017-07-13 21:20 +0200
            Re: [RFC 0/2] arm-smmu-v3 tlbi-on-map option "Michael S. Tsirkin" <mst@redhat.com> - 2017-07-13 22:40 +0200

csiph-web