Commit 13b4ec7
iommu/amd: Change amd_iommu_pgtable to use enum protection_domain_mode
Currently it uses enum io_pgtable_fmt which is from the io pagetable code
and most of the enum values are invalid. protection_domain_mode is
internal the driver and has the only two valid values.
Fix some signatures and variables to use the right type as well.
Reviewed-by: Vasant Hegde <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>1 parent 55b237d commit 13b4ec7
3 files changed
+25
-25
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
| 155 | + | |
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| |||
2164 | 2164 | | |
2165 | 2165 | | |
2166 | 2166 | | |
2167 | | - | |
| 2167 | + | |
2168 | 2168 | | |
2169 | 2169 | | |
2170 | 2170 | | |
| |||
3082 | 3082 | | |
3083 | 3083 | | |
3084 | 3084 | | |
3085 | | - | |
| 3085 | + | |
3086 | 3086 | | |
3087 | 3087 | | |
3088 | | - | |
| 3088 | + | |
3089 | 3089 | | |
3090 | 3090 | | |
3091 | 3091 | | |
| |||
3208 | 3208 | | |
3209 | 3209 | | |
3210 | 3210 | | |
3211 | | - | |
| 3211 | + | |
3212 | 3212 | | |
3213 | 3213 | | |
3214 | 3214 | | |
| |||
3485 | 3485 | | |
3486 | 3486 | | |
3487 | 3487 | | |
3488 | | - | |
| 3488 | + | |
3489 | 3489 | | |
3490 | | - | |
| 3490 | + | |
3491 | 3491 | | |
3492 | 3492 | | |
3493 | 3493 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2476 | 2476 | | |
2477 | 2477 | | |
2478 | 2478 | | |
2479 | | - | |
| 2479 | + | |
2480 | 2480 | | |
2481 | 2481 | | |
| 2482 | + | |
2482 | 2483 | | |
2483 | | - | |
2484 | | - | |
2485 | | - | |
| 2484 | + | |
| 2485 | + | |
| 2486 | + | |
2486 | 2487 | | |
2487 | | - | |
2488 | | - | |
| 2488 | + | |
| 2489 | + | |
2489 | 2490 | | |
2490 | | - | |
2491 | | - | |
2492 | 2491 | | |
2493 | 2492 | | |
2494 | | - | |
2495 | | - | |
| 2493 | + | |
2496 | 2494 | | |
2497 | 2495 | | |
2498 | 2496 | | |
2499 | 2497 | | |
2500 | 2498 | | |
2501 | 2499 | | |
2502 | | - | |
| 2500 | + | |
2503 | 2501 | | |
2504 | | - | |
| 2502 | + | |
2505 | 2503 | | |
2506 | 2504 | | |
2507 | 2505 | | |
| |||
2513 | 2511 | | |
2514 | 2512 | | |
2515 | 2513 | | |
2516 | | - | |
2517 | | - | |
| 2514 | + | |
| 2515 | + | |
| 2516 | + | |
2518 | 2517 | | |
2519 | 2518 | | |
2520 | 2519 | | |
| |||
2525 | 2524 | | |
2526 | 2525 | | |
2527 | 2526 | | |
2528 | | - | |
| 2527 | + | |
| 2528 | + | |
2529 | 2529 | | |
2530 | 2530 | | |
2531 | 2531 | | |
| |||
2563 | 2563 | | |
2564 | 2564 | | |
2565 | 2565 | | |
2566 | | - | |
| 2566 | + | |
2567 | 2567 | | |
2568 | 2568 | | |
2569 | 2569 | | |
2570 | 2570 | | |
2571 | 2571 | | |
2572 | | - | |
| 2572 | + | |
2573 | 2573 | | |
2574 | 2574 | | |
2575 | 2575 | | |
| |||
0 commit comments