summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLu Baolu2019-07-09 07:22:45 +0200
committerJoerg Roedel2019-07-22 17:16:24 +0200
commit557529494d79f3f1fadd486dd18d2de0b19be4da (patch)
tree9e226486ee963fe35a7663c6e3ac144a0f261a3c /lib
parentRevert "iommu/vt-d: Consolidate domain_init() to avoid duplication" (diff)
downloadkernel-qcow2-linux-557529494d79f3f1fadd486dd18d2de0b19be4da.tar.gz
kernel-qcow2-linux-557529494d79f3f1fadd486dd18d2de0b19be4da.tar.xz
kernel-qcow2-linux-557529494d79f3f1fadd486dd18d2de0b19be4da.zip
iommu/vt-d: Avoid duplicated pci dma alias consideration
As we have abandoned the home-made lazy domain allocation and delegated the DMA domain life cycle up to the default domain mechanism defined in the generic iommu layer, we needn't consider pci alias anymore when mapping/unmapping the context entries. Without this fix, we see kernel NULL pointer dereference during pci device hot-plug test. Cc: Ashok Raj <ashok.raj@intel.com> Cc: Jacob Pan <jacob.jun.pan@linux.intel.com> Cc: Kevin Tian <kevin.tian@intel.com> Fixes: fa954e6831789 ("iommu/vt-d: Delegate the dma domain to upper layer") Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com> Reported-and-tested-by: Xu Pengfei <pengfei.xu@intel.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions