diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-11-15 04:51:40 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-11-15 04:51:40 -0500 |
commit | f055408957750cf759162c364c2a4dfe19765844 (patch) | |
tree | aecc0a13c582d310902e6fa95d8853c627828fcc /Documentation | |
parent | 83cbd33aae2c3cd14f80a8abf733033a57aa4923 (diff) | |
parent | 4060994c3e337b40e0f6fa8ce2cc178e021baf3d (diff) |
Merge branch 'master'
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/DocBook/Makefile | 48 | ||||
-rw-r--r-- | Documentation/DocBook/kernel-api.tmpl | 4 | ||||
-rw-r--r-- | Documentation/DocBook/stylesheet.xsl | 1 | ||||
-rw-r--r-- | Documentation/atomic_ops.txt | 27 | ||||
-rw-r--r-- | Documentation/oops-tracing.txt | 4 | ||||
-rw-r--r-- | Documentation/video4linux/CARDLIST.bttv | 1 | ||||
-rw-r--r-- | Documentation/video4linux/CARDLIST.saa7134 | 2 | ||||
-rw-r--r-- | Documentation/video4linux/CARDLIST.tuner | 1 | ||||
-rw-r--r-- | Documentation/x86_64/boot-options.txt | 12 | ||||
-rw-r--r-- | Documentation/x86_64/mm.txt | 6 |
10 files changed, 84 insertions, 22 deletions
diff --git a/Documentation/DocBook/Makefile b/Documentation/DocBook/Makefile index 7018f5c6a447..1c955883cf58 100644 --- a/Documentation/DocBook/Makefile +++ b/Documentation/DocBook/Makefile | |||
@@ -20,6 +20,12 @@ DOCBOOKS := wanbook.xml z8530book.xml mcabook.xml videobook.xml \ | |||
20 | # +--> DIR=file (htmldocs) | 20 | # +--> DIR=file (htmldocs) |
21 | # +--> man/ (mandocs) | 21 | # +--> man/ (mandocs) |
22 | 22 | ||
23 | |||
24 | # for PDF and PS output you can choose between xmlto and docbook-utils tools | ||
25 | PDF_METHOD = $(prefer-db2x) | ||
26 | PS_METHOD = $(prefer-db2x) | ||
27 | |||
28 | |||
23 | ### | 29 | ### |
24 | # The targets that may be used. | 30 | # The targets that may be used. |
25 | .PHONY: xmldocs sgmldocs psdocs pdfdocs htmldocs mandocs installmandocs | 31 | .PHONY: xmldocs sgmldocs psdocs pdfdocs htmldocs mandocs installmandocs |
@@ -93,27 +99,39 @@ C-procfs-example = procfs_example.xml | |||
93 | C-procfs-example2 = $(addprefix $(obj)/,$(C-procfs-example)) | 99 | C-procfs-example2 = $(addprefix $(obj)/,$(C-procfs-example)) |
94 | $(obj)/procfs-guide.xml: $(C-procfs-example2) | 100 | $(obj)/procfs-guide.xml: $(C-procfs-example2) |
95 | 101 | ||
96 | ### | 102 | notfoundtemplate = echo "*** You have to install docbook-utils or xmlto ***"; \ |
97 | # Rules to generate postscript, PDF and HTML | 103 | exit 1 |
98 | # db2html creates a directory. Generate a html file used for timestamp | 104 | db2xtemplate = db2TYPE -o $(dir $@) $< |
105 | xmltotemplate = xmlto TYPE $(XMLTOFLAGS) -o $(dir $@) $< | ||
106 | |||
107 | # determine which methods are available | ||
108 | ifeq ($(shell which db2ps >/dev/null 2>&1 && echo found),found) | ||
109 | use-db2x = db2x | ||
110 | prefer-db2x = db2x | ||
111 | else | ||
112 | use-db2x = notfound | ||
113 | prefer-db2x = $(use-xmlto) | ||
114 | endif | ||
115 | ifeq ($(shell which xmlto >/dev/null 2>&1 && echo found),found) | ||
116 | use-xmlto = xmlto | ||
117 | prefer-xmlto = xmlto | ||
118 | else | ||
119 | use-xmlto = notfound | ||
120 | prefer-xmlto = $(use-db2x) | ||
121 | endif | ||
99 | 122 | ||
100 | quiet_cmd_db2ps = XMLTO $@ | 123 | # the commands, generated from the chosen template |
101 | cmd_db2ps = xmlto ps $(XMLTOFLAGS) -o $(dir $@) $< | 124 | quiet_cmd_db2ps = PS $@ |
125 | cmd_db2ps = $(subst TYPE,ps, $($(PS_METHOD)template)) | ||
102 | %.ps : %.xml | 126 | %.ps : %.xml |
103 | @(which xmlto > /dev/null 2>&1) || \ | ||
104 | (echo "*** You need to install xmlto ***"; \ | ||
105 | exit 1) | ||
106 | $(call cmd,db2ps) | 127 | $(call cmd,db2ps) |
107 | 128 | ||
108 | quiet_cmd_db2pdf = XMLTO $@ | 129 | quiet_cmd_db2pdf = PDF $@ |
109 | cmd_db2pdf = xmlto pdf $(XMLTOFLAGS) -o $(dir $@) $< | 130 | cmd_db2pdf = $(subst TYPE,pdf, $($(PDF_METHOD)template)) |
110 | %.pdf : %.xml | 131 | %.pdf : %.xml |
111 | @(which xmlto > /dev/null 2>&1) || \ | ||
112 | (echo "*** You need to install xmlto ***"; \ | ||
113 | exit 1) | ||
114 | $(call cmd,db2pdf) | 132 | $(call cmd,db2pdf) |
115 | 133 | ||
116 | quiet_cmd_db2html = XMLTO $@ | 134 | quiet_cmd_db2html = HTML $@ |
117 | cmd_db2html = xmlto xhtml $(XMLTOFLAGS) -o $(patsubst %.html,%,$@) $< && \ | 135 | cmd_db2html = xmlto xhtml $(XMLTOFLAGS) -o $(patsubst %.html,%,$@) $< && \ |
118 | echo '<a HREF="$(patsubst %.html,%,$(notdir $@))/index.html"> \ | 136 | echo '<a HREF="$(patsubst %.html,%,$(notdir $@))/index.html"> \ |
119 | Goto $(patsubst %.html,%,$(notdir $@))</a><p>' > $@ | 137 | Goto $(patsubst %.html,%,$(notdir $@))</a><p>' > $@ |
@@ -127,7 +145,7 @@ quiet_cmd_db2html = XMLTO $@ | |||
127 | @if [ ! -z "$(PNG-$(basename $(notdir $@)))" ]; then \ | 145 | @if [ ! -z "$(PNG-$(basename $(notdir $@)))" ]; then \ |
128 | cp $(PNG-$(basename $(notdir $@))) $(patsubst %.html,%,$@); fi | 146 | cp $(PNG-$(basename $(notdir $@))) $(patsubst %.html,%,$@); fi |
129 | 147 | ||
130 | quiet_cmd_db2man = XMLTO $@ | 148 | quiet_cmd_db2man = MAN $@ |
131 | cmd_db2man = if grep -q refentry $<; then xmlto man $(XMLTOFLAGS) -o $(obj)/man $< ; gzip -f $(obj)/man/*.9; fi | 149 | cmd_db2man = if grep -q refentry $<; then xmlto man $(XMLTOFLAGS) -o $(obj)/man $< ; gzip -f $(obj)/man/*.9; fi |
132 | %.9 : %.xml | 150 | %.9 : %.xml |
133 | @(which xmlto > /dev/null 2>&1) || \ | 151 | @(which xmlto > /dev/null 2>&1) || \ |
diff --git a/Documentation/DocBook/kernel-api.tmpl b/Documentation/DocBook/kernel-api.tmpl index a8316b1a3e3d..0519c9dc0065 100644 --- a/Documentation/DocBook/kernel-api.tmpl +++ b/Documentation/DocBook/kernel-api.tmpl | |||
@@ -68,9 +68,7 @@ X!Iinclude/linux/kobject.h | |||
68 | 68 | ||
69 | <sect1><title>Kernel utility functions</title> | 69 | <sect1><title>Kernel utility functions</title> |
70 | !Iinclude/linux/kernel.h | 70 | !Iinclude/linux/kernel.h |
71 | <!-- This needs to clean up to make kernel-doc happy | 71 | !Ekernel/printk.c |
72 | X!Ekernel/printk.c | ||
73 | --> | ||
74 | !Ekernel/panic.c | 72 | !Ekernel/panic.c |
75 | !Ekernel/sys.c | 73 | !Ekernel/sys.c |
76 | !Ekernel/rcupdate.c | 74 | !Ekernel/rcupdate.c |
diff --git a/Documentation/DocBook/stylesheet.xsl b/Documentation/DocBook/stylesheet.xsl index 64be9f7ee3bb..3ccce886c349 100644 --- a/Documentation/DocBook/stylesheet.xsl +++ b/Documentation/DocBook/stylesheet.xsl | |||
@@ -3,4 +3,5 @@ | |||
3 | <param name="chunk.quietly">1</param> | 3 | <param name="chunk.quietly">1</param> |
4 | <param name="funcsynopsis.style">ansi</param> | 4 | <param name="funcsynopsis.style">ansi</param> |
5 | <param name="funcsynopsis.tabular.threshold">80</param> | 5 | <param name="funcsynopsis.tabular.threshold">80</param> |
6 | <!-- <param name="paper.type">A4</param> --> | ||
6 | </stylesheet> | 7 | </stylesheet> |
diff --git a/Documentation/atomic_ops.txt b/Documentation/atomic_ops.txt index 8eedaa24f5e2..23a1c2402bcc 100644 --- a/Documentation/atomic_ops.txt +++ b/Documentation/atomic_ops.txt | |||
@@ -115,6 +115,33 @@ boolean is return which indicates whether the resulting counter value | |||
115 | is negative. It requires explicit memory barrier semantics around the | 115 | is negative. It requires explicit memory barrier semantics around the |
116 | operation. | 116 | operation. |
117 | 117 | ||
118 | Then: | ||
119 | |||
120 | int atomic_cmpxchg(atomic_t *v, int old, int new); | ||
121 | |||
122 | This performs an atomic compare exchange operation on the atomic value v, | ||
123 | with the given old and new values. Like all atomic_xxx operations, | ||
124 | atomic_cmpxchg will only satisfy its atomicity semantics as long as all | ||
125 | other accesses of *v are performed through atomic_xxx operations. | ||
126 | |||
127 | atomic_cmpxchg requires explicit memory barriers around the operation. | ||
128 | |||
129 | The semantics for atomic_cmpxchg are the same as those defined for 'cas' | ||
130 | below. | ||
131 | |||
132 | Finally: | ||
133 | |||
134 | int atomic_add_unless(atomic_t *v, int a, int u); | ||
135 | |||
136 | If the atomic value v is not equal to u, this function adds a to v, and | ||
137 | returns non zero. If v is equal to u then it returns zero. This is done as | ||
138 | an atomic operation. | ||
139 | |||
140 | atomic_add_unless requires explicit memory barriers around the operation. | ||
141 | |||
142 | atomic_inc_not_zero, equivalent to atomic_add_unless(v, 1, 0) | ||
143 | |||
144 | |||
118 | If a caller requires memory barrier semantics around an atomic_t | 145 | If a caller requires memory barrier semantics around an atomic_t |
119 | operation which does not return a value, a set of interfaces are | 146 | operation which does not return a value, a set of interfaces are |
120 | defined which accomplish this: | 147 | defined which accomplish this: |
diff --git a/Documentation/oops-tracing.txt b/Documentation/oops-tracing.txt index c563842ed805..9f30ac6ca47b 100644 --- a/Documentation/oops-tracing.txt +++ b/Documentation/oops-tracing.txt | |||
@@ -30,7 +30,9 @@ the disk is not available then you have three options :- | |||
30 | 30 | ||
31 | (1) Hand copy the text from the screen and type it in after the machine | 31 | (1) Hand copy the text from the screen and type it in after the machine |
32 | has restarted. Messy but it is the only option if you have not | 32 | has restarted. Messy but it is the only option if you have not |
33 | planned for a crash. | 33 | planned for a crash. Alternatively, you can take a picture of |
34 | the screen with a digital camera - not nice, but better than | ||
35 | nothing. | ||
34 | 36 | ||
35 | (2) Boot with a serial console (see Documentation/serial-console.txt), | 37 | (2) Boot with a serial console (see Documentation/serial-console.txt), |
36 | run a null modem to a second machine and capture the output there | 38 | run a null modem to a second machine and capture the output there |
diff --git a/Documentation/video4linux/CARDLIST.bttv b/Documentation/video4linux/CARDLIST.bttv index 2404099996ac..330246ac80f8 100644 --- a/Documentation/video4linux/CARDLIST.bttv +++ b/Documentation/video4linux/CARDLIST.bttv | |||
@@ -140,3 +140,4 @@ | |||
140 | 139 -> Prolink PixelView PlayTV MPEG2 PV-M4900 | 140 | 139 -> Prolink PixelView PlayTV MPEG2 PV-M4900 |
141 | 140 -> Osprey 440 [0070:ff07] | 141 | 140 -> Osprey 440 [0070:ff07] |
142 | 141 -> Asound Skyeye PCTV | 142 | 141 -> Asound Skyeye PCTV |
143 | 142 -> Sabrent TV-FM (bttv version) | ||
diff --git a/Documentation/video4linux/CARDLIST.saa7134 b/Documentation/video4linux/CARDLIST.saa7134 index 57c9d631db56..efb708ec116a 100644 --- a/Documentation/video4linux/CARDLIST.saa7134 +++ b/Documentation/video4linux/CARDLIST.saa7134 | |||
@@ -80,3 +80,5 @@ | |||
80 | 79 -> Sedna/MuchTV PC TV Cardbus TV/Radio (ITO25 Rev:2B) | 80 | 79 -> Sedna/MuchTV PC TV Cardbus TV/Radio (ITO25 Rev:2B) |
81 | 80 -> ASUS Digimatrix TV [1043:0210] | 81 | 80 -> ASUS Digimatrix TV [1043:0210] |
82 | 81 -> Philips Tiger reference design [1131:2018] | 82 | 81 -> Philips Tiger reference design [1131:2018] |
83 | 82 -> MSI TV@Anywhere plus [1462:6231] | ||
84 | |||
diff --git a/Documentation/video4linux/CARDLIST.tuner b/Documentation/video4linux/CARDLIST.tuner index ec840ca6f455..9d6544ea9f41 100644 --- a/Documentation/video4linux/CARDLIST.tuner +++ b/Documentation/video4linux/CARDLIST.tuner | |||
@@ -67,3 +67,4 @@ tuner=65 - Ymec TVF66T5-B/DFF | |||
67 | tuner=66 - LG NTSC (TALN mini series) | 67 | tuner=66 - LG NTSC (TALN mini series) |
68 | tuner=67 - Philips TD1316 Hybrid Tuner | 68 | tuner=67 - Philips TD1316 Hybrid Tuner |
69 | tuner=68 - Philips TUV1236D ATSC/NTSC dual in | 69 | tuner=68 - Philips TUV1236D ATSC/NTSC dual in |
70 | tuner=69 - Tena TNF 5335 MF | ||
diff --git a/Documentation/x86_64/boot-options.txt b/Documentation/x86_64/boot-options.txt index ffe1c062088b..e566affeed7f 100644 --- a/Documentation/x86_64/boot-options.txt +++ b/Documentation/x86_64/boot-options.txt | |||
@@ -7,10 +7,12 @@ Machine check | |||
7 | 7 | ||
8 | mce=off disable machine check | 8 | mce=off disable machine check |
9 | mce=bootlog Enable logging of machine checks left over from booting. | 9 | mce=bootlog Enable logging of machine checks left over from booting. |
10 | Disabled by default because some BIOS leave bogus ones. | 10 | Disabled by default on AMD because some BIOS leave bogus ones. |
11 | If your BIOS doesn't do that it's a good idea to enable though | 11 | If your BIOS doesn't do that it's a good idea to enable though |
12 | to make sure you log even machine check events that result | 12 | to make sure you log even machine check events that result |
13 | in a reboot. | 13 | in a reboot. On Intel systems it is enabled by default. |
14 | mce=nobootlog | ||
15 | Disable boot machine check logging. | ||
14 | mce=tolerancelevel (number) | 16 | mce=tolerancelevel (number) |
15 | 0: always panic, 1: panic if deadlock possible, | 17 | 0: always panic, 1: panic if deadlock possible, |
16 | 2: try to avoid panic, 3: never panic or exit (for testing) | 18 | 2: try to avoid panic, 3: never panic or exit (for testing) |
@@ -122,6 +124,9 @@ SMP | |||
122 | 124 | ||
123 | cpumask=MASK only use cpus with bits set in mask | 125 | cpumask=MASK only use cpus with bits set in mask |
124 | 126 | ||
127 | additional_cpus=NUM Allow NUM more CPUs for hotplug | ||
128 | (defaults are specified by the BIOS or half the available CPUs) | ||
129 | |||
125 | NUMA | 130 | NUMA |
126 | 131 | ||
127 | numa=off Only set up a single NUMA node spanning all memory. | 132 | numa=off Only set up a single NUMA node spanning all memory. |
@@ -188,6 +193,9 @@ Debugging | |||
188 | 193 | ||
189 | kstack=N Print that many words from the kernel stack in oops dumps. | 194 | kstack=N Print that many words from the kernel stack in oops dumps. |
190 | 195 | ||
196 | pagefaulttrace Dump all page faults. Only useful for extreme debugging | ||
197 | and will create a lot of output. | ||
198 | |||
191 | Misc | 199 | Misc |
192 | 200 | ||
193 | noreplacement Don't replace instructions with more appropiate ones | 201 | noreplacement Don't replace instructions with more appropiate ones |
diff --git a/Documentation/x86_64/mm.txt b/Documentation/x86_64/mm.txt index 662b73971a67..133561b9cb0c 100644 --- a/Documentation/x86_64/mm.txt +++ b/Documentation/x86_64/mm.txt | |||
@@ -6,7 +6,7 @@ Virtual memory map with 4 level page tables: | |||
6 | 0000000000000000 - 00007fffffffffff (=47bits) user space, different per mm | 6 | 0000000000000000 - 00007fffffffffff (=47bits) user space, different per mm |
7 | hole caused by [48:63] sign extension | 7 | hole caused by [48:63] sign extension |
8 | ffff800000000000 - ffff80ffffffffff (=40bits) guard hole | 8 | ffff800000000000 - ffff80ffffffffff (=40bits) guard hole |
9 | ffff810000000000 - ffffc0ffffffffff (=46bits) direct mapping of phys. memory | 9 | ffff810000000000 - ffffc0ffffffffff (=46bits) direct mapping of all phys. memory |
10 | ffffc10000000000 - ffffc1ffffffffff (=40bits) hole | 10 | ffffc10000000000 - ffffc1ffffffffff (=40bits) hole |
11 | ffffc20000000000 - ffffe1ffffffffff (=45bits) vmalloc/ioremap space | 11 | ffffc20000000000 - ffffe1ffffffffff (=45bits) vmalloc/ioremap space |
12 | ... unused hole ... | 12 | ... unused hole ... |
@@ -14,6 +14,10 @@ ffffffff80000000 - ffffffff82800000 (=40MB) kernel text mapping, from phys 0 | |||
14 | ... unused hole ... | 14 | ... unused hole ... |
15 | ffffffff88000000 - fffffffffff00000 (=1919MB) module mapping space | 15 | ffffffff88000000 - fffffffffff00000 (=1919MB) module mapping space |
16 | 16 | ||
17 | The direct mapping covers all memory in the system upto the highest | ||
18 | memory address (this means in some cases it can also include PCI memory | ||
19 | holes) | ||
20 | |||
17 | vmalloc space is lazily synchronized into the different PML4 pages of | 21 | vmalloc space is lazily synchronized into the different PML4 pages of |
18 | the processes using the page fault handler, with init_level4_pgt as | 22 | the processes using the page fault handler, with init_level4_pgt as |
19 | reference. | 23 | reference. |