]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Merge branch 'linus' into core/iommu
authorIngo Molnar <mingo@elte.hu>
Sat, 28 Mar 2009 22:05:50 +0000 (23:05 +0100)
committerIngo Molnar <mingo@elte.hu>
Sat, 28 Mar 2009 22:05:50 +0000 (23:05 +0100)
Conflicts:
arch/x86/Kconfig

1  2 
Documentation/kernel-parameters.txt
arch/x86/Kconfig
arch/x86/kernel/Makefile
lib/Kconfig.debug
lib/Makefile

index 0fa3c0545994f9aa2ba12996c5051bfe421843aa,6b979d1d09ab50489c79ac94f7a537733ce2c98b..0122e5f810fb998225ec66784d8ea1d497e8e492
@@@ -491,18 -492,9 +492,19 @@@ and is between 256 and 4096 characters
                        Range: 0 - 8192
                        Default: 64
  
 +      dma_debug=off   If the kernel is compiled with DMA_API_DEBUG support
 +                      this option disables the debugging code at boot.
 +
 +      dma_debug_entries=<number>
 +                      This option allows to tune the number of preallocated
 +                      entries for DMA-API debugging code. One entry is
 +                      required per DMA-API allocation. Use this if the
 +                      DMA-API debugging code disables itself because the
 +                      architectural default is too low.
 +
        hpet=           [X86-32,HPET] option to control HPET usage
-                       Format: { enable (default) | disable | force }
+                       Format: { enable (default) | disable | force |
+                               verbose }
                        disable: disable HPET and use PIT instead
                        force: allow force enabled of undocumented chips (ICH4,
                        VIA, nVidia)
index f2cb677b263fd255428a34e6845f97aa93cda443,06c02c00d7d9b040a95c477570a66555325a3df7..c9012b95da6cd40a4bd0e8fc249d462da630fd74
@@@ -40,7 -40,9 +40,10 @@@ config X8
        select HAVE_GENERIC_DMA_COHERENT if X86_32
        select HAVE_EFFICIENT_UNALIGNED_ACCESS
        select USER_STACKTRACE_SUPPORT
 +      select HAVE_DMA_API_DEBUG
+       select HAVE_KERNEL_GZIP
+       select HAVE_KERNEL_BZIP2
+       select HAVE_KERNEL_LZMA
  
  config ARCH_DEFCONFIG
        string
Simple merge
index d9cbada7e2f8206d77de67c31600dffdc1d9d186,8fee0a13ac589a9484b89472274e1d77c44f5f0b..251fa7ba3014947db7fea0ac6950416e27f5bf49
@@@ -878,41 -882,36 +882,47 @@@ config DYNAMIC_DEBU
  
          From a live system:
  
-               snd_hda_intel enabled=0
-               fixup enabled=0
-               driver enabled=0
+               nullarbor:~ # cat <debugfs>/dynamic_debug/ddebug
+               # filename:lineno [module]function flags format
+               fs/aio.c:222 [aio]__put_ioctx - "__put_ioctx:\040freeing\040%p\012"
+               fs/aio.c:248 [aio]ioctx_alloc - "ENOMEM:\040nr_events\040too\040high\012"
+               fs/aio.c:1770 [aio]sys_io_cancel - "calling\040cancel\012"
  
-         Enable a module:
+         Example usage:
  
-               $echo "set enabled=1 <module_name>" > dynamic_printk/modules
+               // enable the message at line 1603 of file svcsock.c
+               nullarbor:~ # echo -n 'file svcsock.c line 1603 +p' >
+                                               <debugfs>/dynamic_debug/ddebug
  
-         Disable a module:
+               // enable all the messages in file svcsock.c
+               nullarbor:~ # echo -n 'file svcsock.c +p' >
+                                               <debugfs>/dynamic_debug/ddebug
  
-               $echo "set enabled=0 <module_name>" > dynamic_printk/modules
+               // enable all the messages in the NFS server module
+               nullarbor:~ # echo -n 'module nfsd +p' >
+                                               <debugfs>/dynamic_debug/ddebug
  
-         Enable all modules:
+               // enable all 12 messages in the function svc_process()
+               nullarbor:~ # echo -n 'func svc_process +p' >
+                                               <debugfs>/dynamic_debug/ddebug
  
-               $echo "set enabled=1 all" > dynamic_printk/modules
+               // disable all 12 messages in the function svc_process()
+               nullarbor:~ # echo -n 'func svc_process -p' >
+                                               <debugfs>/dynamic_debug/ddebug
  
-         Disable all modules:
-               $echo "set enabled=0 all" > dynamic_printk/modules
-         Finally, passing "dynamic_printk" at the command line enables
-         debugging for all modules. This mode can be turned off via the above
-         disable command.
+         See Documentation/dynamic-debug-howto.txt for additional information.
  
 +config DMA_API_DEBUG
 +      bool "Enable debugging of DMA-API usage"
 +      depends on HAVE_DMA_API_DEBUG
 +      help
 +        Enable this option to debug the use of the DMA API by device drivers.
 +        With this option you will be able to detect common bugs in device
 +        drivers like double-freeing of DMA mappings or freeing mappings that
 +        were never allocated.
 +        This option causes a performance degredation.  Use only if you want
 +        to debug device drivers. If unsure, say N.
 +
  source "samples/Kconfig"
  
  source "lib/Kconfig.kgdb"
diff --cc lib/Makefile
index 50b48cf63e4a5d7967e3b3d757b1a40afb7fba97,051a33a8e0285b99c0bf4e98a61580d9e32431a8..d6edd6753f40c87be4ed2d656fe7cb0e3c92bdd9
@@@ -82,10 -86,10 +86,12 @@@ obj-$(CONFIG_HAVE_LMB) += lmb.
  
  obj-$(CONFIG_HAVE_ARCH_TRACEHOOK) += syscall.o
  
- obj-$(CONFIG_DYNAMIC_PRINTK_DEBUG) += dynamic_printk.o
+ obj-$(CONFIG_DYNAMIC_DEBUG) += dynamic_debug.o
+ obj-$(CONFIG_NLATTR) += nlattr.o
  
 +obj-$(CONFIG_DMA_API_DEBUG) += dma-debug.o
 +
  hostprogs-y   := gen_crc32table
  clean-files   := crc32table.h