Skip to content

Conversation

@likebreath
Copy link
Member

Note: this PR depends on #7057 and #7063

To support PCIe P2P between VFIO devices, we populate IOMMU mappings for
the non-emulated MMIO regions of all VFIO devices via
VFIO_IOMMU_MAP_DMA (f0c1f8d), but the patch did not properly update
the IOMMU mappings with BAR reprogramming.

Fixes: #7027

@likebreath likebreath requested a review from a team as a code owner May 13, 2025 22:01
@likebreath likebreath force-pushed the 0513/fix_vfio_iommu_mapping branch 2 times, most recently from 06fa253 to c8c1bc1 Compare May 14, 2025 16:46
To support PCIe P2P between VFIO devices, we populate IOMMU mappings for
the non-emulated MMIO regions of all VFIO devices via
`VFIO_IOMMU_MAP_DMA` (f0c1f8d), but the patch did not properly update
the IOMMU mappings with BAR reprogramming.

Fixes: cloud-hypervisor#7027

Signed-off-by: Bo Chen <[email protected]>
@likebreath likebreath force-pushed the 0513/fix_vfio_iommu_mapping branch from c8c1bc1 to ae6043b Compare May 15, 2025 19:12
@likebreath likebreath added this pull request to the merge queue May 15, 2025
Merged via the queue into cloud-hypervisor:main with commit 596d645 May 15, 2025
39 checks passed
@likebreath likebreath moved this from 🆕 New to ✅ Done in Cloud Hypervisor Roadmap May 22, 2025
@likebreath likebreath added the bug-fix Bug fix to include in release notes label May 22, 2025
@likebreath likebreath deleted the 0513/fix_vfio_iommu_mapping branch July 16, 2025 23:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug-fix Bug fix to include in release notes

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

VFIO device BAR reprogramming doesn't move VFIO IOMMU mappings

2 participants