]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
iommu/vt-d: Support page request in scalable mode
authorJacob Pan <jacob.jun.pan@linux.intel.com>
Fri, 11 Jan 2019 05:04:57 +0000 (13:04 +0800)
committerJoerg Roedel <jroedel@suse.de>
Fri, 11 Jan 2019 12:10:03 +0000 (13:10 +0100)
commit5b438f4ba315db4f8c1489d175656798d58c014f
tree1938ea40fb86a382601a1bc174e03a0c7f220f68
parentbfeffd155283772bbe78c6a05dec7c0128ee500c
iommu/vt-d: Support page request in scalable mode

VT-d Rev3.0 has made a few changes to the page request interface,

1. widened PRQ descriptor from 128 bits to 256 bits;
2. removed streaming response type;
3. introduced private data that requires page response even the
   request is not last request in group (LPIG).

This is a supplement to commit 1c4f88b7f1f92 ("iommu/vt-d: Shared
virtual address in scalable mode") and makes the svm code compliant
with VT-d Rev3.0.

Cc: Ashok Raj <ashok.raj@intel.com>
Cc: Liu Yi L <yi.l.liu@intel.com>
Cc: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Fixes: 1c4f88b7f1f92 ("iommu/vt-d: Shared virtual address in scalable mode")
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel-svm.c
include/linux/intel-iommu.h
include/linux/intel-svm.h