Skip to content
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

feat(riscv/iommu): update support for RISC-V IOMMU Device Directory Table #150

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

malejo97
Copy link
Contributor

This PR introduces multiple updates to RISC-V IOMMU support regarding the Device Directory Table.

Changes:

  • Add support for IOMMU implementations without MSI translation, where each Device Context is 32-bytes wide;
  • Add support for multi-level device directory tables;
  • Add mechanism for dynamic selection of IOMMU mode based on the IDs of the devices embedded in the platform.
  • Format all files using clang-format-19

Validation:

  • Tested on CVA6-based SoC w/IOMMU and x4 DMA devices with different ID widths
  • Linux v6.3
  • OpenSBI v1.0

@malejo97 malejo97 force-pushed the feat/riscv-iommu-multilvl-ddt branch from 9e37025 to 9de5457 Compare May 26, 2024 11:59
@malejo97 malejo97 force-pushed the feat/riscv-iommu-multilvl-ddt branch from 9de5457 to 00f78a1 Compare May 26, 2024 12:00
@DavidMCerdeira DavidMCerdeira force-pushed the main branch 2 times, most recently from 59a293c to 8837766 Compare July 16, 2024 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant