Skip to content

Commit 435a774

Browse files
author
Jonathan Corbet
committed
Merge branch 'mauro' into docs-next
A big set of fixes and RST conversions from Mauro. He swears that this is the last RST conversion set, which is certainly cause for celebration.
2 parents 0b22707 + 4ac2508 commit 435a774

47 files changed

Lines changed: 764 additions & 613 deletions

File tree

Some content is hidden

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

‎Documentation/ABI/testing/sysfs-driver-w1_therm‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Description:
88
to device min/max capabilities. Values are integer as they are
99
stored in a 8bit register in the device. Lowest value is
1010
automatically put to TL. Once set, alarms could be search at
11-
master level, refer to Documentation/w1/w1_generic.rst for
11+
master level, refer to Documentation/w1/w1-generic.rst for
1212
detailed information
1313
Users: any user space application which wants to communicate with
1414
w1_term device

‎Documentation/PCI/pci.rst‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ Set the DMA mask size
265265
---------------------
266266
.. note::
267267
If anything below doesn't make sense, please refer to
268-
Documentation/DMA-API.txt. This section is just a reminder that
268+
:doc:`/core-api/dma-api`. This section is just a reminder that
269269
drivers need to indicate DMA capabilities of the device and is not
270270
an authoritative source for DMA interfaces.
271271

@@ -291,7 +291,7 @@ Many 64-bit "PCI" devices (before PCI-X) and some PCI-X devices are
291291
Setup shared control data
292292
-------------------------
293293
Once the DMA masks are set, the driver can allocate "consistent" (a.k.a. shared)
294-
memory. See Documentation/DMA-API.txt for a full description of
294+
memory. See :doc:`/core-api/dma-api` for a full description of
295295
the DMA APIs. This section is just a reminder that it needs to be done
296296
before enabling DMA on the device.
297297

@@ -421,7 +421,7 @@ owners if there is one.
421421

422422
Then clean up "consistent" buffers which contain the control data.
423423

424-
See Documentation/DMA-API.txt for details on unmapping interfaces.
424+
See :doc:`/core-api/dma-api` for details on unmapping interfaces.
425425

426426

427427
Unregister from other subsystems

‎Documentation/admin-guide/mm/hugetlbpage.rst‎

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -101,37 +101,48 @@ be specified in bytes with optional scale suffix [kKmMgG]. The default huge
101101
page size may be selected with the "default_hugepagesz=<size>" boot parameter.
102102

103103
Hugetlb boot command line parameter semantics
104-
hugepagesz - Specify a huge page size. Used in conjunction with hugepages
104+
105+
hugepagesz
106+
Specify a huge page size. Used in conjunction with hugepages
105107
parameter to preallocate a number of huge pages of the specified
106108
size. Hence, hugepagesz and hugepages are typically specified in
107-
pairs such as:
109+
pairs such as::
110+
108111
hugepagesz=2M hugepages=512
112+
109113
hugepagesz can only be specified once on the command line for a
110114
specific huge page size. Valid huge page sizes are architecture
111115
dependent.
112-
hugepages - Specify the number of huge pages to preallocate. This typically
116+
hugepages
117+
Specify the number of huge pages to preallocate. This typically
113118
follows a valid hugepagesz or default_hugepagesz parameter. However,
114119
if hugepages is the first or only hugetlb command line parameter it
115120
implicitly specifies the number of huge pages of default size to
116121
allocate. If the number of huge pages of default size is implicitly
117122
specified, it can not be overwritten by a hugepagesz,hugepages
118123
parameter pair for the default size.
119-
For example, on an architecture with 2M default huge page size:
124+
125+
For example, on an architecture with 2M default huge page size::
126+
120127
hugepages=256 hugepagesz=2M hugepages=512
128+
121129
will result in 256 2M huge pages being allocated and a warning message
122130
indicating that the hugepages=512 parameter is ignored. If a hugepages
123131
parameter is preceded by an invalid hugepagesz parameter, it will
124132
be ignored.
125-
default_hugepagesz - Specify the default huge page size. This parameter can
133+
default_hugepagesz
134+
pecify the default huge page size. This parameter can
126135
only be specified once on the command line. default_hugepagesz can
127136
optionally be followed by the hugepages parameter to preallocate a
128137
specific number of huge pages of default size. The number of default
129138
sized huge pages to preallocate can also be implicitly specified as
130139
mentioned in the hugepages section above. Therefore, on an
131-
architecture with 2M default huge page size:
140+
architecture with 2M default huge page size::
141+
132142
hugepages=256
133143
default_hugepagesz=2M hugepages=256
134144
hugepages=256 default_hugepagesz=2M
145+
135146
will all result in 256 2M huge pages being allocated. Valid default
136147
huge page size is architecture dependent.
137148

