Skip to content

Commit

Permalink
Add SMMU Dxe Driver
Browse files Browse the repository at this point in the history
- Consume SMMU config HOB
- Add IORT
- Configure Smmu, stream table, cmd/event queues
- Configure SMMU page tables
- Add IoMmu protocol
- Enable SMMU for stage 2 translation & dma remapping
  • Loading branch information
eeshanl committed Dec 14, 2024
1 parent 54c5d06 commit b719805
Show file tree
Hide file tree
Showing 13 changed files with 4,110 additions and 12 deletions.
4 changes: 4 additions & 0 deletions ArmPkg/ArmPkg.dec
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,10 @@
# Include/Guid/ArmMpCoreInfo.h
gArmMpCoreInfoGuid = { 0xa4ee0728, 0xe5d7, 0x4ac5, {0xb2, 0x1e, 0x65, 0x8e, 0xd8, 0x57, 0xe8, 0x34} }

## SMMU config data
# Include/Guid/SmmuConfig.h
gEfiSmmuConfigGuid = { 0xcd56ec8f, 0x75f1, 0x440a, { 0xaa, 0x48, 0x09, 0x58, 0xb1, 0x1c, 0x9a, 0xa7 } }

gArmMmuReplaceLiveTranslationEntryFuncGuid = { 0xa8b50ff3, 0x08ec, 0x4dd3, {0xbf, 0x04, 0x28, 0xbf, 0x71, 0x75, 0xc7, 0x4a} }

[Protocols.common]
Expand Down
1 change: 1 addition & 0 deletions ArmPkg/ArmPkg.dsc
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@
ArmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreEntryPoint.inf
# MU_CHANGE [END]
ArmPkg/Drivers/MmCommunicationPei/MmCommunicationPei.inf
ArmPkg/Drivers/SmmuDxe/SmmuDxe.inf

[Components.AARCH64]
ArmPkg/Drivers/ArmPsciMpServicesDxe/ArmPsciMpServicesDxe.inf
Expand Down
Loading

0 comments on commit b719805

Please sign in to comment.