Skip to content

Commit 502cc06

Browse files
committed
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Cross-merge networking fixes after downstream PR. Conflicts: drivers/net/phy/phy_device.c 2560db6 ("net: phy: Fix missing of_node_put() for leds") 1dce520 ("net: phy: Use for_each_available_child_of_node_scoped()") https://lore.kernel.org/[email protected] Adjacent changes: drivers/net/ethernet/xilinx/xilinx_axienet.h drivers/net/ethernet/xilinx/xilinx_axienet_main.c 858430d ("net: xilinx: axienet: Fix race in axienet_stop") 76abb5d ("net: xilinx: axienet: Add statistics support") Signed-off-by: Jakub Kicinski <[email protected]>
2 parents e10034e + d759ee2 commit 502cc06

File tree

305 files changed

+3190
-1801
lines changed

Some content is hidden

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

305 files changed

+3190
-1801
lines changed

.mailmap

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ Amit Nischal <[email protected]> <[email protected]>
6060
6161
6262
Andreas Herrmann <[email protected]>
63+
6364
Andrej Shadura <[email protected]>
6465
6566
Andrew Morton <[email protected]>
@@ -269,6 +270,7 @@ James Ketrenos <jketreno@io.(none)>
269270
270271
271272
273+
272274
273275
274276
@@ -354,6 +356,8 @@ Kenneth Westfield <[email protected]> <[email protected]>
354356
355357
356358
Kishon Vijay Abraham I <[email protected]> <[email protected]>
359+
360+
357361
Konstantin Khlebnikov <[email protected]> <[email protected]>
358362
Konstantin Khlebnikov <[email protected]> <[email protected]>
359363

Documentation/ABI/testing/sysfs-timecard

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -258,24 +258,29 @@ Description: (RW) When retrieving the PHC with the PTP SYS_OFFSET_EXTENDED
258258
the estimated point where the FPGA latches the PHC time. This
259259
value may be changed by writing an unsigned integer.
260260

261-
What: /sys/class/timecard/ocpN/ttyGNSS
262-
What: /sys/class/timecard/ocpN/ttyGNSS2
263-
Date: September 2021
261+
What: /sys/class/timecard/ocpN/tty
262+
Date: August 2024
263+
Contact: Vadim Fedorenko <[email protected]>
264+
Description: (RO) Directory containing the sysfs nodes for TTY attributes
265+
266+
What: /sys/class/timecard/ocpN/tty/ttyGNSS
267+
What: /sys/class/timecard/ocpN/tty/ttyGNSS2
268+
Date: August 2024
264269
Contact: Jonathan Lemon <[email protected]>
265-
Description: These optional attributes link to the TTY serial ports
266-
associated with the GNSS devices.
270+
Description: (RO) These optional attributes contain names of the TTY serial
271+
ports associated with the GNSS devices.
267272

268-
What: /sys/class/timecard/ocpN/ttyMAC
269-
Date: September 2021
273+
What: /sys/class/timecard/ocpN/tty/ttyMAC
274+
Date: August 2024
270275
Contact: Jonathan Lemon <[email protected]>
271-
Description: This optional attribute links to the TTY serial port
272-
associated with the Miniature Atomic Clock.
276+
Description: (RO) This optional attribute contains name of the TTY serial
277+
port associated with the Miniature Atomic Clock.
273278

274-
What: /sys/class/timecard/ocpN/ttyNMEA
275-
Date: September 2021
279+
What: /sys/class/timecard/ocpN/tty/ttyNMEA
280+
Date: August 2024
276281
Contact: Jonathan Lemon <[email protected]>
277-
Description: This optional attribute links to the TTY serial port
278-
which outputs the PHC time in NMEA ZDA format.
282+
Description: (RO) This optional attribute contains name of the TTY serial
283+
port which outputs the PHC time in NMEA ZDA format.
279284

280285
What: /sys/class/timecard/ocpN/utc_tai_offset
281286
Date: September 2021

Documentation/admin-guide/cgroup-v2.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1717,9 +1717,10 @@ The following nested keys are defined.
17171717
entries fault back in or are written out to disk.
17181718

17191719
memory.zswap.writeback
1720-
A read-write single value file. The default value is "1". The
1721-
initial value of the root cgroup is 1, and when a new cgroup is
1722-
created, it inherits the current value of its parent.
1720+
A read-write single value file. The default value is "1".
1721+
Note that this setting is hierarchical, i.e. the writeback would be
1722+
implicitly disabled for child cgroups if the upper hierarchy
1723+
does so.
17231724

17241725
When this is set to 0, all swapping attempts to swapping devices
17251726
are disabled. This included both zswap writebacks, and swapping due

Documentation/devicetree/bindings/usb/microchip,usb2514.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ maintainers:
1010
- Fabio Estevam <[email protected]>
1111

1212
allOf:
13-
- $ref: usb-hcd.yaml#
13+
- $ref: usb-device.yaml#
1414

1515
properties:
1616
compatible:
@@ -36,6 +36,13 @@ required:
3636
- compatible
3737
- reg
3838

39+
patternProperties:
40+
"^.*@[0-9a-f]{1,2}$":
41+
description: The hard wired USB devices
42+
type: object
43+
$ref: /schemas/usb/usb-device.yaml
44+
additionalProperties: true
45+
3946
unevaluatedProperties: false
4047

4148
examples:

Documentation/process/maintainer-netdev.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,22 @@ When working in existing code which uses nonstandard formatting make
375375
your code follow the most recent guidelines, so that eventually all code
376376
in the domain of netdev is in the preferred format.
377377

378+
Using device-managed and cleanup.h constructs
379+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
380+
381+
Netdev remains skeptical about promises of all "auto-cleanup" APIs,
382+
including even ``devm_`` helpers, historically. They are not the preferred
383+
style of implementation, merely an acceptable one.
384+
385+
Use of ``guard()`` is discouraged within any function longer than 20 lines,
386+
``scoped_guard()`` is considered more readable. Using normal lock/unlock is
387+
still (weakly) preferred.
388+
389+
Low level cleanup constructs (such as ``__free()``) can be used when building
390+
APIs and helpers, especially scoped iterators. However, direct use of
391+
``__free()`` within networking core and drivers is discouraged.
392+
Similar guidance applies to declaring variables mid-function.
393+
378394
Resending after review
379395
~~~~~~~~~~~~~~~~~~~~~~
380396

Documentation/rust/coding-guidelines.rst

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -145,32 +145,32 @@ This is how a well-documented Rust function may look like:
145145
This example showcases a few ``rustdoc`` features and some conventions followed
146146
in the kernel:
147147

148-
- The first paragraph must be a single sentence briefly describing what
149-
the documented item does. Further explanations must go in extra paragraphs.
148+
- The first paragraph must be a single sentence briefly describing what
149+
the documented item does. Further explanations must go in extra paragraphs.
150150

151-
- Unsafe functions must document their safety preconditions under
152-
a ``# Safety`` section.
151+
- Unsafe functions must document their safety preconditions under
152+
a ``# Safety`` section.
153153

154-
- While not shown here, if a function may panic, the conditions under which
155-
that happens must be described under a ``# Panics`` section.
154+
- While not shown here, if a function may panic, the conditions under which
155+
that happens must be described under a ``# Panics`` section.
156156

157-
Please note that panicking should be very rare and used only with a good
158-
reason. In almost all cases, a fallible approach should be used, typically
159-
returning a ``Result``.
157+
Please note that panicking should be very rare and used only with a good
158+
reason. In almost all cases, a fallible approach should be used, typically
159+
returning a ``Result``.
160160

161-
- If providing examples of usage would help readers, they must be written in
162-
a section called ``# Examples``.
161+
- If providing examples of usage would help readers, they must be written in
162+
a section called ``# Examples``.
163163

164-
- Rust items (functions, types, constants...) must be linked appropriately
165-
(``rustdoc`` will create a link automatically).
164+
- Rust items (functions, types, constants...) must be linked appropriately
165+
(``rustdoc`` will create a link automatically).
166166

167-
- Any ``unsafe`` block must be preceded by a ``// SAFETY:`` comment
168-
describing why the code inside is sound.
167+
- Any ``unsafe`` block must be preceded by a ``// SAFETY:`` comment
168+
describing why the code inside is sound.
169169

170-
While sometimes the reason might look trivial and therefore unneeded,
171-
writing these comments is not just a good way of documenting what has been
172-
taken into account, but most importantly, it provides a way to know that
173-
there are no *extra* implicit constraints.
170+
While sometimes the reason might look trivial and therefore unneeded,
171+
writing these comments is not just a good way of documenting what has been
172+
taken into account, but most importantly, it provides a way to know that
173+
there are no *extra* implicit constraints.
174174

175175
To learn more about how to write documentation for Rust and extra features,
176176
please take a look at the ``rustdoc`` book at:

Documentation/rust/quick-start.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ If GDB/Binutils is used and Rust symbols are not getting demangled, the reason
305305
is the toolchain does not support Rust's new v0 mangling scheme yet.
306306
There are a few ways out:
307307

308-
- Install a newer release (GDB >= 10.2, Binutils >= 2.36).
308+
- Install a newer release (GDB >= 10.2, Binutils >= 2.36).
309309

310-
- Some versions of GDB (e.g. vanilla GDB 10.1) are able to use
311-
the pre-demangled names embedded in the debug info (``CONFIG_DEBUG_INFO``).
310+
- Some versions of GDB (e.g. vanilla GDB 10.1) are able to use
311+
the pre-demangled names embedded in the debug info (``CONFIG_DEBUG_INFO``).

MAINTAINERS

Lines changed: 29 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1888,6 +1888,10 @@ F: Documentation/devicetree/bindings/iommu/arm,smmu*
18881888
F: drivers/iommu/arm/
18891889
F: drivers/iommu/io-pgtable-arm*
18901890

1891+
ARM SMMU SVA SUPPORT
1892+
R: Jean-Philippe Brucker <[email protected]>
1893+
F: drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-sva.c
1894+
18911895
ARM SUB-ARCHITECTURES
18921896
L: [email protected] (moderated for non-subscribers)
18931897
S: Maintained
@@ -2543,8 +2547,7 @@ L: [email protected] (moderated for non-subscribers)
25432547
S: Supported
25442548
W: http://www.linux4sam.org
25452549
T: git git://git.kernel.org/pub/scm/linux/kernel/git/at91/linux.git
2546-
F: arch/arm/boot/dts/microchip/at91*
2547-
F: arch/arm/boot/dts/microchip/sama*
2550+
F: arch/arm/boot/dts/microchip/
25482551
F: arch/arm/include/debug/at91.S
25492552
F: arch/arm/mach-at91/
25502553
F: drivers/memory/atmel*
@@ -2753,7 +2756,7 @@ F: include/linux/soc/qcom/
27532756

27542757
ARM/QUALCOMM SUPPORT
27552758
M: Bjorn Andersson <[email protected]>
2756-
M: Konrad Dybcio <konrad.dybcio@linaro.org>
2759+
M: Konrad Dybcio <konradybcio@kernel.org>
27572760
27582761
S: Maintained
27592762
T: git git://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux.git
@@ -3873,7 +3876,7 @@ F: kernel/trace/blktrace.c
38733876
F: lib/sbitmap.c
38743877

38753878
BLOCK LAYER DEVICE DRIVER API [RUST]
3876-
M: Andreas Hindborg <a.hindborg@samsung.com>
3879+
M: Andreas Hindborg <a.hindborg@kernel.org>
38773880
R: Boqun Feng <[email protected]>
38783881
38793882
@@ -5961,6 +5964,7 @@ F: Documentation/process/cve.rst
59615964
CW1200 WLAN driver
59625965
S: Orphan
59635966
F: drivers/net/wireless/st/cw1200/
5967+
F: include/linux/platform_data/net-cw1200.h
59645968

59655969
CX18 VIDEO4LINUX DRIVER
59665970
M: Andy Walls <[email protected]>
@@ -7116,7 +7120,7 @@ F: drivers/gpu/drm/tiny/panel-mipi-dbi.c
71167120
DRM DRIVER for Qualcomm Adreno GPUs
71177121
M: Rob Clark <[email protected]>
71187122
R: Sean Paul <[email protected]>
7119-
R: Konrad Dybcio <konrad.dybcio@linaro.org>
7123+
R: Konrad Dybcio <konradybcio@kernel.org>
71207124
71217125
71227126
@@ -8871,6 +8875,7 @@ F: drivers/dma/fsldma.*
88718875
FREESCALE DSPI DRIVER
88728876
M: Vladimir Oltean <[email protected]>
88738877
8878+
88748879
S: Maintained
88758880
F: Documentation/devicetree/bindings/spi/fsl,dspi*.yaml
88768881
F: drivers/spi/spi-fsl-dspi.c
@@ -8955,6 +8960,14 @@ S: Maintained
89558960
F: Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.yaml
89568961
F: drivers/i2c/busses/i2c-imx-lpi2c.c
89578962

8963+
FREESCALE IMX LPSPI DRIVER
8964+
M: Frank Li <[email protected]>
8965+
8966+
8967+
S: Maintained
8968+
F: Documentation/devicetree/bindings/spi/spi-fsl-lpspi.yaml
8969+
F: drivers/spi/spi-fsl-lpspi.c
8970+
89588971
FREESCALE MPC I2C DRIVER
89598972
M: Chris Packham <[email protected]>
89608973
@@ -8991,6 +9004,7 @@ F: include/linux/fsl/ptp_qoriq.h
89919004
FREESCALE QUAD SPI DRIVER
89929005
M: Han Xu <[email protected]>
89939006
9007+
89949008
S: Maintained
89959009
F: Documentation/devicetree/bindings/spi/fsl,spi-fsl-qspi.yaml
89969010
F: drivers/spi/spi-fsl-qspi.c
@@ -15903,6 +15917,8 @@ F: include/uapi/linux/ethtool_netlink.h
1590315917
F: include/uapi/linux/if_*
1590415918
F: include/uapi/linux/netdev*
1590515919
F: tools/testing/selftests/drivers/net/
15920+
X: Documentation/devicetree/bindings/net/bluetooth/
15921+
X: Documentation/devicetree/bindings/net/wireless/
1590615922
X: drivers/net/wireless/
1590715923

1590815924
NETWORKING DRIVERS (WIRELESS)
@@ -16416,6 +16432,7 @@ M: Han Xu <[email protected]>
1641616432
M: Haibo Chen <[email protected]>
1641716433
R: Yogesh Gaur <[email protected]>
1641816434
16435+
1641916436
S: Maintained
1642016437
F: Documentation/devicetree/bindings/spi/spi-nxp-fspi.yaml
1642116438
F: drivers/spi/spi-nxp-fspi.c
@@ -17127,7 +17144,7 @@ F: include/dt-bindings/
1712717144

