File tree Expand file tree Collapse file tree 3 files changed +6
-8
lines changed
Documentation/admin-guide Expand file tree Collapse file tree 3 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 290
290
amd_iommu= [HW,X86-64]
291
291
Pass parameters to the AMD IOMMU driver in the system.
292
292
Possible values are:
293
- fullflush - enable flushing of IO/TLB entries when
294
- they are unmapped. Otherwise they are
295
- flushed before they will be reused, which
296
- is a lot of faster
293
+ fullflush - Deprecated, equivalent to iommu.strict=1
297
294
off - do not initialize any AMD IOMMU found in
298
295
the system
299
296
force_isolation - Force device isolation for all
1944
1941
this case, gfx device will use physical address for
1945
1942
DMA.
1946
1943
strict [Default Off]
1947
- With this option on every unmap_single operation will
1948
- result in a hardware IOTLB flush operation as opposed
1949
- to batching them for performance.
1944
+ Deprecated, equivalent to iommu.strict=1.
1950
1945
sp_off [Default Off]
1951
1946
By default, super page will be supported if Intel IOMMU
1952
1947
has the capability. With this option, super page will
Original file line number Diff line number Diff line change @@ -3098,8 +3098,10 @@ static int __init parse_amd_iommu_intr(char *str)
3098
3098
static int __init parse_amd_iommu_options (char * str )
3099
3099
{
3100
3100
for (; * str ; ++ str ) {
3101
- if (strncmp (str , "fullflush" , 9 ) == 0 )
3101
+ if (strncmp (str , "fullflush" , 9 ) == 0 ) {
3102
+ pr_warn ("amd_iommu=fullflush deprecated; use iommu.strict=1 instead\n" );
3102
3103
amd_iommu_unmap_flush = true;
3104
+ }
3103
3105
if (strncmp (str , "force_enable" , 12 ) == 0 )
3104
3106
amd_iommu_force_enable = true;
3105
3107
if (strncmp (str , "off" , 3 ) == 0 )
Original file line number Diff line number Diff line change @@ -454,6 +454,7 @@ static int __init intel_iommu_setup(char *str)
454
454
pr_warn ("intel_iommu=forcedac deprecated; use iommu.forcedac instead\n" );
455
455
iommu_dma_forcedac = true;
456
456
} else if (!strncmp (str , "strict" , 6 )) {
457
+ pr_warn ("intel_iommu=strict deprecated; use iommu.strict=1 instead\n" );
457
458
pr_info ("Disable batched IOTLB flush\n" );
458
459
intel_iommu_strict = 1 ;
459
460
} else if (!strncmp (str , "sp_off" , 6 )) {
You can’t perform that action at this time.
0 commit comments