Skip to content

Commit 820d156

Browse files
committed
Merge tag 'socfpga_dts_fix_for_v5.6_v2' of git://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux into arm/fixes
arm64: dts: agilex: fix gmac compatible - The compatible for Agilex GMAC should be "altr,socfpga-stmmac-a10-s10" * tag 'socfpga_dts_fix_for_v5.6_v2' of git://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux: (578 commits) arm64: dts: socfpga: agilex: Fix gmac compatible Linux 5.6-rc4 KVM: VMX: check descriptor table exits on instruction emulation ext4: potential crash on allocation error in ext4_alloc_flex_bg_array() macintosh: therm_windtunnel: fix regression when instantiating devices jbd2: fix data races at struct journal_head kvm: x86: Limit the number of "kvm: disabled by bios" messages KVM: x86: avoid useless copy of cpufreq policy KVM: allow disabling -Werror KVM: x86: allow compiling as non-module with W=1 KVM: Pre-allocate 1 cpumask variable per cpu for both pv tlb and pv ipis KVM: Introduce pv check helpers KVM: let declaration of kvm_get_running_vcpus match implementation KVM: SVM: allocate AVIC data structures based on kvm_amd module parameter MAINTAINERS: Correct Cadence PCI driver path io_uring: fix 32-bit compatability with sendmsg/recvmsg net: dsa: mv88e6xxx: Fix masking of egress port mlxsw: pci: Wait longer before accessing the device after reset sfc: fix timestamp reconstruction at 16-bit rollover points vsock: fix potential deadlock in transport->release() ... Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Olof Johansson <[email protected]>
2 parents 0b86b25 + 8c86738 commit 820d156

File tree

615 files changed

+6958
-5457
lines changed

Some content is hidden

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

615 files changed

