diff options
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/block/biodoc.txt | 19 | ||||
-rw-r--r-- | Documentation/driver-model/platform.txt | 59 | ||||
-rw-r--r-- | Documentation/filesystems/pohmelfs/design_notes.txt | 5 | ||||
-rw-r--r-- | Documentation/filesystems/pohmelfs/info.txt | 21 | ||||
-rw-r--r-- | Documentation/filesystems/vfs.txt | 3 | ||||
-rw-r--r-- | Documentation/kbuild/makefiles.txt | 10 | ||||
-rw-r--r-- | Documentation/kernel-parameters.txt | 78 | ||||
-rw-r--r-- | Documentation/lguest/.gitignore | 1 | ||||
-rw-r--r-- | Documentation/lguest/lguest.txt | 11 | ||||
-rw-r--r-- | Documentation/networking/bonding.txt | 2 | ||||
-rw-r--r-- | Documentation/powerpc/dts-bindings/fsl/i2c.txt | 46 | ||||
-rw-r--r-- | Documentation/sound/alsa/HD-Audio.txt | 4 | ||||
-rw-r--r-- | Documentation/spi/spi-summary | 6 |
13 files changed, 201 insertions, 64 deletions
diff --git a/Documentation/block/biodoc.txt b/Documentation/block/biodoc.txt index ecad6ee75705..6fab97ea7e6b 100644 --- a/Documentation/block/biodoc.txt +++ b/Documentation/block/biodoc.txt | |||
@@ -1040,23 +1040,21 @@ Front merges are handled by the binary trees in AS and deadline schedulers. | |||
1040 | iii. Plugging the queue to batch requests in anticipation of opportunities for | 1040 | iii. Plugging the queue to batch requests in anticipation of opportunities for |
1041 | merge/sort optimizations | 1041 | merge/sort optimizations |
1042 | 1042 | ||
1043 | This is just the same as in 2.4 so far, though per-device unplugging | ||
1044 | support is anticipated for 2.5. Also with a priority-based i/o scheduler, | ||
1045 | such decisions could be based on request priorities. | ||
1046 | |||
1047 | Plugging is an approach that the current i/o scheduling algorithm resorts to so | 1043 | Plugging is an approach that the current i/o scheduling algorithm resorts to so |
1048 | that it collects up enough requests in the queue to be able to take | 1044 | that it collects up enough requests in the queue to be able to take |
1049 | advantage of the sorting/merging logic in the elevator. If the | 1045 | advantage of the sorting/merging logic in the elevator. If the |
1050 | queue is empty when a request comes in, then it plugs the request queue | 1046 | queue is empty when a request comes in, then it plugs the request queue |
1051 | (sort of like plugging the bottom of a vessel to get fluid to build up) | 1047 | (sort of like plugging the bath tub of a vessel to get fluid to build up) |
1052 | till it fills up with a few more requests, before starting to service | 1048 | till it fills up with a few more requests, before starting to service |
1053 | the requests. This provides an opportunity to merge/sort the requests before | 1049 | the requests. This provides an opportunity to merge/sort the requests before |
1054 | passing them down to the device. There are various conditions when the queue is | 1050 | passing them down to the device. There are various conditions when the queue is |
1055 | unplugged (to open up the flow again), either through a scheduled task or | 1051 | unplugged (to open up the flow again), either through a scheduled task or |
1056 | could be on demand. For example wait_on_buffer sets the unplugging going | 1052 | could be on demand. For example wait_on_buffer sets the unplugging going |
1057 | (by running tq_disk) so the read gets satisfied soon. So in the read case, | 1053 | through sync_buffer() running blk_run_address_space(mapping). Or the caller |
1058 | the queue gets explicitly unplugged as part of waiting for completion, | 1054 | can do it explicity through blk_unplug(bdev). So in the read case, |
1059 | in fact all queues get unplugged as a side-effect. | 1055 | the queue gets explicitly unplugged as part of waiting for completion on that |
1056 | buffer. For page driven IO, the address space ->sync_page() takes care of | ||
1057 | doing the blk_run_address_space(). | ||
1060 | 1058 | ||
1061 | Aside: | 1059 | Aside: |
1062 | This is kind of controversial territory, as it's not clear if plugging is | 1060 | This is kind of controversial territory, as it's not clear if plugging is |
@@ -1067,11 +1065,6 @@ Aside: | |||
1067 | multi-page bios being queued in one shot, we may not need to wait to merge | 1065 | multi-page bios being queued in one shot, we may not need to wait to merge |
1068 | a big request from the broken up pieces coming by. | 1066 | a big request from the broken up pieces coming by. |
1069 | 1067 | ||
1070 | Per-queue granularity unplugging (still a Todo) may help reduce some of the | ||
1071 | concerns with just a single tq_disk flush approach. Something like | ||
1072 | blk_kick_queue() to unplug a specific queue (right away ?) | ||
1073 | or optionally, all queues, is in the plan. | ||
1074 | |||
1075 | 4.4 I/O contexts | 1068 | 4.4 I/O contexts |
1076 | I/O contexts provide a dynamically allocated per process data area. They may | 1069 | I/O contexts provide a dynamically allocated per process data area. They may |
1077 | be used in I/O schedulers, and in the block layer (could be used for IO statis, | 1070 | be used in I/O schedulers, and in the block layer (could be used for IO statis, |
diff --git a/Documentation/driver-model/platform.txt b/Documentation/driver-model/platform.txt index 83009fdcbbc8..2e2c2ea90ceb 100644 --- a/Documentation/driver-model/platform.txt +++ b/Documentation/driver-model/platform.txt | |||
@@ -169,3 +169,62 @@ three different ways to find such a match: | |||
169 | be probed later if another device registers. (Which is OK, since | 169 | be probed later if another device registers. (Which is OK, since |
170 | this interface is only for use with non-hotpluggable devices.) | 170 | this interface is only for use with non-hotpluggable devices.) |
171 | 171 | ||
172 | |||
173 | Early Platform Devices and Drivers | ||
174 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
175 | The early platform interfaces provide platform data to platform device | ||
176 | drivers early on during the system boot. The code is built on top of the | ||
177 | early_param() command line parsing and can be executed very early on. | ||
178 | |||
179 | Example: "earlyprintk" class early serial console in 6 steps | ||
180 | |||
181 | 1. Registering early platform device data | ||
182 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
183 | The architecture code registers platform device data using the function | ||
184 | early_platform_add_devices(). In the case of early serial console this | ||
185 | should be hardware configuration for the serial port. Devices registered | ||
186 | at this point will later on be matched against early platform drivers. | ||
187 | |||
188 | 2. Parsing kernel command line | ||
189 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
190 | The architecture code calls parse_early_param() to parse the kernel | ||
191 | command line. This will execute all matching early_param() callbacks. | ||
192 | User specified early platform devices will be registered at this point. | ||
193 | For the early serial console case the user can specify port on the | ||
194 | kernel command line as "earlyprintk=serial.0" where "earlyprintk" is | ||
195 | the class string, "serial" is the name of the platfrom driver and | ||
196 | 0 is the platform device id. If the id is -1 then the dot and the | ||
197 | id can be omitted. | ||
198 | |||
199 | 3. Installing early platform drivers belonging to a certain class | ||
200 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
201 | The architecture code may optionally force registration of all early | ||
202 | platform drivers belonging to a certain class using the function | ||
203 | early_platform_driver_register_all(). User specified devices from | ||
204 | step 2 have priority over these. This step is omitted by the serial | ||
205 | driver example since the early serial driver code should be disabled | ||
206 | unless the user has specified port on the kernel command line. | ||
207 | |||
208 | 4. Early platform driver registration | ||
209 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
210 | Compiled-in platform drivers making use of early_platform_init() are | ||
211 | automatically registered during step 2 or 3. The serial driver example | ||
212 | should use early_platform_init("earlyprintk", &platform_driver). | ||
213 | |||
214 | 5. Probing of early platform drivers belonging to a certain class | ||
215 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
216 | The architecture code calls early_platform_driver_probe() to match | ||
217 | registered early platform devices associated with a certain class with | ||
218 | registered early platform drivers. Matched devices will get probed(). | ||
219 | This step can be executed at any point during the early boot. As soon | ||
220 | as possible may be good for the serial port case. | ||
221 | |||
222 | 6. Inside the early platform driver probe() | ||
223 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
224 | The driver code needs to take special care during early boot, especially | ||
225 | when it comes to memory allocation and interrupt registration. The code | ||
226 | in the probe() function can use is_early_platform_device() to check if | ||
227 | it is called at early platform device or at the regular platform device | ||
228 | time. The early serial driver performs register_console() at this point. | ||
229 | |||
230 | For further information, see <linux/platform_device.h>. | ||
diff --git a/Documentation/filesystems/pohmelfs/design_notes.txt b/Documentation/filesystems/pohmelfs/design_notes.txt index 6d6db60d567d..dcf833587162 100644 --- a/Documentation/filesystems/pohmelfs/design_notes.txt +++ b/Documentation/filesystems/pohmelfs/design_notes.txt | |||
@@ -56,9 +56,10 @@ workloads and can fully utilize the bandwidth to the servers when doing bulk | |||
56 | data transfers. | 56 | data transfers. |
57 | 57 | ||
58 | POHMELFS clients operate with a working set of servers and are capable of balancing read-only | 58 | POHMELFS clients operate with a working set of servers and are capable of balancing read-only |
59 | operations (like lookups or directory listings) between them. | 59 | operations (like lookups or directory listings) between them according to IO priorities. |
60 | Administrators can add or remove servers from the set at run-time via special commands (described | 60 | Administrators can add or remove servers from the set at run-time via special commands (described |
61 | in Documentation/pohmelfs/info.txt file). Writes are replicated to all servers. | 61 | in Documentation/pohmelfs/info.txt file). Writes are replicated to all servers, which are connected |
62 | with write permission turned on. IO priority and permissions can be changed in run-time. | ||
62 | 63 | ||
63 | POHMELFS is capable of full data channel encryption and/or strong crypto hashing. | 64 | POHMELFS is capable of full data channel encryption and/or strong crypto hashing. |
64 | One can select any kernel supported cipher, encryption mode, hash type and operation mode | 65 | One can select any kernel supported cipher, encryption mode, hash type and operation mode |
diff --git a/Documentation/filesystems/pohmelfs/info.txt b/Documentation/filesystems/pohmelfs/info.txt index 4e3d50157083..db2e41393626 100644 --- a/Documentation/filesystems/pohmelfs/info.txt +++ b/Documentation/filesystems/pohmelfs/info.txt | |||
@@ -1,6 +1,8 @@ | |||
1 | POHMELFS usage information. | 1 | POHMELFS usage information. |
2 | 2 | ||
3 | Mount options: | 3 | Mount options. |
4 | All but index, number of crypto threads and maximum IO size can changed via remount. | ||
5 | |||
4 | idx=%u | 6 | idx=%u |
5 | Each mountpoint is associated with a special index via this option. | 7 | Each mountpoint is associated with a special index via this option. |
6 | Administrator can add or remove servers from the given index, so all mounts, | 8 | Administrator can add or remove servers from the given index, so all mounts, |
@@ -52,16 +54,27 @@ mcache_timeout=%u | |||
52 | 54 | ||
53 | Usage examples. | 55 | Usage examples. |
54 | 56 | ||
55 | Add (or remove if it already exists) server server1.net:1025 into the working set with index $idx | 57 | Add server server1.net:1025 into the working set with index $idx |
56 | with appropriate hash algorithm and key file and cipher algorithm, mode and key file: | 58 | with appropriate hash algorithm and key file and cipher algorithm, mode and key file: |
57 | $cfg -a server1.net -p 1025 -i $idx -K $hash_key -k $cipher_key | 59 | $cfg A add -a server1.net -p 1025 -i $idx -K $hash_key -k $cipher_key |
58 | 60 | ||
59 | Mount filesystem with given index $idx to /mnt mountpoint. | 61 | Mount filesystem with given index $idx to /mnt mountpoint. |
60 | Client will connect to all servers specified in the working set via previous command: | 62 | Client will connect to all servers specified in the working set via previous command: |
61 | mount -t pohmel -o idx=$idx q /mnt | 63 | mount -t pohmel -o idx=$idx q /mnt |
62 | 64 | ||
63 | One can add or remove servers from working set after mounting too. | 65 | Change permissions to read-only (-I 1 option, '-I 2' - write-only, 3 - rw): |
66 | $cfg A modify -a server1.net -p 1025 -i $idx -I 1 | ||
67 | |||
68 | Change IO priority to 123 (node with the highest priority gets read requests). | ||
69 | $cfg A modify -a server1.net -p 1025 -i $idx -P 123 | ||
64 | 70 | ||
71 | One can check currect status of all connections in the mountstats file: | ||
72 | # cat /proc/$PID/mountstats | ||
73 | ... | ||
74 | device none mounted on /mnt with fstype pohmel | ||
75 | idx addr(:port) socket_type protocol active priority permissions | ||
76 | 0 server1.net:1026 1 6 1 250 1 | ||
77 | 0 server2.net:1025 1 6 1 123 3 | ||
65 | 78 | ||
66 | Server installation. | 79 | Server installation. |
67 | 80 | ||
diff --git a/Documentation/filesystems/vfs.txt b/Documentation/filesystems/vfs.txt index deeeed0faa8f..f49eecf2e573 100644 --- a/Documentation/filesystems/vfs.txt +++ b/Documentation/filesystems/vfs.txt | |||
@@ -277,8 +277,7 @@ or bottom half). | |||
277 | unfreeze_fs: called when VFS is unlocking a filesystem and making it writable | 277 | unfreeze_fs: called when VFS is unlocking a filesystem and making it writable |
278 | again. | 278 | again. |
279 | 279 | ||
280 | statfs: called when the VFS needs to get filesystem statistics. This | 280 | statfs: called when the VFS needs to get filesystem statistics. |
281 | is called with the kernel lock held | ||
282 | 281 | ||
283 | remount_fs: called when the filesystem is remounted. This is called | 282 | remount_fs: called when the filesystem is remounted. This is called |
284 | with the kernel lock held | 283 | with the kernel lock held |
diff --git a/Documentation/kbuild/makefiles.txt b/Documentation/kbuild/makefiles.txt index d4b05672f9f7..d76cfd8712e1 100644 --- a/Documentation/kbuild/makefiles.txt +++ b/Documentation/kbuild/makefiles.txt | |||
@@ -316,6 +316,16 @@ more details, with real examples. | |||
316 | #arch/m68k/fpsp040/Makefile | 316 | #arch/m68k/fpsp040/Makefile |
317 | ldflags-y := -x | 317 | ldflags-y := -x |
318 | 318 | ||
319 | subdir-ccflags-y, subdir-asflags-y | ||
320 | The two flags listed above are similar to ccflags-y and as-falgs-y. | ||
321 | The difference is that the subdir- variants has effect for the kbuild | ||
322 | file where tey are present and all subdirectories. | ||
323 | Options specified using subdir-* are added to the commandline before | ||
324 | the options specified using the non-subdir variants. | ||
325 | |||
326 | Example: | ||
327 | subdir-ccflags-y := -Werror | ||
328 | |||
319 | CFLAGS_$@, AFLAGS_$@ | 329 | CFLAGS_$@, AFLAGS_$@ |
320 | 330 | ||
321 | CFLAGS_$@ and AFLAGS_$@ only apply to commands in current | 331 | CFLAGS_$@ and AFLAGS_$@ only apply to commands in current |
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index 6172e4360f60..600cdd72900c 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt | |||
@@ -134,7 +134,7 @@ and is between 256 and 4096 characters. It is defined in the file | |||
134 | ./include/asm/setup.h as COMMAND_LINE_SIZE. | 134 | ./include/asm/setup.h as COMMAND_LINE_SIZE. |
135 | 135 | ||
136 | 136 | ||
137 | acpi= [HW,ACPI,X86-64,i386] | 137 | acpi= [HW,ACPI,X86] |
138 | Advanced Configuration and Power Interface | 138 | Advanced Configuration and Power Interface |
139 | Format: { force | off | ht | strict | noirq | rsdt } | 139 | Format: { force | off | ht | strict | noirq | rsdt } |
140 | force -- enable ACPI if default was off | 140 | force -- enable ACPI if default was off |
@@ -218,7 +218,7 @@ and is between 256 and 4096 characters. It is defined in the file | |||
218 | acpi_osi="!string2" # remove built-in string2 | 218 | acpi_osi="!string2" # remove built-in string2 |
219 | acpi_osi= # disable all strings | 219 | acpi_osi= # disable all strings |
220 | 220 | ||
221 | acpi_pm_good [X86-32,X86-64] | 221 | acpi_pm_good [X86] |
222 | Override the pmtimer bug detection: force the kernel | 222 | Override the pmtimer bug detection: force the kernel |
223 | to assume that this machine's pmtimer latches its value | 223 | to assume that this machine's pmtimer latches its value |
224 | and always returns good values. | 224 | and always returns good values. |
@@ -231,6 +231,35 @@ and is between 256 and 4096 characters. It is defined in the file | |||
231 | power state again in power transition. | 231 | power state again in power transition. |
232 | 1 : disable the power state check | 232 | 1 : disable the power state check |
233 | 233 | ||
234 | acpi_sci= [HW,ACPI] ACPI System Control Interrupt trigger mode | ||
235 | Format: { level | edge | high | low } | ||
236 | |||
237 | acpi_serialize [HW,ACPI] force serialization of AML methods | ||
238 | |||
239 | acpi_skip_timer_override [HW,ACPI] | ||
240 | Recognize and ignore IRQ0/pin2 Interrupt Override. | ||
241 | For broken nForce2 BIOS resulting in XT-PIC timer. | ||
242 | |||
243 | acpi_sleep= [HW,ACPI] Sleep options | ||
244 | Format: { s3_bios, s3_mode, s3_beep, s4_nohwsig, | ||
245 | old_ordering, s4_nonvs } | ||
246 | See Documentation/power/video.txt for information on | ||
247 | s3_bios and s3_mode. | ||
248 | s3_beep is for debugging; it makes the PC's speaker beep | ||
249 | as soon as the kernel's real-mode entry point is called. | ||
250 | s4_nohwsig prevents ACPI hardware signature from being | ||
251 | used during resume from hibernation. | ||
252 | old_ordering causes the ACPI 1.0 ordering of the _PTS | ||
253 | control method, with respect to putting devices into | ||
254 | low power states, to be enforced (the ACPI 2.0 ordering | ||
255 | of _PTS is used by default). | ||
256 | s4_nonvs prevents the kernel from saving/restoring the | ||
257 | ACPI NVS memory during hibernation. | ||
258 | |||
259 | acpi_use_timer_override [HW,ACPI] | ||
260 | Use timer override. For some broken Nvidia NF5 boards | ||
261 | that require a timer override, but don't have HPET | ||
262 | |||
234 | acpi_enforce_resources= [ACPI] | 263 | acpi_enforce_resources= [ACPI] |
235 | { strict | lax | no } | 264 | { strict | lax | no } |
236 | Check for resource conflicts between native drivers | 265 | Check for resource conflicts between native drivers |
@@ -250,6 +279,9 @@ and is between 256 and 4096 characters. It is defined in the file | |||
250 | ad1848= [HW,OSS] | 279 | ad1848= [HW,OSS] |
251 | Format: <io>,<irq>,<dma>,<dma2>,<type> | 280 | Format: <io>,<irq>,<dma>,<dma2>,<type> |
252 | 281 | ||
282 | add_efi_memmap [EFI; X86] Include EFI memory map in | ||
283 | kernel's map of available physical RAM. | ||
284 | |||
253 | advansys= [HW,SCSI] | 285 | advansys= [HW,SCSI] |
254 | See header of drivers/scsi/advansys.c. | 286 | See header of drivers/scsi/advansys.c. |
255 | 287 | ||
@@ -459,7 +491,7 @@ and is between 256 and 4096 characters. It is defined in the file | |||
459 | Also note the kernel might malfunction if you disable | 491 | Also note the kernel might malfunction if you disable |
460 | some critical bits. | 492 | some critical bits. |
461 | 493 | ||
462 | code_bytes [IA32/X86_64] How many bytes of object code to print | 494 | code_bytes [X86] How many bytes of object code to print |
463 | in an oops report. | 495 | in an oops report. |
464 | Range: 0 - 8192 | 496 | Range: 0 - 8192 |
465 | Default: 64 | 497 | Default: 64 |
@@ -592,7 +624,7 @@ and is between 256 and 4096 characters. It is defined in the file | |||
592 | MTRR settings. This parameter disables that behavior, | 624 | MTRR settings. This parameter disables that behavior, |
593 | possibly causing your machine to run very slowly. | 625 | possibly causing your machine to run very slowly. |
594 | 626 | ||
595 | disable_timer_pin_1 [i386,x86-64] | 627 | disable_timer_pin_1 [X86] |
596 | Disable PIN 1 of APIC timer | 628 | Disable PIN 1 of APIC timer |
597 | Can be useful to work around chipset bugs. | 629 | Can be useful to work around chipset bugs. |
598 | 630 | ||
@@ -624,7 +656,7 @@ and is between 256 and 4096 characters. It is defined in the file | |||
624 | UART at the specified I/O port or MMIO address. | 656 | UART at the specified I/O port or MMIO address. |
625 | The options are the same as for ttyS, above. | 657 | The options are the same as for ttyS, above. |
626 | 658 | ||
627 | earlyprintk= [X86-32,X86-64,SH,BLACKFIN] | 659 | earlyprintk= [X86,SH,BLACKFIN] |
628 | earlyprintk=vga | 660 | earlyprintk=vga |
629 | earlyprintk=serial[,ttySn[,baudrate]] | 661 | earlyprintk=serial[,ttySn[,baudrate]] |
630 | earlyprintk=dbgp | 662 | earlyprintk=dbgp |
@@ -659,7 +691,7 @@ and is between 256 and 4096 characters. It is defined in the file | |||
659 | See Documentation/block/as-iosched.txt and | 691 | See Documentation/block/as-iosched.txt and |
660 | Documentation/block/deadline-iosched.txt for details. | 692 | Documentation/block/deadline-iosched.txt for details. |
661 | 693 | ||
662 | elfcorehdr= [IA64,PPC,SH,X86-32,X86_64] | 694 | elfcorehdr= [IA64,PPC,SH,X86] |
663 | Specifies physical address of start of kernel core | 695 | Specifies physical address of start of kernel core |
664 | image elf header. Generally kexec loader will | 696 | image elf header. Generally kexec loader will |
665 | pass this option to capture kernel. | 697 | pass this option to capture kernel. |
@@ -938,7 +970,7 @@ and is between 256 and 4096 characters. It is defined in the file | |||
938 | See comment before marvel_specify_io7 in | 970 | See comment before marvel_specify_io7 in |
939 | arch/alpha/kernel/core_marvel.c. | 971 | arch/alpha/kernel/core_marvel.c. |
940 | 972 | ||
941 | io_delay= [X86-32,X86-64] I/O delay method | 973 | io_delay= [X86] I/O delay method |
942 | 0x80 | 974 | 0x80 |
943 | Standard port 0x80 based delay | 975 | Standard port 0x80 based delay |
944 | 0xed | 976 | 0xed |
@@ -1000,7 +1032,7 @@ and is between 256 and 4096 characters. It is defined in the file | |||
1000 | 1032 | ||
1001 | keepinitrd [HW,ARM] | 1033 | keepinitrd [HW,ARM] |
1002 | 1034 | ||
1003 | kernelcore=nn[KMG] [KNL,X86-32,IA-64,PPC,X86-64] This parameter | 1035 | kernelcore=nn[KMG] [KNL,X86,IA-64,PPC] This parameter |
1004 | specifies the amount of memory usable by the kernel | 1036 | specifies the amount of memory usable by the kernel |
1005 | for non-movable allocations. The requested amount is | 1037 | for non-movable allocations. The requested amount is |
1006 | spread evenly throughout all nodes in the system. The | 1038 | spread evenly throughout all nodes in the system. The |
@@ -1034,7 +1066,7 @@ and is between 256 and 4096 characters. It is defined in the file | |||
1034 | Configure the RouterBoard 532 series on-chip | 1066 | Configure the RouterBoard 532 series on-chip |
1035 | Ethernet adapter MAC address. | 1067 | Ethernet adapter MAC address. |
1036 | 1068 | ||
1037 | kstack=N [X86-32,X86-64] Print N words from the kernel stack | 1069 | kstack=N [X86] Print N words from the kernel stack |
1038 | in oops dumps. | 1070 | in oops dumps. |
1039 | 1071 | ||
1040 | l2cr= [PPC] | 1072 | l2cr= [PPC] |
@@ -1044,7 +1076,7 @@ and is between 256 and 4096 characters. It is defined in the file | |||
1044 | lapic [X86-32,APIC] Enable the local APIC even if BIOS | 1076 | lapic [X86-32,APIC] Enable the local APIC even if BIOS |
1045 | disabled it. | 1077 | disabled it. |
1046 | 1078 | ||
1047 | lapic_timer_c2_ok [X86-32,x86-64,APIC] trust the local apic timer | 1079 | lapic_timer_c2_ok [X86,APIC] trust the local apic timer |
1048 | in C2 power state. | 1080 | in C2 power state. |
1049 | 1081 | ||
1050 | libata.dma= [LIBATA] DMA control | 1082 | libata.dma= [LIBATA] DMA control |
@@ -1229,7 +1261,7 @@ and is between 256 and 4096 characters. It is defined in the file | |||
1229 | [KNL,SH] Allow user to override the default size for | 1261 | [KNL,SH] Allow user to override the default size for |
1230 | per-device physically contiguous DMA buffers. | 1262 | per-device physically contiguous DMA buffers. |
1231 | 1263 | ||
1232 | memmap=exactmap [KNL,X86-32,X86_64] Enable setting of an exact | 1264 | memmap=exactmap [KNL,X86] Enable setting of an exact |
1233 | E820 memory map, as specified by the user. | 1265 | E820 memory map, as specified by the user. |
1234 | Such memmap=exactmap lines can be constructed based on | 1266 | Such memmap=exactmap lines can be constructed based on |
1235 | BIOS output or other requirements. See the memmap=nn@ss | 1267 | BIOS output or other requirements. See the memmap=nn@ss |
@@ -1320,7 +1352,7 @@ and is between 256 and 4096 characters. It is defined in the file | |||
1320 | mousedev.yres= [MOUSE] Vertical screen resolution, used for devices | 1352 | mousedev.yres= [MOUSE] Vertical screen resolution, used for devices |
1321 | reporting absolute coordinates, such as tablets | 1353 | reporting absolute coordinates, such as tablets |
1322 | 1354 | ||
1323 | movablecore=nn[KMG] [KNL,X86-32,IA-64,PPC,X86-64] This parameter | 1355 | movablecore=nn[KMG] [KNL,X86,IA-64,PPC] This parameter |
1324 | is similar to kernelcore except it specifies the | 1356 | is similar to kernelcore except it specifies the |
1325 | amount of memory used for migratable allocations. | 1357 | amount of memory used for migratable allocations. |
1326 | If both kernelcore and movablecore is specified, | 1358 | If both kernelcore and movablecore is specified, |
@@ -1422,7 +1454,7 @@ and is between 256 and 4096 characters. It is defined in the file | |||
1422 | when a NMI is triggered. | 1454 | when a NMI is triggered. |
1423 | Format: [state][,regs][,debounce][,die] | 1455 | Format: [state][,regs][,debounce][,die] |
1424 | 1456 | ||
1425 | nmi_watchdog= [KNL,BUGS=X86-32,X86-64] Debugging features for SMP kernels | 1457 | nmi_watchdog= [KNL,BUGS=X86] Debugging features for SMP kernels |
1426 | Format: [panic,][num] | 1458 | Format: [panic,][num] |
1427 | Valid num: 0,1,2 | 1459 | Valid num: 0,1,2 |
1428 | 0 - turn nmi_watchdog off | 1460 | 0 - turn nmi_watchdog off |
@@ -1475,11 +1507,11 @@ and is between 256 and 4096 characters. It is defined in the file | |||
1475 | 1507 | ||
1476 | nodsp [SH] Disable hardware DSP at boot time. | 1508 | nodsp [SH] Disable hardware DSP at boot time. |
1477 | 1509 | ||
1478 | noefi [X86-32,X86-64] Disable EFI runtime services support. | 1510 | noefi [X86] Disable EFI runtime services support. |
1479 | 1511 | ||
1480 | noexec [IA-64] | 1512 | noexec [IA-64] |
1481 | 1513 | ||
1482 | noexec [X86-32,X86-64] | 1514 | noexec [X86] |
1483 | On X86-32 available only on PAE configured kernels. | 1515 | On X86-32 available only on PAE configured kernels. |
1484 | noexec=on: enable non-executable mappings (default) | 1516 | noexec=on: enable non-executable mappings (default) |
1485 | noexec=off: disable non-executable mappings | 1517 | noexec=off: disable non-executable mappings |
@@ -1525,7 +1557,7 @@ and is between 256 and 4096 characters. It is defined in the file | |||
1525 | noirqdebug [X86-32] Disables the code which attempts to detect and | 1557 | noirqdebug [X86-32] Disables the code which attempts to detect and |
1526 | disable unhandled interrupt sources. | 1558 | disable unhandled interrupt sources. |
1527 | 1559 | ||
1528 | no_timer_check [X86-32,X86_64,APIC] Disables the code which tests for | 1560 | no_timer_check [X86,APIC] Disables the code which tests for |
1529 | broken timer IRQ sources. | 1561 | broken timer IRQ sources. |
1530 | 1562 | ||
1531 | noisapnp [ISAPNP] Disables ISA PnP code. | 1563 | noisapnp [ISAPNP] Disables ISA PnP code. |
@@ -1689,7 +1721,7 @@ and is between 256 and 4096 characters. It is defined in the file | |||
1689 | disable the use of PCIE advanced error reporting. | 1721 | disable the use of PCIE advanced error reporting. |
1690 | nodomains [PCI] Disable support for multiple PCI | 1722 | nodomains [PCI] Disable support for multiple PCI |
1691 | root domains (aka PCI segments, in ACPI-speak). | 1723 | root domains (aka PCI segments, in ACPI-speak). |
1692 | nommconf [X86-32,X86_64] Disable use of MMCONFIG for PCI | 1724 | nommconf [X86] Disable use of MMCONFIG for PCI |
1693 | Configuration | 1725 | Configuration |
1694 | nomsi [MSI] If the PCI_MSI kernel config parameter is | 1726 | nomsi [MSI] If the PCI_MSI kernel config parameter is |
1695 | enabled, this kernel boot option can be used to | 1727 | enabled, this kernel boot option can be used to |
@@ -1838,6 +1870,12 @@ and is between 256 and 4096 characters. It is defined in the file | |||
1838 | autoconfiguration. | 1870 | autoconfiguration. |
1839 | Ranges are in pairs (memory base and size). | 1871 | Ranges are in pairs (memory base and size). |
1840 | 1872 | ||
1873 | ports= [IP_VS_FTP] IPVS ftp helper module | ||
1874 | Default is 21. | ||
1875 | Up to 8 (IP_VS_APP_MAX_PORTS) ports | ||
1876 | may be specified. | ||
1877 | Format: <port>,<port>.... | ||
1878 | |||
1841 | print-fatal-signals= | 1879 | print-fatal-signals= |
1842 | [KNL] debug: print fatal signals | 1880 | [KNL] debug: print fatal signals |
1843 | print-fatal-signals=1: print segfault info to | 1881 | print-fatal-signals=1: print segfault info to |
@@ -2380,7 +2418,7 @@ and is between 256 and 4096 characters. It is defined in the file | |||
2380 | reported either. | 2418 | reported either. |
2381 | 2419 | ||
2382 | unknown_nmi_panic | 2420 | unknown_nmi_panic |
2383 | [X86-32,X86-64] | 2421 | [X86] |
2384 | Set unknown_nmi_panic=1 early on boot. | 2422 | Set unknown_nmi_panic=1 early on boot. |
2385 | 2423 | ||
2386 | usbcore.autosuspend= | 2424 | usbcore.autosuspend= |
@@ -2447,12 +2485,12 @@ and is between 256 and 4096 characters. It is defined in the file | |||
2447 | medium is write-protected). | 2485 | medium is write-protected). |
2448 | Example: quirks=0419:aaf5:rl,0421:0433:rc | 2486 | Example: quirks=0419:aaf5:rl,0421:0433:rc |
2449 | 2487 | ||
2450 | vdso= [X86-32,SH,x86-64] | 2488 | vdso= [X86,SH] |
2451 | vdso=2: enable compat VDSO (default with COMPAT_VDSO) | 2489 | vdso=2: enable compat VDSO (default with COMPAT_VDSO) |
2452 | vdso=1: enable VDSO (default) | 2490 | vdso=1: enable VDSO (default) |
2453 | vdso=0: disable VDSO mapping | 2491 | vdso=0: disable VDSO mapping |
2454 | 2492 | ||
2455 | vdso32= [X86-32,X86-64] | 2493 | vdso32= [X86] |
2456 | vdso32=2: enable compat VDSO (default with COMPAT_VDSO) | 2494 | vdso32=2: enable compat VDSO (default with COMPAT_VDSO) |
2457 | vdso32=1: enable 32-bit VDSO (default) | 2495 | vdso32=1: enable 32-bit VDSO (default) |
2458 | vdso32=0: disable 32-bit VDSO mapping | 2496 | vdso32=0: disable 32-bit VDSO mapping |
diff --git a/Documentation/lguest/.gitignore b/Documentation/lguest/.gitignore new file mode 100644 index 000000000000..115587fd5f65 --- /dev/null +++ b/Documentation/lguest/.gitignore | |||
@@ -0,0 +1 @@ | |||
lguest | |||
diff --git a/Documentation/lguest/lguest.txt b/Documentation/lguest/lguest.txt index 29510dc51510..28c747362f95 100644 --- a/Documentation/lguest/lguest.txt +++ b/Documentation/lguest/lguest.txt | |||
@@ -3,11 +3,11 @@ | |||
3 | /, /` - or, A Young Coder's Illustrated Hypervisor | 3 | /, /` - or, A Young Coder's Illustrated Hypervisor |
4 | \\"--\\ http://lguest.ozlabs.org | 4 | \\"--\\ http://lguest.ozlabs.org |
5 | 5 | ||
6 | Lguest is designed to be a minimal hypervisor for the Linux kernel, for | 6 | Lguest is designed to be a minimal 32-bit x86 hypervisor for the Linux kernel, |
7 | Linux developers and users to experiment with virtualization with the | 7 | for Linux developers and users to experiment with virtualization with the |
8 | minimum of complexity. Nonetheless, it should have sufficient | 8 | minimum of complexity. Nonetheless, it should have sufficient features to |
9 | features to make it useful for specific tasks, and, of course, you are | 9 | make it useful for specific tasks, and, of course, you are encouraged to fork |
10 | encouraged to fork and enhance it (see drivers/lguest/README). | 10 | and enhance it (see drivers/lguest/README). |
11 | 11 | ||
12 | Features: | 12 | Features: |
13 | 13 | ||
@@ -37,6 +37,7 @@ Running Lguest: | |||
37 | "Paravirtualized guest support" = Y | 37 | "Paravirtualized guest support" = Y |
38 | "Lguest guest support" = Y | 38 | "Lguest guest support" = Y |
39 | "High Memory Support" = off/4GB | 39 | "High Memory Support" = off/4GB |
40 | "PAE (Physical Address Extension) Support" = N | ||
40 | "Alignment value to which kernel should be aligned" = 0x100000 | 41 | "Alignment value to which kernel should be aligned" = 0x100000 |
41 | (CONFIG_PARAVIRT=y, CONFIG_LGUEST_GUEST=y, CONFIG_HIGHMEM64G=n and | 42 | (CONFIG_PARAVIRT=y, CONFIG_LGUEST_GUEST=y, CONFIG_HIGHMEM64G=n and |
42 | CONFIG_PHYSICAL_ALIGN=0x100000) | 43 | CONFIG_PHYSICAL_ALIGN=0x100000) |
diff --git a/Documentation/networking/bonding.txt b/Documentation/networking/bonding.txt index 5ede7473b425..08762750f121 100644 --- a/Documentation/networking/bonding.txt +++ b/Documentation/networking/bonding.txt | |||
@@ -1242,7 +1242,7 @@ monitoring is enabled, and vice-versa. | |||
1242 | To add ARP targets: | 1242 | To add ARP targets: |
1243 | # echo +192.168.0.100 > /sys/class/net/bond0/bonding/arp_ip_target | 1243 | # echo +192.168.0.100 > /sys/class/net/bond0/bonding/arp_ip_target |
1244 | # echo +192.168.0.101 > /sys/class/net/bond0/bonding/arp_ip_target | 1244 | # echo +192.168.0.101 > /sys/class/net/bond0/bonding/arp_ip_target |
1245 | NOTE: up to 10 target addresses may be specified. | 1245 | NOTE: up to 16 target addresses may be specified. |
1246 | 1246 | ||
1247 | To remove an ARP target: | 1247 | To remove an ARP target: |
1248 | # echo -192.168.0.100 > /sys/class/net/bond0/bonding/arp_ip_target | 1248 | # echo -192.168.0.100 > /sys/class/net/bond0/bonding/arp_ip_target |
diff --git a/Documentation/powerpc/dts-bindings/fsl/i2c.txt b/Documentation/powerpc/dts-bindings/fsl/i2c.txt index d0ab33e21fe6..b6d2e21474f9 100644 --- a/Documentation/powerpc/dts-bindings/fsl/i2c.txt +++ b/Documentation/powerpc/dts-bindings/fsl/i2c.txt | |||
@@ -7,8 +7,10 @@ Required properties : | |||
7 | 7 | ||
8 | Recommended properties : | 8 | Recommended properties : |
9 | 9 | ||
10 | - compatible : Should be "fsl-i2c" for parts compatible with | 10 | - compatible : compatibility list with 2 entries, the first should |
11 | Freescale I2C specifications. | 11 | be "fsl,CHIP-i2c" where CHIP is the name of a compatible processor, |
12 | e.g. mpc8313, mpc8543, mpc8544, mpc5200 or mpc5200b. The second one | ||
13 | should be "fsl-i2c". | ||
12 | - interrupts : <a b> where a is the interrupt number and b is a | 14 | - interrupts : <a b> where a is the interrupt number and b is a |
13 | field that represents an encoding of the sense and level | 15 | field that represents an encoding of the sense and level |
14 | information for the interrupt. This should be encoded based on | 16 | information for the interrupt. This should be encoded based on |
@@ -16,17 +18,31 @@ Recommended properties : | |||
16 | controller you have. | 18 | controller you have. |
17 | - interrupt-parent : the phandle for the interrupt controller that | 19 | - interrupt-parent : the phandle for the interrupt controller that |
18 | services interrupts for this device. | 20 | services interrupts for this device. |
19 | - dfsrr : boolean; if defined, indicates that this I2C device has | 21 | - fsl,preserve-clocking : boolean; if defined, the clock settings |
20 | a digital filter sampling rate register | 22 | from the bootloader are preserved (not touched). |
21 | - fsl5200-clocking : boolean; if defined, indicated that this device | 23 | - clock-frequency : desired I2C bus clock frequency in Hz. |
22 | uses the FSL 5200 clocking mechanism. | 24 | |
23 | 25 | Examples : | |
24 | Example : | 26 | |
25 | i2c@3000 { | 27 | i2c@3d00 { |
26 | interrupt-parent = <40000>; | 28 | #address-cells = <1>; |
27 | interrupts = <1b 3>; | 29 | #size-cells = <0>; |
28 | reg = <3000 18>; | 30 | compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c"; |
29 | device_type = "i2c"; | 31 | cell-index = <0>; |
30 | compatible = "fsl-i2c"; | 32 | reg = <0x3d00 0x40>; |
31 | dfsrr; | 33 | interrupts = <2 15 0>; |
34 | interrupt-parent = <&mpc5200_pic>; | ||
35 | fsl,preserve-clocking; | ||
32 | }; | 36 | }; |
37 | |||
38 | i2c@3100 { | ||
39 | #address-cells = <1>; | ||
40 | #size-cells = <0>; | ||
41 | cell-index = <1>; | ||
42 | compatible = "fsl,mpc8544-i2c", "fsl-i2c"; | ||
43 | reg = <0x3100 0x100>; | ||
44 | interrupts = <43 2>; | ||
45 | interrupt-parent = <&mpic>; | ||
46 | clock-frequency = <400000>; | ||
47 | }; | ||
48 | |||
diff --git a/Documentation/sound/alsa/HD-Audio.txt b/Documentation/sound/alsa/HD-Audio.txt index c5948f2f9a25..88b7433d2f11 100644 --- a/Documentation/sound/alsa/HD-Audio.txt +++ b/Documentation/sound/alsa/HD-Audio.txt | |||
@@ -169,7 +169,7 @@ PCI SSID look-up. | |||
169 | What `model` option values are available depends on the codec chip. | 169 | What `model` option values are available depends on the codec chip. |
170 | Check your codec chip from the codec proc file (see "Codec Proc-File" | 170 | Check your codec chip from the codec proc file (see "Codec Proc-File" |
171 | section below). It will show the vendor/product name of your codec | 171 | section below). It will show the vendor/product name of your codec |
172 | chip. Then, see Documentation/sound/alsa/HD-Audio-Modelstxt file, | 172 | chip. Then, see Documentation/sound/alsa/HD-Audio-Models.txt file, |
173 | the section of HD-audio driver. You can find a list of codecs | 173 | the section of HD-audio driver. You can find a list of codecs |
174 | and `model` options belonging to each codec. For example, for Realtek | 174 | and `model` options belonging to each codec. For example, for Realtek |
175 | ALC262 codec chip, pass `model=ultra` for devices that are compatible | 175 | ALC262 codec chip, pass `model=ultra` for devices that are compatible |
@@ -177,7 +177,7 @@ with Samsung Q1 Ultra. | |||
177 | 177 | ||
178 | Thus, the first thing you can do for any brand-new, unsupported and | 178 | Thus, the first thing you can do for any brand-new, unsupported and |
179 | non-working HD-audio hardware is to check HD-audio codec and several | 179 | non-working HD-audio hardware is to check HD-audio codec and several |
180 | different `model` option values. If you have a luck, some of them | 180 | different `model` option values. If you have any luck, some of them |
181 | might suit with your device well. | 181 | might suit with your device well. |
182 | 182 | ||
183 | Some codecs such as ALC880 have a special model option `model=test`. | 183 | Some codecs such as ALC880 have a special model option `model=test`. |
diff --git a/Documentation/spi/spi-summary b/Documentation/spi/spi-summary index 0f5122eb282b..4a02d2508bc8 100644 --- a/Documentation/spi/spi-summary +++ b/Documentation/spi/spi-summary | |||
@@ -511,10 +511,16 @@ SPI MASTER METHODS | |||
511 | This sets up the device clock rate, SPI mode, and word sizes. | 511 | This sets up the device clock rate, SPI mode, and word sizes. |
512 | Drivers may change the defaults provided by board_info, and then | 512 | Drivers may change the defaults provided by board_info, and then |
513 | call spi_setup(spi) to invoke this routine. It may sleep. | 513 | call spi_setup(spi) to invoke this routine. It may sleep. |
514 | |||
514 | Unless each SPI slave has its own configuration registers, don't | 515 | Unless each SPI slave has its own configuration registers, don't |
515 | change them right away ... otherwise drivers could corrupt I/O | 516 | change them right away ... otherwise drivers could corrupt I/O |
516 | that's in progress for other SPI devices. | 517 | that's in progress for other SPI devices. |
517 | 518 | ||
519 | ** BUG ALERT: for some reason the first version of | ||
520 | ** many spi_master drivers seems to get this wrong. | ||
521 | ** When you code setup(), ASSUME that the controller | ||
522 | ** is actively processing transfers for another device. | ||
523 | |||
518 | master->transfer(struct spi_device *spi, struct spi_message *message) | 524 | master->transfer(struct spi_device *spi, struct spi_message *message) |
519 | This must not sleep. Its responsibility is arrange that the | 525 | This must not sleep. Its responsibility is arrange that the |
520 | transfer happens and its complete() callback is issued. The two | 526 | transfer happens and its complete() callback is issued. The two |