Skip to content
  • Jacob Pan's avatar
    iommu/vt-d: Remove global page flush support · 8744daf4
    Jacob Pan authored
    Global pages support is removed from VT-d spec 3.0. Since global pages G
    flag only affects first-level paging structures and because DMA request
    with PASID are only supported by VT-d spec. 3.0 and onward, we can
    safely remove global pages support.
    
    For kernel shared virtual address IOTLB invalidation, PASID
    granularity and page selective within PASID will be used. There is
    no global granularity supported. Without this fix, IOTLB invalidation
    will cause invalid descriptor error in the queued invalidation (QI)
    interface.
    
    Fixes: 1c4f88b7
    
     ("iommu/vt-d: Shared virtual address in scalable mode")
    Reported-by: default avatarSanjay K Kumar <sanjay.k.kumar@intel.com>
    Signed-off-by: default avatarJacob Pan <jacob.jun.pan@linux.intel.com>
    Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
    8744daf4