[PATCH v3 0/2] Misc cleanup for iommu/vt-d

From: Yanfei Xu
Date: Mon Jun 05 2023 - 07:29:54 EST


No functional changes intended

v1->v2:
1.Change to use check and return for dmar_reenable_qi()
2.Remove WARN_ON of 'table' instead of using BUG_ON
3.Also remove useless WARN_ON of domain id

v2->v3:
Move check for 'ret' value to correct conditional statement.
(For patch2. Pointed out by Robin)

Yanfei Xu (2):
iommu/vt-d: Handle the failure case of dmar_reenable_qi()
iommu/vt-d: Remove two WARN_ON in domain_context_mapping_one()

drivers/iommu/intel/iommu.c | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)

--
2.34.1