Commit 8bca85c
committed
x86/sev: Cleanup vc_handle_msr()
Carve out the MSR_SVSM_CAA into a helper with the suggestion that
upcoming future users should do the same. Rename that silly exit_info_1
into what it actually means in this function - whether the MSR access is
a read or a write.
No functional changes.
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Reviewed-by: Tom Lendacky <[email protected]>
Reviewed-by: Pankaj Gupta <[email protected]>
Link: https://lore.kernel.org/r/20241106172647.GAZyum1zngPDwyD2IJ@fat_crate.local1 parent 3074152 commit 8bca85c
1 file changed
+19
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1406 | 1406 | | |
1407 | 1407 | | |
1408 | 1408 | | |
| 1409 | + | |
| 1410 | + | |
| 1411 | + | |
| 1412 | + | |
| 1413 | + | |
| 1414 | + | |
| 1415 | + | |
| 1416 | + | |
| 1417 | + | |
| 1418 | + | |
| 1419 | + | |
| 1420 | + | |
1409 | 1421 | | |
1410 | 1422 | | |
1411 | 1423 | | |
1412 | 1424 | | |
1413 | | - | |
| 1425 | + | |
1414 | 1426 | | |
1415 | 1427 | | |
1416 | | - | |
1417 | | - | |
1418 | | - | |
1419 | | - | |
1420 | | - | |
1421 | | - | |
1422 | | - | |
1423 | | - | |
1424 | | - | |
| 1428 | + | |
1425 | 1429 | | |
1426 | | - | |
1427 | | - | |
| 1430 | + | |
| 1431 | + | |
1428 | 1432 | | |
1429 | 1433 | | |
1430 | | - | |
| 1434 | + | |
1431 | 1435 | | |
1432 | 1436 | | |
1433 | 1437 | | |
1434 | 1438 | | |
1435 | | - | |
| 1439 | + | |
1436 | 1440 | | |
1437 | | - | |
| 1441 | + | |
1438 | 1442 | | |
1439 | 1443 | | |
1440 | 1444 | | |
| |||
0 commit comments