+6958
-5457
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,10 @@ modules.order
100100
/include/ksym/
101101
/arch/*/include/generated/
102102

103+
# Generated lkdtm tests
104+
/tools/testing/selftests/lkdtm/*.sh
105+
!/tools/testing/selftests/lkdtm/run.sh
106+
103107
# stgit generated dirs
104108
patches-*
105109

COPYING

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,5 @@ In addition, other licenses may also apply. Please see:
1616
Documentation/process/license-rules.rst
1717

1818
for more details.
19+
20+
All contributions to the Linux Kernel are subject to this COPYING file.

CREDITS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -567,6 +567,11 @@ D: Original author of Amiga FFS filesystem
567567
S: Orlando, Florida
568568
S: USA
569569

570+
N: Paul Burton
571+
572+
W: https://pburton.com
573+
D: MIPS maintainer 2018-2020
574+
570575
N: Lennert Buytenhek
571576
572577
D: Original (2.4) rewrite of the ethernet bridging code

Documentation/admin-guide/bootconfig.rst

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,30 @@ Or more shorter, written as following::
6262
In both styles, same key words are automatically merged when parsing it
6363
at boot time. So you can append similar trees or key-values.
6464

65+
Same-key Values
66+
---------------
67+
68+
It is prohibited that two or more values or arrays share a same-key.
69+
For example,::
70+
71+
foo = bar, baz
72+
foo = qux # !ERROR! we can not re-define same key
73+
74+
If you want to append the value to existing key as an array member,
75+
you can use ``+=`` operator. For example::
76+
77+
foo = bar, baz
78+
foo += qux
79+
80+
In this case, the key ``foo`` has ``bar``, ``baz`` and ``qux``.
81+
82+
However, a sub-key and a value can not co-exist under a parent key.
83+
For example, following config is NOT allowed.::
84+
85+
foo = value1
86+
foo.bar = value2 # !ERROR! subkey "bar" and value "value1" can NOT co-exist
87+
88+
6589
Comments
6690
--------
6791

@@ -102,9 +126,13 @@ Boot Kernel With a Boot Config
102126
==============================
103127

104128
Since the boot configuration file is loaded with initrd, it will be added
105-
to the end of the initrd (initramfs) image file. The Linux kernel decodes
106-
the last part of the initrd image in memory to get the boot configuration
107-
data.
129+
to the end of the initrd (initramfs) image file with size, checksum and
130+
12-byte magic word as below.
131+
132+
[initrd][bootconfig][size(u32)][checksum(u32)][#BOOTCONFIG\n]
133+
134+
The Linux kernel decodes the last part of the initrd image in memory to
135+
get the boot configuration data.
108136
Because of this "piggyback" method, there is no need to change or
109137
update the boot loader and the kernel image itself.
110138

Documentation/admin-guide/kernel-parameters.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,10 @@
136136
dynamic table installation which will install SSDT
137137
tables to /sys/firmware/acpi/tables/dynamic.
138138

139+
acpi_no_watchdog [HW,ACPI,WDT]
140+
Ignore the ACPI-based watchdog interface (WDAT) and let
141+
a native driver control the watchdog device instead.
142+
139143
acpi_rsdp= [ACPI,EFI,KEXEC]
140144
Pass the RSDP address to the kernel, mostly used
141145
on machines running EFI runtime service to boot the

Documentation/arm64/memory.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ this logic.
129129

130130
As a single binary will need to support both 48-bit and 52-bit VA
131131
spaces, the VMEMMAP must be sized large enough for 52-bit VAs and
132-
also must be sized large enought to accommodate a fixed PAGE_OFFSET.
132+
also must be sized large enough to accommodate a fixed PAGE_OFFSET.
133133

134134
Most code in the kernel should not need to consider the VA_BITS, for
135135
code that does need to know the VA size the variables are

Documentation/arm64/tagged-address-abi.rst

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,15 @@ The AArch64 Tagged Address ABI has two stages of relaxation depending
4444
how the user addresses are used by the kernel:
4545

4646
1. User addresses not accessed by the kernel but used for address space
47-
management (e.g. ``mmap()``, ``mprotect()``, ``madvise()``). The use
48-
of valid tagged pointers in this context is always allowed.
47+
management (e.g. ``mprotect()``, ``madvise()``). The use of valid
48+
tagged pointers in this context is allowed with the exception of
49+
``brk()``, ``mmap()`` and the ``new_address`` argument to
50+
``mremap()`` as these have the potential to alias with existing
51+
user addresses.
52+
53+
NOTE: This behaviour changed in v5.6 and so some earlier kernels may
54+
incorrectly accept valid tagged pointers for the ``brk()``,
55+
``mmap()`` and ``mremap()`` system calls.
4956

5057
2. User addresses accessed by the kernel (e.g. ``write()``). This ABI
5158
relaxation is disabled by default and the application thread needs to

Documentation/dev-tools/kunit/usage.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -551,6 +551,7 @@ options to your ``.config``:
551551
Once the kernel is built and installed, a simple
552552

553553
.. code-block:: bash
554+
554555
modprobe example-test
555556
556557
...will run the tests.

Documentation/devicetree/bindings/display/allwinner,sun4i-a10-tcon.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,13 @@ properties:
4343
- enum:
4444
- allwinner,sun8i-h3-tcon-tv
4545
- allwinner,sun50i-a64-tcon-tv
46-
- allwinner,sun50i-h6-tcon-tv
4746
- const: allwinner,sun8i-a83t-tcon-tv
4847

48+
- items:
49+
- enum:
50+
- allwinner,sun50i-h6-tcon-tv
51+
- const: allwinner,sun8i-r40-tcon-tv
52+
4953
reg:
5054
maxItems: 1
5155

Documentation/devicetree/bindings/media/allwinner,sun4i-a10-csi.yaml

Lines changed: 28 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -33,24 +33,40 @@ properties:
3333
maxItems: 1
3434

3535
clocks:
36-
minItems: 2
37-
maxItems: 3
38-
items:
39-
- description: The CSI interface clock
40-
- description: The CSI ISP clock
41-
- description: The CSI DRAM clock
36+
oneOf:
37+
- items:
38+
- description: The CSI interface clock
39+
- description: The CSI DRAM clock
40+
41+
- items:
42+
- description: The CSI interface clock
43+
- description: The CSI ISP clock
44+
- description: The CSI DRAM clock
4245

4346
clock-names:
44-
minItems: 2
45-
maxItems: 3
46-
items:
47-
- const: bus
48-
- const: isp
49-
- const: ram
47+
oneOf:
48+
- items:
49+
- const: bus
50+
- const: ram
51+
52+
- items:
53+
- const: bus
54+
- const: isp
55+
- const: ram
5056

5157
resets:
5258
maxItems: 1
5359

60+
# FIXME: This should be made required eventually once every SoC will
61+
# have the MBUS declared.
62+
interconnects:
63+
maxItems: 1
64+
65+
# FIXME: This should be made required eventually once every SoC will
66+
# have the MBUS declared.
67+
interconnect-names:
68+
const: dma-mem
69+
5470
# See ./video-interfaces.txt for details
5571
port:
5672
type: object

Documentation/devicetree/bindings/memory-controllers/nvidia,tegra124-emc.yaml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,7 @@ examples:
347347
interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
348348
349349
#iommu-cells = <1>;
350+
#reset-cells = <1>;
350351
};
351352
352353
external-memory-controller@7001b000 {
@@ -363,20 +364,23 @@ examples:
363364
timing-0 {
364365
clock-frequency = <12750000>;
365366
366-
nvidia,emc-zcal-cnt-long = <0x00000042>;
367-
nvidia,emc-auto-cal-interval = <0x001fffff>;
368-
nvidia,emc-ctt-term-ctrl = <0x00000802>;
369-
nvidia,emc-cfg = <0x73240000>;
370-
nvidia,emc-cfg-2 = <0x000008c5>;
371-
nvidia,emc-sel-dpd-ctrl = <0x00040128>;
372-
nvidia,emc-bgbias-ctl0 = <0x00000008>;
373367
nvidia,emc-auto-cal-config = <0xa1430000>;
374368
nvidia,emc-auto-cal-config2 = <0x00000000>;
375369
nvidia,emc-auto-cal-config3 = <0x00000000>;
376-
nvidia,emc-mode-reset = <0x80001221>;
370+
nvidia,emc-auto-cal-interval = <0x001fffff>;
371+
nvidia,emc-bgbias-ctl0 = <0x00000008>;
372+
nvidia,emc-cfg = <0x73240000>;
373+
nvidia,emc-cfg-2 = <0x000008c5>;
374+
nvidia,emc-ctt-term-ctrl = <0x00000802>;
377375
nvidia,emc-mode-1 = <0x80100003>;
378376
nvidia,emc-mode-2 = <0x80200008>;
379377
nvidia,emc-mode-4 = <0x00000000>;
378+
nvidia,emc-mode-reset = <0x80001221>;
379+
nvidia,emc-mrs-wait-cnt = <0x000e000e>;
380+
nvidia,emc-sel-dpd-ctrl = <0x00040128>;
381+
nvidia,emc-xm2dqspadctrl2 = <0x0130b118>;
382+
nvidia,emc-zcal-cnt-long = <0x00000042>;
383+
nvidia,emc-zcal-interval = <0x00000000>;
380384
381385
nvidia,emc-configuration = <
382386
0x00000000 /* EMC_RC */

