diff options
author | Lu Baolu <baolu.lu@linux.intel.com> | 2020-01-02 08:18:16 +0800 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2020-01-07 14:05:58 +0100 |
commit | 87208f22a4d942ce880e7bf092158eecd6ffa293 (patch) | |
tree | 005e09f1eb211d1978cdb317c96f6b456b65d890 /ipc | |
parent | 2cd1311a26673d45ffa8b7c8f46a8c7023601491 (diff) | |
download | linux-stable-87208f22a4d942ce880e7bf092158eecd6ffa293.tar.gz linux-stable-87208f22a4d942ce880e7bf092158eecd6ffa293.tar.bz2 linux-stable-87208f22a4d942ce880e7bf092158eecd6ffa293.zip |
iommu/vt-d: Add PASID_FLAG_FL5LP for first-level pasid setup
Current intel_pasid_setup_first_level() use 5-level paging for
first level translation if CPUs use 5-level paging mode too.
This makes sense for SVA usages since the page table is shared
between CPUs and IOMMUs. But it makes no sense if we only want
to use first level for IOVA translation. Add PASID_FLAG_FL5LP
bit in the flags which indicates whether the 5-level paging
mode should be used.
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions