Commit fd6f17b
KVM: arm64: Remove the creation time's mapping of MMIO regions
The MMIO regions may be unmapped for many reasons and can be remapped
by stage2 fault path. Map MMIO regions at creation time becomes a
minor optimization and makes these two mapping path hard to sync.
Remove the mapping code while keep the useful sanity check.
Signed-off-by: Keqian Zhu <zhukeqian1@huawei.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210507110322.23348-2-zhukeqian1@huawei.com1 parent 8124c8a commit fd6f17b
1 file changed
Lines changed: 3 additions & 35 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1346 | 1346 | | |
1347 | 1347 | | |
1348 | 1348 | | |
1349 | | - | |
1350 | 1349 | | |
1351 | 1350 | | |
1352 | 1351 | | |
| |||
1363 | 1362 | | |
1364 | 1363 | | |
1365 | 1364 | | |
1366 | | - | |
1367 | | - | |
| 1365 | + | |
1368 | 1366 | | |
1369 | 1367 | | |
1370 | 1368 | | |
| |||
1375 | 1373 | | |
1376 | 1374 | | |
1377 | 1375 | | |
1378 | | - | |
1379 | 1376 | | |
1380 | 1377 | | |
1381 | 1378 | | |
1382 | 1379 | | |
1383 | 1380 | | |
1384 | | - | |
1385 | | - | |
1386 | | - | |
1387 | | - | |
1388 | | - | |
1389 | | - | |
1390 | 1381 | | |
1391 | | - | |
1392 | | - | |
1393 | | - | |
1394 | | - | |
1395 | | - | |
1396 | | - | |
1397 | | - | |
1398 | 1382 | | |
1399 | 1383 | | |
1400 | 1384 | | |
1401 | | - | |
1402 | | - | |
1403 | | - | |
1404 | | - | |
1405 | | - | |
1406 | | - | |
1407 | | - | |
1408 | 1385 | | |
| 1386 | + | |
1409 | 1387 | | |
1410 | | - | |
| 1388 | + | |
1411 | 1389 | | |
1412 | 1390 | | |
1413 | | - | |
1414 | | - | |
1415 | | - | |
1416 | | - | |
1417 | | - | |
1418 | | - | |
1419 | | - | |
1420 | | - | |
1421 | | - | |
1422 | | - | |
1423 | 1391 | | |
1424 | 1392 | | |
1425 | 1393 | | |
| |||
0 commit comments