Skip to contentSkip to conversation

iommu: Introduce range operation

PATCH In review Jean Guyader 2 participants 2 messages Nov 15, 2010 – Nov 18, 2010

lore
Share & tools
lore
#0 lore raw

cover iommu: Introduce range operation

Hi,

This patches series add a range operation for the intel iommu.

IOTLBs flushes can be really expensive on some hardware, so we need a range interface to only do the flush once, instead of for each pages.

01: intel_iommu_set_entry
02: iommu_export_set_entry
03: xc_iommu_map_batch

Thanks,
Jean

#1 lore raw
Quoted 7 lines · Jean Guyader

Hi,

This patches series add a range operation for the intel iommu.

IOTLBs flushes can be really expensive on some hardware, so we need a range interface to only do the flush once, instead of for each pages.

I'm going to have a go at TLB flush batching for IOMMUs by extending the existing TLB clock algorithm. Hopefully it will avoid need for guest interface changes.

The tradeoff will be that flushes, when they happen, will be full address space rather than a range flush. But there should be vastly fewer of them. Nonetheless I may make old vs new flush behaviour switchable via a boot parameter for a while.

-- Keir

Quoted 11 lines

01: intel_iommu_set_entry
02: iommu_export_set_entry
03: xc_iommu_map_batch

Thanks,
Jean

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel