Skip to content

Commit 5148563

Browse files
committed
Merge 'x86/urgent' into x86/cpu
... to resolve conflicting changes to arch/x86/kernel/apic/apic.c Signed-off-by: Borislav Petkov <[email protected]>
2 parents e9d7144 + fb9cbbc commit 5148563

File tree

370 files changed

+3855
-2074
lines changed

Some content is hidden

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

370 files changed

+3855
-2074
lines changed

.clang-format

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,10 +142,13 @@ ForEachMacros:
142142
- 'for_each_card_auxs'
143143
- 'for_each_card_auxs_safe'
144144
- 'for_each_card_components'
145+
- 'for_each_card_dapms'
145146
- 'for_each_card_pre_auxs'
146147
- 'for_each_card_prelinks'
147148
- 'for_each_card_rtds'
148149
- 'for_each_card_rtds_safe'
150+
- 'for_each_card_widgets'
151+
- 'for_each_card_widgets_safe'
149152
- 'for_each_cgroup_storage_type'
150153
- 'for_each_child_of_node'
151154
- 'for_each_clear_bit'
@@ -160,6 +163,7 @@ ForEachMacros:
160163
- 'for_each_cpu_and'
161164
- 'for_each_cpu_not'
162165
- 'for_each_cpu_wrap'
166+
- 'for_each_dapm_widgets'
163167
- 'for_each_dev_addr'
164168
- 'for_each_dev_scope'
165169
- 'for_each_displayid_db'
@@ -170,7 +174,6 @@ ForEachMacros:
170174
- 'for_each_dpcm_fe'
171175
- 'for_each_drhd_unit'
172176
- 'for_each_dss_dev'
173-
- 'for_each_efi_handle'
174177
- 'for_each_efi_memory_desc'
175178
- 'for_each_efi_memory_desc_in_map'
176179
- 'for_each_element'
@@ -191,6 +194,7 @@ ForEachMacros:
191194
- 'for_each_ip_tunnel_rcu'
192195
- 'for_each_irq_nr'
193196
- 'for_each_link_codecs'
197+
- 'for_each_link_cpus'
194198
- 'for_each_link_platforms'
195199
- 'for_each_lru'
196200
- 'for_each_matching_node'
@@ -250,6 +254,7 @@ ForEachMacros:
250254
- 'for_each_pci_bridge'
251255
- 'for_each_pci_dev'
252256
- 'for_each_pci_msi_entry'
257+
- 'for_each_pcm_streams'
253258
- 'for_each_populated_zone'
254259
- 'for_each_possible_cpu'
255260
- 'for_each_present_cpu'
@@ -260,9 +265,12 @@ ForEachMacros:
260265
- 'for_each_property_of_node'
261266
- 'for_each_registered_fb'
262267
- 'for_each_reserved_mem_region'
263-
- 'for_each_rtd_codec_dai'
264-
- 'for_each_rtd_codec_dai_rollback'
268+
- 'for_each_rtd_codec_dais'
269+
- 'for_each_rtd_codec_dais_rollback'
265270
- 'for_each_rtd_components'
271+
- 'for_each_rtd_cpu_dais'
272+
- 'for_each_rtd_cpu_dais_rollback'
273+
- 'for_each_rtd_dais'
266274
- 'for_each_set_bit'
267275
- 'for_each_set_bit_from'
268276
- 'for_each_set_clump8'
@@ -334,6 +342,7 @@ ForEachMacros:
334342
- 'klp_for_each_object'
335343
- 'klp_for_each_object_safe'
336344
- 'klp_for_each_object_static'
345+
- 'kunit_suite_for_each_test_case'
337346
- 'kvm_for_each_memslot'
338347
- 'kvm_for_each_vcpu'
339348
- 'list_for_each'
@@ -387,6 +396,7 @@ ForEachMacros:
387396
- 'of_property_for_each_string'
388397
- 'of_property_for_each_u32'
389398
- 'pci_bus_for_each_resource'
399+
- 'pcm_for_each_format'
390400
- 'ping_portaddr_for_each_entry'
391401
- 'plist_for_each'
392402
- 'plist_for_each_continue'
@@ -482,7 +492,7 @@ KeepEmptyLinesAtTheStartOfBlocks: false
482492
MacroBlockBegin: ''
483493
MacroBlockEnd: ''
484494
MaxEmptyLinesToKeep: 1
485-
NamespaceIndentation: Inner
495+
NamespaceIndentation: None
486496
#ObjCBinPackProtocolList: Auto # Unknown to clang-format-5.0
487497
ObjCBlockIndentWidth: 8
488498
ObjCSpaceAfterProperty: true

Documentation/arm64/amu.rst

Lines changed: 26 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,14 @@ optional external memory-mapped interface.
2323

2424
Version 1 of the Activity Monitors architecture implements a counter group
2525
of four fixed and architecturally defined 64-bit event counters.
26-
- CPU cycle counter: increments at the frequency of the CPU.
27-
- Constant counter: increments at the fixed frequency of the system
28-
clock.
29-
- Instructions retired: increments with every architecturally executed
30-
instruction.
31-
- Memory stall cycles: counts instruction dispatch stall cycles caused by
32-
misses in the last level cache within the clock domain.
26+
27+
- CPU cycle counter: increments at the frequency of the CPU.
28+
- Constant counter: increments at the fixed frequency of the system
29+
clock.
30+
- Instructions retired: increments with every architecturally executed
31+
instruction.
32+
- Memory stall cycles: counts instruction dispatch stall cycles caused by
33+
misses in the last level cache within the clock domain.
3334

3435
When in WFI or WFE these counters do not increment.
3536

@@ -57,11 +58,12 @@ counters, only the presence of the extension.
5758

5859
Firmware (code running at higher exception levels, e.g. arm-tf) support is
5960
needed to:
60-
- Enable access for lower exception levels (EL2 and EL1) to the AMU
61-
registers.
62-
- Enable the counters. If not enabled these will read as 0.
63-
- Save/restore the counters before/after the CPU is being put/brought up
64-
from the 'off' power state.
61+
62+
- Enable access for lower exception levels (EL2 and EL1) to the AMU
63+
registers.
64+
- Enable the counters. If not enabled these will read as 0.
65+
- Save/restore the counters before/after the CPU is being put/brought up
66+
from the 'off' power state.
6567

6668
When using kernels that have this feature enabled but boot with broken
6769
firmware the user may experience panics or lockups when accessing the
@@ -78,10 +80,11 @@ are not trapped in EL2/EL3.
7880

7981
The fixed counters of AMUv1 are accessible though the following system
8082
register definitions:
81-
- SYS_AMEVCNTR0_CORE_EL0
82-
- SYS_AMEVCNTR0_CONST_EL0
83-
- SYS_AMEVCNTR0_INST_RET_EL0
84-
- SYS_AMEVCNTR0_MEM_STALL_EL0
83+
84+
- SYS_AMEVCNTR0_CORE_EL0
85+
- SYS_AMEVCNTR0_CONST_EL0
86+
- SYS_AMEVCNTR0_INST_RET_EL0
87+
- SYS_AMEVCNTR0_MEM_STALL_EL0
8588

8689
Auxiliary platform specific counters can be accessed using
8790
SYS_AMEVCNTR1_EL0(n), where n is a value between 0 and 15.
@@ -93,9 +96,10 @@ Userspace access
9396
----------------
9497

9598
Currently, access from userspace to the AMU registers is disabled due to:
96-
- Security reasons: they might expose information about code executed in
97-
secure mode.
98-
- Purpose: AMU counters are intended for system management use.
99+
100+
- Security reasons: they might expose information about code executed in
101+
secure mode.
102+
- Purpose: AMU counters are intended for system management use.
99103

100104
Also, the presence of the feature is not visible to userspace.
101105

@@ -105,8 +109,9 @@ Virtualization
105109

106110
Currently, access from userspace (EL0) and kernelspace (EL1) on the KVM
107111
guest side is disabled due to:
108-
- Security reasons: they might expose information about code executed
109-
by other guests or the host.
112+
113+
- Security reasons: they might expose information about code executed
114+
by other guests or the host.
110115

111116
Any attempt to access the AMU registers will result in an UNDEFINED
112117
exception being injected into the guest.

