Skip to content

Commit 84c06d9

Browse files
committed
Merge remote-tracking branch 'stable/linux-5.10.y' into v5.10+
Conflicts: mm/page_alloc.c
2 parents 3e06024 + b1313fe commit 84c06d9

725 files changed

Lines changed: 5410 additions & 3415 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/locking/seqlock.rst

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Read path::
8989

9090
.. _seqcount_locktype_t:
9191

92-
Sequence counters with associated locks (``seqcount_LOCKTYPE_t``)
92+
Sequence counters with associated locks (``seqcount_LOCKNAME_t``)
9393
-----------------------------------------------------------------
9494

9595
As discussed at :ref:`seqcount_t`, sequence count write side critical
@@ -115,27 +115,26 @@ The following sequence counters with associated locks are defined:
115115
- ``seqcount_mutex_t``
116116
- ``seqcount_ww_mutex_t``
117117

118-
The plain seqcount read and write APIs branch out to the specific
119-
seqcount_LOCKTYPE_t implementation at compile-time. This avoids kernel
120-
API explosion per each new seqcount LOCKTYPE.
118+
The sequence counter read and write APIs can take either a plain
119+
seqcount_t or any of the seqcount_LOCKNAME_t variants above.
121120

122-
Initialization (replace "LOCKTYPE" with one of the supported locks)::
121+
Initialization (replace "LOCKNAME" with one of the supported locks)::
123122

124123
/* dynamic */
125-
seqcount_LOCKTYPE_t foo_seqcount;
126-
seqcount_LOCKTYPE_init(&foo_seqcount, &lock);
124+
seqcount_LOCKNAME_t foo_seqcount;
125+
seqcount_LOCKNAME_init(&foo_seqcount, &lock);
127126

128127
/* static */
129-
static seqcount_LOCKTYPE_t foo_seqcount =
130-
SEQCNT_LOCKTYPE_ZERO(foo_seqcount, &lock);
128+
static seqcount_LOCKNAME_t foo_seqcount =
129+
SEQCNT_LOCKNAME_ZERO(foo_seqcount, &lock);
131130

132131
/* C99 struct init */
133132
struct {
134-
.seq = SEQCNT_LOCKTYPE_ZERO(foo.seq, &lock),
133+
.seq = SEQCNT_LOCKNAME_ZERO(foo.seq, &lock),
135134
} foo;
136135

137136
Write path: same as in :ref:`seqcount_t`, while running from a context
138-
with the associated LOCKTYPE lock acquired.
137+
with the associated write serialization lock acquired.
139138

140139
Read path: same as in :ref:`seqcount_t`.
141140

Documentation/x86/topology.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ Package
4141
Packages contain a number of cores plus shared resources, e.g. DRAM
4242
controller, shared caches etc.
4343

44+
Modern systems may also use the term 'Die' for package.
45+
4446
AMD nomenclature for package is 'Node'.
4547

4648
Package-related topology information in the kernel:
@@ -53,11 +55,18 @@ Package-related topology information in the kernel:
5355

5456
The number of dies in a package. This information is retrieved via CPUID.
5557

58+
- cpuinfo_x86.cpu_die_id:
59+
60+
The physical ID of the die. This information is retrieved via CPUID.
61+
5662
- cpuinfo_x86.phys_proc_id:
5763

5864
The physical ID of the package. This information is retrieved via CPUID
5965
and deduced from the APIC IDs of the cores in the package.
6066

67+
Modern systems use this value for the socket. There may be multiple
68+
packages within a socket. This value may differ from cpu_die_id.
69+
6170
- cpuinfo_x86.logical_proc_id:
6271

6372
The logical ID of the package. As we do not trust BIOSes to enumerate the

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: GPL-2.0
22
VERSION = 5
33
PATCHLEVEL = 10
4-
SUBLEVEL = 3
4+
SUBLEVEL = 4
55
EXTRAVERSION =
66
NAME = Kleptomaniac Octopus
77

arch/Kconfig

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,22 @@ config UPROBES
143143
managed by the kernel and kept transparent to the probed
144144
application. )
145145

146+
config HAVE_64BIT_ALIGNED_ACCESS
147+
def_bool 64BIT && !HAVE_EFFICIENT_UNALIGNED_ACCESS
148+
help
149+
Some architectures require 64 bit accesses to be 64 bit
150+
aligned, which also requires structs containing 64 bit values
151+
to be 64 bit aligned too. This includes some 32 bit
152+
architectures which can do 64 bit accesses, as well as 64 bit
153+
architectures without unaligned access.
154+
155+
This symbol should be selected by an architecture if 64 bit
156+
accesses are required to be 64 bit aligned in this way even
157+
though it is not a 64 bit architecture.
158+
159+
See Documentation/unaligned-memory-access.txt for more
160+
information on the topic of unaligned memory accesses.
161+
146162
config HAVE_EFFICIENT_UNALIGNED_ACCESS
147163
bool
148164
help

arch/arm/boot/compressed/head.S

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
/*
117117
* Debug print of the final appended DTB location
118118
*/
119-
.macro dbgadtb, begin, end
119+
.macro dbgadtb, begin, size
120120
#ifdef DEBUG
121121
kputc #'D'
122122
kputc #'T'
@@ -129,7 +129,7 @@
129129
kputc #'('
130130
kputc #'0'
131131
kputc #'x'
132-
kphex \end, 8 /* End of appended DTB */
132+
kphex \size, 8 /* Size of appended DTB */
133133
kputc #')'
134134
kputc #'\n'
135135
#endif

arch/arm/boot/dts/armada-xp-98dx3236.dtsi

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -266,11 +266,6 @@
266266
reg = <0x11000 0x100>;
267267
};
268268

269-
&i2c1 {
270-
compatible = "marvell,mv78230-i2c", "marvell,mv64xxx-i2c";
271-
reg = <0x11100 0x100>;
272-
};
273-
274269
&mpic {
275270
reg = <0x20a00 0x2d0>, <0x21070 0x58>;
276271
};

arch/arm/boot/dts/aspeed-bmc-facebook-tiogapass.dts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,6 @@
8282
status = "okay";
8383
};
8484

85-
&vuart {
86-
// VUART Host Console
87-
status = "okay";
88-
};
89-
9085
&uart1 {
9186
// Host Console
9287
status = "okay";

arch/arm/boot/dts/aspeed-bmc-intel-s2600wf.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
#size-cells = <1>;
2323
ranges;
2424

25-
vga_memory: framebuffer@7f000000 {
25+
vga_memory: framebuffer@9f000000 {
2626
no-map;
27-
reg = <0x7f000000 0x01000000>;
27+
reg = <0x9f000000 0x01000000>; /* 16M */
2828
};
2929
};
3030

arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#size-cells = <1>;
2727
ranges;
2828

29-
flash_memory: region@ba000000 {
29+
flash_memory: region@b8000000 {
3030
no-map;
3131
reg = <0xb8000000 0x4000000>; /* 64M */
3232
};

arch/arm/boot/dts/aspeed-g6.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@
357357
#gpio-cells = <2>;
358358
gpio-controller;
359359
compatible = "aspeed,ast2600-gpio";
360-
reg = <0x1e780000 0x800>;
360+
reg = <0x1e780000 0x400>;
361361
interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
362362
gpio-ranges = <&pinctrl 0 0 208>;
363363
ngpios = <208>;

0 commit comments

Comments
 (0)