Commit 98aeb4e
iommu/amd: Do not Invalidate IRT when IRTE caching is disabled
With the Interrupt Remapping Table cache disabled, there is no need to
issue invalidate IRT and wait for its completion. Therefore, add logic
to bypass the operation.
Reviewed-by: Jerry Snitselaar <jsnitsel@redhat.com>
Suggested-by: Joao Martins <joao.m.martins@oracle.com>
Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Link: https://lore.kernel.org/r/20230530141137.14376-5-suravee.suthikulpanit@amd.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>1 parent 6641903 commit 98aeb4e
1 file changed
Lines changed: 15 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1266 | 1266 | | |
1267 | 1267 | | |
1268 | 1268 | | |
| 1269 | + | |
| 1270 | + | |
| 1271 | + | |
1269 | 1272 | | |
1270 | 1273 | | |
1271 | 1274 | | |
1272 | 1275 | | |
1273 | 1276 | | |
1274 | 1277 | | |
| 1278 | + | |
| 1279 | + | |
| 1280 | + | |
| 1281 | + | |
| 1282 | + | |
| 1283 | + | |
| 1284 | + | |
| 1285 | + | |
| 1286 | + | |
1275 | 1287 | | |
1276 | 1288 | | |
1277 | 1289 | | |
| |||
3030 | 3042 | | |
3031 | 3043 | | |
3032 | 3044 | | |
3033 | | - | |
3034 | | - | |
| 3045 | + | |
3035 | 3046 | | |
3036 | 3047 | | |
3037 | 3048 | | |
| |||
3050 | 3061 | | |
3051 | 3062 | | |
3052 | 3063 | | |
3053 | | - | |
3054 | | - | |
| 3064 | + | |
3055 | 3065 | | |
3056 | 3066 | | |
3057 | 3067 | | |
| |||
3069 | 3079 | | |
3070 | 3080 | | |
3071 | 3081 | | |
3072 | | - | |
3073 | | - | |
| 3082 | + | |
3074 | 3083 | | |
3075 | 3084 | | |
3076 | 3085 | | |
| |||
0 commit comments