Skip to content

Commit f6984cb

Browse files
authored
Merge tag 'v6.18.21' into qcom-6.18.y (#421)
Merge tag 'v6.18.21' into qcom-6.18.y
2 parents bc4dd99 + 297e169 commit f6984cb

819 files changed

Lines changed: 8798 additions & 3714 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/admin-guide/kernel-parameters.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7925,6 +7925,9 @@
79257925
p = USB_QUIRK_SHORT_SET_ADDRESS_REQ_TIMEOUT
79267926
(Reduce timeout of the SET_ADDRESS
79277927
request from 5000 ms to 500 ms);
7928+
q = USB_QUIRK_FORCE_ONE_CONFIG (Device
7929+
claims zero configurations,
7930+
forcing to 1);
79287931
Example: quirks=0781:5580:bk,0a5c:5834:gij
79297932

79307933
usbhid.mousepoll=

Documentation/devicetree/bindings/display/msm/qcom,sm8750-mdss.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ maintainers:
1010
- Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
1111

1212
description:
13-
SM8650 MSM Mobile Display Subsystem(MDSS), which encapsulates sub-blocks like
13+
SM8750 MSM Mobile Display Subsystem(MDSS), which encapsulates sub-blocks like
1414
DPU display controller, DSI and DP interfaces etc.
1515

1616
$ref: /schemas/display/msm/mdss-common.yaml#

Documentation/devicetree/bindings/sound/st,stm32-sai.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ allOf:
164164
properties:
165165
compatible:
166166
contains:
167-
const: st,stm32mph7-sai
167+
const: st,stm32h7-sai
168168
then:
169169
properties:
170170
clocks:

Documentation/filesystems/overlayfs.rst

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -783,6 +783,56 @@ controlled by the "uuid" mount option, which supports these values:
783783
mounted with "uuid=on".
784784

785785

786+
Durability and copy up
787+
----------------------
788+
789+
The fsync(2) system call ensures that the data and metadata of a file
790+
are safely written to the backing storage, which is expected to
791+
guarantee the existence of the information post system crash.
792+
793+
Without an fsync(2) call, there is no guarantee that the observed
794+
data after a system crash will be either the old or the new data, but
795+
in practice, the observed data after crash is often the old or new data
796+
or a mix of both.
797+
798+
When an overlayfs file is modified for the first time, copy up will
799+
create a copy of the lower file and its parent directories in the upper
800+
layer. Since the Linux filesystem API does not enforce any particular
801+
ordering on storing changes without explicit fsync(2) calls, in case
802+
of a system crash, the upper file could end up with no data at all
803+
(i.e. zeros), which would be an unusual outcome. To avoid this
804+
experience, overlayfs calls fsync(2) on the upper file before completing
805+
data copy up with rename(2) or link(2) to make the copy up "atomic".
806+
807+
By default, overlayfs does not explicitly call fsync(2) on copied up
808+
directories or on metadata-only copy up, so it provides no guarantee to
809+
persist the user's modification unless the user calls fsync(2).
810+
The fsync during copy up only guarantees that if a copy up is observed
811+
after a crash, the observed data is not zeroes or intermediate values
812+
from the copy up staging area.
813+
814+
On traditional local filesystems with a single journal (e.g. ext4, xfs),
815+
fsync on a file also persists the parent directory changes, because they
816+
are usually modified in the same transaction, so metadata durability during
817+
data copy up effectively comes for free. Overlayfs further limits risk by
818+
disallowing network filesystems as upper layer.
819+
820+
Overlayfs can be tuned to prefer performance or durability when storing
821+
to the underlying upper layer. This is controlled by the "fsync" mount
822+
option, which supports these values:
823+
824+
- "auto": (default)
825+
Call fsync(2) on upper file before completion of data copy up.
826+
No explicit fsync(2) on directory or metadata-only copy up.
827+
- "strict":
828+
Call fsync(2) on upper file and directories before completion of any
829+
copy up.
830+
- "volatile": [*]
831+
Prefer performance over durability (see `Volatile mount`_)
832+
833+
[*] The mount option "volatile" is an alias to "fsync=volatile".
834+
835+
786836
Volatile mount
787837
--------------
788838

Documentation/hwmon/adm1177.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ for details.
2727
Sysfs entries
2828
-------------
2929

30-
The following attributes are supported. Current maxim attribute
30+
The following attributes are supported. Current maximum attribute
3131
is read-write, all other attributes are read-only.
3232

33-
in0_input Measured voltage in microvolts.
33+
in0_input Measured voltage in millivolts.
3434

35-
curr1_input Measured current in microamperes.
36-
curr1_max_alarm Overcurrent alarm in microamperes.
35+
curr1_input Measured current in milliamperes.
36+
curr1_max Overcurrent shutdown threshold in milliamperes.

Documentation/hwmon/peci-cputemp.rst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,9 @@ temp1_max Provides thermal control temperature of the CPU package
5151
temp1_crit Provides shutdown temperature of the CPU package which
5252
is also known as the maximum processor junction
5353
temperature, Tjmax or Tprochot.
54-
temp1_crit_hyst Provides the hysteresis value from Tcontrol to Tjmax of
55-
the CPU package.
54+
temp1_crit_hyst Provides the hysteresis temperature of the CPU
55+
package. Returns Tcontrol, the temperature at which
56+
the critical condition clears.
5657

5758
temp2_label "DTS"
5859
temp2_input Provides current temperature of the CPU package scaled
@@ -62,8 +63,9 @@ temp2_max Provides thermal control temperature of the CPU package
6263
temp2_crit Provides shutdown temperature of the CPU package which
6364
is also known as the maximum processor junction
6465
temperature, Tjmax or Tprochot.
65-
temp2_crit_hyst Provides the hysteresis value from Tcontrol to Tjmax of
66-
the CPU package.
66+
temp2_crit_hyst Provides the hysteresis temperature of the CPU
67+
package. Returns Tcontrol, the temperature at which
68+
the critical condition clears.
6769

6870
temp3_label "Tcontrol"
6971
temp3_input Provides current Tcontrol temperature of the CPU

Documentation/netlink/specs/net_shaper.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,8 @@ operations:
247247
flags: [admin-perm]
248248

249249
do:
250-
pre: net-shaper-nl-pre-doit
251-
post: net-shaper-nl-post-doit
250+
pre: net-shaper-nl-pre-doit-write
251+
post: net-shaper-nl-post-doit-write
252252
request:
253253
attributes:
254254
- ifindex
@@ -278,8 +278,8 @@ operations:
278278
flags: [admin-perm]
279279

280280
do:
281-
pre: net-shaper-nl-pre-doit
282-
post: net-shaper-nl-post-doit
281+
pre: net-shaper-nl-pre-doit-write
282+
post: net-shaper-nl-post-doit-write
283283
request:
284284
attributes: *ns-binding
285285

@@ -309,8 +309,8 @@ operations:
309309
flags: [admin-perm]
310310

311311
do:
312-
pre: net-shaper-nl-pre-doit
313-
post: net-shaper-nl-post-doit
312+
pre: net-shaper-nl-pre-doit-write
313+
post: net-shaper-nl-post-doit-write
314314
request:
315315
attributes:
316316
- ifindex

Documentation/virt/kvm/api.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8403,6 +8403,14 @@ KVM_X86_QUIRK_IGNORE_GUEST_PAT By default, on Intel platforms, KVM ignores
84038403
guest software, for example if it does not
84048404
expose a bochs graphics device (which is
84058405
known to have had a buggy driver).
8406+
8407+
KVM_X86_QUIRK_VMCS12_ALLOW_FREEZE_IN_SMM By default, KVM relaxes the consistency
8408+
check for GUEST_IA32_DEBUGCTL in vmcs12
8409+
to allow FREEZE_IN_SMM to be set. When
8410+
this quirk is disabled, KVM requires this
8411+
bit to be cleared. Note that the vmcs02
8412+
bit is still completely controlled by the
8413+
host, regardless of the quirk setting.
84068414
=================================== ============================================
84078415

84088416
7.32 KVM_CAP_MAX_VCPU_ID

Makefile

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

@@ -473,6 +473,7 @@ KBUILD_USERLDFLAGS := $(USERLDFLAGS)
473473
export rust_common_flags := --edition=2021 \
474474
-Zbinary_dep_depinfo=y \
475475
-Astable_features \
476+
-Aunused_features \
476477
-Dnon_ascii_idents \
477478
-Dunsafe_op_in_unsafe_fn \
478479
-Wmissing_docs \
@@ -1440,13 +1441,13 @@ ifneq ($(wildcard $(resolve_btfids_O)),)
14401441
$(Q)$(MAKE) -sC $(srctree)/tools/bpf/resolve_btfids O=$(resolve_btfids_O) clean
14411442
endif
14421443

1443-
PHONY += objtool_clean
1444+
PHONY += objtool_clean objtool_mrproper
14441445

14451446
objtool_O = $(abspath $(objtree))/tools/objtool
14461447

1447-
objtool_clean:
1448+
objtool_clean objtool_mrproper:
14481449
ifneq ($(wildcard $(objtool_O)),)
1449-
$(Q)$(MAKE) -sC $(abs_srctree)/tools/objtool O=$(objtool_O) srctree=$(abs_srctree) clean
1450+
$(Q)$(MAKE) -sC $(abs_srctree)/tools/objtool O=$(objtool_O) srctree=$(abs_srctree) $(patsubst objtool_%,%,$@)
14501451
endif
14511452

14521453
tools/: FORCE
@@ -1587,7 +1588,7 @@ CLEAN_FILES += vmlinux.symvers modules-only.symvers \
15871588
modules.builtin.ranges vmlinux.o.map vmlinux.unstripped \
15881589
compile_commands.json rust/test \
15891590
rust-project.json .vmlinux.objs .vmlinux.export.c \
1590-
.builtin-dtbs-list .builtin-dtb.S
1591+
.builtin-dtbs-list .builtin-dtbs.S
15911592

15921593
# Directories & files removed with 'make mrproper'
15931594
MRPROPER_FILES += include/config include/generated \
@@ -1623,7 +1624,7 @@ PHONY += $(mrproper-dirs) mrproper
16231624
$(mrproper-dirs):
16241625
$(Q)$(MAKE) $(clean)=$(patsubst _mrproper_%,%,$@)
16251626

1626-
mrproper: clean $(mrproper-dirs)
1627+
mrproper: clean objtool_mrproper $(mrproper-dirs)
16271628
$(call cmd,rmfiles)
16281629
@find . $(RCS_FIND_IGNORE) \
16291630
\( -name '*.rmeta' \) \

arch/arm64/boot/dts/freescale/imx8mn-tqma8mqnl-mba8mx.dts

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,10 @@
6969
samsung,esc-clock-frequency = <20000000>;
7070
};
7171

72+
&reg_usdhc2_vqmmc {
73+
status = "okay";
74+
};
75+
7276
&sai3 {
7377
assigned-clocks = <&clk IMX8MN_CLK_SAI3>;
7478
assigned-clock-parents = <&clk IMX8MN_AUDIO_PLL1_OUT>;
@@ -216,8 +220,7 @@
216220
<MX8MN_IOMUXC_SD2_DATA0_USDHC2_DATA0 0x1d4>,
217221
<MX8MN_IOMUXC_SD2_DATA1_USDHC2_DATA1 0x1d4>,
218222
<MX8MN_IOMUXC_SD2_DATA2_USDHC2_DATA2 0x1d4>,
219-
<MX8MN_IOMUXC_SD2_DATA3_USDHC2_DATA3 0x1d4>,
220-
<MX8MN_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0x84>;
223+
<MX8MN_IOMUXC_SD2_DATA3_USDHC2_DATA3 0x1d4>;
221224
};
222225

223226
pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp {
@@ -226,8 +229,7 @@
226229
<MX8MN_IOMUXC_SD2_DATA0_USDHC2_DATA0 0x1d4>,
227230
<MX8MN_IOMUXC_SD2_DATA1_USDHC2_DATA1 0x1d4>,
228231
<MX8MN_IOMUXC_SD2_DATA2_USDHC2_DATA2 0x1d4>,
229-
<MX8MN_IOMUXC_SD2_DATA3_USDHC2_DATA3 0x1d4>,
230-
<MX8MN_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0x84>;
232+
<MX8MN_IOMUXC_SD2_DATA3_USDHC2_DATA3 0x1d4>;
231233
};
232234

233235
pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp {
@@ -236,8 +238,7 @@
236238
<MX8MN_IOMUXC_SD2_DATA0_USDHC2_DATA0 0x1d4>,
237239
<MX8MN_IOMUXC_SD2_DATA1_USDHC2_DATA1 0x1d4>,
238240
<MX8MN_IOMUXC_SD2_DATA2_USDHC2_DATA2 0x1d4>,
239-
<MX8MN_IOMUXC_SD2_DATA3_USDHC2_DATA3 0x1d4>,
240-
<MX8MN_IOMUXC_GPIO1_IO04_USDHC2_VSELECT 0x84>;
241+
<MX8MN_IOMUXC_SD2_DATA3_USDHC2_DATA3 0x1d4>;
241242
};
242243

243244
pinctrl_usdhc2_gpio: usdhc2-gpiogrp {

0 commit comments

Comments
 (0)