Commit fb575d1
iommu/amd: Refactor protection_domain helper functions
To removes the code to setup GCR3 table, and only handle domain
create / destroy, since GCR3 is no longer part of a domain.
Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Signed-off-by: Vasant Hegde <vasant.hegde@amd.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20240205115615.6053-13-vasant.hegde@amd.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>1 parent 4ebd4c7 commit fb575d1
1 file changed
Lines changed: 3 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2176 | 2176 | | |
2177 | 2177 | | |
2178 | 2178 | | |
2179 | | - | |
2180 | | - | |
2181 | | - | |
2182 | 2179 | | |
2183 | 2180 | | |
2184 | 2181 | | |
| |||
2206 | 2203 | | |
2207 | 2204 | | |
2208 | 2205 | | |
2209 | | - | |
| 2206 | + | |
2210 | 2207 | | |
2211 | | - | |
2212 | | - | |
2213 | | - | |
2214 | | - | |
2215 | | - | |
2216 | | - | |
2217 | | - | |
| 2208 | + | |
| 2209 | + | |
2218 | 2210 | | |
2219 | 2211 | | |
2220 | 2212 | | |
| |||
0 commit comments