Skip to content

Commit 6b02fd7

Browse files
committed
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Cross-merge networking fixes after downstream PR (net-6.15-rc6). No conflicts. Adjacent changes: net/core/dev.c: 08e9f2d ("net: Lock netdevices during dev_shutdown") a82dc19 ("net: avoid potential race between netdev_get_by_index_lock() and netns switch") Signed-off-by: Jakub Kicinski <[email protected]>
2 parents 46431fd + 2c89c1b commit 6b02fd7

File tree

223 files changed

+2708
-1182
lines changed

Some content is hidden

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

223 files changed

+2708
-1182
lines changed

Documentation/ABI/testing/sysfs-driver-intel-xe-hwmon

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,15 +111,15 @@ Description: RO. Package current voltage in millivolt.
111111

112112
What: /sys/bus/pci/drivers/xe/.../hwmon/hwmon<i>/temp2_input
113113
Date: March 2025
114-
KernelVersion: 6.14
114+
KernelVersion: 6.15
115115
116116
Description: RO. Package temperature in millidegree Celsius.
117117

118118
Only supported for particular Intel Xe graphics platforms.
119119

120120
What: /sys/bus/pci/drivers/xe/.../hwmon/hwmon<i>/temp3_input
121121
Date: March 2025
122-
KernelVersion: 6.14
122+
KernelVersion: 6.15
123123
124124
Description: RO. VRAM temperature in millidegree Celsius.
125125

Documentation/devicetree/bindings/net/ethernet-controller.yaml

Lines changed: 90 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,19 +50,17 @@ properties:
5050
- rev-rmii
5151
- moca
5252

53-
# RX and TX delays are added by the MAC when required
53+
# RX and TX delays are provided by the PCB. See below
5454
- rgmii
5555

56-
# RGMII with internal RX and TX delays provided by the PHY,
57-
# the MAC should not add the RX or TX delays in this case
56+
# RX and TX delays are not provided by the PCB. This is the most
57+
# frequent case. See below
5858
- rgmii-id
5959

60-
# RGMII with internal RX delay provided by the PHY, the MAC
61-
# should not add an RX delay in this case
60+
# TX delay is provided by the PCB. See below
6261
- rgmii-rxid
6362

64-
# RGMII with internal TX delay provided by the PHY, the MAC
65-
# should not add an TX delay in this case
63+
# RX delay is provided by the PCB. See below
6664
- rgmii-txid
6765
- rtbi
6866
- smii
@@ -263,4 +261,89 @@ allOf:
263261

264262
additionalProperties: true
265263

264+
# Informative
265+
# ===========
266+
#
267+
# 'phy-modes' & 'phy-connection-type' properties 'rgmii', 'rgmii-id',
268+
# 'rgmii-rxid', and 'rgmii-txid' are frequently used wrongly by
269+
# developers. This informative section clarifies their usage.
270+
#
271+
# The RGMII specification requires a 2ns delay between the data and
272+
# clock signals on the RGMII bus. How this delay is implemented is not
273+
# specified.
274+
#
275+
# One option is to make the clock traces on the PCB longer than the
276+
# data traces. A sufficiently difference in length can provide the 2ns
277+
# delay. If both the RX and TX delays are implemented in this manner,
278+
# 'rgmii' should be used, so indicating the PCB adds the delays.
279+
#
280+
# If the PCB does not add these delays via extra long traces,
281+
# 'rgmii-id' should be used. Here, 'id' refers to 'internal delay',
282+
# where either the MAC or PHY adds the delay.
283+
#
284+
# If only one of the two delays are implemented via extra long clock
285+
# lines, either 'rgmii-rxid' or 'rgmii-txid' should be used,
286+
# indicating the MAC or PHY should implement one of the delays
287+
# internally, while the PCB implements the other delay.
288+
#
289+
# Device Tree describes hardware, and in this case, it describes the
290+
# PCB between the MAC and the PHY, if the PCB implements delays or
291+
# not.
292+
#
293+
# In practice, very few PCBs make use of extra long clock lines. Hence
294+
# any RGMII phy mode other than 'rgmii-id' is probably wrong, and is
295+
# unlikely to be accepted during review without details provided in
296+
# the commit description and comments in the .dts file.
297+
#
298+
# When the PCB does not implement the delays, the MAC or PHY must. As
299+
# such, this is software configuration, and so not described in Device
300+
# Tree.
301+
#
302+
# The following describes how Linux implements the configuration of
303+
# the MAC and PHY to add these delays when the PCB does not. As stated
304+
# above, developers often get this wrong, and the aim of this section
305+
# is reduce the frequency of these errors by Linux developers. Other
306+
# users of the Device Tree may implement it differently, and still be
307+
# consistent with both the normative and informative description
308+
# above.
309+
#
310+
# By default in Linux, when using phylib/phylink, the MAC is expected
311+
# to read the 'phy-mode' from Device Tree, not implement any delays,
312+
# and pass the value to the PHY. The PHY will then implement delays as
313+
# specified by the 'phy-mode'. The PHY should always be reconfigured
314+
# to implement the needed delays, replacing any setting performed by
315+
# strapping or the bootloader, etc.
316+
#
317+
# Experience to date is that all PHYs which implement RGMII also
318+
# implement the ability to add or not add the needed delays. Hence
319+
# this default is expected to work in all cases. Ignoring this default
320+
# is likely to be questioned by Reviews, and require a strong argument
321+
# to be accepted.
322+
#
323+
# There are a small number of cases where the MAC has hard coded
324+
# delays which cannot be disabled. The 'phy-mode' only describes the
325+
# PCB. The inability to disable the delays in the MAC does not change
326+
# the meaning of 'phy-mode'. It does however mean that a 'phy-mode' of
327+
# 'rgmii' is now invalid, it cannot be supported, since both the PCB
328+
# and the MAC and PHY adding delays cannot result in a functional
329+
# link. Thus the MAC should report a fatal error for any modes which
330+
# cannot be supported. When the MAC implements the delay, it must
331+
# ensure that the PHY does not also implement the same delay. So it
332+
# must modify the phy-mode it passes to the PHY, removing the delay it
333+
# has added. Failure to remove the delay will result in a
334+
# non-functioning link.
335+
#
336+
# Sometimes there is a need to fine tune the delays. Often the MAC or
337+
# PHY can perform this fine tuning. In the MAC node, the Device Tree
338+
# properties 'rx-internal-delay-ps' and 'tx-internal-delay-ps' should
339+
# be used to indicate fine tuning performed by the MAC. The values
340+
# expected here are small. A value of 2000ps, i.e 2ns, and a phy-mode
341+
# of 'rgmii' will not be accepted by Reviewers.
342+
#
343+
# If the PHY is to perform fine tuning, the properties
344+
# 'rx-internal-delay-ps' and 'tx-internal-delay-ps' in the PHY node
345+
# should be used. When the PHY is implementing delays, e.g. 'rgmii-id'
346+
# these properties should have a value near to 2000ps. If the PCB is
347+
# implementing delays, e.g. 'rgmii', a small value can be used to fine
348+
# tune the delay added by the PCB.
266349
...

Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -56,19 +56,18 @@ properties:
5656
enum:
5757
- snps,dw-apb-ssi
5858
- snps,dwc-ssi-1.01a
59-
- description: Microsemi Ocelot/Jaguar2 SoC SPI Controller
60-
items:
61-
- enum:
62-
- mscc,ocelot-spi
63-
- mscc,jaguar2-spi
64-
- const: snps,dw-apb-ssi
6559
- description: Microchip Sparx5 SoC SPI Controller
6660
const: microchip,sparx5-spi
6761
- description: Amazon Alpine SPI Controller
6862
const: amazon,alpine-dw-apb-ssi
69-
- description: Renesas RZ/N1 SPI Controller
63+
- description: Vendor controllers which use snps,dw-apb-ssi as fallback
7064
items:
71-
- const: renesas,rzn1-spi
65+
- enum:
66+
- mscc,ocelot-spi
67+
- mscc,jaguar2-spi
68+
- renesas,rzn1-spi
69+
- sophgo,sg2042-spi
70+
- thead,th1520-spi
7271
- const: snps,dw-apb-ssi
7372
- description: Intel Keem Bay SPI Controller
7473
const: intel,keembay-ssi
@@ -88,10 +87,6 @@ properties:
8887
- renesas,r9a06g032-spi # RZ/N1D
8988
- renesas,r9a06g033-spi # RZ/N1S
9089
- const: renesas,rzn1-spi # RZ/N1
91-
- description: T-HEAD TH1520 SoC SPI Controller
92-
items:
93-
- const: thead,th1520-spi
94-
- const: snps,dw-apb-ssi
9590

9691
reg:
9792
minItems: 1

MAINTAINERS

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2519,6 +2519,7 @@ T: git git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git
25192519
F: arch/arm/boot/dts/nxp/imx/
25202520
F: arch/arm/boot/dts/nxp/mxs/
25212521
F: arch/arm64/boot/dts/freescale/
2522+
X: Documentation/devicetree/bindings/media/i2c/
25222523
X: arch/arm64/boot/dts/freescale/fsl-*
25232524
X: arch/arm64/boot/dts/freescale/qoriq-*
25242525
X: drivers/media/i2c/
@@ -8717,6 +8718,7 @@ M: Chao Yu <[email protected]>
87178718
R: Yue Hu <[email protected]>
87188719
R: Jeffle Xu <[email protected]>
87198720
R: Sandeep Dhavale <[email protected]>
8721+
R: Hongbo Li <[email protected]>
87208722
87218723
S: Maintained
87228724
W: https://erofs.docs.kernel.org
@@ -22748,9 +22750,15 @@ T: git git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
2274822750
F: Documentation/devicetree/bindings/sound/
2274922751
F: Documentation/sound/soc/
2275022752
F: include/dt-bindings/sound/
22753+
F: include/sound/cs-amp-lib.h
22754+
F: include/sound/cs35l*
22755+
F: include/sound/cs4271.h
22756+
F: include/sound/cs42l*
22757+
F: include/sound/madera-pdata.h
2275122758
F: include/sound/soc*
2275222759
F: include/sound/sof.h
2275322760
F: include/sound/sof/
22761+
F: include/sound/wm*.h
2275422762
F: include/trace/events/sof*.h
2275522763
F: include/uapi/sound/asoc.h
2275622764
F: sound/soc/

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
VERSION = 6
33
PATCHLEVEL = 15
44
SUBLEVEL = 0
5-
EXTRAVERSION = -rc4
5+
EXTRAVERSION = -rc5
66
NAME = Baby Opossum Posse
77

88
# *DOCUMENTATION*

arch/arm/boot/dts/nxp/imx/imx6ul-imx6ull-opos6ul.dtsi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@
4040
reg = <1>;
4141
interrupt-parent = <&gpio4>;
4242
interrupts = <16 IRQ_TYPE_LEVEL_LOW>;
43+
micrel,led-mode = <1>;
44+
clocks = <&clks IMX6UL_CLK_ENET_REF>;
45+
clock-names = "rmii-ref";
4346
status = "okay";
4447
};
4548
};

arch/arm64/boot/dts/arm/morello.dtsi

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
next-level-cache = <&l2_0>;
4545
clocks = <&scmi_dvfs 0>;
4646

47-
l2_0: l2-cache-0 {
47+
l2_0: l2-cache {
4848
compatible = "cache";
4949
cache-level = <2>;
5050
/* 8 ways set associative */
@@ -53,13 +53,6 @@
5353
cache-sets = <2048>;
5454
cache-unified;
5555
next-level-cache = <&l3_0>;
56-
57-
l3_0: l3-cache {
58-
compatible = "cache";
59-
cache-level = <3>;
60-
cache-size = <0x100000>;
61-
cache-unified;
62-
};
6356
};
6457
};
6558

@@ -78,7 +71,7 @@
7871
next-level-cache = <&l2_1>;
7972
clocks = <&scmi_dvfs 0>;
8073

