Skip to content

Commit 16e7483

Browse files
committed
Merge branch 'dynamic_sg' into rdma.git for-next
From Maor Gottlieb says: ==================== This series extends __sg_alloc_table_from_pages to allow chaining of new pages to an already initialized SG table. This allows for drivers to utilize the optimization of merging contiguous pages without a need to pre allocate all the pages and hold them in a very large temporary buffer prior to the call to SG table initialization. The last patch changes the Infiniband core to use the new API. It removes duplicate functionality from the code and benefits from the optimization of allocating dynamic SG table from pages. In huge pages system of 2MB page size, without this change, the SG table would contain x512 SG entries. ==================== * branch 'dynamic_sg': RDMA/umem: Move to allocate SG table from pages lib/scatterlist: Add support in dynamic allocation of SG table from pages tools/testing/scatterlist: Show errors in human readable form tools/testing/scatterlist: Rejuvenate bit-rotten test
2 parents bf6a476 + 0c16d96 commit 16e7483

577 files changed

Lines changed: 5626 additions & 3494 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.

.mailmap

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,10 @@ Juha Yrjola <juha.yrjola@solidboot.com>
169169
Julien Thierry <julien.thierry.kdev@gmail.com> <julien.thierry@arm.com>
170170
Kamil Konieczny <k.konieczny@samsung.com> <k.konieczny@partner.samsung.com>
171171
Kay Sievers <kay.sievers@vrfy.org>
172+
Kees Cook <keescook@chromium.org> <kees.cook@canonical.com>
173+
Kees Cook <keescook@chromium.org> <keescook@google.com>
174+
Kees Cook <keescook@chromium.org> <kees@outflux.net>
175+
Kees Cook <keescook@chromium.org> <kees@ubuntu.com>
172176
Kenneth W Chen <kenneth.w.chen@intel.com>
173177
Konstantin Khlebnikov <koct9i@gmail.com> <khlebnikov@yandex-team.ru>
174178
Konstantin Khlebnikov <koct9i@gmail.com> <k.khlebnikov@samsung.com>

Documentation/admin-guide/cgroup-v2.rst

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1324,15 +1324,26 @@ PAGE_SIZE multiple when read back.
13241324
pgmajfault
13251325
Number of major page faults incurred
13261326

1327-
workingset_refault
1328-
Number of refaults of previously evicted pages
1327+
workingset_refault_anon
1328+
Number of refaults of previously evicted anonymous pages.
13291329

1330-
workingset_activate
1331-
Number of refaulted pages that were immediately activated
1330+
workingset_refault_file
1331+
Number of refaults of previously evicted file pages.
13321332

1333-
workingset_restore
1334-
Number of restored pages which have been detected as an active
1335-
workingset before they got reclaimed.
1333+
workingset_activate_anon
1334+
Number of refaulted anonymous pages that were immediately
1335+
activated.
1336+
1337+
workingset_activate_file
1338+
Number of refaulted file pages that were immediately activated.
1339+
1340+
workingset_restore_anon
1341+
Number of restored anonymous pages which have been detected as
1342+
an active workingset before they got reclaimed.
1343+
1344+
workingset_restore_file
1345+
Number of restored file pages which have been detected as an
1346+
active workingset before they got reclaimed.
13361347

13371348
workingset_nodereclaim
13381349
Number of times a shadow node has been reclaimed

Documentation/admin-guide/device-mapper/dm-crypt.rst

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Parameters::
6767
the value passed in <key_size>.
6868

6969
<key_type>
70-
Either 'logon' or 'user' kernel key type.
70+
Either 'logon', 'user' or 'encrypted' kernel key type.
7171

7272
<key_description>
7373
The kernel keyring key description crypt target should look for
@@ -121,6 +121,14 @@ submit_from_crypt_cpus
121121
thread because it benefits CFQ to have writes submitted using the
122122
same context.
123123

124+
no_read_workqueue
125+
Bypass dm-crypt internal workqueue and process read requests synchronously.
126+
127+
no_write_workqueue
128+
Bypass dm-crypt internal workqueue and process write requests synchronously.
129+
This option is automatically enabled for host-managed zoned block devices
130+
(e.g. host-managed SMR hard-disks).
131+
124132
integrity:<bytes>:<type>
125133
The device requires additional <bytes> metadata per-sector stored
126134
in per-bio integrity structure. This metadata must by provided

