* Not fully traversing iova reservations bug
@ 2025-01-10 6:19 Yee Li
0 siblings, 0 replies; only message in thread
From: Yee Li @ 2025-01-10 6:19 UTC (permalink / raw)
To: iommu
Dear All,
Is there any other method to fix not fully traversing iova reservations bug.
A case:
For multiple devices in the same iommu group, sorted later device (based
on Bus:Dev.Func) have the RMRR.
Sorted earlier device (without RMRR) initialized the iova domain causing
the sorted later device goto done_unlock in iommu_dma_init_domain.
if (iovad->start_pfn) {
if (1UL << order != iovad->granule ||
base_pfn != iovad->start_pfn) {
pr_warn("Incompatible range for DMA domain\n");
ret = -EFAULT;
goto done_unlock;
}
ret = 0;
goto done_unlock;
}
Actually RMRR ignored.
The solution patch link(no response so far):
https://lore.kernel.org/lkml/20240819104219.8057-1-LeoLiu-oc@zhaoxin.com/T/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-01-10 6:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-10 6:19 Not fully traversing iova reservations bug Yee Li
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox