-
Notifications
You must be signed in to change notification settings - Fork 75
IOMMU: Add SDF Support #528
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
cazb2
wants to merge
9
commits into
seL4:main
Choose a base branch
from
au-ts:callumb_and_cheng/sdf_iommu_support
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
c4898cf
IOMMU: Clean up sdf.rs
cazb2 f733526
IOMMU: Refactor check_maps
cazb2 92225c7
SDF: Add PCIDevice Type
cazb2 fbbe726
IOMMU: Add SDF Support
cazb2 9a89a50
IOMMU: Update manual
cazb2 7566748
IOMMU: Validate IOMMU Kernel Support
cazb2 2be5b99
IOMMU: Capitalise io in manual
cazb2 52a45cb
IOMMU: Fix an SDF parsing test
cazb2 ad35214
IOMMU: Support domain ids
cazb2 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
example/x86_64_iommu_dma_test/x86_64_iommu_dma_test.system
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <!-- | ||
| Copyright 2026, UNSW | ||
|
|
||
| SPDX-License-Identifier: BSD-2-Clause | ||
| --> | ||
| <system> | ||
| <memory_region name="edu_mmio_window" size="0x10_0000" page_size="0x1000" phys_addr="0xfe00_0000" /> | ||
| <memory_region name="dma_buffer" size="0x1000" page_size="0x1000" /> | ||
| <io_address_space name="QEMU EDU" peripheral_id="0:4.0"> | ||
| <iomap mr="dma_buffer" iovaddr="0x10_0000" /> | ||
| </io_address_space> | ||
|
|
||
| <protection_domain name="x86_64_iommu_dma_test" priority="100"> | ||
| <program_image path="x86_64_iommu_dma_test.elf" /> | ||
| <map mr="edu_mmio_window" vaddr="0x2000_0000" perms="rw" cached="false" setvar_vaddr="edu_mmio_window_vaddr" /> | ||
| <map mr="dma_buffer" vaddr="0x3000_0000" perms="rw" cached="true" setvar_vaddr="dma_buffer_vaddr" /> | ||
| <ioport id="0" addr="0xcf8" size="8" setvar_id="pci_config_ioport_id" /> | ||
| </protection_domain> | ||
| </system> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.