Commit bbea276
Marc Zyngier
KVM: arm64: Inherit RESx bits from FGT register descriptors
The FGT registers have their computed RESx bits stashed in specific
descriptors, which we can easily use when computing the masks used
for the guest.
This removes a bit of boilerplate code.
Reviewed-by: Joey Gouly <joey.gouly@arm.com>
Reviewed-by: Fuad Tabba <tabba@google.com>
Tested-by: Fuad Tabba <tabba@google.com>
Link: https://patch.msgid.link/20260202184329.2724080-7-maz@kernel.org
Signed-off-by: Marc Zyngier <maz@kernel.org>1 parent f9d5895 commit bbea276
1 file changed
Lines changed: 5 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1342 | 1342 | | |
1343 | 1343 | | |
1344 | 1344 | | |
| 1345 | + | |
| 1346 | + | |
| 1347 | + | |
| 1348 | + | |
| 1349 | + | |
1345 | 1350 | | |
1346 | 1351 | | |
1347 | 1352 | | |
| |||
1422 | 1427 | | |
1423 | 1428 | | |
1424 | 1429 | | |
1425 | | - | |
1426 | 1430 | | |
1427 | 1431 | | |
1428 | 1432 | | |
1429 | | - | |
1430 | 1433 | | |
1431 | 1434 | | |
1432 | 1435 | | |
1433 | | - | |
1434 | 1436 | | |
1435 | 1437 | | |
1436 | 1438 | | |
1437 | | - | |
1438 | 1439 | | |
1439 | 1440 | | |
1440 | 1441 | | |
1441 | | - | |
1442 | 1442 | | |
1443 | 1443 | | |
1444 | 1444 | | |
1445 | | - | |
1446 | 1445 | | |
1447 | 1446 | | |
1448 | 1447 | | |
1449 | | - | |
1450 | 1448 | | |
1451 | 1449 | | |
1452 | 1450 | | |
1453 | | - | |
1454 | 1451 | | |
1455 | 1452 | | |
1456 | 1453 | | |
1457 | | - | |
1458 | 1454 | | |
1459 | 1455 | | |
1460 | 1456 | | |
1461 | | - | |
1462 | 1457 | | |
1463 | 1458 | | |
1464 | 1459 | | |
1465 | | - | |
1466 | 1460 | | |
1467 | 1461 | | |
1468 | 1462 | | |
| |||
0 commit comments