Skip to content

Commit 4507911

Browse files
committed
Merge remote-tracking branch 'stable/linux-6.12.y' into rpi-6.12.y
2 parents 9c09b75 + d90ecb2 commit 4507911

File tree

336 files changed

+3345
-1416
lines changed

Some content is hidden

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

336 files changed

+3345
-1416
lines changed

Documentation/bpf/map_hash.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,10 +233,16 @@ attempts in order to enforce the LRU property which have increasing impacts on
233233
other CPUs involved in the following operation attempts:
234234

235235
- Attempt to use CPU-local state to batch operations
236-
- Attempt to fetch free nodes from global lists
236+
- Attempt to fetch ``target_free`` free nodes from global lists
237237
- Attempt to pull any node from a global list and remove it from the hashmap
238238
- Attempt to pull any node from any CPU's list and remove it from the hashmap
239239

240+
The number of nodes to borrow from the global list in a batch, ``target_free``,
241+
depends on the size of the map. Larger batch size reduces lock contention, but
242+
may also exhaust the global structure. The value is computed at map init to
243+
avoid exhaustion, by limiting aggregate reservation by all CPUs to half the map
244+
size. With a minimum of a single element and maximum budget of 128 at a time.
245+
240246
This algorithm is described visually in the following diagram. See the
241247
description in commit 3a08c2fd7634 ("bpf: LRU List") for a full explanation of
242248
the corresponding operations:

Documentation/bpf/map_lru_hash_update.dot

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,18 +35,18 @@ digraph {
3535
fn_bpf_lru_list_pop_free_to_local [shape=rectangle,fillcolor=2,
3636
label="Flush local pending,
3737
Rotate Global list, move
38-
LOCAL_FREE_TARGET
38+
target_free
3939
from global -> local"]
4040
// Also corresponds to:
4141
// fn__local_list_flush()
4242
// fn_bpf_lru_list_rotate()
4343
fn___bpf_lru_node_move_to_free[shape=diamond,fillcolor=2,
44-
label="Able to free\nLOCAL_FREE_TARGET\nnodes?"]
44+
label="Able to free\ntarget_free\nnodes?"]
4545

4646
fn___bpf_lru_list_shrink_inactive [shape=rectangle,fillcolor=3,
4747
label="Shrink inactive list
4848
up to remaining
49-
LOCAL_FREE_TARGET
49+
target_free
5050
(global LRU -> local)"]
5151
fn___bpf_lru_list_shrink [shape=diamond,fillcolor=2,
5252
label="> 0 entries in\nlocal free list?"]

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: GPL-2.0
22
VERSION = 6
33
PATCHLEVEL = 12
4-
SUBLEVEL = 38
4+
SUBLEVEL = 40
55
EXTRAVERSION =
66
NAME = Baby Opossum Posse
77

arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -687,11 +687,12 @@
687687
};
688688

689689
wdog0: watchdog@2ad0000 {
690-
compatible = "fsl,imx21-wdt";
690+
compatible = "fsl,ls1046a-wdt", "fsl,imx21-wdt";
691691
reg = <0x0 0x2ad0000 0x0 0x10000>;
692692
interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
693693
clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
694694
QORIQ_CLK_PLL_DIV(2)>;
695+
big-endian;
695696
};
696697

697698
edma0: dma-controller@2c00000 {

arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -484,6 +484,7 @@
484484
};
485485

486486
reg_nvcc_sd: LDO5 {
487+
regulator-always-on;
487488
regulator-max-microvolt = <3300000>;
488489
regulator-min-microvolt = <1800000>;
489490
regulator-name = "On-module +V3.3_1.8_SD (LDO5)";

arch/arm64/boot/dts/freescale/imx8mp-venice-gw71xx.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
tpm@1 {
7171
compatible = "atmel,attpm20p", "tcg,tpm_tis-spi";
7272
reg = <0x1>;
73-
spi-max-frequency = <36000000>;
73+
spi-max-frequency = <25000000>;
7474
};
7575
};
7676

arch/arm64/boot/dts/freescale/imx8mp-venice-gw72xx.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
tpm@1 {
111111
compatible = "atmel,attpm20p", "tcg,tpm_tis-spi";
112112
reg = <0x1>;
113-
spi-max-frequency = <36000000>;
113+
spi-max-frequency = <25000000>;
114114
};
115115
};
116116

arch/arm64/boot/dts/freescale/imx8mp-venice-gw73xx.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
tpm@1 {
123123
compatible = "atmel,attpm20p", "tcg,tpm_tis-spi";
124124
reg = <0x1>;
125-
spi-max-frequency = <36000000>;
125+
spi-max-frequency = <25000000>;
126126
};
127127
};
128128

arch/arm64/boot/dts/freescale/imx8mp-venice-gw74xx.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@
199199
tpm@0 {
200200
compatible = "atmel,attpm20p", "tcg,tpm_tis-spi";
201201
reg = <0x0>;
202-
spi-max-frequency = <36000000>;
202+
spi-max-frequency = <25000000>;
203203
};
204204
};
205205

arch/arm64/boot/dts/freescale/imx95.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1523,7 +1523,7 @@
15231523
<0x9 0 1 0>;
15241524
reg-names = "dbi","atu", "dbi2", "app", "dma", "addr_space";
15251525
num-lanes = <1>;
1526-
interrupts = <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>;
1526+
interrupts = <GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH>;
15271527
interrupt-names = "dma";
15281528
clocks = <&scmi_clk IMX95_CLK_HSIO>,
15291529
<&scmi_clk IMX95_CLK_HSIOPLL>,

0 commit comments

Comments
 (0)