Skip to content

Commit b23c477

Browse files
committed
Merge tag 'docs-5.8' of git://git.lwn.net/linux
Pull documentation updates from Jonathan Corbet: "A fair amount of stuff this time around, dominated by yet another massive set from Mauro toward the completion of the RST conversion. I *really* hope we are getting close to the end of this. Meanwhile, those patches reach pretty far afield to update document references around the tree; there should be no actual code changes there. There will be, alas, more of the usual trivial merge conflicts. Beyond that we have more translations, improvements to the sphinx scripting, a number of additions to the sysctl documentation, and lots of fixes" * tag 'docs-5.8' of git://git.lwn.net/linux: (130 commits) Documentation: fixes to the maintainer-entry-profile template zswap: docs/vm: Fix typo accept_threshold_percent in zswap.rst tracing: Fix events.rst section numbering docs: acpi: fix old http link and improve document format docs: filesystems: add info about efivars content Documentation: LSM: Correct the basic LSM description mailmap: change email for Ricardo Ribalda docs: sysctl/kernel: document unaligned controls Documentation: admin-guide: update bug-hunting.rst docs: sysctl/kernel: document ngroups_max nvdimm: fixes to maintainter-entry-profile Documentation/features: Correct RISC-V kprobes support entry Documentation/features: Refresh the arch support status files Revert "docs: sysctl/kernel: document ngroups_max" docs: move locking-specific documents to locking/ docs: move digsig docs to the security book docs: move the kref doc into the core-api book docs: add IRQ documentation at the core-api book docs: debugging-via-ohci1394.txt: add it to the core-api book docs: fix references for ipmi.rst file ...
2 parents c2b0fc8 + e35b5a4 commit b23c477

File tree

267 files changed

+6317
-4354
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

267 files changed

+6317
-4354
lines changed

.mailmap

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ Krzysztof Kozlowski <[email protected]> <[email protected]>
152152
Kuninori Morimoto <[email protected]>
153153
154154
155+
155156
Leonid I Ananiev <[email protected]>
156157
Linas Vepstas <[email protected]>
157158
@@ -234,7 +235,9 @@ Ralf Baechle <[email protected]>
234235
Ralf Wildenhues <[email protected]>
235236
236237
Rémi Denis-Courmont <[email protected]>
237-
Ricardo Ribalda Delgado <[email protected]>
238+
239+
240+
Ricardo Ribalda <[email protected]> Ricardo Ribalda Delgado <[email protected]>
238241
239242
Rudolf Marek <[email protected]>
240243
Rui Saraiva <[email protected]>

CREDITS

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3104,14 +3104,16 @@ W: http://www.qsl.net/dl1bke/
31043104
D: Generic Z8530 driver, AX.25 DAMA slave implementation
31053105
D: Several AX.25 hacks
31063106

3107-
N: Ricardo Ribalda Delgado
3108-
E: ricardo.ribalda@gmail.com
3107+
N: Ricardo Ribalda
3108+
E: ribalda@kernel.org
31093109
W: http://ribalda.com
31103110
D: PLX USB338x driver
31113111
D: PCA9634 driver
31123112
D: Option GTM671WFS
31133113
D: Fintek F81216A
31143114
D: AD5761 iio driver
3115+
D: TI DAC7612 driver
3116+
D: Sony IMX214 driver
31153117
D: Various kernel hacks
31163118
S: Qtechnology A/S
31173119
S: Valby Langgade 142

Documentation/ABI/stable/sysfs-devices-node

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Date: October 2002
5454
Contact: Linux Memory Management list <[email protected]>
5555
Description:
5656
Provides information about the node's distribution and memory
57-
utilization. Similar to /proc/meminfo, see Documentation/filesystems/proc.txt
57+
utilization. Similar to /proc/meminfo, see Documentation/filesystems/proc.rst
5858

5959
What: /sys/devices/system/node/nodeX/numastat
6060
Date: October 2002

Documentation/ABI/testing/procfs-smaps_rollup

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Description:
1111
Additionally, the fields Pss_Anon, Pss_File and Pss_Shmem
1212
are not present in /proc/pid/smaps. These fields represent
1313
the sum of the Pss field of each type (anon, file, shmem).
14-
For more details, see Documentation/filesystems/proc.txt
14+
For more details, see Documentation/filesystems/proc.rst
1515
and the procfs man page.
1616

1717
Typical output looks like this:

Documentation/Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,11 @@ else # HAVE_PDFLATEX
9898

