Age | Commit message (Collapse) | Author | Files | Lines |
|
These APIs are used by KVM to use VT-d
Signed-off-by: Weidong Han <[email protected]>
Signed-off-by: Joerg Roedel <[email protected]>
|
|
"SAGAW" capability may be different across iommus. Use a default agaw, but if default agaw is not supported in some iommus, choose a less supported agaw.
Signed-off-by: Weidong Han <[email protected]>
Signed-off-by: Joerg Roedel <[email protected]>
|
|
The seg, saved_msg and sysdev fields appear to be unused since
before the code was first merged.
linux/msi.h is not needed in linux/intel-iommu.h anymore since
there is no longer a reference to struct msi_msg. The MSI code
in drivers/pci/intel-iommu.c still has linux/msi.h included
via linux/dmar.h.
linux/sysdev.h isn't needed because there is no reference to
struct sys_device.
Signed-off-by: Mark McLoughlin <[email protected]>
Signed-off-by: David Woodhouse <[email protected]>
|
|
The current Intel IOMMU code assumes that both host page size and Intel
IOMMU page size are 4KiB. The first patch supports variable page size.
This provides support for IA64 which has multiple page sizes.
This patch also adds some other code hooks for IA64 platform including
DMAR_OPERATION_TIMEOUT definition.
[dwmw2: some cleanup]
Signed-off-by: Fenghua Yu <[email protected]>
Signed-off-by: Tony Luck <[email protected]>
Signed-off-by: David Woodhouse <[email protected]>
|
|
If queued invalidation interface is available and enabled, queued invalidation
interface will be used instead of the register based interface.
According to Vt-d2 specification, when queued invalidation is enabled,
invalidation command submit works only through invalidation queue and not
through the command registers interface.
Signed-off-by: Youquan Song <[email protected]>
Signed-off-by: Suresh Siddha <[email protected]>
Signed-off-by: David Woodhouse <[email protected]>
|
|
Implement context cache invalidate and IOTLB invalidation using
queued invalidation interface. This interface will be used by
DMA remapping, when queued invalidation is supported.
Signed-off-by: Youquan Song <[email protected]>
Signed-off-by: Suresh Siddha <[email protected]>
Signed-off-by: David Woodhouse <[email protected]>
|
|
This patch extends the VT-d driver to support KVM
[Ben: fixed memory pinning]
[avi: move dma_remapping.h as well]
Signed-off-by: Kay, Allen M <[email protected]>
Signed-off-by: Weidong Han <[email protected]>
Signed-off-by: Ben-Ami Yassour <[email protected]>
Signed-off-by: Amit Shah <[email protected]>
Acked-by: Mark Gross <[email protected]>
Signed-off-by: Avi Kivity <[email protected]>
|