]> Git Repo - linux.git/commit
iommu/vt-d: Avoid duplicated pci dma alias consideration
authorLu Baolu <[email protected]>
Tue, 9 Jul 2019 05:22:45 +0000 (13:22 +0800)
committerJoerg Roedel <[email protected]>
Mon, 22 Jul 2019 15:16:24 +0000 (17:16 +0200)
commit557529494d79f3f1fadd486dd18d2de0b19be4da
tree9e226486ee963fe35a7663c6e3ac144a0f261a3c
parent301e7ee1dec513e5aca12d01c819a1f762918d0a
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 <[email protected]>
Cc: Jacob Pan <[email protected]>
Cc: Kevin Tian <[email protected]>
Fixes: fa954e6831789 ("iommu/vt-d: Delegate the dma domain to upper layer")
Signed-off-by: Lu Baolu <[email protected]>
Reported-and-tested-by: Xu Pengfei <[email protected]>
Signed-off-by: Joerg Roedel <[email protected]>
drivers/iommu/intel-iommu.c
This page took 0.053623 seconds and 4 git commands to generate.