9999
pdfdocs: latexdocs
100100
@$(srctree)/scripts/sphinx-pre-install --version-check
101-
$(foreach var,$(SPHINXDIRS), $(MAKE) PDFLATEX="$(PDFLATEX)" LATEXOPTS="$(LATEXOPTS)" -C $(BUILDDIR)/$(var)/latex || exit;)
101+
$(foreach var,$(SPHINXDIRS), \
102+
$(MAKE) PDFLATEX="$(PDFLATEX)" LATEXOPTS="$(LATEXOPTS)" -C $(BUILDDIR)/$(var)/latex || exit; \
103+
mkdir -p $(BUILDDIR)/$(var)/pdf; \
104+
mv $(subst .tex,.pdf,$(wildcard $(BUILDDIR)/$(var)/latex/*.tex)) $(BUILDDIR)/$(var)/pdf/; \
105+
)
102106

103107
endif # HAVE_PDFLATEX
104108

Documentation/PCI/boot-interrupts.rst

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,13 @@ interrupt goes unhandled over time, they are tracked by the Linux kernel as
3232
Spurious Interrupts. The IRQ will be disabled by the Linux kernel after it
3333
reaches a specific count with the error "nobody cared". This disabled IRQ
3434
now prevents valid usage by an existing interrupt which may happen to share
35-
the IRQ line.
35+
the IRQ line::
3636

3737
irq 19: nobody cared (try booting with the "irqpoll" option)
3838
CPU: 0 PID: 2988 Comm: irq/34-nipalk Tainted: 4.14.87-rt49-02410-g4a640ec-dirty #1
3939
Hardware name: National Instruments NI PXIe-8880/NI PXIe-8880, BIOS 2.1.5f1 01/09/2020
4040
Call Trace:
41+
4142
<IRQ>
4243
? dump_stack+0x46/0x5e
4344
? __report_bad_irq+0x2e/0xb0
@@ -85,15 +86,18 @@ Mitigations
8586
The mitigations take the form of PCI quirks. The preference has been to
8687
first identify and make use of a means to disable the routing to the PCH.
8788
In such a case a quirk to disable boot interrupt generation can be
88-
added.[1]
89+
added. [1]_
8990

90-
Intel® 6300ESB I/O Controller Hub
91+
Intel® 6300ESB I/O Controller Hub
9192
Alternate Base Address Register:
9293
BIE: Boot Interrupt Enable
93-
0 = Boot interrupt is enabled.
94-
1 = Boot interrupt is disabled.
9594

96-
Intel® Sandy Bridge through Sky Lake based Xeon servers:
95+
== ===========================
96+
0 Boot interrupt is enabled.
97+
1 Boot interrupt is disabled.
98+
== ===========================
99+
100+
Intel® Sandy Bridge through Sky Lake based Xeon servers:
97101
Coherent Interface Protocol Interrupt Control
98102
dis_intx_route2pch/dis_intx_route2ich/dis_intx_route2dmi2:
99103
When this bit is set. Local INTx messages received from the
@@ -109,12 +113,12 @@ line by default. Therefore, on chipsets where this INTx routing cannot be
109113
disabled, the Linux kernel will reroute the valid interrupt to its legacy
110114
interrupt. This redirection of the handler will prevent the occurrence of
111115
the spurious interrupt detection which would ordinarily disable the IRQ
112-
line due to excessive unhandled counts.[2]
116+
line due to excessive unhandled counts. [2]_
113117

114118
The config option X86_REROUTE_FOR_BROKEN_BOOT_IRQS exists to enable (or
115119
disable) the redirection of the interrupt handler to the PCH interrupt
116120
line. The option can be overridden by either pci=ioapicreroute or
117-
pci=noioapicreroute.[3]
121+
pci=noioapicreroute. [3]_
118122

119123

120124
More Documentation
@@ -127,19 +131,19 @@ into the evolution of its handling with chipsets.
127131
Example of disabling of the boot interrupt
128132
------------------------------------------
129133

130-
Intel® 6300ESB I/O Controller Hub (Document # 300641-004US)
134+
- Intel® 6300ESB I/O Controller Hub (Document # 300641-004US)
131135
5.7.3 Boot Interrupt
132136
https://www.intel.com/content/dam/doc/datasheet/6300esb-io-controller-hub-datasheet.pdf
133137

134-
Intel® Xeon® Processor E5-1600/2400/2600/4600 v3 Product Families
135-
Datasheet - Volume 2: Registers (Document # 330784-003)
138+
- Intel® Xeon® Processor E5-1600/2400/2600/4600 v3 Product Families
139+
Datasheet - Volume 2: Registers (Document # 330784-003)
136140
6.6.41 cipintrc Coherent Interface Protocol Interrupt Control
137141
https://www.intel.com/content/dam/www/public/us/en/documents/datasheets/xeon-e5-v3-datasheet-vol-2.pdf
138142

139143
Example of handler rerouting
140144
----------------------------
141145

142-
Intel® 6700PXH 64-bit PCI Hub (Document # 302628)
146+
- Intel® 6700PXH 64-bit PCI Hub (Document # 302628)
143147
2.15.2 PCI Express Legacy INTx Support and Boot Interrupt
144148
https://www.intel.com/content/dam/doc/datasheet/6700pxh-64-bit-pci-hub-datasheet.pdf
145149

@@ -150,6 +154,6 @@ Cheers,
150154
Sean V Kelley
151155
152156

153-
[1] https://lore.kernel.org/r/[email protected]/
154-
[2] https://lore.kernel.org/r/[email protected]/
155-
[3] https://lore.kernel.org/r/[email protected]/
157+
.. [1] https://lore.kernel.org/r/[email protected]/
158+
.. [2] https://lore.kernel.org/r/[email protected]/
159+
.. [3] https://lore.kernel.org/r/[email protected]/

Documentation/admin-guide/acpi/ssdt-overlays.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ which can then be compiled to AML binary format::
6363
ASL Input: minnomax.asl - 30 lines, 614 bytes, 7 keywords
6464
AML Output: minnowmax.aml - 165 bytes, 6 named objects, 1 executable opcodes
6565

66-
[1] http://wiki.minnowboard.org/MinnowBoard_MAX#Low_Speed_Expansion_Connector_.28Top.29
66+
[1] https://www.elinux.org/Minnowboard:MinnowMax#Low_Speed_Expansion_.28Top.29
6767

6868
The resulting AML code can then be loaded by the kernel using one of the methods
6969
below.

Documentation/admin-guide/bug-hunting.rst

Lines changed: 31 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,19 @@ the issue, it may also contain the word **Oops**, as on this one::
4949

5050
Despite being an **Oops** or some other sort of stack trace, the offended
5151
line is usually required to identify and handle the bug. Along this chapter,
52-
we'll refer to "Oops" for all kinds of stack traces that need to be analized.
52+
we'll refer to "Oops" for all kinds of stack traces that need to be analyzed.
5353

54-
.. note::
54+
If the kernel is compiled with ``CONFIG_DEBUG_INFO``, you can enhance the
55+
quality of the stack trace by using file:`scripts/decode_stacktrace.sh`.
56+
57+
Modules linked in
58+
-----------------
59+
60+
Modules that are tainted or are being loaded or unloaded are marked with
61+
"(...)", where the taint flags are described in
62+
file:`Documentation/admin-guide/tainted-kernels.rst`, "being loaded" is
63+
annotated with "+", and "being unloaded" is annotated with "-".
5564

56-
``ksymoops`` is useless on 2.6 or upper. Please use the Oops in its original
57-
format (from ``dmesg``, etc). Ignore any references in this or other docs to
58-
"decoding the Oops" or "running it through ksymoops".
59-
If you post an Oops from 2.6+ that has been run through ``ksymoops``,
60-
people will just tell you to repost it.
6165

6266
Where is the Oops message is located?
6367
-------------------------------------
@@ -71,7 +75,7 @@ by running ``journalctl`` command.
7175
Sometimes ``klogd`` dies, in which case you can run ``dmesg > file`` to
7276
read the data from the kernel buffers and save it. Or you can
7377
``cat /proc/kmsg > file``, however you have to break in to stop the transfer,
74-
``kmsg`` is a "never ending file".
78+
since ``kmsg`` is a "never ending file".
7579

7680
If the machine has crashed so badly that you cannot enter commands or
7781
the disk is not available then you have three options:
@@ -81,9 +85,9 @@ the disk is not available then you have three options:
8185
planned for a crash. Alternatively, you can take a picture of
8286
the screen with a digital camera - not nice, but better than
8387
nothing. If the messages scroll off the top of the console, you
84-
may find that booting with a higher resolution (eg, ``vga=791``)
88+
may find that booting with a higher resolution (e.g., ``vga=791``)
8589
will allow you to read more of the text. (Caveat: This needs ``vesafb``,
86-
so won't help for 'early' oopses)
90+
so won't help for 'early' oopses.)
8791

8892
(2) Boot with a serial console (see
8993
:ref:`Documentation/admin-guide/serial-console.rst <serial_console>`),
@@ -104,7 +108,7 @@ Kernel source file. There are two methods for doing that. Usually, using
104108
gdb
105109
^^^
106110

107-
The GNU debug (``gdb``) is the best way to figure out the exact file and line
111+
The GNU debugger (``gdb``) is the best way to figure out the exact file and line
108112
number of the OOPS from the ``vmlinux`` file.
109113

110114
The usage of gdb works best on a kernel compiled with ``CONFIG_DEBUG_INFO``.
@@ -165,7 +169,7 @@ If you have a call trace, such as::
165169
[<ffffffff8802770b>] :jbd:journal_stop+0x1be/0x1ee
166170
...
167171

168-
this shows the problem likely in the :jbd: module. You can load that module
172+
this shows the problem likely is in the :jbd: module. You can load that module
169173
in gdb and list the relevant code::
170174

171175
$ gdb fs/jbd/jbd.ko
@@ -199,8 +203,9 @@ in the kernel hacking menu of the menu configuration.) For example::
199203
You need to be at the top level of the kernel tree for this to pick up
200204
your C files.
201205

202-
If you don't have access to the code you can also debug on some crash dumps
203-
e.g. crash dump output as shown by Dave Miller::
206+
If you don't have access to the source code you can still debug some crash
207+
dumps using the following method (example crash dump output as shown by
208+
Dave Miller)::
204209

205210
EIP is at +0x14/0x4c0
206211
...
@@ -230,6 +235,9 @@ e.g. crash dump output as shown by Dave Miller::
230235
mov 0x8(%ebp), %ebx ! %ebx = skb->sk
231236
mov 0x13c(%ebx), %eax ! %eax = inet_sk(sk)->opt
232237

238+
file:`scripts/decodecode` can be used to automate most of this, depending
239+
on what CPU architecture is being debugged.
240+
233241
Reporting the bug
234242
-----------------
235243

@@ -241,7 +249,7 @@ used for the development of the affected code. This can be done by using
241249
the ``get_maintainer.pl`` script.
242250

243251
For example, if you find a bug at the gspca's sonixj.c file, you can get
244-
their maintainers with::
252+
its maintainers with::
245253

246254
$ ./scripts/get_maintainer.pl -f drivers/media/usb/gspca/sonixj.c
247255
Hans Verkuil <[email protected]> (odd fixer:GSPCA USB WEBCAM DRIVER,commit_signer:1/1=100%)
@@ -253,16 +261,17 @@ their maintainers with::
253261

254262
Please notice that it will point to:
255263

256-
- The last developers that touched on the source code. On the above example,
257-
Tejun and Bhaktipriya (in this specific case, none really envolved on the
258-
development of this file);
264+
- The last developers that touched the source code (if this is done inside
265+
a git tree). On the above example, Tejun and Bhaktipriya (in this
266+
specific case, none really envolved on the development of this file);
259267
- The driver maintainer (Hans Verkuil);
260268
- The subsystem maintainer (Mauro Carvalho Chehab);
261269
- The driver and/or subsystem mailing list ([email protected]);
262270
- the Linux Kernel mailing list ([email protected]).
263271

264272
Usually, the fastest way to have your bug fixed is to report it to mailing
265-
list used for the development of the code (linux-media ML) copying the driver maintainer (Hans).
273+
list used for the development of the code (linux-media ML) copying the
274+
driver maintainer (Hans).
266275

267276
If you are totally stumped as to whom to send the report, and
268277
``get_maintainer.pl`` didn't provide you anything useful, send it to
@@ -303,9 +312,9 @@ protection fault message can be simply cut out of the message files
303312
and forwarded to the kernel developers.
304313

305314
Two types of address resolution are performed by ``klogd``. The first is
306-
static translation and the second is dynamic translation. Static
307-
translation uses the System.map file in much the same manner that
308-
ksymoops does. In order to do static translation the ``klogd`` daemon
315+
static translation and the second is dynamic translation.
316+
Static translation uses the System.map file.
317+
In order to do static translation the ``klogd`` daemon
309318
must be able to find a system map file at daemon initialization time.
310319
See the klogd man page for information on how ``klogd`` searches for map
311320
files.

Documentation/admin-guide/cpu-load.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ References
105105
----------
106106

107107
- http://lkml.org/lkml/2007/2/12/6
108-
- Documentation/filesystems/proc.txt (1.8)
108+
- Documentation/filesystems/proc.rst (1.8)
109109

110110

111111
Thanks

Documentation/admin-guide/hw-vuln/l1tf.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ Guest mitigation mechanisms
268268
/proc/irq/$NR/smp_affinity[_list] files. Limited documentation is
269269
available at:
270270

271-
https://www.kernel.org/doc/Documentation/IRQ-affinity.txt
271+
https://www.kernel.org/doc/Documentation/core-api/irq/irq-affinity.rst
272272

273273
.. _smt_control:
274274

0 commit comments

Comments
 (0)