Skip to content

Commit a5d8e55

Browse files
author
Ingo Molnar
committed
Merge tag 'v5.7-rc7' into efi/core, to refresh the branch and pick up fixes
Signed-off-by: Ingo Molnar <[email protected]>
2 parents 4da0b2b + 9cb1fd0 commit a5d8e55

File tree

1,383 files changed

+14187
-7017
lines changed

Some content is hidden

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

1,383 files changed

+14187
-7017
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

.mailmap

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,8 @@ Vladimir Davydov <[email protected]> <[email protected]>
288288
289289
Takashi YOSHII <[email protected]>
290290
291+
292+
291293
292294
Yusuke Goda <[email protected]>
293295
Gustavo Padovan <[email protected]>

Documentation/admin-guide/device-mapper/dm-integrity.rst

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -182,12 +182,15 @@ fix_padding
182182
space-efficient. If this option is not present, large padding is
183183
used - that is for compatibility with older kernels.
184184

185-
186-
The journal mode (D/J), buffer_sectors, journal_watermark, commit_time can
187-
be changed when reloading the target (load an inactive table and swap the
188-
tables with suspend and resume). The other arguments should not be changed
189-
when reloading the target because the layout of disk data depend on them
190-
and the reloaded target would be non-functional.
185+
allow_discards
186+
Allow block discard requests (a.k.a. TRIM) for the integrity device.
187+
Discards are only allowed to devices using internal hash.
188+
189+
The journal mode (D/J), buffer_sectors, journal_watermark, commit_time and
190+
allow_discards can be changed when reloading the target (load an inactive
191+
table and swap the tables with suspend and resume). The other arguments
192+
should not be changed when reloading the target because the layout of disk
193+
data depend on them and the reloaded target would be non-functional.
191194

192195

193196
The layout of the formatted block device:

Documentation/admin-guide/kernel-parameters.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5187,8 +5187,7 @@
51875187

51885188
usbcore.old_scheme_first=
51895189
[USB] Start with the old device initialization
5190-
scheme, applies only to low and full-speed devices
5191-
(default 0 = off).
5190+
scheme (default 0 = off).
51925191

51935192
usbcore.usbfs_memory_mb=
51945193
[USB] Memory limit (in MB) for buffers allocated by

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/core-api/printk-formats.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,20 @@ used when printing stack backtraces. The specifier takes into
112112
consideration the effect of compiler optimisations which may occur
113113
when tail-calls are used and marked with the noreturn GCC attribute.
114114

115+
Probed Pointers from BPF / tracing
116+
----------------------------------
117+
118+
::
119+
120+
%pks kernel string
121+
%pus user string
122+
123+
The ``k`` and ``u`` specifiers are used for printing prior probed memory from
124+
either kernel memory (k) or user memory (u). The subsequent ``s`` specifier
125+
results in printing a string. For direct use in regular vsnprintf() the (k)
126+
and (u) annotation is ignored, however, when used out of BPF's bpf_trace_printk(),
127+
for example, it reads the memory it is pointing to without faulting.
128+
115129
Kernel Pointers
116130
---------------
117131

Documentation/devicetree/bindings/Makefile

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
DT_DOC_CHECKER ?= dt-doc-validate
33
DT_EXTRACT_EX ?= dt-extract-example
44
DT_MK_SCHEMA ?= dt-mk-schema
5+
DT_MK_SCHEMA_USERONLY_FLAG := $(if $(DT_SCHEMA_FILES), -u)
56

67
quiet_cmd_chk_binding = CHKDT $(patsubst $(srctree)/%,%,$<)
78
cmd_chk_binding = $(DT_DOC_CHECKER) -u $(srctree)/$(src) $< ; \
@@ -13,16 +14,18 @@ $(obj)/%.example.dts: $(src)/%.yaml FORCE
1314
# Use full schemas when checking %.example.dts
1415
DT_TMP_SCHEMA := $(obj)/processed-schema-examples.yaml
1516

17+
find_cmd = find $(srctree)/$(src) \( -name '*.yaml' ! \
18+
-name 'processed-schema*' ! \
19+
-name '*.example.dt.yaml' \)
20+
1621
quiet_cmd_mk_schema = SCHEMA $@
17-
cmd_mk_schema = $(DT_MK_SCHEMA) $(DT_MK_SCHEMA_FLAGS) -o $@ $(real-prereqs)
22+
cmd_mk_schema = rm -f $@ ; \
23+
$(if $(DT_MK_SCHEMA_FLAGS), \
24+
echo $(real-prereqs), \
25+
$(find_cmd)) | \
26+
xargs $(DT_MK_SCHEMA) $(DT_MK_SCHEMA_FLAGS) >> $@
1827

19-
DT_DOCS = $(addprefix $(src)/, \
20-
$(shell \
21-
cd $(srctree)/$(src) && \
22-
find * \( -name '*.yaml' ! \
23-
-name 'processed-schema*' ! \
24-
-name '*.example.dt.yaml' \) \
25-
))
28+
DT_DOCS = $(shell $(find_cmd) | sed -e 's|^$(srctree)/||')
2629

2730
DT_SCHEMA_FILES ?= $(DT_DOCS)
2831

@@ -37,7 +40,7 @@ override DTC_FLAGS := \
3740
$(obj)/processed-schema-examples.yaml: $(DT_DOCS) FORCE
3841
$(call if_changed,mk_schema)
3942

40-
$(obj)/processed-schema.yaml: DT_MK_SCHEMA_FLAGS := -u
43+
$(obj)/processed-schema.yaml: DT_MK_SCHEMA_FLAGS := $(DT_MK_SCHEMA_USERONLY_FLAG)
4144
$(obj)/processed-schema.yaml: $(DT_SCHEMA_FILES) FORCE
4245
$(call if_changed,mk_schema)
4346

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";

0 commit comments

Comments
 (0)