Commit 29c902d
Herton R. Krzesinski
Merge: vfio: Fix sr-iov mdev regression, PCI reset regression, complete baseline migration support
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9/-/merge_requests/1816
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2158449
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2155664
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2158549
Upstream Status: mainline + RHEL-only
Testing: GPU assignment, PF/VF NIC assignment, GVT-g mdev assignment
- A fix in RHEL-only code where we were previously overriding the bus
pointer before jumping out to upstream code and now need to override
the iommu_group pointer instead.
- Fix an upstream regression where we're not performing a PCI secondary
bus reset when the VM is shutdown uncleanly.
- Include feature to report the migration data size, which is necessary
for a baseline migration implementation in userspace.
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Approved-by: Cédric Le Goater <clg@redhat.com>
Approved-by: Cornelia Huck <cohuck@redhat.com>
Approved-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Herton R. Krzesinski <herton@redhat.com>File tree
5 files changed
+109
-27
lines changed- drivers/vfio
- pci
- include
- linux
- uapi/linux
5 files changed
+109
-27
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1865 | 1865 | | |
1866 | 1866 | | |
1867 | 1867 | | |
1868 | | - | |
| 1868 | + | |
| 1869 | + | |
1869 | 1870 | | |
1870 | 1871 | | |
1871 | 1872 | | |
| |||
2208 | 2209 | | |
2209 | 2210 | | |
2210 | 2211 | | |
2211 | | - | |
2212 | | - | |
2213 | | - | |
2214 | | - | |
| 2212 | + | |
| 2213 | + | |
| 2214 | + | |
| 2215 | + | |
| 2216 | + | |
2215 | 2217 | | |
2216 | | - | |
2217 | 2218 | | |
2218 | 2219 | | |
2219 | 2220 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2305 | 2305 | | |
2306 | 2306 | | |
2307 | 2307 | | |
2308 | | - | |
| 2308 | + | |
| 2309 | + | |
| 2310 | + | |
| 2311 | + | |
| 2312 | + | |
| 2313 | + | |
| 2314 | + | |
| 2315 | + | |
2309 | 2316 | | |
2310 | 2317 | | |
2311 | 2318 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
305 | 318 | | |
306 | 319 | | |
307 | 320 | | |
| |||
1085 | 1098 | | |
1086 | 1099 | | |
1087 | 1100 | | |
| 1101 | + | |
| 1102 | + | |
| 1103 | + | |
| 1104 | + | |
| 1105 | + | |
| 1106 | + | |
| 1107 | + | |
| 1108 | + | |
| 1109 | + | |
| 1110 | + | |
| 1111 | + | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
| 1116 | + | |
| 1117 | + | |
| 1118 | + | |
| 1119 | + | |
| 1120 | + | |
1088 | 1121 | | |
1089 | 1122 | | |
1090 | | - | |
1091 | 1123 | | |
1092 | 1124 | | |
1093 | 1125 | | |
| |||
1118 | 1150 | | |
1119 | 1151 | | |
1120 | 1152 | | |
1121 | | - | |
1122 | | - | |
1123 | | - | |
1124 | | - | |
1125 | | - | |
1126 | | - | |
| 1153 | + | |
1127 | 1154 | | |
1128 | 1155 | | |
1129 | 1156 | | |
| |||
1158 | 1185 | | |
1159 | 1186 | | |
1160 | 1187 | | |
1161 | | - | |
1162 | | - | |
| 1188 | + | |
| 1189 | + | |
| 1190 | + | |
1163 | 1191 | | |
1164 | | - | |
1165 | | - | |
1166 | | - | |
1167 | | - | |
| 1192 | + | |
1168 | 1193 | | |
1169 | 1194 | | |
1170 | 1195 | | |
| |||
1360 | 1385 | | |
1361 | 1386 | | |
1362 | 1387 | | |
1363 | | - | |
1364 | 1388 | | |
1365 | 1389 | | |
1366 | 1390 | | |
1367 | 1391 | | |
1368 | | - | |
1369 | | - | |
| 1392 | + | |
| 1393 | + | |
| 1394 | + | |
1370 | 1395 | | |
1371 | | - | |
1372 | | - | |
1373 | | - | |
1374 | | - | |
| 1396 | + | |
| 1397 | + | |
1375 | 1398 | | |
1376 | 1399 | | |
1377 | 1400 | | |
| |||
1607 | 1630 | | |
1608 | 1631 | | |
1609 | 1632 | | |
| 1633 | + | |
| 1634 | + | |
| 1635 | + | |
| 1636 | + | |
| 1637 | + | |
| 1638 | + | |
| 1639 | + | |
| 1640 | + | |
| 1641 | + | |
| 1642 | + | |
| 1643 | + | |
| 1644 | + | |
| 1645 | + | |
| 1646 | + | |
| 1647 | + | |
| 1648 | + | |
| 1649 | + | |
| 1650 | + | |
| 1651 | + | |
| 1652 | + | |
| 1653 | + | |
| 1654 | + | |
| 1655 | + | |
| 1656 | + | |
| 1657 | + | |
| 1658 | + | |
| 1659 | + | |
| 1660 | + | |
1610 | 1661 | | |
1611 | 1662 | | |
1612 | 1663 | | |
| |||
1661 | 1712 | | |
1662 | 1713 | | |
1663 | 1714 | | |
| 1715 | + | |
| 1716 | + | |
| 1717 | + | |
| 1718 | + | |
1664 | 1719 | | |
1665 | 1720 | | |
1666 | 1721 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
102 | 105 | | |
103 | 106 | | |
104 | 107 | | |
105 | 108 | | |
106 | 109 | | |
107 | 110 | | |
108 | 111 | | |
| 112 | + | |
| 113 | + | |
109 | 114 | | |
110 | 115 | | |
111 | 116 | | |
| |||
145 | 150 | | |
146 | 151 | | |
147 | 152 | | |
| 153 | + | |
148 | 154 | | |
149 | 155 | | |
150 | 156 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
986 | 986 | | |
987 | 987 | | |
988 | 988 | | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
| 993 | + | |
| 994 | + | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
989 | 1002 | | |
990 | 1003 | | |
991 | 1004 | | |
| |||
0 commit comments