• Lu Baolu's avatar
    iommu/vt-d: Reserve a domain id for FL and PT modes · 3b33d4ab
    Lu Baolu authored
    Vt-d spec rev3.0 (section 6.2.3.1) requires that each pasid
    entry for first-level or pass-through translation should be
    programmed with a domain id different from those used for
    second-level or nested translation. It is recommended that
    software could use a same domain id for all first-only and
    pass-through translations.
    
    This reserves a domain id for first-level and pass-through
    translations.
    
    Cc: Ashok Raj <ashok.raj@intel.com>
    Cc: Jacob Pan <jacob.jun.pan@linux.intel.com>
    Cc: Kevin Tian <kevin.tian@intel.com>
    Cc: Liu Yi L <yi.l.liu@intel.com>
    Cc: Sanjay Kumar <sanjay.k.kumar@intel.com>
    Signed-off-by: default avatarLu Baolu <baolu.lu@linux.intel.com>
    Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
    3b33d4ab
intel-iommu.c 135 KB