index
:
kernel/git/torvalds/linux.git
master
Linux kernel source tree
Linus Torvalds
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
kernel
/
dma
/
swiotlb.c
Age
Commit message (
Expand
)
Author
Files
Lines
4 days
Merge tag 'dma-mapping-6.10-2024-05-20' of git://git.infradead.org/users/hch/...
Linus Torvalds
1
-14
/
+48
2024-05-09
dma: fix DMA sync for drivers not calling dma_set_mask*()
Alexander Lobakin
1
-1
/
+1
2024-05-07
dma: avoid redundant calls for sync operations
Alexander Lobakin
1
-0
/
+6
2024-05-07
swiotlb: remove alloc_size argument to swiotlb_tbl_map_single()
Michael Kelley
1
-14
/
+42
2024-05-02
swiotlb: initialise restricted pool list_head when SWIOTLB_DYNAMIC=y
Will Deacon
1
-0
/
+1
2024-04-02
swiotlb: do not set total_used to 0 in swiotlb_create_debugfs_files()
Dexuan Cui
1
-4
/
+0
2024-04-02
swiotlb: fix swiotlb_bounce() to do partial sync's correctly
Michael Kelley
1
-17
/
+13
2024-04-02
swiotlb: extend buffer pre-padding to alloc_align_mask if necessary
Petr Tesarik
1
-13
/
+46
2024-03-13
swiotlb: Reinstate page-alignment for mappings >= PAGE_SIZE
Will Deacon
1
-7
/
+11
2024-03-13
swiotlb: Fix alignment checks when both allocation and DMA masks are present
Will Deacon
1
-2
/
+9
2024-03-13
swiotlb: Honour dma_alloc_coherent() alignment in swiotlb_alloc()
Will Deacon
1
-1
/
+3
2024-03-13
swiotlb: Enforce page alignment in swiotlb_alloc()
Will Deacon
1
-0
/
+6
2024-03-13
swiotlb: Fix double-allocation of slots due to broken alignment handling
Will Deacon
1
-12
/
+14
2024-02-28
swiotlb: add debugfs to track swiotlb transient pool usage
ZhangPeng
1
-0
/
+46
2024-01-18
Merge tag 'dma-mapping-6.8-2024-01-18' of git://git.infradead.org/users/hch/d...
Linus Torvalds
1
-0
/
+3
2024-01-11
Merge tag 'dma-mapping-6.8-2024-01-08' of git://git.infradead.org/users/hch/d...
Linus Torvalds
1
-35
/
+55
2024-01-09
swiotlb: check alloc_size before the allocation of a new memory pool
ZhangPeng
1
-0
/
+3
2024-01-08
mm, treewide: rename MAX_ORDER to MAX_PAGE_ORDER
Kirill A. Shutemov
1
-2
/
+2
2023-12-15
swiotlb: reduce area lock contention for non-primary IO TLB pools
Petr Tesarik
1
-35
/
+55
2023-11-08
swiotlb: fix out-of-bounds TLB allocations with CONFIG_SWIOTLB_DYNAMIC
Petr Tesarik
1
-1
/
+2
2023-11-03
swiotlb: do not free decrypted pages if dynamic
Petr Tesarik
1
-9
/
+16
2023-11-01
Merge tag 'dma-mapping-6.7-2023-10-30' of git://git.infradead.org/users/hch/d...
Linus Torvalds
1
-5
/
+7
2023-10-25
swiotlb: do not try to allocate a TLB bigger than MAX_ORDER pages
Petr Tesarik
1
-0
/
+5
2023-10-23
swiotlb: rewrite comment explaining why the source is preserved on DMA_FROM_D...
Sean Christopherson
1
-5
/
+7
2023-09-27
swiotlb: fix the check whether a device has used software IO TLB
Petr Tesarik
1
-6
/
+20
2023-09-13
swiotlb: use the calculated number of areas
Ross Lagerwall
1
-3
/
+2
2023-08-08
swiotlb: optimize get_max_slots()
Petr Tesarik
1
-3
/
+1
2023-08-08
swiotlb: move slot allocation explanation comment where it belongs
Petr Tesarik
1
-5
/
+5
2023-08-01
swiotlb: search the software IO TLB only if the device makes use of it
Petr Tesarik
1
-8
/
+6
2023-08-01
swiotlb: allocate a new memory pool when existing pools are full
Petr Tesarik
1
-25
/
+123
2023-08-01
swiotlb: determine potential physical address limit
Petr Tesarik
1
-0
/
+14
2023-08-01
swiotlb: if swiotlb is full, fall back to a transient memory pool
Petr Tesarik
1
-8
/
+308
2023-08-01
swiotlb: add a flag whether SWIOTLB is allowed to grow
Petr Tesarik
1
-0
/
+13
2023-08-01
swiotlb: separate memory pool data from other allocator data
Petr Tesarik
1
-64
/
+111
2023-08-01
swiotlb: add documentation and rename swiotlb_do_find_slots()
Petr Tesarik
1
-6
/
+55
2023-08-01
swiotlb: make io_tlb_default_mem local to swiotlb.c
Petr Tesarik
1
-1
/
+38
2023-08-01
swiotlb: bail out of swiotlb_init_late() if swiotlb is already allocated
Petr Tesarik
1
-0
/
+3
2023-07-31
swiotlb: unexport is_swiotlb_active
Christoph Hellwig
1
-1
/
+0
2023-06-29
swiotlb: reduce the number of areas to match actual memory pool size
Petr Tesarik
1
-3
/
+24
2023-06-29
swiotlb: always set the number of areas before allocating the pool
Petr Tesarik
1
-8
/
+11
2023-06-07
swiotlb: use the atomic counter of total used slabs if available
Petr Tesarik
1
-0
/
+11
2023-04-29
Merge tag 'dma-mapping-6.4-2023-04-28' of git://git.infradead.org/users/hch/d...
Linus Torvalds
1
-10
/
+87
2023-04-20
swiotlb: Omit total_used and used_hiwater if !CONFIG_DEBUG_FS
Petr Tesarik
1
-3
/
+12
2023-04-17
swiotlb: Remove bounce buffer remapping for Hyper-V
Michael Kelley
1
-44
/
+1
2023-04-16
swiotlb: track and report io_tlb_used high water marks in debugfs
Michael Kelley
1
-0
/
+66
2023-04-16
swiotlb: fix debugfs reporting of reserved memory pools
Michael Kelley
1
-2
/
+4
2023-04-16
swiotlb: relocate PageHighMem test away from rmem_swiotlb_setup
Doug Berger
1
-5
/
+5
2023-04-06
swiotlb: fix a braino in the alignment check fix
Petr Tesarik
1
-3
/
+3
2023-03-22
swiotlb: fix slot alignment checks
Petr Tesarik
1
-6
/
+10
2023-03-22
swiotlb: use wrap_area_index() instead of open-coding it
Petr Tesarik
1
-4
/
+1
2023-03-15
swiotlb: fix the deadlock in swiotlb_do_find_slots
GuoRui.Yu
1
-4
/
+6
2023-02-22
swiotlb: mark swiotlb_memblock_alloc() as __init
Randy Dunlap
1
-1
/
+2
2023-02-16
swiotlb: remove swiotlb_max_segment
Christoph Hellwig
1
-8
/
+0
2022-11-01
swiotlb: reduce the swiotlb buffer size on allocation failure
Alexey Kardashevskiy
1
-24
/
+39
2022-09-20
swiotlb: don't panic!
Robin Murphy
1
-11
/
+19
2022-09-20
swiotlb: replace kmap_atomic() with memcpy_{from,to}_page()
Fabio M. De Francesco
1
-6
/
+4
2022-09-07
swiotlb: fix a typo
Chao Gao
1
-1
/
+1
2022-09-07
swiotlb: avoid potential left shift overflow
Chao Gao
1
-1
/
+4
2022-09-07
Revert "swiotlb: panic if nslabs is too small"
Yu Zhao
1
-5
/
+1
2022-07-28
swiotlb: fix passing local variable to debugfs_create_ulong()
Tianyu Lan
1
-3
/
+9
2022-07-22
swiotlb: clean up some coding style and minor issues
Tianyu Lan
1
-11
/
+15
2022-07-18
swiotlb: move struct io_tlb_slot to swiotlb.c
Christoph Hellwig
1
-0
/
+6
2022-07-18
swiotlb: ensure a segment doesn't cross the area boundary
Chao Gao
1
-1
/
+10
2022-07-18
swiotlb: consolidate rounding up default_nslabs
Chao Gao
1
-17
/
+16
2022-07-18
swiotlb: remove unused fields in io_tlb_mem
Chao Gao
1
-2
/
+0
2022-07-18
swiotlb: fix use after free on error handling path
Dan Carpenter
1
-1
/
+1
2022-07-13
swiotlb: split up the global swiotlb lock
Tianyu Lan
1
-40
/
+189
2022-07-12
swiotlb: fail map correctly with failed io_tlb_default_mem
Robin Murphy
1
-1
/
+1
2022-06-22
swiotlb: panic if nslabs is too small
Dongli Zhang
1
-1
/
+5
2022-06-22
swiotlb: remove a useless return in swiotlb_init
Dongli Zhang
1
-1
/
+1
2022-06-02
swiotlb: fix setting ->force_bounce
Christoph Hellwig
1
-8
/
+6
2022-05-17
swiotlb: max mapping size takes min align mask into account
Tianyu Lan
1
-1
/
+12
2022-05-13
swiotlb: use the right nslabs-derived sizes in swiotlb_init_late
Christoph Hellwig
1
-8
/
+11
2022-05-13
swiotlb: use the right nslabs value in swiotlb_init_remap
Christoph Hellwig
1
-3
/
+4
2022-05-13
swiotlb: don't panic when the swiotlb buffer can't be allocated
Christoph Hellwig
1
-2
/
+4
2022-04-18
swiotlb: remove swiotlb_init_with_tbl and swiotlb_init_late_with_tbl
Christoph Hellwig
1
-57
/
+20
2022-04-18
swiotlb: provide swiotlb_init variants that remap the buffer
Christoph Hellwig
1
-3
/
+33
2022-04-18
swiotlb: pass a gfp_mask argument to swiotlb_init_late
Christoph Hellwig
1
-5
/
+2
2022-04-18
swiotlb: add a SWIOTLB_ANY flag to lift the low memory restriction
Christoph Hellwig
1
-2
/
+9
2022-04-18
swiotlb: make the swiotlb_init interface more useful
Christoph Hellwig
1
-16
/
+19
2022-04-18
swiotlb: rename swiotlb_late_init_with_default_size
Christoph Hellwig
1
-4
/
+2
2022-04-18
swiotlb: simplify swiotlb_max_segment
Christoph Hellwig
1
-17
/
+3
2022-04-18
swiotlb: make swiotlb_exit a no-op if SWIOTLB_FORCE is set
Christoph Hellwig
1
-0
/
+3
2022-03-29
Merge tag 'dma-mapping-5.18' of git://git.infradead.org/users/hch/dma-mapping
Linus Torvalds
1
-52
/
+24
2022-03-28
Reinstate some of "swiotlb: rework "fix info leak with DMA_FROM_DEVICE""
Linus Torvalds
1
-4
/
+8
2022-03-26
Revert "swiotlb: rework "fix info leak with DMA_FROM_DEVICE""
Linus Torvalds
1
-15
/
+8
2022-03-07
swiotlb: rework "fix info leak with DMA_FROM_DEVICE"
Halil Pasic
1
-8
/
+15
2022-02-14
swiotlb: fix info leak with DMA_FROM_DEVICE
Halil Pasic
1
-1
/
+2
2022-01-26
swiotlb: simplify array allocation
Robin Murphy
1
-2
/
+1
2022-01-26
swiotlb: tidy up includes
Robin Murphy
1
-18
/
+13
2022-01-26
swiotlb: simplify debugfs setup
Robin Murphy
1
-30
/
+10
2022-01-26
swiotlb: do not zero buffer in set_memory_decrypted()
Kirill A. Shutemov
1
-2
/
+0
2022-01-04
swiotlb: Add CONFIG_HAS_IOMEM check around swiotlb_mem_remap()
Wei Liu
1
-0
/
+7
2021-12-20
swiotlb: Add swiotlb bounce buffer remap function for HV IVM
Tianyu Lan
1
-2
/
+41
2021-11-06
Merge branch 'akpm' (patches from Andrew)
Linus Torvalds
1
-1
/
+1
2021-11-06
memblock: use memblock_free for freeing virtual pointers
Mike Rapoport
1
-1
/
+1
2021-11-06
memblock: rename memblock_free to memblock_phys_free
Mike Rapoport
1
-1
/
+1
2021-11-06
memblock: drop memblock_free_early_nid() and memblock_free_early()
Mike Rapoport
1
-1
/
+1
2021-11-04
Merge tag 'iommu-updates-v5.16' of git://git.kernel.org/pub/scm/linux/kernel/...
Linus Torvalds
1
-5
/
+8
2021-10-04
treewide: Replace the use of mem_encrypt_active() with cc_platform_has()
Tom Lendacky
1
-2
/
+2
2021-09-29
swiotlb: Support aligned swiotlb buffers
David Stevens
1
-5
/
+8
2021-07-23
swiotlb: Free tbl memory in swiotlb_exit()
Will Deacon
1
-6
/
+15
2021-07-23
swiotlb: Emit diagnostic in swiotlb_exit()
Will Deacon
1
-0
/
+1
2021-07-23
swiotlb: Convert io_default_tlb_mem to static allocation
Will Deacon
1
-30
/
+36
2021-07-13
swiotlb: add overflow checks to swiotlb_bounce
Dominique Martinet
1
-3
/
+17
2021-07-13
swiotlb: fix implicit debugfs declarations
Claire Chang
1
-5
/
+16
2021-07-13
swiotlb: Add restricted DMA pool initialization
Claire Chang
1
-0
/
+76
2021-07-13
swiotlb: Add restricted DMA alloc/free support
Claire Chang
1
-2
/
+36
2021-07-13
swiotlb: Refactor swiotlb_tbl_unmap_single
Claire Chang
1
-15
/
+20
2021-07-13
swiotlb: Move alloc_size to swiotlb_find_slots
Claire Chang
1
-8
/
+9
2021-07-13
swiotlb: Use is_swiotlb_force_bounce for swiotlb data bouncing
Claire Chang
1
-0
/
+4
2021-07-13
swiotlb: Update is_swiotlb_active to add a struct device argument
Claire Chang
1
-2
/
+2
2021-07-13
swiotlb: Set dev->dma_io_tlb_mem to the swiotlb pool used
Claire Chang
1
-4
/
+4
2021-07-13
swiotlb: Refactor swiotlb_create_debugfs
Claire Chang
1
-7
/
+14
2021-07-13
swiotlb: Refactor swiotlb init functions
Claire Chang
1
-25
/
+25
2021-06-21
swiotlb: manipulate orig_addr when tlb_addr has offset
Bumyong Lee
1
-8
/
+15
2021-04-29
swiotlb: don't override user specified size in swiotlb_adjust_size
Christoph Hellwig
1
-0
/
+2
2021-04-27
swiotlb: Fix the type of index
Claire Chang
1
-1
/
+2
2021-04-01
swiotlb: Make SWIOTLB_NO_FORCE perform no allocation
Florian Fainelli
1
-4
/
+14
2021-03-19
swiotlb: remove swiotlb_nr_tbl
Christoph Hellwig
1
-6
/
+1
2021-03-19
swiotlb: dynamically allocate io_tlb_default_mem
Christoph Hellwig
1
-207
/
+99
2021-03-19
swiotlb: move global variables into a new io_tlb_mem structure
Claire Chang
1
-190
/
+164
2021-03-17
swiotlb: lift the double initialization protection from xen-swiotlb
Christoph Hellwig
1
-0
/
+8
2021-03-17
swiotlb: split swiotlb_tbl_sync_single
Christoph Hellwig
1
-19
/
+15
2021-03-17
swiotlb: move orig addr and size validation into swiotlb_bounce
Christoph Hellwig
1
-36
/
+23
2021-03-17
swiotlb: remove the alloc_size parameter to swiotlb_tbl_unmap_single
Christoph Hellwig
1
-22
/
+23
2021-02-26
swiotlb: Validate bounce size in the sync/unmap path
Martin Radev
1
-3
/
+50
2021-02-26
swiotlb: respect min_align_mask
Christoph Hellwig
1
-10
/
+31
2021-02-22
swiotlb: don't modify orig_addr in swiotlb_tbl_sync_single
Christoph Hellwig
1
-1
/
+0
2021-02-22
swiotlb: refactor swiotlb_tbl_map_single
Christoph Hellwig
1
-90
/
+89
2021-02-20
swiotlb: clean up swiotlb_tbl_unmap_single
Christoph Hellwig
1
-20
/
+21
2021-02-20
swiotlb: factor out a nr_slots helper
Christoph Hellwig
1
-4
/
+9
2021-02-20
swiotlb: factor out an io_tlb_offset helper
Christoph Hellwig
1
-7
/
+13
2021-02-20
swiotlb: add a IO_TLB_SIZE define
Christoph Hellwig
1
-7
/
+7
2020-12-11
x86,swiotlb: Adjust SWIOTLB bounce buffer size for SEV guests
Ashish Kalra
1
-2
/
+18
2020-11-02
swiotlb: remove the tbl_dma_addr argument to swiotlb_tbl_map_single
Christoph Hellwig
1
-10
/
+6
2020-11-02
swiotlb: fix "x86: Don't panic if can not alloc buffer for swiotlb"
Stefano Stabellini
1
-1
/
+5
2020-10-15
Merge tag 'dma-mapping-5.10' of git://git.infradead.org/users/hch/dma-mapping
Linus Torvalds
1
-3
/
+3
2020-10-06
dma-mapping: merge <linux/dma-noncoherent.h> into <linux/dma-map-ops.h>
Christoph Hellwig
1
-1
/
+1
2020-09-11
dma-direct: rename and cleanup __phys_to_dma
Christoph Hellwig
1
-2
/
+2
2020-09-10
swiotlb: Mark max_segment with static keyword
Andy Shevchenko
1
-1
/
+1
2020-09-10
swiotlb: Use %pa to print phys_addr_t variables
Andy Shevchenko
1
-3
/
+1
2020-02-05
dma-direct: improve swiotlb error reporting
Christoph Hellwig
1
-19
/
+23
2019-11-20
dma-direct: exclude dma_direct_map_resource from the min_low_pfn check
Christoph Hellwig
1
-1
/
+1
2019-09-20
Merge tag 'powerpc-5.4-1' of git://git.kernel.org/pub/scm/linux/kernel/git/po...
Linus Torvalds
1
-2
/
+1
2019-09-11
swiotlb: Split size parameter to map/unmap APIs
Lu Baolu
1
-13
/
+21
2019-08-09
swiotlb: Remove call to sme_active()
Thiago Jung Bauermann
1
-2
/
+1
2019-07-18
Merge branch 'for-linus-5.2' of git://git.kernel.org/pub/scm/linux/kernel/git...
Linus Torvalds
1
-14
/
+16
2019-07-03
swiotlb: no need to check return value of debugfs_create functions
Greg Kroah-Hartman
1
-21
/
+4
2019-06-19
Merge branch 'stable/for-linus-5.2' into devel/for-linus-5.2
Konrad Rzeszutek Wilk
1
-2
/
+2
2019-06-19
swiotlb: fix phys_addr_t overflow warning
Arnd Bergmann
1
-2
/
+2
2019-06-11
swiotlb: Return consistent SWIOTLB segments/nr_tbl
Florian Fainelli
1
-4
/
+4
2019-06-11
swiotlb: Group identical cleanup in swiotlb_cleanup()
Florian Fainelli
1
-8
/
+10
2019-05-21
treewide: Add SPDX license identifier for missed files
Thomas Gleixner
1
-0
/
+1
2019-05-07
Merge branch 'stable/for-linus-5.2' of git://git.kernel.org/pub/scm/linux/ker...
Linus Torvalds
1
-1
/
+5
2019-04-12
swiotlb: save io_tlb_used to local variable before leaving critical section
Dongli Zhang
1
-2
/
+5
2019-04-10
swiotlb: dump used and total slots when swiotlb buffer is full
Dongli Zhang
1
-1
/
+2
2019-03-12
memblock: drop memblock_alloc_*_nopanic() variants
Mike Rapoport
1
-1
/
+1
2019-03-12
treewide: add checks for the return value of memblock_alloc*()
Mike Rapoport
1
-2
/
+2
2019-03-12
swiotlb: add checks for the return value of memblock_alloc*()
Mike Rapoport
1
-6
/
+13
2019-03-10
Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
Linus Torvalds
1
-0
/
+14
2019-03-08
Merge branch 'stable/for-linus-5.1' of git://git.kernel.org/pub/scm/linux/ker...
Linus Torvalds
1
-1
/
+49
2019-03-07
Merge tag 'powerpc-5.1-1' of git://git.kernel.org/pub/scm/linux/kernel/git/po...
Linus Torvalds
1
-12
/
+0
2019-03-06
swiotlb: Add is_swiotlb_active() function
Joerg Roedel
1
-0
/
+9
2019-03-06
swiotlb: Introduce swiotlb_max_mapping_size()
Joerg Roedel
1
-0
/
+5
2019-02-18
swiotlb: remove swiotlb_dma_supported
Christoph Hellwig
1
-12
/
+0
2019-02-16
swiotlb: drop pointless static qualifier in swiotlb_create_debugfs()
YueHaibing
1
-1
/
+1
2019-02-12
swiotlb: checking whether swiotlb buffer is full with io_tlb_used
Dongli Zhang
1
-0
/
+4
2019-02-12
swiotlb: add debugfs to track swiotlb buffer usage
Dongli Zhang
1
-0
/
+44
2019-02-12
swiotlb: fix comment on swiotlb_bounce()
Dongli Zhang
1
-1
/
+1
2019-01-16
swiotlb: clear io_tlb_start and io_tlb_end in swiotlb_exit
Christoph Hellwig
1
-0
/
+2
2018-12-13
dma-direct: merge swiotlb_dma_ops into the dma_direct code
Christoph Hellwig
1
-219
/
+13
2018-12-13
swiotlb: remove dma_mark_clean
Christoph Hellwig
1
-17
/
+1
2018-12-13
swiotlb: remove SWIOTLB_MAP_ERROR
Christoph Hellwig
1
-2
/
+2
2018-12-06
dma-direct: remove the mapping_error dma_map_ops method
Christoph Hellwig
1
-6
/
+5
2018-11-21
swiotlb: Skip cache maintenance on map error
Robin Murphy
1
-1
/
+2
2018-10-31
mm: remove include/linux/bootmem.h
Mike Rapoport
1
-1
/
+1
2018-10-31
memblock: remove _virt from APIs returning virtual address
Mike Rapoport
1
-3
/
+3
2018-10-19
swiotlb: add support for non-coherent DMA
Christoph Hellwig
1
-10
/
+23
2018-10-19
swiotlb: don't dip into swiotlb pool for coherent allocations
Christoph Hellwig
1
-103
/
+2
2018-10-19
swiotlb: refactor swiotlb_map_page
Christoph Hellwig
1
-37
/
+30
2018-10-19
swiotlb: use swiotlb_map_page in swiotlb_map_sg_attrs
Christoph Hellwig
1
-22
/
+12
2018-10-19
swiotlb: merge swiotlb_unmap_page and unmap_single
Christoph Hellwig
1
-11
/
+4
2018-10-19
swiotlb: remove the overflow buffer
Christoph Hellwig
1
-56
/
+3
2018-10-19
swiotlb: do not panic on mapping failures
Christoph Hellwig
1
-32
/
+1
2018-10-19
swiotlb: mark is_swiotlb_buffer static
Christoph Hellwig
1
-1
/
+1
2018-10-19
swiotlb: remove a pointless comment
Christoph Hellwig
1
-6
/
+0
2018-07-25
swiotlb: clean up reporting
Kees Cook
1
-10
/
+8
2018-06-28
swiotlb: export swiotlb_dma_ops
Christoph Hellwig
1
-0
/
+1
2018-06-14
dma-mapping: move all DMA mapping code to kernel/dma
Christoph Hellwig
1
-0
/
+1087