Documentation/admin-guide/pm/cpuidle.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -690,7 +690,7 @@ which of the two parameters is added to the kernel command line. In the
690690
instruction of the CPUs (which, as a rule, suspends the execution of the program
691691
and causes the hardware to attempt to enter the shallowest available idle state)
692692
for this purpose, and if ``idle=poll`` is used, idle CPUs will execute a
693-
more or less ``lightweight'' sequence of instructions in a tight loop. [Note
693+
more or less "lightweight" sequence of instructions in a tight loop. [Note
694694
that using ``idle=poll`` is somewhat drastic in many cases, as preventing idle
695695
CPUs from saving almost any energy at all may not be the only effect of it.
696696
For example, on Intel hardware it effectively prevents CPUs from using

Documentation/bpf/ringbuf.rst

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,6 @@ in the order of reservations, but only after all previous records where
182182
already committed. It is thus possible for slow producers to temporarily hold
183183
off submitted records, that were reserved later.
184184

185-
Reservation/commit/consumer protocol is verified by litmus tests in
186-
Documentation/litmus_tests/bpf-rb/_.
187-
188185
One interesting implementation bit, that significantly simplifies (and thus
189186
speeds up as well) implementation of both producers and consumers is how data
190187
area is mapped twice contiguously back-to-back in the virtual memory. This
@@ -200,7 +197,7 @@ a self-pacing notifications of new data being availability.
200197
being available after commit only if consumer has already caught up right up to
201198
the record being committed. If not, consumer still has to catch up and thus
202199
will see new data anyways without needing an extra poll notification.
203-
Benchmarks (see tools/testing/selftests/bpf/benchs/bench_ringbuf.c_) show that
200+
Benchmarks (see tools/testing/selftests/bpf/benchs/bench_ringbufs.c) show that
204201
this allows to achieve a very high throughput without having to resort to
205202
tricks like "notify only every Nth sample", which are necessary with perf
206203
buffer. For extreme cases, when BPF program wants more manual control of

Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ properties:
2323
compatible:
2424
items:
2525
- const: raspberrypi,bcm2835-firmware
26-
- const: simple-bus
26+
- const: simple-mfd
2727

2828
mboxes:
2929
$ref: '/schemas/types.yaml#/definitions/phandle'
@@ -57,7 +57,7 @@ required:
5757
examples:
5858
- |
5959
firmware {
60-
compatible = "raspberrypi,bcm2835-firmware", "simple-bus";
60+
compatible = "raspberrypi,bcm2835-firmware", "simple-mfd";
6161
mboxes = <&mailbox>;
6262
6363
firmware_clocks: clocks {

Documentation/devicetree/bindings/crypto/ti,sa2ul.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ examples:
6767
6868
main_crypto: crypto@4e00000 {
6969
compatible = "ti,j721-sa2ul";
70-
reg = <0x0 0x4e00000 0x0 0x1200>;
70+
reg = <0x4e00000 0x1200>;
7171
power-domains = <&k3_pds 264 TI_SCI_PD_EXCLUSIVE>;
7272
dmas = <&main_udmap 0xc000>, <&main_udmap 0x4000>,
7373
<&main_udmap 0x4001>;

Documentation/devicetree/bindings/display/xlnx/xlnx,zynqmp-dpsub.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,10 +145,10 @@ examples:
145145
146146
display@fd4a0000 {
147147
compatible = "xlnx,zynqmp-dpsub-1.7";
148-
reg = <0x0 0xfd4a0000 0x0 0x1000>,
149-
<0x0 0xfd4aa000 0x0 0x1000>,
150-
<0x0 0xfd4ab000 0x0 0x1000>,
151-
<0x0 0xfd4ac000 0x0 0x1000>;
148+
reg = <0xfd4a0000 0x1000>,
149+
<0xfd4aa000 0x1000>,
150+
<0xfd4ab000 0x1000>,
151+
<0xfd4ac000 0x1000>;
152152
reg-names = "dp", "blend", "av_buf", "aud";
153153
interrupts = <0 119 4>;
154154
interrupt-parent = <&gic>;

Documentation/devicetree/bindings/dma/xilinx/xlnx,zynqmp-dpdma.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ examples:
5757
5858
dma: dma-controller@fd4c0000 {
5959
compatible = "xlnx,zynqmp-dpdma";
60-
reg = <0x0 0xfd4c0000 0x0 0x1000>;
60+
reg = <0xfd4c0000 0x1000>;
6161
interrupts = <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>;
6262
interrupt-parent = <&gic>;
6363
clocks = <&dpdma_clk>;

Documentation/devicetree/bindings/gpio/sgpio-aspeed.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@ Required properties:
2020
- gpio-controller : Marks the device node as a GPIO controller
2121
- interrupts : Interrupt specifier, see interrupt-controller/interrupts.txt
2222
- interrupt-controller : Mark the GPIO controller as an interrupt-controller
23-
- ngpios : number of GPIO lines, see gpio.txt
24-
(should be multiple of 8, up to 80 pins)
23+
- ngpios : number of *hardware* GPIO lines, see gpio.txt. This will expose
24+
2 software GPIOs per hardware GPIO: one for hardware input, one for hardware
25+
output. Up to 80 pins, must be a multiple of 8.
2526
- clocks : A phandle to the APB clock for SGPM clock division
2627
- bus-frequency : SGPM CLK frequency
2728

0 commit comments

Comments
 (0)