[EGS] Replace Intel SVM with IOMMU SVA APIs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
intel |
Fix Released
|
Undecided
|
Unassigned | ||
Ubuntu |
New
|
Undecided
|
Unassigned |
Bug Description
Description:
Shared virtual address (SVA) capable accelerator device drivers on Intel
platform are required to call VT-d driver directly to bind a device with
a given address space. It is conceptually incorrect with the following
reasons:
A device driver is bypassing IOMMU generic layer
Device driver cannot be reused across architectures
Opens a door to duplicated code
Generic SVA APIs was introduced[1] and partially merged upstream which
created a common ground for vendor IOMMU driver to consolidate SVA code.
On the other hand, Uacce (Unified/
Framework) [2] is emerging to be a generic user-kernel interface for SVA
capable devices.
IOMMU generic SVA APIs are used by Uacce. Therefore, replacing VT-d SVM
code with IOMMU SVA APIs are required by device drivers want to use
Uacce.
The features below will continue to work but are not included in this patch
in that they are handled mostly within the IOMMU subsystem.
IO page fault
mmu notifier
Consolidation of the above will come after generic IOMMU sva code[1].
This will be a second phase and under difference JIRA feature.
There should not be any changes needed for accelerator device drivers
during this time.
References:
[1] http://
[2] https:/
Target Release: 20.10
Target Kernel: 5.8
information type: | Public → Private |
Changed in intel: | |
status: | New → Fix Committed |
information type: | Private → Public |
Changed in intel: | |
status: | Fix Committed → Fix Released |
064a57d7ddfc46a da02b477b91c478 001b03bfa3 559a2c63e8645a7 033f9623c4
76fdd6c59532630