Skip to content

Commit f7697db

Browse files
committed
Merge 6.10-rc6 into usb-next
We need the USB fixes in here as well for some follow-on patches. Signed-off-by: Greg Kroah-Hartman <[email protected]>
2 parents 2ea6d07 + 22a40d1 commit f7697db

File tree

600 files changed

+7807
-4099
lines changed

Some content is hidden

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

600 files changed

+7807
-4099
lines changed

.mailmap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -608,6 +608,7 @@ Simon Kelley <[email protected]>
608608
Sricharan Ramabadhran <[email protected]> <[email protected]>
609609
610610
611+
Stanislav Fomichev <[email protected]> <[email protected]>
611612
612613
Stéphane Witzmann <[email protected]>
613614

Documentation/admin-guide/kernel-parameters.txt

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -788,25 +788,6 @@
788788
Documentation/networking/netconsole.rst for an
789789
alternative.
790790

791-
<DEVNAME>:<n>.<n>[,options]
792-
Use the specified serial port on the serial core bus.
793-
The addressing uses DEVNAME of the physical serial port
794-
device, followed by the serial core controller instance,
795-
and the serial port instance. The options are the same
796-
as documented for the ttyS addressing above.
797-
798-
The mapping of the serial ports to the tty instances
799-
can be viewed with:
800-
801-
$ ls -d /sys/bus/serial-base/devices/*:*.*/tty/*
802-
/sys/bus/serial-base/devices/00:04:0.0/tty/ttyS0
803-
804-
In the above example, the console can be addressed with
805-
console=00:04:0.0. Note that a console addressed this
806-
way will only get added when the related device driver
807-
is ready. The use of an earlycon parameter in addition to
808-
the console may be desired for console output early on.
809-
810791
uart[8250],io,<addr>[,options]
811792
uart[8250],mmio,<addr>[,options]
812793
uart[8250],mmio16,<addr>[,options]
@@ -2192,12 +2173,6 @@
21922173
Format: 0 | 1
21932174
Default set by CONFIG_INIT_ON_FREE_DEFAULT_ON.
21942175

2195-
init_mlocked_on_free= [MM] Fill freed userspace memory with zeroes if
2196-
it was mlock'ed and not explicitly munlock'ed
2197-
afterwards.
2198-
Format: 0 | 1
2199-
Default set by CONFIG_INIT_MLOCKED_ON_FREE_DEFAULT_ON
2200-
22012176
init_pkru= [X86] Specify the default memory protection keys rights
22022177
register contents for all processes. 0x55555554 by
22032178
default (disallow access to all but pkey 0). Can

Documentation/devicetree/bindings/dma/fsl,edma.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ properties:
5959
- 3
6060

6161
dma-channels:
62-
minItems: 1
63-
maxItems: 64
62+
minimum: 1
63+
maximum: 64
6464

6565
clocks:
6666
minItems: 1

Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ required:
7777
- clocks
7878

7979
allOf:
80-
- $ref: i2c-controller.yaml
80+
- $ref: /schemas/i2c/i2c-controller.yaml#
8181
- if:
8282
properties:
8383
compatible:

Documentation/devicetree/bindings/i2c/google,cros-ec-i2c-tunnel.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ description: |
2121
google,cros-ec-spi or google,cros-ec-i2c.
2222
2323
allOf:
24-
- $ref: i2c-controller.yaml#
24+
- $ref: /schemas/i2c/i2c-controller.yaml#
2525

2626
properties:
2727
compatible:

Documentation/devicetree/bindings/net/fsl,fman-dtsec.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ required:
128128
- cell-index
129129
- reg
130130
- fsl,fman-ports
131-
- ptp-timer
132131

133132
dependencies:
134133
pcs-handle-names:

Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ properties:
2929
- qcom,pm7325-gpio
3030
- qcom,pm7550ba-gpio
3131
- qcom,pm8005-gpio
32-
- qcom,pm8008-gpio
3332
- qcom,pm8018-gpio
3433
- qcom,pm8019-gpio
3534
- qcom,pm8038-gpio
@@ -126,7 +125,6 @@ allOf:
126125
compatible:
127126
contains:
128127
enum:
129-
- qcom,pm8008-gpio
130128
- qcom,pmi8950-gpio
131129
- qcom,pmr735d-gpio
132130
then:
@@ -448,7 +446,6 @@ $defs:
448446
- gpio1-gpio10 for pm7325
449447
- gpio1-gpio8 for pm7550ba
450448
- gpio1-gpio4 for pm8005
451-
- gpio1-gpio2 for pm8008
452449
- gpio1-gpio6 for pm8018
453450
- gpio1-gpio12 for pm8038
454451
- gpio1-gpio40 for pm8058

Documentation/filesystems/proc.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -571,6 +571,7 @@ encoded manner. The codes are the following:
571571
um userfaultfd missing tracking
572572
uw userfaultfd wr-protect tracking
573573
ss shadow stack page
574+
sl sealed
574575
== =======================================
575576

576577
Note that there is no guarantee that every flag and associated mnemonic will

Documentation/i2c/i2c_bus.svg

Lines changed: 8 additions & 7 deletions
Loading

Documentation/i2c/summary.rst

Lines changed: 50 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -3,59 +3,80 @@ Introduction to I2C and SMBus
33
=============================
44

55
I²C (pronounce: I squared C and written I2C in the kernel documentation) is
6-
a protocol developed by Philips. It is a slow two-wire protocol (variable
7-
speed, up to 400 kHz), with a high speed extension (3.4 MHz). It provides
6+
a protocol developed by Philips. It is a two-wire protocol with variable
7+
speed (typically up to 400 kHz, high speed modes up to 5 MHz). It provides
88
an inexpensive bus for connecting many types of devices with infrequent or
9-
low bandwidth communications needs. I2C is widely used with embedded
10-
systems. Some systems use variants that don't meet branding requirements,
9+
low bandwidth communications needs. I2C is widely used with embedded
10+
systems. Some systems use variants that don't meet branding requirements,
1111
and so are not advertised as being I2C but come under different names,
1212
e.g. TWI (Two Wire Interface), IIC.
1313

14-
The latest official I2C specification is the `"I2C-bus specification and user
15-
manual" (UM10204) <https://www.nxp.com/webapp/Download?colCode=UM10204>`_
16-
published by NXP Semiconductors. However, you need to log-in to the site to
17-
access the PDF. An older version of the specification (revision 6) is archived
18-
`here <https://web.archive.org/web/20210813122132/https://www.nxp.com/docs/en/user-guide/UM10204.pdf>`_.
14+
The latest official I2C specification is the `"I²C-bus specification and user
15+
manual" (UM10204) <https://www.nxp.com/docs/en/user-guide/UM10204.pdf>`_
16+
published by NXP Semiconductors, version 7 as of this writing.
1917

2018
SMBus (System Management Bus) is based on the I2C protocol, and is mostly
21-
a subset of I2C protocols and signaling. Many I2C devices will work on an
19+
a subset of I2C protocols and signaling. Many I2C devices will work on an
2220
SMBus, but some SMBus protocols add semantics beyond what is required to
23-
achieve I2C branding. Modern PC mainboards rely on SMBus. The most common
21+
achieve I2C branding. Modern PC mainboards rely on SMBus. The most common
2422
devices connected through SMBus are RAM modules configured using I2C EEPROMs,
2523
and hardware monitoring chips.
2624

2725
Because the SMBus is mostly a subset of the generalized I2C bus, we can
28-
use its protocols on many I2C systems. However, there are systems that don't
26+
use its protocols on many I2C systems. However, there are systems that don't
2927
meet both SMBus and I2C electrical constraints; and others which can't
3028
implement all the common SMBus protocol semantics or messages.
3129

3230

3331
Terminology
3432
===========
3533

36-
Using the terminology from the official documentation, the I2C bus connects
37-
one or more *master* chips and one or more *slave* chips.
34+
The I2C bus connects one or more controller chips and one or more target chips.
3835

3936
.. kernel-figure:: i2c_bus.svg
40-
:alt: Simple I2C bus with one master and 3 slaves
37+
:alt: Simple I2C bus with one controller and 3 targets
4138

4239
Simple I2C bus
4340

44-
A **master** chip is a node that starts communications with slaves. In the
45-
Linux kernel implementation it is called an **adapter** or bus. Adapter
46-
drivers are in the ``drivers/i2c/busses/`` subdirectory.
41+
A **controller** chip is a node that starts communications with targets. In the
42+
Linux kernel implementation it is also called an "adapter" or "bus". Controller
43+
drivers are usually in the ``drivers/i2c/busses/`` subdirectory.
4744

48-
An **algorithm** contains general code that can be used to implement a
49-
whole class of I2C adapters. Each specific adapter driver either depends on
50-
an algorithm driver in the ``drivers/i2c/algos/`` subdirectory, or includes
51-
its own implementation.
45+
An **algorithm** contains general code that can be used to implement a whole
46+
class of I2C controllers. Each specific controller driver either depends on an
47+
algorithm driver in the ``drivers/i2c/algos/`` subdirectory, or includes its
48+
own implementation.
5249

53-
A **slave** chip is a node that responds to communications when addressed
54-
by the master. In Linux it is called a **client**. Client drivers are kept
55-
in a directory specific to the feature they provide, for example
56-
``drivers/media/gpio/`` for GPIO expanders and ``drivers/media/i2c/`` for
50+
A **target** chip is a node that responds to communications when addressed by a
51+
controller. In the Linux kernel implementation it is also called a "client".
52+
While targets are usually separate external chips, Linux can also act as a
53+
target (needs hardware support) and respond to another controller on the bus.
54+
This is then called a **local target**. In contrast, an external chip is called
55+
a **remote target**.
56+
57+
Target drivers are kept in a directory specific to the feature they provide,
58+
for example ``drivers/gpio/`` for GPIO expanders and ``drivers/media/i2c/`` for
5759
video-related chips.
5860

59-
For the example configuration in figure, you will need a driver for your
60-
I2C adapter, and drivers for your I2C devices (usually one driver for each
61-
device).
61+
For the example configuration in the figure above, you will need one driver for
62+
the I2C controller, and drivers for your I2C targets. Usually one driver for
63+
each target.
64+
65+
Synonyms
66+
--------
67+
68+
As mentioned above, the Linux I2C implementation historically uses the terms
69+
"adapter" for controller and "client" for target. A number of data structures
70+
have these synonyms in their name. So, when discussing implementation details,
71+
you should be aware of these terms as well. The official wording is preferred,
72+
though.
73+
74+
Outdated terminology
75+
--------------------
76+
77+
In earlier I2C specifications, controller was named "master" and target was
78+
named "slave". These terms have been obsoleted with v7 of the specification and
79+
their use is also discouraged by the Linux Kernel Code of Conduct. You may
80+
still find them in references to documentation which has not been updated. The
81+
general attitude, however, is to use the inclusive terms: controller and
82+
target. Work to replace the old terminology in the Linux Kernel is on-going.

Documentation/kbuild/modules.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ executed to make module versioning work.
128128

129129
modules_install
130130
Install the external module(s). The default location is
131-
/lib/modules/<kernel_release>/extra/, but a prefix may
131+
/lib/modules/<kernel_release>/updates/, but a prefix may
132132
be added with INSTALL_MOD_PATH (discussed in section 5).
133133

134134
clean
@@ -417,7 +417,7 @@ directory:
417417

418418
And external modules are installed in:
419419

420-
/lib/modules/$(KERNELRELEASE)/extra/
420+
/lib/modules/$(KERNELRELEASE)/updates/
421421

422422
5.1 INSTALL_MOD_PATH
423423
--------------------
@@ -438,10 +438,10 @@ And external modules are installed in:
438438
-------------------
439439

440440
External modules are by default installed to a directory under
441-
/lib/modules/$(KERNELRELEASE)/extra/, but you may wish to
441+
/lib/modules/$(KERNELRELEASE)/updates/, but you may wish to
442442
locate modules for a specific functionality in a separate
443443
directory. For this purpose, use INSTALL_MOD_DIR to specify an
444-
alternative name to "extra."::
444+
alternative name to "updates."::
445445

446446
$ make INSTALL_MOD_DIR=gandalf -C $KDIR \
447447
M=$PWD modules_install

Documentation/netlink/specs/ethtool.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1603,7 +1603,7 @@ operations:
16031603
attributes:
16041604
- header
16051605
reply:
1606-
attributes: &pse
1606+
attributes:
16071607
- header
16081608
- podl-pse-admin-state
16091609
- podl-pse-admin-control
@@ -1620,7 +1620,10 @@ operations:
16201620

16211621
do:
16221622
request:
1623-
attributes: *pse
1623+
attributes:
1624+
- header
1625+
- podl-pse-admin-control
1626+
- c33-pse-admin-control
16241627
-
16251628
name: rss-get
16261629
doc: Get RSS params.

Documentation/netlink/specs/nfsd.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,6 @@ operations:
123123
doc: dump pending nfsd rpc
124124
attribute-set: rpc-status
125125
dump:
126-
pre: nfsd-nl-rpc-status-get-start
127-
post: nfsd-nl-rpc-status-get-done
128126
reply:
129127
attributes:
130128
- xid

Documentation/userspace-api/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ Security-related interfaces
3232
seccomp_filter
3333
landlock
3434
lsm
35+
mfd_noexec
3536
spec_ctrl
3637
tee
3738

0 commit comments

Comments
 (0)