Skip to content

Commit f89c326

Browse files
committed
Merge branch 'i2c/for-current-fixed' into i2c/for-5.8
2 parents 6fe12cd + efa7fb4 commit f89c326

File tree

915 files changed

+9363
-5274
lines changed

Some content is hidden

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

915 files changed

+9363
-5274
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/admin-guide/sysctl/kernel.rst

Lines changed: 19 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -390,20 +390,33 @@ When ``kptr_restrict`` is set to 2, kernel pointers printed using
390390
modprobe
391391
========
392392

393-
This gives the full path of the modprobe command which the kernel will
394-
use to load modules. This can be used to debug module loading
395-
requests::
393+
The full path to the usermode helper for autoloading kernel modules,
394+
by default "/sbin/modprobe". This binary is executed when the kernel
395+
requests a module. For example, if userspace passes an unknown
396+
filesystem type to mount(), then the kernel will automatically request
397+
the corresponding filesystem module by executing this usermode helper.
398+
This usermode helper should insert the needed module into the kernel.
399+
400+
This sysctl only affects module autoloading. It has no effect on the
401+
ability to explicitly insert modules.
402+
403+
This sysctl can be used to debug module loading requests::
396404

397405
echo '#! /bin/sh' > /tmp/modprobe
398406
echo 'echo "$@" >> /tmp/modprobe.log' >> /tmp/modprobe
399407
echo 'exec /sbin/modprobe "$@"' >> /tmp/modprobe
400408
chmod a+x /tmp/modprobe
401409
echo /tmp/modprobe > /proc/sys/kernel/modprobe
402410

403-
This only applies when the *kernel* is requesting that the module be
404-
loaded; it won't have any effect if the module is being loaded
405-
explicitly using ``modprobe`` from userspace.
411+
Alternatively, if this sysctl is set to the empty string, then module
412+
autoloading is completely disabled. The kernel will not try to
413+
execute a usermode helper at all, nor will it call the
414+
kernel_module_request LSM hook.
406415

416+
If CONFIG_STATIC_USERMODEHELPER=y is set in the kernel configuration,
417+
then the configured static usermode helper overrides this sysctl,
418+
except that the empty string is still accepted to completely disable
419+
module autoloading as described above.
407420

408421
modules_disabled
409422
================
@@ -446,28 +459,6 @@ Notes:
446459
successful IPC object allocation. If an IPC object allocation syscall
447460
fails, it is undefined if the value remains unmodified or is reset to -1.
448461

449-
modprobe:
450-
=========
451-
452-
The path to the usermode helper for autoloading kernel modules, by
453-
default "/sbin/modprobe". This binary is executed when the kernel
454-
requests a module. For example, if userspace passes an unknown
455-
filesystem type to mount(), then the kernel will automatically request
456-
the corresponding filesystem module by executing this usermode helper.
457-
This usermode helper should insert the needed module into the kernel.
458-
459-
This sysctl only affects module autoloading. It has no effect on the
460-
ability to explicitly insert modules.
461-
462-
If this sysctl is set to the empty string, then module autoloading is
463-
completely disabled. The kernel will not try to execute a usermode
464-
helper at all, nor will it call the kernel_module_request LSM hook.
465-
466-
If CONFIG_STATIC_USERMODEHELPER=y is set in the kernel configuration,
467-
then the configured static usermode helper overrides this sysctl,
468-
except that the empty string is still accepted to completely disable
469-
module autoloading as described above.
470-
471462
nmi_watchdog
472463
============
473464

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/timekeeping.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,9 @@ architectures. These are the recommended replacements:
154154
155155
Use ktime_get() or ktime_get_ts64() instead.
156156
157-
.. c:function:: struct timeval do_gettimeofday( void )
158-
struct timespec getnstimeofday( void )
159-
struct timespec64 getnstimeofday64( void )
157+
.. c:function:: void do_gettimeofday( struct timeval * )
158+
void getnstimeofday( struct timespec * )
159+
void getnstimeofday64( struct timespec64 * )
160160
void ktime_get_real_ts( struct timespec * )
161161
162162
ktime_get_real_ts64() is a direct replacement, but consider using

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/arm/sunxi/allwinner,sun4i-a10-mbus.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ properties:
4242
description:
4343
See section 2.3.9 of the DeviceTree Specification.
4444

45+
'#address-cells': true
46+
47+
'#size-cells': true
48+
4549
required:
4650
- "#interconnect-cells"
4751
- compatible
@@ -59,6 +63,8 @@ examples:
5963
compatible = "allwinner,sun5i-a13-mbus";
6064
reg = <0x01c01000 0x1000>;
6165
clocks = <&ccu CLK_MBUS>;
66+
#address-cells = <1>;
67+
#size-cells = <1>;
6268
dma-ranges = <0x00000000 0x40000000 0x20000000>;
6369
#interconnect-cells = <1>;
6470
};

Documentation/devicetree/bindings/clock/arm,syscon-icst.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ required:
9191

9292
examples:
9393
- |
94-
vco1: clock@00 {
94+
vco1: clock {
9595
compatible = "arm,impd1-vco1";
9696
#clock-cells = <0>;
9797
lock-offset = <0x08>;

Documentation/devicetree/bindings/display/bridge/adi,adv7123.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Analog Device ADV7123 Video DAC
2-
-------------------------------
1+
Analog Devices ADV7123 Video DAC
2+
--------------------------------
33

44
The ADV7123 is a digital-to-analog converter that outputs VGA signals from a
55
parallel video input.

Documentation/devicetree/bindings/display/bridge/adi,adv7511.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Analog Device ADV7511(W)/13/33/35 HDMI Encoders
2-
-----------------------------------------
1+
Analog Devices ADV7511(W)/13/33/35 HDMI Encoders
2+
------------------------------------------------
33

44
The ADV7511, ADV7511W, ADV7513, ADV7533 and ADV7535 are HDMI audio and video
55
transmitters compatible with HDMI 1.4 and DVI 1.0. They support color space

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

0 commit comments

Comments
 (0)