summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorTina Zhang <tina.zhang@intel.com>2023-04-13 07:06:40 +0300
committerJoerg Roedel <jroedel@suse.de>2023-04-13 13:05:51 +0300
commit35dc5d8998efa0f87a25bb184a9c54c46100fec3 (patch)
treec71ba3996f8f65fcb656a9bbcd10e06ae3dc435d /tools/perf/scripts/python/libxed.py
parentb31064f881eec6047874ef58df4376b20432859c (diff)
downloadlinux-35dc5d8998efa0f87a25bb184a9c54c46100fec3.tar.xz
iommu/vt-d: Remove BUG_ON on checking valid pfn range
When encountering an unexpected invalid pfn range, the kernel should attempt recovery and proceed with execution. Therefore, using WARN_ON to replace BUG_ON to avoid halting the machine. Besides, one redundant checking is reduced. Signed-off-by: Tina Zhang <tina.zhang@intel.com> Link: https://lore.kernel.org/r/20230406065944.2773296-3-tina.zhang@intel.com Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions