Skip to content

Commit f22d01e

Browse files
Merge pull request #49 from torvalds/master
Sync update
2 parents df5165c + d0c3bcd commit f22d01e

238 files changed

Lines changed: 3072 additions & 1317 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.

.mailmap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,7 @@ Hans Verkuil <hverkuil@kernel.org> <hverkuil-cisco@xs4all.nl>
316316
Hans Verkuil <hverkuil@kernel.org> <hansverk@cisco.com>
317317
Hao Ge <hao.ge@linux.dev> <gehao@kylinos.cn>
318318
Harry Yoo <harry.yoo@oracle.com> <42.hyeyoo@gmail.com>
319+
Harry Yoo <harry@kernel.org> <harry.yoo@oracle.com>
319320
Heiko Carstens <hca@linux.ibm.com> <h.carstens@de.ibm.com>
320321
Heiko Carstens <hca@linux.ibm.com> <heiko.carstens@de.ibm.com>
321322
Heiko Stuebner <heiko@sntech.de> <heiko.stuebner@bqreaders.com>

Documentation/PCI/pcieaer-howto.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,16 @@ In the example, 'Requester ID' means the ID of the device that sent
8585
the error message to the Root Port. Please refer to PCIe specs for other
8686
fields.
8787

88+
The 'TLP Header' is the prefix/header of the TLP that caused the error
89+
in raw hex format. To decode the TLP Header into human-readable form
90+
one may use tlp-tool:
91+
92+
https://github.com/mmpg-x86/tlp-tool
93+
94+
Example usage::
95+
96+
curl -L https://git.kernel.org/linus/2ca1c94ce0b6 | rtlp-tool --aer
97+
8898
AER Ratelimits
8999
--------------
90100

Documentation/devicetree/bindings/sound/rockchip-spdif.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ properties:
3333
- const: rockchip,rk3066-spdif
3434
- items:
3535
- enum:
36+
- rockchip,rk3576-spdif
3637
- rockchip,rk3588-spdif
3738
- const: rockchip,rk3568-spdif
3839

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

MAINTAINERS

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8628,8 +8628,14 @@ F: drivers/gpu/drm/lima/
86288628
F: include/uapi/drm/lima_drm.h
86298629

86308630
DRM DRIVERS FOR LOONGSON
8631+
M: Jianmin Lv <lvjianmin@loongson.cn>
8632+
M: Qianhai Wu <wuqianhai@loongson.cn>
8633+
R: Huacai Chen <chenhuacai@kernel.org>
8634+
R: Mingcong Bai <jeffbai@aosc.io>
8635+
R: Xi Ruoyao <xry111@xry111.site>
8636+
R: Icenowy Zheng <zhengxingda@iscas.ac.cn>
86318637
L: dri-devel@lists.freedesktop.org
8632-
S: Orphan
8638+
S: Maintained
86338639
T: git https://gitlab.freedesktop.org/drm/misc/kernel.git
86348640
F: drivers/gpu/drm/loongson/
86358641

@@ -9613,7 +9619,12 @@ F: include/linux/ext2*
96139619

