iommu/vt-d: Remove BUG_ON in handling iotlb cache invalidation
authorTina Zhang <tina.zhang@intel.com>
Thu, 13 Apr 2023 04:06:41 +0000 (12:06 +0800)
committerJoerg Roedel <jroedel@suse.de>
Thu, 13 Apr 2023 10:05:51 +0000 (12:05 +0200)
commit4a627a2593b457336047c6803b5d5c097183a9ca
treef9aba69af8f5b798eb1e3714dbc20945f68ce3c0
parent35dc5d8998efa0f87a25bb184a9c54c46100fec3
iommu/vt-d: Remove BUG_ON in handling iotlb cache invalidation

VT-d iotlb cache invalidation request with unexpected type is considered
as a bug to developers, which can be fixed. So, when such kind of issue
comes out, it needs to be reported through the kernel log, instead of
halting the system. Replacing BUG_ON with warning reporting.

Signed-off-by: Tina Zhang <tina.zhang@intel.com>
Link: https://lore.kernel.org/r/20230406065944.2773296-4-tina.zhang@intel.com
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel/iommu.c