1712817145
OPENCOMPUTE PTP CLOCK DRIVER
1712917146
M: Jonathan Lemon <[email protected]>
17130-
M: Vadim Fedorenko <vadfed@linux.dev>
17147+
M: Vadim Fedorenko <vadim.fedorenko@linux.dev>
1713117148
1713217149
S: Maintained
1713317150
F: drivers/ptp/ptp_ocp.c
@@ -17446,6 +17463,7 @@ M: Roy Zang <[email protected]>
1744617463
1744717464
1744817465
L: [email protected] (moderated for non-subscribers)
17466+
1744917467
S: Maintained
1745017468
F: drivers/pci/controller/dwc/*layerscape*
1745117469

@@ -17472,6 +17490,7 @@ M: Richard Zhu <[email protected]>
1747217490
M: Lucas Stach <[email protected]>
1747317491
1747417492
L: [email protected] (moderated for non-subscribers)
17493+
1747517494
S: Maintained
1747617495
F: Documentation/devicetree/bindings/pci/fsl,imx6q-pcie-common.yaml
1747717496
F: Documentation/devicetree/bindings/pci/fsl,imx6q-pcie-ep.yaml
@@ -17650,6 +17669,7 @@ F: drivers/pci/controller/pci-xgene-msi.c
1765017669
PCI NATIVE HOST BRIDGE AND ENDPOINT DRIVERS
1765117670
M: Lorenzo Pieralisi <[email protected]>
1765217671
M: Krzysztof Wilczyński <[email protected]>
17672+
R: Manivannan Sadhasivam <[email protected]>
1765317673
R: Rob Herring <[email protected]>
1765417674
1765517675
S: Supported
@@ -18804,7 +18824,7 @@ F: include/uapi/drm/qaic_accel.h
1880418824

1880518825
QUALCOMM CORE POWER REDUCTION (CPR) AVS DRIVER
1880618826
M: Bjorn Andersson <[email protected]>
18807-
M: Konrad Dybcio <konrad.dybcio@linaro.org>
18827+
M: Konrad Dybcio <konradybcio@kernel.org>
1880818828
1880918829
1881018830
S: Maintained
@@ -19946,12 +19966,11 @@ F: tools/verification/
1994619966
RUST
1994719967
M: Miguel Ojeda <[email protected]>
1994819968
M: Alex Gaynor <[email protected]>
19949-
M: Wedson Almeida Filho <[email protected]>
1995019969
R: Boqun Feng <[email protected]>
1995119970
R: Gary Guo <[email protected]>
1995219971
R: Björn Roy Baron <[email protected]>
1995319972
R: Benno Lossin <[email protected]>
19954-
R: Andreas Hindborg <a.hindborg@samsung.com>
19973+
R: Andreas Hindborg <a.hindborg@kernel.org>
1995519974
R: Alice Ryhl <[email protected]>
1995619975
1995719976
S: Supported
@@ -23862,10 +23881,8 @@ F: drivers/media/usb/uvc/
2386223881
F: include/uapi/linux/uvcvideo.h
2386323882

2386423883
USB WEBCAM GADGET
23865-
M: Laurent Pinchart <[email protected]>
23866-
M: Daniel Scally <[email protected]>
2386723884
23868-
S: Maintained
23885+
S: Orphan
2386923886
F: drivers/usb/gadget/function/*uvc*
2387023887
F: drivers/usb/gadget/legacy/webcam.c
2387123888
F: include/uapi/linux/usb/g_uvc.h

Makefile

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

88
# *DOCUMENTATION*
@@ -445,6 +445,7 @@ KBUILD_USERLDFLAGS := $(USERLDFLAGS)
445445
# host programs.
446446
export rust_common_flags := --edition=2021 \
447447
-Zbinary_dep_depinfo=y \
448+
-Astable_features \
448449
-Dunsafe_op_in_unsafe_fn \
449450
-Dnon_ascii_idents \
450451
-Wrust_2018_idioms \

arch/arm/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ config ARM
117117
select HAVE_KERNEL_XZ
118118
select HAVE_KPROBES if !XIP_KERNEL && !CPU_ENDIAN_BE32 && !CPU_V7M
119119
select HAVE_KRETPROBES if HAVE_KPROBES
120-
select HAVE_LD_DEAD_CODE_DATA_ELIMINATION
120+
select HAVE_LD_DEAD_CODE_DATA_ELIMINATION if (LD_VERSION >= 23600 || LD_IS_LLD)
121121
select HAVE_MOD_ARCH_SPECIFIC
122122
select HAVE_NMI
123123
select HAVE_OPTPROBES if !THUMB2_KERNEL

0 commit comments

Comments
 (0)