Skip to content

Commit 37ce8a5

Browse files
committed
Merge remote-tracking branch 'torvalds/master' into perf-tools-next
To pick a patch that albeit being for tools/perf/ directory went thru a different tree and ended up breaking some recent tests introduced in the perf-tools-next tree to validate duplicate events in the JSON performance event files. Link: https://lore.kernel.org/lkml/ZrIqDMg7cBVhstYU@x1 Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
2 parents 4bd3803 + eb5e56d commit 37ce8a5

File tree

264 files changed

+3077
-1703
lines changed

Some content is hidden

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

264 files changed

+3077
-1703
lines changed

Documentation/admin-guide/kernel-parameters.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4798,11 +4798,9 @@
47984798

47994799
profile= [KNL] Enable kernel profiling via /proc/profile
48004800
Format: [<profiletype>,]<number>
4801-
Param: <profiletype>: "schedule", "sleep", or "kvm"
4801+
Param: <profiletype>: "schedule" or "kvm"
48024802
[defaults to kernel profiling]
48034803
Param: "schedule" - profile schedule points.
4804-
Param: "sleep" - profile D-state sleeping (millisecs).
4805-
Requires CONFIG_SCHEDSTATS
48064804
Param: "kvm" - profile VM exits.
48074805
Param: <number> - step/bucket size as a power of 2 for
48084806
statistical time based profiling.

Documentation/arch/arm64/silicon-errata.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,18 @@ stable kernels.
122122
+----------------+-----------------+-----------------+-----------------------------+
123123
| ARM | Cortex-A76 | #1490853 | N/A |
124124
+----------------+-----------------+-----------------+-----------------------------+
125+
| ARM | Cortex-A76 | #3324349 | ARM64_ERRATUM_3194386 |
126+
+----------------+-----------------+-----------------+-----------------------------+
125127
| ARM | Cortex-A77 | #1491015 | N/A |
126128
+----------------+-----------------+-----------------+-----------------------------+
127129
| ARM | Cortex-A77 | #1508412 | ARM64_ERRATUM_1508412 |
128130
+----------------+-----------------+-----------------+-----------------------------+
131+
| ARM | Cortex-A77 | #3324348 | ARM64_ERRATUM_3194386 |
132+
+----------------+-----------------+-----------------+-----------------------------+
133+
| ARM | Cortex-A78 | #3324344 | ARM64_ERRATUM_3194386 |
134+
+----------------+-----------------+-----------------+-----------------------------+
135+
| ARM | Cortex-A78C | #3324346,3324347| ARM64_ERRATUM_3194386 |
136+
+----------------+-----------------+-----------------+-----------------------------+
129137
| ARM | Cortex-A710 | #2119858 | ARM64_ERRATUM_2119858 |
130138
+----------------+-----------------+-----------------+-----------------------------+
131139
| ARM | Cortex-A710 | #2054223 | ARM64_ERRATUM_2054223 |
@@ -138,8 +146,14 @@ stable kernels.
138146
+----------------+-----------------+-----------------+-----------------------------+
139147
| ARM | Cortex-A720 | #3456091 | ARM64_ERRATUM_3194386 |
140148
+----------------+-----------------+-----------------+-----------------------------+
149+
| ARM | Cortex-A725 | #3456106 | ARM64_ERRATUM_3194386 |
150+
+----------------+-----------------+-----------------+-----------------------------+
141151
| ARM | Cortex-X1 | #1502854 | N/A |
142152
+----------------+-----------------+-----------------+-----------------------------+
153+
| ARM | Cortex-X1 | #3324344 | ARM64_ERRATUM_3194386 |
154+
+----------------+-----------------+-----------------+-----------------------------+
155+
| ARM | Cortex-X1C | #3324346 | ARM64_ERRATUM_3194386 |
156+
+----------------+-----------------+-----------------+-----------------------------+
143157
| ARM | Cortex-X2 | #2119858 | ARM64_ERRATUM_2119858 |
144158
+----------------+-----------------+-----------------+-----------------------------+
145159
| ARM | Cortex-X2 | #2224489 | ARM64_ERRATUM_2224489 |
@@ -160,6 +174,8 @@ stable kernels.
160174
+----------------+-----------------+-----------------+-----------------------------+
161175
| ARM | Neoverse-N1 | #1542419 | ARM64_ERRATUM_1542419 |
162176
+----------------+-----------------+-----------------+-----------------------------+
177+
| ARM | Neoverse-N1 | #3324349 | ARM64_ERRATUM_3194386 |
178+
+----------------+-----------------+-----------------+-----------------------------+
163179
| ARM | Neoverse-N2 | #2139208 | ARM64_ERRATUM_2139208 |
164180
+----------------+-----------------+-----------------+-----------------------------+
165181
| ARM | Neoverse-N2 | #2067961 | ARM64_ERRATUM_2067961 |
@@ -170,6 +186,8 @@ stable kernels.
170186
+----------------+-----------------+-----------------+-----------------------------+
171187
| ARM | Neoverse-V1 | #1619801 | N/A |
172188
+----------------+-----------------+-----------------+-----------------------------+
189+
| ARM | Neoverse-V1 | #3324341 | ARM64_ERRATUM_3194386 |
190+
+----------------+-----------------+-----------------+-----------------------------+
173191
| ARM | Neoverse-V2 | #3324336 | ARM64_ERRATUM_3194386 |
174192
+----------------+-----------------+-----------------+-----------------------------+
175193
| ARM | Neoverse-V3 | #3312417 | ARM64_ERRATUM_3194386 |

Documentation/devicetree/bindings/ata/rockchip,dwc-ahci.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ properties:
3535
ports-implemented:
3636
const: 1
3737

38+
power-domains:
39+
maxItems: 1
40+
3841
sata-port@0:
3942
$ref: /schemas/ata/snps,dwc-ahci-common.yaml#/$defs/dwc-ahci-port
4043

Documentation/driver-api/thermal/sysfs-api.rst

Lines changed: 30 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ Generic Thermal Sysfs driver How To
44

55
Written by Sujith Thomas <[email protected]>, Zhang Rui <[email protected]>
66

7-
Updated: 2 January 2008
8-
97
Copyright (c) 2008 Intel Corporation
108

119

@@ -38,23 +36,23 @@ temperature) and throttle appropriate devices.
3836

3937
::
4038

41-
struct thermal_zone_device
42-
*thermal_zone_device_register(char *type,
43-
int trips, int mask, void *devdata,
44-
struct thermal_zone_device_ops *ops,
45-
const struct thermal_zone_params *tzp,
46-
int passive_delay, int polling_delay))
39+
struct thermal_zone_device *
40+
thermal_zone_device_register_with_trips(const char *type,
41+
const struct thermal_trip *trips,
42+
int num_trips, void *devdata,
43+
const struct thermal_zone_device_ops *ops,
44+
const struct thermal_zone_params *tzp,
45+
unsigned int passive_delay,
46+
unsigned int polling_delay)
4747
48-
This interface function adds a new thermal zone device (sensor) to
48+
This interface function adds a new thermal zone device (sensor) to the
4949
/sys/class/thermal folder as `thermal_zone[0-*]`. It tries to bind all the
50-
thermal cooling devices registered at the same time.
50+
thermal cooling devices registered to it at the same time.
5151

5252
type:
5353
the thermal zone type.
5454
trips:
55-
the total number of trip points this thermal zone supports.
56-
mask:
57-
Bit string: If 'n'th bit is set, then trip point 'n' is writable.
55+
the table of trip points for this thermal zone.
5856
devdata:
5957
device private data
6058
ops:
@@ -67,32 +65,29 @@ temperature) and throttle appropriate devices.
6765
.get_temp:
6866
get the current temperature of the thermal zone.
6967
.set_trips:
70-
set the trip points window. Whenever the current temperature
71-
is updated, the trip points immediately below and above the
72-
current temperature are found.
73-
.get_mode:
74-
get the current mode (enabled/disabled) of the thermal zone.
75-
76-
- "enabled" means the kernel thermal management is
77-
enabled.
78-
- "disabled" will prevent kernel thermal driver action
79-
upon trip points so that user applications can take
80-
charge of thermal management.
81-
.set_mode:
82-
set the mode (enabled/disabled) of the thermal zone.
83-
.get_trip_type:
84-
get the type of certain trip point.
85-
.get_trip_temp:
86-
get the temperature above which the certain trip point
87-
will be fired.
68+
set the trip points window. Whenever the current temperature
69+
is updated, the trip points immediately below and above the
70+
current temperature are found.
71+
.change_mode:
72+
change the mode (enabled/disabled) of the thermal zone.
73+
.set_trip_temp:
74+
set the temperature of a given trip point.
75+
.get_crit_temp:
76+
get the critical temperature for this thermal zone.
8877
.set_emul_temp:
89-
set the emulation temperature which helps in debugging
90-
different threshold temperature points.
78+
set the emulation temperature which helps in debugging
79+
different threshold temperature points.
80+
.get_trend:
81+
get the trend of most recent zone temperature changes.
82+
.hot:
83+
hot trip point crossing handler.
84+
.critical:
85+
critical trip point crossing handler.
9186
tzp:
9287
thermal zone platform parameters.
9388
passive_delay:
94-
number of milliseconds to wait between polls when
95-
performing passive cooling.
89+
number of milliseconds to wait between polls when performing passive
90+
cooling.
9691
polling_delay:
9792
number of milliseconds to wait between polls when checking
9893
whether trip points have been crossed (0 for interrupt driven systems).

