This repository was archived by the owner on Nov 21, 2022. It is now read-only.
Commit 1577cb5
KVM: arm64: Handle stage-2 faults in parallel
The stage-2 map walker has been made parallel-aware, and as such can be
called while only holding the read side of the MMU lock. Rip out the
conditional locking in user_mem_abort() and instead grab the read lock.
Continue to take the write lock from other callsites to
kvm_pgtable_stage2_map().
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20221107220033.1895655-1-oliver.upton@linux.dev1 parent af87fc0 commit 1577cb5
File tree
4 files changed
+13
-28
lines changed- arch/arm64
- include/asm
- kvm
- hyp
- nvhe
4 files changed
+13
-28
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
412 | 412 | | |
413 | 413 | | |
414 | 414 | | |
| 415 | + | |
415 | 416 | | |
416 | 417 | | |
417 | 418 | | |
| |||
433 | 434 | | |
434 | 435 | | |
435 | 436 | | |
436 | | - | |
| 437 | + | |
437 | 438 | | |
438 | 439 | | |
439 | 440 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
260 | | - | |
| 260 | + | |
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
912 | 912 | | |
913 | 913 | | |
914 | 914 | | |
915 | | - | |
| 915 | + | |
916 | 916 | | |
917 | 917 | | |
918 | 918 | | |
| |||
923 | 923 | | |
924 | 924 | | |
925 | 925 | | |
926 | | - | |
| 926 | + | |
| 927 | + | |
927 | 928 | | |
928 | 929 | | |
929 | 930 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
861 | 861 | | |
862 | 862 | | |
863 | 863 | | |
864 | | - | |
| 864 | + | |
865 | 865 | | |
866 | 866 | | |
867 | 867 | | |
| |||
1156 | 1156 | | |
1157 | 1157 | | |
1158 | 1158 | | |
1159 | | - | |
1160 | 1159 | | |
1161 | 1160 | | |
1162 | 1161 | | |
| |||
1191 | 1190 | | |
1192 | 1191 | | |
1193 | 1192 | | |
1194 | | - | |
1195 | | - | |
1196 | 1193 | | |
1197 | 1194 | | |
1198 | 1195 | | |
| |||
1291 | 1288 | | |
1292 | 1289 | | |
1293 | 1290 | | |
1294 | | - | |
1295 | | - | |
1296 | | - | |
1297 | | - | |
1298 | | - | |
1299 | | - | |
1300 | | - | |
1301 | | - | |
1302 | | - | |
| 1291 | + | |
1303 | 1292 | | |
1304 | 1293 | | |
1305 | 1294 | | |
| |||
1343 | 1332 | | |
1344 | 1333 | | |
1345 | 1334 | | |
1346 | | - | |
| 1335 | + | |
1347 | 1336 | | |
1348 | | - | |
1349 | | - | |
1350 | | - | |
| 1337 | + | |
1351 | 1338 | | |
1352 | 1339 | | |
1353 | | - | |
1354 | | - | |
| 1340 | + | |
1355 | 1341 | | |
1356 | 1342 | | |
1357 | 1343 | | |
| |||
1360 | 1346 | | |
1361 | 1347 | | |
1362 | 1348 | | |
1363 | | - | |
1364 | | - | |
1365 | | - | |
1366 | | - | |
| 1349 | + | |
1367 | 1350 | | |
1368 | 1351 | | |
1369 | 1352 | | |
| |||
1569 | 1552 | | |
1570 | 1553 | | |
1571 | 1554 | | |
1572 | | - | |
| 1555 | + | |
1573 | 1556 | | |
1574 | 1557 | | |
1575 | 1558 | | |
| |||
0 commit comments