mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-26 19:14:18 +00:00
Previously, the domain_context_clear() function incorrectly called
pci_for_each_dma_alias() to set up context entries for non-PCI devices.
This could lead to kernel hangs or other unexpected behavior.
Add a check to only call pci_for_each_dma_alias() for PCI devices. For
non-PCI devices, domain_context_clear_one() is called directly.
Reported-by: Todd Brandt <todd.e.brandt@intel.com>
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=219363
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=219349
Fixes:
|
History
|
|
|---|---|---|
| .. | ||
| cache.c | ||
| cap_audit.c | ||
| cap_audit.h | ||
| debugfs.c | ||
| dmar.c | ||
| iommu.c | ||
| iommu.h | ||
| irq_remapping.c | ||
| Kconfig | ||
| Makefile | ||
| nested.c | ||
| pasid.c | ||
| pasid.h | ||
| perf.c | ||
| perf.h | ||
| perfmon.c | ||
| perfmon.h | ||
| svm.c | ||
| trace.c | ||
| trace.h | ||