extended allocator for amd iommu
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest12 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | amd-iommu: introduce aperture_range structurearch/ arch/ | +43 | 0 replies | |
| 2/12 | amd-iommu: move page table allocation code to seperate functionarch/ | +61 | 0 replies | |
| 3/12 | amd-iommu: handle page table allocation failures in dma_ops codearch/ | +18 | 0 replies | |
| 4/12 | amd-iommu: make address allocator aware of multiple aperture rangesarch/ arch/ | +110 | 0 replies | |
| 5/12 | amd-iommu: change dma_dom->next_bit to dma_dom->next_addressarch/ arch/ | +10 | 0 replies | |
| 6/12 | amd-iommu: move aperture_range allocation code to seperate functionarch/ | +59 | 0 replies | |
| 7/12 | amd-iommu: handle exlusion ranges and unity mappings in alloc_new_rangearch/ | +60 | 0 replies | |
| 8/12 | amd-iommu: enlarge the aperture dynamicallyarch/ | +18 | 0 replies | |
| 9/12 | amd-iommu: remove amd_iommu_size kernel parameterDocumentation/ arch/ arch/ | +4 | 0 replies | |
| 10/12 | amd-iommu: disable round-robin allocator for CONFIG_IOMMU_STRESSarch/ | +5 | 0 replies | |
| 11/12 | amd-iommu: don't preallocate page tables with CONFIG_IOMMU_STRESSarch/ | +4 | 0 replies | |
| 12/12 | amd-iommu: don't free dma adresses below 512MB with CONFIG_IOMMU_STRESSarch/ | +5 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/12] extended allocator for amd iommu
This patchset changes the allocator for dma addresses in the AMD IOMMU driver for Linux to support a dynamic size. This patchset extends the default size for the dma_ops aperture to 128MB per default with pre-allocated page tables. If the address space is too small it will be extended dynamically by another 128MB, this time without preallocating the page tables. This way the aperture can grow up to 4GB. It is designed to be easily extendable to even larger dma_ops apertures. The code also introduces three changes to enable stress testing of this code with CONFIG_IOMMU_STRESS. Please review.
diffstat:
Documentation/kernel-parameters.txt | 5 - arch/x86/include/asm/amd_iommu_types.h | 41 +++- arch/x86/kernel/amd_iommu.c | 439 +++++++++++++++++++++++--------- arch/x86/kernel/amd_iommu_init.c | 15 - 4 files changed, 352 insertions(+), 148 deletions(-)
shortlog:
Joerg Roedel (12):
amd-iommu: introduce aperture_range structure
amd-iommu: move page table allocation code to seperate function
amd-iommu: handle page table allocation failures in dma_ops code
amd-iommu: make address allocator aware of multiple aperture ranges
amd-iommu: change dma_dom->next_bit to dma_dom->next_address
amd-iommu: move aperture_range allocation code to seperate function
amd-iommu: handle exlusion ranges and unity mappings in alloc_new_range
amd-iommu: enlarge the aperture dynamically
amd-iommu: remove amd_iommu_size kernel parameter
amd-iommu: disable round-robin allocator for CONFIG_IOMMU_STRESS
amd-iommu: don't preallocate page tables with CONFIG_IOMMU_STRESS
amd-iommu: don't free dma adresses below 512MB with CONFIG_IOMMU_STRESS