Documentation/devicetree/bindings/mmc/ti-omap-hsmmc.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ not every application needs SDIO irq, e.g. MMC cards.
124124
pinctrl-1 = <&mmc1_idle>;
125125
pinctrl-2 = <&mmc1_sleep>;
126126
...
127-
interrupts-extended = <&intc 64 &gpio2 28 GPIO_ACTIVE_LOW>;
127+
interrupts-extended = <&intc 64 &gpio2 28 IRQ_TYPE_LEVEL_LOW>;
128128
};
129129

130130
mmc1_idle : pinmux_cirq_pin {

Documentation/devicetree/bindings/net/mdio.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ patternProperties:
5656
examples:
5757
- |
5858
davinci_mdio: mdio@5c030000 {
59-
compatible = "ti,davinci_mdio";
6059
reg = <0x5c030000 0x1000>;
6160
#address-cells = <1>;
6261
#size-cells = <0>;

Documentation/filesystems/zonefs.txt

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -134,15 +134,15 @@ Sequential zone files can only be written sequentially, starting from the file
134134
end, that is, write operations can only be append writes. Zonefs makes no
135135
attempt at accepting random writes and will fail any write request that has a
136136
start offset not corresponding to the end of the file, or to the end of the last
137-
write issued and still in-flight (for asynchrnous I/O operations).
137+
write issued and still in-flight (for asynchronous I/O operations).
138138

139139
Since dirty page writeback by the page cache does not guarantee a sequential
140140
write pattern, zonefs prevents buffered writes and writeable shared mappings
141141
on sequential files. Only direct I/O writes are accepted for these files.
142142
zonefs relies on the sequential delivery of write I/O requests to the device
143143
implemented by the block layer elevator. An elevator implementing the sequential
144144
write feature for zoned block device (ELEVATOR_F_ZBD_SEQ_WRITE elevator feature)
145-
must be used. This type of elevator (e.g. mq-deadline) is the set by default
145+
must be used. This type of elevator (e.g. mq-deadline) is set by default
146146
for zoned block devices on device initialization.
147147

148148
There are no restrictions on the type of I/O used for read operations in
@@ -196,7 +196,7 @@ additional conditions that result in I/O errors.
196196
may still happen in the case of a partial failure of a very large direct I/O
197197
operation split into multiple BIOs/requests or asynchronous I/O operations.
198198
If one of the write request within the set of sequential write requests
199-
issued to the device fails, all write requests after queued after it will
199+
issued to the device fails, all write requests queued after it will
200200
become unaligned and fail.
201201

202202
* Delayed write errors: similarly to regular block devices, if the device side
@@ -207,7 +207,7 @@ additional conditions that result in I/O errors.
207207
causing all data to be dropped after the sector that caused the error.
208208

209209
All I/O errors detected by zonefs are notified to the user with an error code
210-
return for the system call that trigered or detected the error. The recovery
210+
return for the system call that triggered or detected the error. The recovery
211211
actions taken by zonefs in response to I/O errors depend on the I/O type (read
212212
vs write) and on the reason for the error (bad sector, unaligned writes or zone
213213
condition change).
@@ -222,7 +222,7 @@ condition change).
222222
* A zone condition change to read-only or offline also always triggers zonefs
223223
I/O error recovery.
224224

225-
Zonefs minimal I/O error recovery may change a file size and a file access
225+
Zonefs minimal I/O error recovery may change a file size and file access
226226
permissions.
227227

228228
* File size changes:
@@ -237,7 +237,7 @@ permissions.
237237
A file size may also be reduced to reflect a delayed write error detected on
238238
fsync(): in this case, the amount of data effectively written in the zone may
239239
be less than originally indicated by the file inode size. After such I/O
240-
error, zonefs always fixes a file inode size to reflect the amount of data
240+
error, zonefs always fixes the file inode size to reflect the amount of data
241241
persistently stored in the file zone.
242242

243243
* Access permission changes:
@@ -281,11 +281,11 @@ Further notes:
281281
permissions to read-only applies to all files. The file system is remounted
282282
read-only.
283283
* Access permission and file size changes due to the device transitioning zones
284-
to the offline condition are permanent. Remounting or reformating the device
284+
to the offline condition are permanent. Remounting or reformatting the device
285285
with mkfs.zonefs (mkzonefs) will not change back offline zone files to a good
286286
state.
287287
* File access permission changes to read-only due to the device transitioning
288-
zones to the read-only condition are permanent. Remounting or reformating
288+
zones to the read-only condition are permanent. Remounting or reformatting
289289
the device will not re-enable file write access.
290290
* File access permission changes implied by the remount-ro, zone-ro and
291291
zone-offline mount options are temporary for zones in a good condition.
@@ -301,13 +301,13 @@ Mount options
301301

302302
zonefs define the "errors=<behavior>" mount option to allow the user to specify
303303
zonefs behavior in response to I/O errors, inode size inconsistencies or zone
304-
condition chages. The defined behaviors are as follow:
304+
condition changes. The defined behaviors are as follow:
305305
* remount-ro (default)
306306
* zone-ro
307307
* zone-offline
308308
* repair
309309

310-
The I/O error actions defined for each behavior is detailed in the previous
310+
The I/O error actions defined for each behavior are detailed in the previous
311311
section.
312312

313313
Zonefs User Space Tools

Documentation/hwmon/xdpe12284.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ This driver implements support for Infineon Multi-phase XDPE122 family
2424
dual loop voltage regulators.
2525
The family includes XDPE12284 and XDPE12254 devices.
2626
The devices from this family complaint with:
27+
2728
- Intel VR13 and VR13HC rev 1.3, IMVP8 rev 1.2 and IMPVP9 rev 1.3 DC-DC
2829
converter specification.
2930
- Intel SVID rev 1.9. protocol.

Documentation/kbuild/makefiles.rst

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@ is not sufficient this sometimes needs to be explicit.
765765
Example::
766766

767767
#arch/x86/boot/Makefile
768-
subdir- := compressed/
768+
subdir- := compressed
769769

770770
The above assignment instructs kbuild to descend down in the
771771
directory compressed/ when "make clean" is executed.
@@ -1379,9 +1379,6 @@ See subsequent chapter for the syntax of the Kbuild file.
13791379
in arch/$(ARCH)/include/(uapi/)/asm, Kbuild will automatically generate
13801380
a wrapper of the asm-generic one.
13811381

1382-
The convention is to list one subdir per line and
1383-
preferably in alphabetic order.
1384-
13851382
8 Kbuild Variables
13861383
==================
13871384

Documentation/networking/phy.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -487,8 +487,9 @@ phy_register_fixup_for_id()::
487487
The stubs set one of the two matching criteria, and set the other one to
488488
match anything.
489489

490-
When phy_register_fixup() or \*_for_uid()/\*_for_id() is called at module,
491-
unregister fixup and free allocate memory are required.
490+
When phy_register_fixup() or \*_for_uid()/\*_for_id() is called at module load
491+
time, the module needs to unregister the fixup and free allocated memory when
492+
it's unloaded.
492493

493494
Call one of following function before unloading module::
494495

Documentation/power/index.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ Power Management
1313
drivers-testing
1414
energy-model
1515
freezing-of-tasks
16-
interface
1716
opp
1817
pci
1918
pm_qos_interface

0 commit comments

Comments
 (0)