Commit 998d4c2
iommu/vt-d: Remove BUG_ON when domain->pgd is NULL
When performing domain_context_mapping or getting dma_pte of a pfn, the
availability of the domain page table directory is ensured. Therefore,
the domain->pgd checkings are unnecessary.
Signed-off-by: Tina Zhang <tina.zhang@intel.com>
Link: https://lore.kernel.org/r/20230406065944.2773296-5-tina.zhang@intel.com
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>1 parent 4a627a2 commit 998d4c2
1 file changed
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
915 | 915 | | |
916 | 916 | | |
917 | 917 | | |
918 | | - | |
919 | | - | |
920 | 918 | | |
921 | 919 | | |
922 | 920 | | |
| |||
1910 | 1908 | | |
1911 | 1909 | | |
1912 | 1910 | | |
1913 | | - | |
1914 | | - | |
1915 | 1911 | | |
1916 | 1912 | | |
1917 | 1913 | | |
| |||
0 commit comments