diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2008-09-19 12:23:30 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-09-22 14:43:37 -0400 |
commit | afa9fdc2f5f8e4d98f3e77bfa204412cbc181346 (patch) | |
tree | 8e6c390d8dc18734f6071d2ddd7a2bca01fe9000 /Documentation | |
parent | ed6dc4981368aa8ac89b0ea61535cfa2b03533cb (diff) |
iommu: remove fullflush and nofullflush in IOMMU generic option
This patch against tip/x86/iommu virtually reverts
2842e5bf3115193f05dc9dac20f940e7abf44c1a. But just reverting the
commit breaks AMD IOMMU so this patch also includes some fixes.
The above commit adds new two options to x86 IOMMU generic kernel boot
options, fullflush and nofullflush. But such change that affects all
the IOMMUs needs more discussion (all IOMMU parties need the chance to
discuss it):
http://lkml.org/lkml/2008/9/19/106
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Acked-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/kernel-parameters.txt | 9 | ||||
-rw-r--r-- | Documentation/x86/x86_64/boot-options.txt | 2 |
2 files changed, 7 insertions, 4 deletions
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index 40066ceb48fe..040ce30632b5 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt | |||
@@ -284,6 +284,11 @@ and is between 256 and 4096 characters. It is defined in the file | |||
284 | isolate - enable device isolation (each device, as far | 284 | isolate - enable device isolation (each device, as far |
285 | as possible, will get its own protection | 285 | as possible, will get its own protection |
286 | domain) | 286 | domain) |
287 | fullflush - enable flushing of IO/TLB entries when | ||
288 | they are unmapped. Otherwise they are | ||
289 | flushed before they will be reused, which | ||
290 | is a lot of faster | ||
291 | |||
287 | amd_iommu_size= [HW,X86-64] | 292 | amd_iommu_size= [HW,X86-64] |
288 | Define the size of the aperture for the AMD IOMMU | 293 | Define the size of the aperture for the AMD IOMMU |
289 | driver. Possible values are: | 294 | driver. Possible values are: |
@@ -893,10 +898,6 @@ and is between 256 and 4096 characters. It is defined in the file | |||
893 | nomerge | 898 | nomerge |
894 | forcesac | 899 | forcesac |
895 | soft | 900 | soft |
896 | fullflush | ||
897 | Flush IO/TLB at every deallocation | ||
898 | nofullflush | ||
899 | Flush IO/TLB only when addresses are reused (default) | ||
900 | 901 | ||
901 | 902 | ||
902 | intel_iommu= [DMAR] Intel IOMMU driver (DMAR) option | 903 | intel_iommu= [DMAR] Intel IOMMU driver (DMAR) option |
diff --git a/Documentation/x86/x86_64/boot-options.txt b/Documentation/x86/x86_64/boot-options.txt index c83c8e4bc8e5..b0c7b6c4abda 100644 --- a/Documentation/x86/x86_64/boot-options.txt +++ b/Documentation/x86/x86_64/boot-options.txt | |||
@@ -233,6 +233,8 @@ IOMMU (input/output memory management unit) | |||
233 | iommu options only relevant to the AMD GART hardware IOMMU: | 233 | iommu options only relevant to the AMD GART hardware IOMMU: |
234 | <size> Set the size of the remapping area in bytes. | 234 | <size> Set the size of the remapping area in bytes. |
235 | allowed Overwrite iommu off workarounds for specific chipsets. | 235 | allowed Overwrite iommu off workarounds for specific chipsets. |
236 | fullflush Flush IOMMU on each allocation (default). | ||
237 | nofullflush Don't use IOMMU fullflush. | ||
236 | leak Turn on simple iommu leak tracing (only when | 238 | leak Turn on simple iommu leak tracing (only when |
237 | CONFIG_IOMMU_LEAK is on). Default number of leak pages | 239 | CONFIG_IOMMU_LEAK is on). Default number of leak pages |
238 | is 20. | 240 | is 20. |