Documentation/devicetree/bindings/display/panel/leadtek,ltk500hd1829.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ examples:
3737
dsi {
3838
#address-cells = <1>;
3939
#size-cells = <0>;
40-
reg = <0xff450000 0x1000>;
4140
4241
panel@0 {
4342
compatible = "leadtek,ltk500hd1829";

Documentation/devicetree/bindings/display/panel/lvds.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,20 @@ properties:
9696
If set, reverse the bit order described in the data mappings below on all
9797
data lanes, transmitting bits for slots 6 to 0 instead of 0 to 6.
9898

99+
port: true
100+
ports: true
101+
99102
required:
100103
- compatible
101104
- data-mapping
102105
- width-mm
103106
- height-mm
104107
- panel-timing
105-
- port
108+
109+
oneOf:
110+
- required:
111+
- port
112+
- required:
113+
- ports
106114

107115
...

Documentation/devicetree/bindings/display/panel/xinpeng,xpp055c272.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ examples:
3737
dsi {
3838
#address-cells = <1>;
3939
#size-cells = <0>;
40-
reg = <0xff450000 0x1000>;
4140
4241
panel@0 {
4342
compatible = "xinpeng,xpp055c272";

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ properties:
5656
- const: tx
5757
- const: rx
5858

59+
power-domains:
60+
maxItems: 1
61+
5962
rockchip,capture-channels:
6063
allOf:
6164
- $ref: /schemas/types.yaml#/definitions/uint32

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

Lines changed: 0 additions & 45 deletions
This file was deleted.
Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
# SPDX-License-Identifier: GPL-2.0
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/sound/rockchip-spdif.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Rockchip SPDIF transceiver
8+
9+
description:
10+
The S/PDIF audio block is a stereo transceiver that allows the
11+
processor to receive and transmit digital audio via a coaxial or
12+
fibre cable.
13+
14+
maintainers:
15+
- Heiko Stuebner <[email protected]>
16+
17+
properties:
18+
compatible:
19+
oneOf:
20+
- const: rockchip,rk3066-spdif
21+
- const: rockchip,rk3228-spdif
22+
- const: rockchip,rk3328-spdif
23+
- const: rockchip,rk3366-spdif
24+
- const: rockchip,rk3368-spdif
25+
- const: rockchip,rk3399-spdif
26+
- items:
27+
- enum:
28+
- rockchip,rk3188-spdif
29+
- rockchip,rk3288-spdif
30+
- const: rockchip,rk3066-spdif
31+
32+
reg:
33+
maxItems: 1
34+
35+
interrupts:
36+
maxItems: 1
37+
38+
clocks:
39+
items:
40+
- description: clock for SPDIF bus
41+
- description: clock for SPDIF controller
42+
43+
clock-names:
44+
items:
45+
- const: mclk
46+
- const: hclk
47+
48+
dmas:
49+
maxItems: 1
50+
51+
dma-names:
52+
const: tx
53+
54+
power-domains:
55+
maxItems: 1
56+
57+
rockchip,grf:
58+
$ref: /schemas/types.yaml#/definitions/phandle
59+
description:
60+
The phandle of the syscon node for the GRF register.
61+
Required property on RK3288.
62+
63+
"#sound-dai-cells":
64+
const: 0
65+
66+
required:
67+
- compatible
68+
- reg
69+
- interrupts
70+
- clocks
71+
- clock-names
72+
- dmas
73+
- dma-names
74+
- "#sound-dai-cells"
75+
76+
if:
77+
properties:
78+
compatible:
79+
contains:
80+
const: rockchip,rk3288-spdif
81+
82+
then:
83+
required:
84+
- rockchip,grf
85+
86+
additionalProperties: false
87+
88+
examples:
89+
- |
90+
#include <dt-bindings/clock/rk3188-cru.h>
91+
#include <dt-bindings/interrupt-controller/arm-gic.h>
92+
spdif: spdif@1011e000 {
93+
compatible = "rockchip,rk3188-spdif", "rockchip,rk3066-spdif";
94+
reg = <0x1011e000 0x2000>;
95+
interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
96+
clocks = <&cru SCLK_SPDIF>, <&cru HCLK_SPDIF>;
97+
clock-names = "mclk", "hclk";
98+
dmas = <&dmac1_s 8>;
99+
dma-names = "tx";
100+
#sound-dai-cells = <0>;
101+
};

Documentation/kbuild/makefiles.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1241,7 +1241,8 @@ When kbuild executes, the following steps are followed (roughly):
12411241
will be displayed with "make KBUILD_VERBOSE=0".
12421242

12431243

1244-
--- 6.9 Preprocessing linker scripts
1244+
6.9 Preprocessing linker scripts
1245+
--------------------------------
12451246

12461247
When the vmlinux image is built, the linker script
12471248
arch/$(ARCH)/kernel/vmlinux.lds is used.

Documentation/networking/ip-sysctl.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -983,6 +983,13 @@ ip_early_demux - BOOLEAN
983983
reduces overall throughput, in such case you should disable it.
984984
Default: 1
985985

986+
ping_group_range - 2 INTEGERS
987+
Restrict ICMP_PROTO datagram sockets to users in the group range.
988+
The default is "1 0", meaning, that nobody (not even root) may
989+
create ping sockets. Setting it to "100 100" would grant permissions
990+
to the single group. "0 4294967295" would enable it for the world, "100
991+
4294967295" would enable it for the users, but not daemons.
992+
986993
tcp_early_demux - BOOLEAN
987994
Enable early demux for established TCP sockets.
988995
Default: 1

0 commit comments

Comments
 (0)