Comments (2)
https://cdrdv2-public.intel.com/671554/intel-whitepaper-using-iommu-for-dma-protection-in-uefi.pdf
https://github.com/tianocore/edk2/blob/master/MdeModulePkg/Include/Protocol/IoMmu.h
It's a bit unfortunate EDKII_IOMMU_MAP doesn't take the EFI_HANDLE. This basically assumes that all IOMMUs in a system have equal capabilities and that the computed bus address (or allocated CPU memory) is equally valid for any IOMMU. That's true for server-grade systems but it doesn't need to be true for any implementation, and certainly won't be true for hardware which provides I/O protection but not translation.
from fdtbuspkg.
As a stop gap can add support for EDII_IOMMU_MAP (as well as an example of a DT controller IOMMU), but it's not a bad idea to come up with a better API.
from fdtbuspkg.
Related Issues (20)
- PciHostBridgeFdtDxe: support ResourceAssigned like PciHostBridgeDxe
- PciHostBridgeFdtDxe: factor out ECAM-specific portions into lib
- PciHostBridgeFdtDxe: Non-coherent DMA support HOT 2
- EFI_DT_IO_PROTOCOL_DMA_EXTRA: add EFI_DT_IO_DMA_NON_COHERENT HOT 1
- FdtBusDxe: check against DmaLib (coherent one)
- FdtBusDxe: support non-coherent devices, checking against DmaLib (non-coherent one)
- FdtBusDxe: implement dma-ranges translation.
- FdtBusDxe: Unit tests for existing DMA implementation HOT 1
- FdtBusDxe: report status code on DtIo failures
- edk2 patch UefiHandleParsingLib: make aware of DtIo/DtInterrupt protocol HOT 1
- FdtBusDxe: use barrier lib in DMA API
- FdtBusDxe: figure out DMA API cache coherence mgmt with system caches (MMIO-based)
- Upstream tech debt: HighMemDxe is not actually needed in OVMF RISC-V HOT 1
- Upstream tech debt: BaseRiscVMmuLib violates PI spec
- Improve DtIo->Lookup and DtDeviceCreate
- Document use of APRIORI to automatically load drivers for certain critical devices
- Add DtIo->GetRegType to match SetRegType HOT 1
- DtIoCopyReg improvs HOT 1
- DtIoPollReg improvs
- DMA API changes HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fdtbuspkg.