diff options
author | Ingo Molnar <mingo@elte.hu> | 2006-12-20 05:28:46 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-21 03:08:28 -0500 |
commit | a9622f6219ce58faba1417743bf3078501eb3434 (patch) | |
tree | 8562f71900d62c3c46012079dacb608ab9c58bf7 /arch/x86_64/Kconfig | |
parent | b039db8eeab0b3cee66dcf9820526dd9cfb04f6b (diff) |
[PATCH] x86_64: fix boot hang caused by CALGARY_IOMMU_ENABLED_BY_DEFAULT
one of my boxes didnt boot the 2.6.20-rc1-rt0 kernel rpm, it hung during
early bootup. After an hour or two of happy debugging i narrowed it down
to the CALGARY_IOMMU_ENABLED_BY_DEFAULT option, which was freshly added
to 2.6.20 via the x86_64 tree and /enabled by default/.
commit bff6547bb6a4e82c399d74e7fba78b12d2f162ed claims:
[PATCH] Calgary: allow compiling Calgary in but not using it by default
This patch makes it possible to compile Calgary in but not use it by
default. In this mode, use 'iommu=calgary' to activate it.
but the change does not actually practice it:
config CALGARY_IOMMU_ENABLED_BY_DEFAULT
bool "Should Calgary be enabled by default?"
default y
depends on CALGARY_IOMMU
help
Should Calgary be enabled by default? if you choose 'y', Calgary
will be used (if it exists). If you choose 'n', Calgary will not be
used even if it exists. If you choose 'n' and would like to use
Calgary anyway, pass 'iommu=calgary' on the kernel command line.
If unsure, say Y.
it's both 'default y', and says "If unsure, say Y". Clearly not a typo.
disabling this option makes my box boot again. The patch below fixes the
Kconfig entry. Grumble.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/x86_64/Kconfig')
-rw-r--r-- | arch/x86_64/Kconfig | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/x86_64/Kconfig b/arch/x86_64/Kconfig index d4275537b25b..ef6672455695 100644 --- a/arch/x86_64/Kconfig +++ b/arch/x86_64/Kconfig | |||
@@ -480,14 +480,13 @@ config CALGARY_IOMMU | |||
480 | 480 | ||
481 | config CALGARY_IOMMU_ENABLED_BY_DEFAULT | 481 | config CALGARY_IOMMU_ENABLED_BY_DEFAULT |
482 | bool "Should Calgary be enabled by default?" | 482 | bool "Should Calgary be enabled by default?" |
483 | default y | ||
484 | depends on CALGARY_IOMMU | 483 | depends on CALGARY_IOMMU |
485 | help | 484 | help |
486 | Should Calgary be enabled by default? if you choose 'y', Calgary | 485 | Should Calgary be enabled by default? If you choose 'y', Calgary |
487 | will be used (if it exists). If you choose 'n', Calgary will not be | 486 | will be used (if it exists). If you choose 'n', Calgary will not be |
488 | used even if it exists. If you choose 'n' and would like to use | 487 | used even if it exists. If you choose 'n' and would like to use |
489 | Calgary anyway, pass 'iommu=calgary' on the kernel command line. | 488 | Calgary anyway, pass 'iommu=calgary' on the kernel command line. |
490 | If unsure, say Y. | 489 | If unsure, say N. |
491 | 490 | ||
492 | # need this always selected by IOMMU for the VIA workaround | 491 | # need this always selected by IOMMU for the VIA workaround |
493 | config SWIOTLB | 492 | config SWIOTLB |