Commit 3c894cb
committed
Merge tag 'for-linus-iommufd' of git://git.kernel.org/pub/scm/linux/kernel/git/jgg/iommufd
Pull iommufd fixes from Jason Gunthorpe:
"Some changes to the userspace selftest framework cause the iommufd
tests to start failing. This turned out to be bugs in the iommufd side
that were just getting uncovered.
- Deal with MAP_HUGETLB mmaping more than requested even when in
MAP_FIXED mode
- Fixup missing error flow cleanup in the test
- Check that the memory allocations suceeded
- Suppress some bogus gcc 'may be used uninitialized' warnings"
* tag 'for-linus-iommufd' of git://git.kernel.org/pub/scm/linux/kernel/git/jgg/iommufd:
iommufd/selftest: Fix build warnings due to uninitialized mfd
iommufd/selftest: Add asserts testing global mfd
iommufd/selftest: Add missing close(mfd) in memfd_mmap()
iommufd/selftest: Fix iommufd_dirty_tracking with large hugepage sizes2 files changed
Lines changed: 36 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
| 58 | + | |
57 | 59 | | |
58 | 60 | | |
59 | 61 | | |
| |||
1746 | 1748 | | |
1747 | 1749 | | |
1748 | 1750 | | |
1749 | | - | |
| 1751 | + | |
1750 | 1752 | | |
1751 | 1753 | | |
1752 | 1754 | | |
1753 | 1755 | | |
1754 | 1756 | | |
1755 | 1757 | | |
| 1758 | + | |
| 1759 | + | |
1756 | 1760 | | |
1757 | 1761 | | |
1758 | 1762 | | |
| |||
1798 | 1802 | | |
1799 | 1803 | | |
1800 | 1804 | | |
1801 | | - | |
| 1805 | + | |
1802 | 1806 | | |
1803 | 1807 | | |
1804 | 1808 | | |
1805 | 1809 | | |
1806 | 1810 | | |
1807 | 1811 | | |
| 1812 | + | |
| 1813 | + | |
1808 | 1814 | | |
1809 | 1815 | | |
1810 | 1816 | | |
| |||
2008 | 2014 | | |
2009 | 2015 | | |
2010 | 2016 | | |
| 2017 | + | |
2011 | 2018 | | |
2012 | 2019 | | |
2013 | 2020 | | |
| |||
2022 | 2029 | | |
2023 | 2030 | | |
2024 | 2031 | | |
2025 | | - | |
2026 | | - | |
2027 | | - | |
2028 | | - | |
2029 | | - | |
2030 | | - | |
2031 | 2032 | | |
| 2033 | + | |
2032 | 2034 | | |
2033 | 2035 | | |
2034 | 2036 | | |
2035 | 2037 | | |
2036 | 2038 | | |
2037 | 2039 | | |
| 2040 | + | |
| 2041 | + | |
| 2042 | + | |
| 2043 | + | |
| 2044 | + | |
| 2045 | + | |
| 2046 | + | |
| 2047 | + | |
| 2048 | + | |
| 2049 | + | |
| 2050 | + | |
| 2051 | + | |
| 2052 | + | |
| 2053 | + | |
| 2054 | + | |
| 2055 | + | |
2038 | 2056 | | |
2039 | 2057 | | |
2040 | | - | |
| 2058 | + | |
2041 | 2059 | | |
2042 | 2060 | | |
2043 | 2061 | | |
| |||
2066 | 2084 | | |
2067 | 2085 | | |
2068 | 2086 | | |
2069 | | - | |
2070 | | - | |
| 2087 | + | |
| 2088 | + | |
2071 | 2089 | | |
2072 | 2090 | | |
2073 | 2091 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
67 | | - | |
| 68 | + | |
68 | 69 | | |
69 | | - | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
70 | 75 | | |
71 | 76 | | |
72 | 77 | | |
| |||
0 commit comments