‎Documentation/admin-guide/mm/index.rst‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ the Linux memory management.
3131
idle_page_tracking
3232
ksm
3333
memory-hotplug
34+
nommu-map
3435
numa_memory_policy
3536
numaperf
3637
pagemap
File renamed without changes.

‎Documentation/admin-guide/sysctl/vm.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ trimming of allocations is initiated.
583583

584584
The default value is 1.
585585

586-
See Documentation/nommu-mmap.txt for more information.
586+
See Documentation/admin-guide/mm/nommu-mmap.rst for more information.
587587

588588

589589
numa_zonelist_order

‎Documentation/arm/booting.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ it. The recommended placement is in the first 16KiB of RAM.
128128

129129
The boot loader must load a device tree image (dtb) into system ram
130130
at a 64bit aligned address and initialize it with the boot data. The
131-
dtb format is documented in Documentation/devicetree/booting-without-of.txt.
131+
dtb format is documented in Documentation/devicetree/booting-without-of.rst.
132132
The kernel will look for the dtb magic value of 0xd00dfeed at the dtb
133133
physical address to determine if a dtb has been passed instead of a
134134
tagged list.

‎Documentation/block/biodoc.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ a virtual address mapping (unlike the earlier scheme of virtual address
196196
do not have a corresponding kernel virtual address space mapping) and
197197
low-memory pages.
198198

199-
Note: Please refer to Documentation/DMA-API-HOWTO.txt for a discussion
199+
Note: Please refer to :doc:`/core-api/dma-api-howto` for a discussion
200200
on PCI high mem DMA aspects and mapping of scatter gather lists, and support
201201
for 64 bit PCI.
202202

Documentation/bus-virt-phys-mapping.txt renamed to Documentation/core-api/bus-virt-phys-mapping.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ How to access I/O mapped memory from within device drivers
88

99
The virt_to_bus() and bus_to_virt() functions have been
1010
superseded by the functionality provided by the PCI DMA interface
11-
(see Documentation/DMA-API-HOWTO.txt). They continue
11+
(see :doc:`/core-api/dma-api-howto`). They continue
1212
to be documented below for historical purposes, but new code
1313
must not use them. --davidm 00/12/12
1414

‎Documentation/core-api/dma-api.rst‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Dynamic DMA mapping using the generic device
55
:Author: James E.J. Bottomley <James.Bottomley@HansenPartnership.com>
66

77
This document describes the DMA API. For a more gentle introduction
8-
of the API (and actual examples), see Documentation/DMA-API-HOWTO.txt.
8+
of the API (and actual examples), see :doc:`/core-api/dma-api-howto`.
99

1010
This API is split into two pieces. Part I describes the basic API.
1111
Part II describes extensions for supporting non-consistent memory
@@ -471,7 +471,7 @@ without the _attrs suffixes, except that they pass an optional
471471
dma_attrs.
472472

473473
The interpretation of DMA attributes is architecture-specific, and
474-
each attribute should be documented in Documentation/DMA-attributes.txt.
474+
each attribute should be documented in :doc:`/core-api/dma-attributes`.
475475

476476
If dma_attrs are 0, the semantics of each of these functions
477477
is identical to those of the corresponding function
@@ -484,7 +484,7 @@ for DMA::
484484

485485
#include <linux/dma-mapping.h>
486486
/* DMA_ATTR_FOO should be defined in linux/dma-mapping.h and
487-
* documented in Documentation/DMA-attributes.txt */
487+
* documented in Documentation/core-api/dma-attributes.rst */
488488
...
489489

490490
unsigned long attr;

0 commit comments

Comments
 (0)