Commit 864ad04
committed
Merge tag 'dma-mapping-6.9-2024-03-24' of git://git.infradead.org/users/hch/dma-mapping
Pull dma-mapping fixes from Christoph Hellwig:
"This has a set of swiotlb alignment fixes for sometimes very long
standing bugs from Will. We've been discussion them for a while and
they should be solid now"
* tag 'dma-mapping-6.9-2024-03-24' of git://git.infradead.org/users/hch/dma-mapping:
swiotlb: Reinstate page-alignment for mappings >= PAGE_SIZE
iommu/dma: Force swiotlb_max_mapping_size on an untrusted device
swiotlb: Fix alignment checks when both allocation and DMA masks are present
swiotlb: Honour dma_alloc_coherent() alignment in swiotlb_alloc()
swiotlb: Enforce page alignment in swiotlb_alloc()
swiotlb: Fix double-allocation of slots due to broken alignment handling2 files changed
+42
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1711 | 1711 | | |
1712 | 1712 | | |
1713 | 1713 | | |
| 1714 | + | |
| 1715 | + | |
| 1716 | + | |
| 1717 | + | |
| 1718 | + | |
| 1719 | + | |
| 1720 | + | |
| 1721 | + | |
1714 | 1722 | | |
1715 | 1723 | | |
1716 | 1724 | | |
| |||
1733 | 1741 | | |
1734 | 1742 | | |
1735 | 1743 | | |
| 1744 | + | |
1736 | 1745 | | |
1737 | 1746 | | |
1738 | 1747 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1003 | 1003 | | |
1004 | 1004 | | |
1005 | 1005 | | |
1006 | | - | |
1007 | | - | |
| 1006 | + | |
1008 | 1007 | | |
1009 | 1008 | | |
1010 | 1009 | | |
| |||
1016 | 1015 | | |
1017 | 1016 | | |
1018 | 1017 | | |
1019 | | - | |
1020 | | - | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
| 1022 | + | |
| 1023 | + | |
1021 | 1024 | | |
1022 | | - | |
1023 | | - | |
1024 | | - | |
| 1025 | + | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
| 1031 | + | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
1025 | 1035 | | |
1026 | 1036 | | |
1027 | 1037 | | |
1028 | 1038 | | |
1029 | 1039 | | |
1030 | | - | |
| 1040 | + | |
1031 | 1041 | | |
1032 | 1042 | | |
1033 | 1043 | | |
| |||
1037 | 1047 | | |
1038 | 1048 | | |
1039 | 1049 | | |
| 1050 | + | |
| 1051 | + | |
1040 | 1052 | | |
| 1053 | + | |
1041 | 1054 | | |
1042 | | - | |
1043 | | - | |
1044 | | - | |
| 1055 | + | |
| 1056 | + | |
| 1057 | + | |
1045 | 1058 | | |
1046 | 1059 | | |
1047 | 1060 | | |
| |||
1677 | 1690 | | |
1678 | 1691 | | |
1679 | 1692 | | |
| 1693 | + | |
1680 | 1694 | | |
1681 | 1695 | | |
1682 | 1696 | | |
1683 | 1697 | | |
1684 | 1698 | | |
1685 | | - | |
| 1699 | + | |
| 1700 | + | |
1686 | 1701 | | |
1687 | 1702 | | |
1688 | 1703 | | |
1689 | 1704 | | |
| 1705 | + | |
| 1706 | + | |
| 1707 | + | |
| 1708 | + | |
| 1709 | + | |
| 1710 | + | |
1690 | 1711 | | |
1691 | 1712 | | |
1692 | 1713 | | |
| |||
0 commit comments