Documentation/netlink/specs/ethtool.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1753,6 +1753,7 @@ operations:
17531753
request:
17541754
attributes:
17551755
- header
1756+
- context
17561757
reply:
17571758
attributes:
17581759
- header
@@ -1761,7 +1762,6 @@ operations:
17611762
- indir
17621763
- hkey
17631764
- input_xfrm
1764-
dump: *rss-get-op
17651765
-
17661766
name: plca-get-cfg
17671767
doc: Get PLCA params.

Documentation/networking/ethtool-netlink.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1875,6 +1875,7 @@ Kernel response contents:
18751875

18761876
===================================== ====== ==========================
18771877
``ETHTOOL_A_RSS_HEADER`` nested reply header
1878+
``ETHTOOL_A_RSS_CONTEXT`` u32 context number
18781879
``ETHTOOL_A_RSS_HFUNC`` u32 RSS hash func
18791880
``ETHTOOL_A_RSS_INDIR`` binary Indir table bytes
18801881
``ETHTOOL_A_RSS_HKEY`` binary Hash key bytes

Documentation/userspace-api/media/v4l/pixfmt-yuv-luma.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ are often referred to as greyscale formats.
2121

2222
.. raw:: latex
2323

24-
\scriptsize
24+
\tiny
2525

26-
.. tabularcolumns:: |p{3.6cm}|p{3.0cm}|p{1.3cm}|p{2.6cm}|p{1.3cm}|p{1.3cm}|p{1.3cm}|
26+
.. tabularcolumns:: |p{3.6cm}|p{2.4cm}|p{1.3cm}|p{1.3cm}|p{1.3cm}|p{1.3cm}|p{1.3cm}|p{1.3cm}|p{1.3cm}|
2727

2828
.. flat-table:: Luma-Only Image Formats
2929
:header-rows: 1

Documentation/virt/kvm/api.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6368,7 +6368,7 @@ a single guest_memfd file, but the bound ranges must not overlap).
63686368
See KVM_SET_USER_MEMORY_REGION2 for additional details.
63696369

63706370
4.143 KVM_PRE_FAULT_MEMORY
6371-
------------------------
6371+
---------------------------
63726372

63736373
:Capability: KVM_CAP_PRE_FAULT_MEMORY
63746374
:Architectures: none
@@ -6405,6 +6405,12 @@ for the current vCPU state. KVM maps memory as if the vCPU generated a
64056405
stage-2 read page fault, e.g. faults in memory as needed, but doesn't break
64066406
CoW. However, KVM does not mark any newly created stage-2 PTE as Accessed.
64076407

6408+
In the case of confidential VM types where there is an initial set up of
6409+
private guest memory before the guest is 'finalized'/measured, this ioctl
6410+
should only be issued after completing all the necessary setup to put the
6411+
guest into a 'finalized' state so that the above semantics can be reliably
6412+
ensured.
6413+
64086414
In some cases, multiple vCPUs might share the page tables. In this
64096415
case, the ioctl can be called in parallel.
64106416

Documentation/wmi/devices/msi-wmi-platform.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,12 +130,12 @@ data using the `bmfdec <https://github.com/pali/bmfdec>`_ utility:
130130

131131
Due to a peculiarity in how Windows handles the ``CreateByteField()`` ACPI operator (errors only
132132
happen when a invalid byte field is ultimately accessed), all methods require a 32 byte input
133-
buffer, even if the Binay MOF says otherwise.
133+
buffer, even if the Binary MOF says otherwise.
134134

135135
The input buffer contains a single byte to select the subfeature to be accessed and 31 bytes of
136136
input data, the meaning of which depends on the subfeature being accessed.
137137

138-
The output buffer contains a singe byte which signals success or failure (``0x00`` on failure)
138+
The output buffer contains a single byte which signals success or failure (``0x00`` on failure)
139139
and 31 bytes of output data, the meaning if which depends on the subfeature being accessed.
140140

141141
WMI method Get_EC()
@@ -147,7 +147,7 @@ data contains a flag byte and a 28 byte controller firmware version string.
147147
The first 4 bits of the flag byte contain the minor version of the embedded controller interface,
148148
with the next 2 bits containing the major version of the embedded controller interface.
149149

150-
The 7th bit signals if the embedded controller page chaged (exact meaning is unknown), and the
150+
The 7th bit signals if the embedded controller page changed (exact meaning is unknown), and the
151151
last bit signals if the platform is a Tigerlake platform.
152152

153153
The MSI software seems to only use this interface when the last bit is set.

MAINTAINERS

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15936,6 +15936,7 @@ F: include/linux/in.h
1593615936
F: include/linux/indirect_call_wrapper.h
1593715937
F: include/linux/net.h
1593815938
F: include/linux/netdevice.h
15939+
F: include/linux/skbuff.h
1593915940
F: include/net/
1594015941
F: include/uapi/linux/in.h
1594115942
F: include/uapi/linux/net.h
@@ -18556,7 +18557,7 @@ F: drivers/usb/misc/qcom_eud.c
1855618557
QCOM IPA DRIVER
1855718558
M: Alex Elder <[email protected]>
1855818559
18559-
S: Supported
18560+
S: Maintained
1856018561
F: drivers/net/ipa/
1856118562

1856218563
QEMU MACHINE EMULATOR AND VIRTUALIZER SUPPORT

Makefile

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

88
# *DOCUMENTATION*

arch/alpha/include/asm/io.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -534,8 +534,10 @@ extern inline void writeq(u64 b, volatile void __iomem *addr)
534534

535535
#define ioread16be(p) swab16(ioread16(p))
536536
#define ioread32be(p) swab32(ioread32(p))
537+
#define ioread64be(p) swab64(ioread64(p))
537538
#define iowrite16be(v,p) iowrite16(swab16(v), (p))
538539
#define iowrite32be(v,p) iowrite32(swab32(v), (p))
540+
#define iowrite64be(v,p) iowrite64(swab64(v), (p))
539541

540542
#define inb_p inb
541543
#define inw_p inw
@@ -634,8 +636,6 @@ extern void outsl (unsigned long port, const void *src, unsigned long count);
634636
*/
635637
#define ioread64 ioread64
636638
#define iowrite64 iowrite64
637-
#define ioread64be ioread64be
638-
#define iowrite64be iowrite64be
639639
#define ioread8_rep ioread8_rep
640640
#define ioread16_rep ioread16_rep
641641
#define ioread32_rep ioread32_rep

arch/arm/boot/dts/arm/versatile-ab.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@
157157
clocks = <&xtal24mhz>;
158158
};
159159

