amd iommu smart tlb flushing
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | x86/amd-iommu: Add flush_info to protection domainsarch/ arch/ | +34 | 2 replies | |
| 2/7 | x86/amd-iommu: Introduce iommu_update_domain_tlb functionarch/ | +33 | 0 replies | |
| 3/7 | x86/amd-iommu: Move dte udpate flag into flush_info structurearch/ arch/ | +12 | 0 replies | |
| 4/7 | x86/amd-iommu: Move functions to get rid of forward declarationsarch/ | +44 | 0 replies | |
| 5/7 | x86/amd-iommu: Add function to commit domain changesarch/ | +9 | 0 replies | |
| 6/7 | x86/amd-iommu: Introduce iommu_update_dma_ops_domain()arch/ | +21 | 0 replies | |
| 7/7 | x86/amd-iommu: Reimplement iommu_flush_tlb_pde using iommu_update_domain_tlbarch/ | +7 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/7] amd iommu smart tlb flushing
Hi,
this patchset implements a smarter io-tlb flushing strategy for the AMD IOMMU driver. The old behavior was to flush only a single 4kb entry or the whole domain io-tlb. This patchset implements book keeping about the ranges of PTEs changed in the page table and flushes only that ranges when the flush is actually done.
Joerg
Joerg Roedel (7):
x86/amd-iommu: Add flush_info to protection domains x86/amd-iommu: Introduce iommu_update_domain_tlb function x86/amd-iommu: Move dte udpate flag into flush_info structure x86/amd-iommu: Move functions to get rid of forward declarations x86/amd-iommu: Add function to commit domain changes x86/amd-iommu: Introduce iommu_update_dma_ops_domain() x86/amd-iommu: Reimplement iommu_flush_tlb_pde using iommu_update_domain_tlb
arch/x86/include/asm/amd_iommu_types.h | 13 ++- arch/x86/kernel/amd_iommu.c | 225 ++++++++++++++++---------------- 2 files changed, 124 insertions(+), 114 deletions(-)