96149620
EXT4 FILE SYSTEM
96159621
M: "Theodore Ts'o" <tytso@mit.edu>
9616-
M: Andreas Dilger <adilger.kernel@dilger.ca>
9622+
R: Andreas Dilger <adilger.kernel@dilger.ca>
9623+
R: Baokun Li <libaokun@linux.alibaba.com>
9624+
R: Jan Kara <jack@suse.cz>
9625+
R: Ojaswin Mujoo <ojaswin@linux.ibm.com>
9626+
R: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
9627+
R: Zhang Yi <yi.zhang@huawei.com>
96179628
L: linux-ext4@vger.kernel.org
96189629
S: Maintained
96199630
W: http://ext4.wiki.kernel.org
@@ -12009,7 +12020,6 @@ I2C SUBSYSTEM
1200912020
M: Wolfram Sang <wsa+renesas@sang-engineering.com>
1201012021
L: linux-i2c@vger.kernel.org
1201112022
S: Maintained
12012-
W: https://i2c.wiki.kernel.org/
1201312023
Q: https://patchwork.ozlabs.org/project/linux-i2c/list/
1201412024
T: git git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git
1201512025
F: Documentation/i2c/
@@ -12035,7 +12045,6 @@ I2C SUBSYSTEM HOST DRIVERS
1203512045
M: Andi Shyti <andi.shyti@kernel.org>
1203612046
L: linux-i2c@vger.kernel.org
1203712047
S: Maintained
12038-
W: https://i2c.wiki.kernel.org/
1203912048
Q: https://patchwork.ozlabs.org/project/linux-i2c/list/
1204012049
T: git git://git.kernel.org/pub/scm/linux/kernel/git/andi.shyti/linux.git
1204112050
F: Documentation/devicetree/bindings/i2c/
@@ -16877,7 +16886,7 @@ M: Lorenzo Stoakes <ljs@kernel.org>
1687716886
R: Rik van Riel <riel@surriel.com>
1687816887
R: Liam R. Howlett <Liam.Howlett@oracle.com>
1687916888
R: Vlastimil Babka <vbabka@kernel.org>
16880-
R: Harry Yoo <harry.yoo@oracle.com>
16889+
R: Harry Yoo <harry@kernel.org>
1688116890
R: Jann Horn <jannh@google.com>
1688216891
L: linux-mm@kvack.org
1688316892
S: Maintained
@@ -24343,7 +24352,7 @@ F: drivers/nvmem/layouts/sl28vpd.c
2434324352

2434424353
SLAB ALLOCATOR
2434524354
M: Vlastimil Babka <vbabka@kernel.org>
24346-
M: Harry Yoo <harry.yoo@oracle.com>
24355+
M: Harry Yoo <harry@kernel.org>
2434724356
M: Andrew Morton <akpm@linux-foundation.org>
2434824357
R: Hao Li <hao.li@linux.dev>
2434924358
R: Christoph Lameter <cl@gentwo.org>

Makefile

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

88
# *DOCUMENTATION*

arch/loongarch/include/asm/linkage.h

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,40 @@
4141
.cfi_endproc; \
4242
SYM_END(name, SYM_T_NONE)
4343

44+
/*
45+
* This is for the signal handler trampoline, which is used as the return
46+
* address of the signal handlers in userspace instead of called normally.
47+
* The long standing libgcc bug https://gcc.gnu.org/PR124050 requires a
48+
* nop between .cfi_startproc and the actual address of the trampoline, so
49+
* we cannot simply use SYM_FUNC_START.
50+
*
51+
* This wrapper also contains all the .cfi_* directives for recovering
52+
* the content of the GPRs and the "return address" (where the rt_sigreturn
53+
* syscall will jump to), assuming there is a struct rt_sigframe (where
54+
* a struct sigcontext containing those information we need to recover) at
55+
* $sp. The "DWARF for the LoongArch(TM) Architecture" manual states
56+
* column 0 is for $zero, but it does not make too much sense to
57+
* save/restore the hardware zero register. Repurpose this column here
58+
* for the return address (here it's not the content of $ra we cannot use
59+
* the default column 3).
60+
*/
61+
#define SYM_SIGFUNC_START(name) \
62+
.cfi_startproc; \
63+
.cfi_signal_frame; \
64+
.cfi_def_cfa 3, RT_SIGFRAME_SC; \
65+
.cfi_return_column 0; \
66+
.cfi_offset 0, SC_PC; \
67+
\
68+
.irp num, 1, 2, 3, 4, 5, 6, 7, 8, \
69+
9, 10, 11, 12, 13, 14, 15, 16, \
70+
17, 18, 19, 20, 21, 22, 23, 24, \
71+
25, 26, 27, 28, 29, 30, 31; \
72+
.cfi_offset \num, SC_REGS + \num * SZREG; \
73+
.endr; \
74+
\
75+
nop; \
76+
SYM_START(name, SYM_L_GLOBAL, SYM_A_ALIGN)
77+
78+
#define SYM_SIGFUNC_END(name) SYM_FUNC_END(name)
79+
4480
#endif

0 commit comments

Comments
 (0)