81-
l2_1: l2-cache-1 {
74+
l2_1: l2-cache {
8275
compatible = "cache";
8376
cache-level = <2>;
8477
/* 8 ways set associative */
@@ -105,7 +98,7 @@
10598
next-level-cache = <&l2_2>;
10699
clocks = <&scmi_dvfs 1>;
107100

108-
l2_2: l2-cache-2 {
101+
l2_2: l2-cache {
109102
compatible = "cache";
110103
cache-level = <2>;
111104
/* 8 ways set associative */
@@ -132,7 +125,7 @@
132125
next-level-cache = <&l2_3>;
133126
clocks = <&scmi_dvfs 1>;
134127

135-
l2_3: l2-cache-3 {
128+
l2_3: l2-cache {
136129
compatible = "cache";
137130
cache-level = <2>;
138131
/* 8 ways set associative */
@@ -143,6 +136,13 @@
143136
next-level-cache = <&l3_0>;
144137
};
145138
};
139+
140+
l3_0: l3-cache {
141+
compatible = "cache";
142+
cache-level = <3>;
143+
cache-size = <0x100000>;
144+
cache-unified;
145+
};
146146
};
147147

148148
firmware {

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

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,19 @@
144144
startup-delay-us = <20000>;
145145
};
146146

147+
reg_usdhc2_vqmmc: regulator-usdhc2-vqmmc {
148+
compatible = "regulator-gpio";
149+
pinctrl-names = "default";
150+
pinctrl-0 = <&pinctrl_usdhc2_vsel>;
151+
gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
152+
regulator-max-microvolt = <3300000>;
153+
regulator-min-microvolt = <1800000>;
154+
states = <1800000 0x1>,
155+
<3300000 0x0>;
156+
regulator-name = "PMIC_USDHC_VSELECT";
157+
vin-supply = <&reg_nvcc_sd>;
158+
};
159+
147160
reserved-memory {
148161
#address-cells = <2>;
149162
#size-cells = <2>;
@@ -269,7 +282,7 @@
269282
"SODIMM_19",
270283
"",
271284
"",
272-
"",
285+
"PMIC_USDHC_VSELECT",
273286
"",
274287
"",
275288
"",
@@ -785,6 +798,7 @@
785798
pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_cd>;
786799
pinctrl-3 = <&pinctrl_usdhc2_sleep>, <&pinctrl_usdhc2_cd_sleep>;
787800
vmmc-supply = <&reg_usdhc2_vmmc>;
801+
vqmmc-supply = <&reg_usdhc2_vqmmc>;
788802
};
789803

790804
&wdog1 {
@@ -1206,13 +1220,17 @@
12061220
<MX8MM_IOMUXC_NAND_CLE_GPIO3_IO5 0x6>; /* SODIMM 76 */
12071221
};
12081222

1223+
pinctrl_usdhc2_vsel: usdhc2vselgrp {
1224+
fsl,pins =
1225+
<MX8MM_IOMUXC_GPIO1_IO04_GPIO1_IO4 0x10>; /* PMIC_USDHC_VSELECT */
1226+
};
1227+
12091228
/*
12101229
* Note: Due to ERR050080 we use discrete external on-module resistors pulling-up to the
12111230
* on-module +V3.3_1.8_SD (LDO5) rail and explicitly disable the internal pull-ups here.
12121231
*/
12131232
pinctrl_usdhc2: usdhc2grp {
12141233
fsl,pins =
1215-
<MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0x10>,
12161234
<MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK 0x90>, /* SODIMM 78 */
12171235
<MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD 0x90>, /* SODIMM 74 */
12181236
<MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0 0x90>, /* SODIMM 80 */
@@ -1223,7 +1241,6 @@
12231241

12241242
pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp {
12251243
fsl,pins =
1226-
<MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0x10>,
12271244
<MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK 0x94>,
12281245
<MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD 0x94>,
12291246
<MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0 0x94>,
@@ -1234,7 +1251,6 @@
12341251

12351252
pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp {
12361253
fsl,pins =
1237-
<MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0x10>,
12381254
<MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK 0x96>,
12391255
<MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD 0x96>,
12401256
<MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0 0x96>,
@@ -1246,7 +1262,6 @@
12461262
/* Avoid backfeeding with removed card power */
12471263
pinctrl_usdhc2_sleep: usdhc2slpgrp {
12481264
fsl,pins =
1249-
<MX8MM_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0x0>,
12501265
<MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK 0x0>,
12511266
<MX8MM_IOMUXC_SD2_CMD_USDHC2_CMD 0x0>,
12521267
<MX8MM_IOMUXC_SD2_DATA0_USDHC2_DATA0 0x0>,

0 commit comments

Comments
 (0)