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

Message ID 20230605112659.308981-1-yanfei.xu@intel.com
Headers
Series Misc cleanup for iommu/vt-d |

Message

Yanfei Xu June 5, 2023, 11:26 a.m. UTC
  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(-)