Kconfig.debug 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. menu "Kernel hacking"
  2. source "lib/Kconfig.debug"
  3. config INIT_DEBUG
  4. bool "Debug __init statements"
  5. depends on DEBUG_KERNEL
  6. help
  7. Fill __init and __initdata at the end of boot. This helps debugging
  8. illegal uses of __init and __initdata after initialization.
  9. config IOMMU_DEBUG
  10. depends on GART_IOMMU && DEBUG_KERNEL
  11. bool "Enable IOMMU debugging"
  12. help
  13. Force the IOMMU to on even when you have less than 4GB of
  14. memory and add debugging code. On overflow always panic. And
  15. allow to enable IOMMU leak tracing. Can be disabled at boot
  16. time with iommu=noforce. This will also enable scatter gather
  17. list merging. Currently not recommended for production
  18. code. When you use it make sure you have a big enough
  19. IOMMU/AGP aperture. Most of the options enabled by this can
  20. be set more finegrained using the iommu= command line
  21. options. See Documentation/x86_64/boot-options.txt for more
  22. details.
  23. config IOMMU_LEAK
  24. bool "IOMMU leak tracing"
  25. depends on DEBUG_KERNEL
  26. depends on IOMMU_DEBUG
  27. help
  28. Add a simple leak tracer to the IOMMU code. This is useful when you
  29. are debugging a buggy device driver that leaks IOMMU mappings.
  30. #config X86_REMOTE_DEBUG
  31. # bool "kgdb debugging stub"
  32. endmenu