Skip to content

Commit 1da8efc

Browse files
authored
Merge tag 'v6.18.44' into qcom-6.18.y (#970)
Merge tag 'v6.18.44' into qcom-6.18.y
2 parents 11cf26c + 39249be commit 1da8efc

2,866 files changed

Lines changed: 42972 additions & 22661 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.

Documentation/ABI/testing/sysfs-bus-i3c

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,3 +161,14 @@ Contact: linux-i3c@vger.kernel.org
161161
Description:
162162
These directories are just symbolic links to
163163
/sys/bus/i3c/devices/i3c-<bus-id>/<bus-id>-<device-pid>.
164+
165+
What: /sys/bus/i3c/devices/i3c-<bus-id>/<bus-id>-<device-pid>/dev_nack_retry_count
166+
KernelVersion: 6.18
167+
Contact: linux-i3c@vger.kernel.org
168+
Description:
169+
Expose the dev_nak_retry_count which controls the number of
170+
automatic retries that will be performed by the controller when
171+
the target device returns a NACK response. A value of 0 disables
172+
the automatic retries. Exist only when I3C constroller supports
173+
this retry on nack feature.
174+

Documentation/admin-guide/pm/cpufreq.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ This governor exposes the following tunables:
516516
of those tasks above 0 and set this attribute to 1.
517517

518518
``sampling_down_factor``
519-
Temporary multiplier, between 1 (default) and 100 inclusive, to apply to
519+
Temporary multiplier, between 1 (default) and 100000 inclusive, to apply to
520520
the ``sampling_rate`` value if the CPU load goes above ``up_threshold``.
521521

522522
This causes the next execution of the governor's worker routine (after
@@ -586,8 +586,8 @@ This governor exposes the following tunables:
586586
100 (5 by default).
587587

588588
This is how much the frequency is allowed to change in one go. Setting
589-
it to 0 will cause the default frequency step (5 percent) to be used
590-
and setting it to 100 effectively causes the governor to periodically
589+
it to 0 disables frequency changes by the governor entirely and setting
590+
it to 100 effectively causes the governor to periodically
591591
switch the frequency between the ``scaling_min_freq`` and
592592
``scaling_max_freq`` policy limits.
593593

Documentation/arch/arm64/cpu-hotplug.rst

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,12 @@ ever have can be described at boot. There are no power-domain considerations
4747
as such devices are emulated.
4848

4949
CPU Hotplug on virtual systems is supported. It is distinct from physical
50-
CPU Hotplug as all resources are described as ``present``, but CPUs may be
51-
marked as disabled by firmware. Only the CPU's online/offline behaviour is
52-
influenced by firmware. An example is where a virtual machine boots with a
53-
single CPU, and additional CPUs are added once a cloud orchestrator deploys
54-
the workload.
50+
CPU Hotplug as all vCPU resources are statically described in the firmware
51+
configuration tables (e.g. MADT), meaning their maximum possible count is
52+
known at boot. However, vCPUs that are not enabled at boot are not marked
53+
as ``present`` by the kernel until they are hotplugged. An example is where
54+
a virtual machine boots with a single CPU, and additional CPUs are added
55+
once a cloud orchestrator deploys the workload.
5556

5657
For a virtual machine, the VMM (e.g. Qemu) plays the part of firmware.
5758

@@ -60,16 +61,19 @@ brought online. Firmware can enforce its policy via PSCI's return codes. e.g.
6061
``DENIED``.
6162

6263
The ACPI tables must describe all the resources of the virtual machine. CPUs
63-
that firmware wishes to disable either from boot (or later) should not be
64-
``enabled`` in the MADT GICC structures, but should have the ``online capable``
65-
bit set, to indicate they can be enabled later. The boot CPU must be marked as
66-
``enabled``. The 'always on' GICR structure must be used to describe the
67-
redistributors.
64+
that are hot-pluggable must have the ``online capable`` bit set and the
65+
``enabled`` bit cleared in the MADT GICC structures to indicate they can be
66+
enabled later. The boot CPU must be marked as ``enabled`` with its
67+
``online capable`` bit cleared. The 'always on' GICR structure must be used
68+
to describe the redistributors.
6869

6970
CPUs described as ``online capable`` but not ``enabled`` can be set to enabled
7071
by the DSDT's Processor object's _STA method. On virtual systems the _STA method
71-
must always report the CPU as ``present``. Changes to the firmware policy can
72-
be notified to the OS via device-check or eject-request.
72+
must always set the ``ACPI_STA_DEVICE_PRESENT`` bit, while toggling the
73+
``ACPI_STA_DEVICE_ENABLED`` bit to reflect its plug status. The kernel will
74+
then dynamically mark the vCPU as ``present`` within the OS when the
75+
``ACPI_STA_DEVICE_ENABLED`` bit becomes set during hot-add. Changes to the
76+
firmware policy can be notified to the OS via device-check or eject-request.
7377

7478
CPUs described as ``enabled`` in the static table, should not have their _STA
7579
modified dynamically by firmware. Soft-restart features such as kexec will

Documentation/crypto/userspace-if.rst

Lines changed: 4 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -328,33 +328,10 @@ CRYPTO_USER_API_RNG_CAVP option:
328328
Zero-Copy Interface
329329
-------------------
330330

331-
In addition to the send/write/read/recv system call family, the AF_ALG
332-
interface can be accessed with the zero-copy interface of
333-
splice/vmsplice. As the name indicates, the kernel tries to avoid a copy
334-
operation into kernel space.
335-
336-
The zero-copy operation requires data to be aligned at the page
337-
boundary. Non-aligned data can be used as well, but may require more
338-
operations of the kernel which would defeat the speed gains obtained
339-
from the zero-copy interface.
340-
341-
The system-inherent limit for the size of one zero-copy operation is 16
342-
pages. If more data is to be sent to AF_ALG, user space must slice the
343-
input into segments with a maximum size of 16 pages.
344-
345-
Zero-copy can be used with the following code example (a complete
346-
working example is provided with libkcapi):
347-
348-
::
349-
350-
int pipes[2];
351-
352-
pipe(pipes);
353-
/* input data in iov */
354-
vmsplice(pipes[1], iov, iovlen, SPLICE_F_GIFT);
355-
/* opfd is the file descriptor returned from accept() system call */
356-
splice(pipes[0], NULL, opfd, NULL, ret, 0);
357-
read(opfd, out, outlen);
331+
AF_ALG used to have zero-copy support, but it was removed due to it being a
332+
frequent source of vulnerabilities. For backwards compatibility the splice()
333+
and sendfile() system calls are still supported, but the kernel will make an
334+
internal copy of the data before passing it to the crypto code.
358335

359336

360337
Setsockopt Interface

Documentation/devicetree/bindings/dma/nvidia,tegra186-gpc-dma.yaml

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,14 @@ maintainers:
1515
- Jon Hunter <jonathanh@nvidia.com>
1616
- Rajesh Gumasta <rgumasta@nvidia.com>
1717

18-
allOf:
19-
- $ref: dma-controller.yaml#
20-
2118
properties:
2219
compatible:
2320
oneOf:
24-
- const: nvidia,tegra186-gpcdma
21+
- enum:
22+
- nvidia,tegra264-gpcdma
23+
- nvidia,tegra186-gpcdma
2524
- items:
2625
- enum:
27-
- nvidia,tegra264-gpcdma
2826
- nvidia,tegra234-gpcdma
2927
- nvidia,tegra194-gpcdma
3028
- const: nvidia,tegra186-gpcdma
@@ -60,12 +58,23 @@ required:
6058
- compatible
6159
- reg
6260
- interrupts
63-
- resets
64-
- reset-names
6561
- "#dma-cells"
6662
- iommus
6763
- dma-channel-mask
6864

65+
allOf:
66+
- $ref: dma-controller.yaml#
67+
- if:
68+
properties:
69+
compatible:
70+
contains:
71+
enum:
72+
- nvidia,tegra186-gpcdma
73+
then:
74+
required:
75+
- resets
76+
- reset-names
77+
6978
additionalProperties: false
7079

7180
examples:

Documentation/devicetree/bindings/media/allwinner,sun4i-a10-video-engine.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,16 @@ properties:
6363
CMA pool to use for buffers allocation instead of the default
6464
CMA pool.
6565

66+
# FIXME: This should be made required eventually once every SoC will
67+
# have the MBUS declared.
68+
interconnects:
69+
maxItems: 1
70+
71+
# FIXME: This should be made required eventually once every SoC will
72+
# have the MBUS declared.
73+
interconnect-names:
74+
const: dma-mem
75+
6676
required:
6777
- compatible
6878
- reg

Documentation/devicetree/bindings/net/renesas,ether.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,7 @@ examples:
121121
#size-cells = <0>;
122122
123123
phy1: ethernet-phy@1 {
124-
compatible = "ethernet-phy-id0022.1537",
125-
"ethernet-phy-ieee802.3-c22";
124+
compatible = "ethernet-phy-id0022.1537";
126125
reg = <1>;
127126
interrupt-parent = <&irqc0>;
128127
interrupts = <0 IRQ_TYPE_LEVEL_LOW>;

Documentation/devicetree/bindings/phy/qcom,sc8280xp-qmp-pcie-phy.yaml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,13 +140,22 @@ allOf:
140140
items:
141141
- description: port a
142142
- description: port b
143-
required:
144-
- qcom,4ln-config-sel
145143
else:
146144
properties:
147145
reg:
148146
maxItems: 1
149147

148+
- if:
149+
properties:
150+
compatible:
151+
contains:
152+
enum:
153+
- qcom,sc8280xp-qmp-gen3x4-pcie-phy
154+
- qcom,x1e80100-qmp-gen4x4-pcie-phy
155+
then:
156+
required:
157+
- qcom,4ln-config-sel
158+
150159
- if:
151160
properties:
152161
compatible:

Documentation/devicetree/bindings/pinctrl/nvidia,tegra234-pinmux-aon.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ patternProperties:
5858
drive_soc_gpio27_pee6, drive_ao_retention_n_pee2,
5959
drive_vcomp_alert_pee1, drive_hdmi_cec_pgg0 ]
6060

61+
required:
62+
- compatible
63+
- reg
64+
6165
unevaluatedProperties: false
6266

6367
examples:

Documentation/devicetree/bindings/pinctrl/nvidia,tegra234-pinmux.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,10 @@ patternProperties:
115115
drive_sdmmc1_dat2_pj4, drive_sdmmc1_dat1_pj3,
116116
drive_sdmmc1_dat0_pj2 ]
117117

118+
required:
119+
- compatible
120+
- reg
121+
118122
unevaluatedProperties: false
119123

120124
examples:

0 commit comments

Comments
 (0)