160-
pclk: clock-24000000 {
160+
pclk: clock-pclk {
161161
#clock-cells = <0>;
162162
compatible = "fixed-factor-clock";
163163
clock-div = <1>;

arch/arm64/Kconfig

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1069,30 +1069,40 @@ config ARM64_ERRATUM_3117295
10691069
If unsure, say Y.
10701070

10711071
config ARM64_ERRATUM_3194386
1072-
bool "Cortex-{A720,X4,X925}/Neoverse-V3: workaround for MSR SSBS not self-synchronizing"
1072+
bool "Cortex-*/Neoverse-*: workaround for MSR SSBS not self-synchronizing"
10731073
default y
10741074
help
10751075
This option adds the workaround for the following errata:
10761076

1077+
* ARM Cortex-A76 erratum 3324349
1078+
* ARM Cortex-A77 erratum 3324348
1079+
* ARM Cortex-A78 erratum 3324344
1080+
* ARM Cortex-A78C erratum 3324346
1081+
* ARM Cortex-A78C erratum 3324347
10771082
* ARM Cortex-A710 erratam 3324338
10781083
* ARM Cortex-A720 erratum 3456091
1084+
* ARM Cortex-A725 erratum 3456106
1085+
* ARM Cortex-X1 erratum 3324344
1086+
* ARM Cortex-X1C erratum 3324346
10791087
* ARM Cortex-X2 erratum 3324338
10801088
* ARM Cortex-X3 erratum 3324335
10811089
* ARM Cortex-X4 erratum 3194386
10821090
* ARM Cortex-X925 erratum 3324334
1091+
* ARM Neoverse-N1 erratum 3324349
10831092
* ARM Neoverse N2 erratum 3324339
1093+
* ARM Neoverse-V1 erratum 3324341
10841094
* ARM Neoverse V2 erratum 3324336
10851095
* ARM Neoverse-V3 erratum 3312417
10861096

10871097
On affected cores "MSR SSBS, #0" instructions may not affect
10881098
subsequent speculative instructions, which may permit unexepected
10891099
speculative store bypassing.
10901100

1091-
Work around this problem by placing a speculation barrier after
1092-
kernel changes to SSBS. The presence of the SSBS special-purpose
1093-
register is hidden from hwcaps and EL0 reads of ID_AA64PFR1_EL1, such
1094-
that userspace will use the PR_SPEC_STORE_BYPASS prctl to change
1095-
SSBS.
1101+
Work around this problem by placing a Speculation Barrier (SB) or
1102+
Instruction Synchronization Barrier (ISB) after kernel changes to
1103+
SSBS. The presence of the SSBS special-purpose register is hidden
1104+
from hwcaps and EL0 reads of ID_AA64PFR1_EL1, such that userspace
1105+
will use the PR_SPEC_STORE_BYPASS prctl to change SSBS.
10961106

10971107
If unsure, say Y.
10981108

arch/arm64/include/asm/cputype.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,14 @@
8686
#define ARM_CPU_PART_CORTEX_X2 0xD48
8787
#define ARM_CPU_PART_NEOVERSE_N2 0xD49
8888
#define ARM_CPU_PART_CORTEX_A78C 0xD4B
89+
#define ARM_CPU_PART_CORTEX_X1C 0xD4C
8990
#define ARM_CPU_PART_CORTEX_X3 0xD4E
9091
#define ARM_CPU_PART_NEOVERSE_V2 0xD4F
9192
#define ARM_CPU_PART_CORTEX_A720 0xD81
9293
#define ARM_CPU_PART_CORTEX_X4 0xD82
9394
#define ARM_CPU_PART_NEOVERSE_V3 0xD84
9495
#define ARM_CPU_PART_CORTEX_X925 0xD85
96+
#define ARM_CPU_PART_CORTEX_A725 0xD87
9597

9698
#define APM_CPU_PART_XGENE 0x000
9799
#define APM_CPU_VAR_POTENZA 0x00
@@ -165,12 +167,14 @@
165167
#define MIDR_CORTEX_X2 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_X2)
166168
#define MIDR_NEOVERSE_N2 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_NEOVERSE_N2)
167169
#define MIDR_CORTEX_A78C MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A78C)
170+
#define MIDR_CORTEX_X1C MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_X1C)
168171
#define MIDR_CORTEX_X3 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_X3)
169172
#define MIDR_NEOVERSE_V2 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_NEOVERSE_V2)
170173
#define MIDR_CORTEX_A720 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A720)
171174
#define MIDR_CORTEX_X4 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_X4)
172175
#define MIDR_NEOVERSE_V3 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_NEOVERSE_V3)
173176
#define MIDR_CORTEX_X925 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_X925)
177+
#define MIDR_CORTEX_A725 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A725)
174178
#define MIDR_THUNDERX MIDR_CPU_MODEL(ARM_CPU_IMP_CAVIUM, CAVIUM_CPU_PART_THUNDERX)
175179
#define MIDR_THUNDERX_81XX MIDR_CPU_MODEL(ARM_CPU_IMP_CAVIUM, CAVIUM_CPU_PART_THUNDERX_81XX)
176180
#define MIDR_THUNDERX_83XX MIDR_CPU_MODEL(ARM_CPU_IMP_CAVIUM, CAVIUM_CPU_PART_THUNDERX_83XX)

arch/arm64/include/asm/jump_label.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
#include <linux/types.h>
1414
#include <asm/insn.h>
1515

16+
#define HAVE_JUMP_LABEL_BATCH
1617
#define JUMP_LABEL_NOP_SIZE AARCH64_INSN_SIZE
1718

1819
#define JUMP_TABLE_ENTRY(key, label) \

0 commit comments

Comments
 (0)