Skip to content

Commit a7eed5f

Browse files
committed
Merge tag 'v5.4.100' into linux-5.4-at91
This is the 5.4.100 stable release
2 parents 8b5cef2 + fc944dd commit a7eed5f

1,220 files changed

Lines changed: 9591 additions & 4960 deletions

File tree

Some content is hidden

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

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,12 @@ bitmap_flush_interval:number
177177
The bitmap flush interval in milliseconds. The metadata buffers
178178
are synchronized when this interval expires.
179179

180+
legacy_recalculate
181+
Allow recalculating of volumes with HMAC keys. This is disabled by
182+
default for security reasons - an attacker could modify the volume,
183+
set recalc_sector to zero, and the kernel would not detect the
184+
modification.
185+
180186

181187
The journal mode (D/J), buffer_sectors, journal_watermark, commit_time can
182188
be changed when reloading the target (load an inactive table and swap the

Documentation/admin-guide/kernel-parameters.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5151,6 +5151,7 @@
51515151
device);
51525152
j = NO_REPORT_LUNS (don't use report luns
51535153
command, uas only);
5154+
k = NO_SAME (do not use WRITE_SAME, uas only)
51545155
l = NOT_LOCKABLE (don't try to lock and
51555156
unlock ejectable media, not on uas);
51565157
m = MAX_SECTORS_64 (don't transfer more
@@ -5451,6 +5452,10 @@
54515452
This option is obsoleted by the "nopv" option, which
54525453
has equivalent effect for XEN platform.
54535454

5455+
xen_no_vector_callback
5456+
[KNL,X86,XEN] Disable the vector callback for Xen
5457+
event channel interrupts.
5458+
54545459
xen_scrub_pages= [XEN]
54555460
Boolean option to control scrubbing pages before giving them back
54565461
to Xen, for use by other domains. Can be also changed at runtime

Documentation/devicetree/bindings/net/can/tcan4x5x.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ tcan4x5x: tcan4x5x@0 {
3333
spi-max-frequency = <10000000>;
3434
bosch,mram-cfg = <0x0 0 0 32 0 0 1 1>;
3535
interrupt-parent = <&gpio1>;
36-
interrupts = <14 GPIO_ACTIVE_LOW>;
36+
interrupts = <14 IRQ_TYPE_LEVEL_LOW>;
3737
device-state-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>;
3838
device-wake-gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
3939
reset-gpios = <&gpio1 27 GPIO_ACTIVE_LOW>;

Documentation/devicetree/bindings/net/nfc/nxp-nci.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Example (for ARM-based BeagleBone with NPC100 NFC controller on I2C2):
2525
clock-frequency = <100000>;
2626

2727
interrupt-parent = <&gpio1>;
28-
interrupts = <29 GPIO_ACTIVE_HIGH>;
28+
interrupts = <29 IRQ_TYPE_LEVEL_HIGH>;
2929

3030
enable-gpios = <&gpio0 30 GPIO_ACTIVE_HIGH>;
3131
firmware-gpios = <&gpio0 31 GPIO_ACTIVE_HIGH>;

Documentation/devicetree/bindings/net/nfc/pn544.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Example (for ARM-based BeagleBone with PN544 on I2C2):
2525
clock-frequency = <400000>;
2626

2727
interrupt-parent = <&gpio1>;
28-
interrupts = <17 GPIO_ACTIVE_HIGH>;
28+
interrupts = <17 IRQ_TYPE_LEVEL_HIGH>;
2929

3030
enable-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>;
3131
firmware-gpios = <&gpio3 19 GPIO_ACTIVE_HIGH>;

Documentation/virt/kvm/api.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1132,6 +1132,9 @@ field userspace_addr, which must point at user addressable memory for
11321132
the entire memory slot size. Any object may back this memory, including
11331133
anonymous memory, ordinary files, and hugetlbfs.
11341134

1135+
On architectures that support a form of address tagging, userspace_addr must
1136+
be an untagged address.
1137+
11351138
It is recommended that the lower 21 bits of guest_phys_addr and userspace_addr
11361139
be identical. This allows large pages in the guest to be backed by large
11371140
pages in the host.

Documentation/virt/kvm/mmu.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ If the generation number of the spte does not equal the global generation
420420
number, it will ignore the cached MMIO information and handle the page
421421
fault through the slow path.
422422

423-
Since only 19 bits are used to store generation-number on mmio spte, all
423+
Since only 18 bits are used to store generation-number on mmio spte, all
424424
pages are zapped when there is an overflow.
425425

426426
Unfortunately, a single memory access might access kvm_memslots(kvm) multiple

Documentation/x86/topology.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ Package
4141
Packages contain a number of cores plus shared resources, e.g. DRAM
4242
controller, shared caches etc.
4343

44+
Modern systems may also use the term 'Die' for package.
45+
4446
AMD nomenclature for package is 'Node'.
4547

4648
Package-related topology information in the kernel:
@@ -53,11 +55,18 @@ Package-related topology information in the kernel:
5355

5456
The number of dies in a package. This information is retrieved via CPUID.
5557

58+
- cpuinfo_x86.cpu_die_id:
59+
60+
The physical ID of the die. This information is retrieved via CPUID.
61+
5662
- cpuinfo_x86.phys_proc_id:
5763

5864
The physical ID of the package. This information is retrieved via CPUID
5965
and deduced from the APIC IDs of the cores in the package.
6066

67+
Modern systems use this value for the socket. There may be multiple
68+
packages within a socket. This value may differ from cpu_die_id.
69+
6170
- cpuinfo_x86.logical_proc_id:
6271

6372
The logical ID of the package. As we do not trust BIOSes to enumerate the

Makefile

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: GPL-2.0
22
VERSION = 5
33
PATCHLEVEL = 4
4-
SUBLEVEL = 81
4+
SUBLEVEL = 100
55
EXTRAVERSION = -linux4sam-2020.10
66
NAME = Kleptomaniac Octopus
77

@@ -436,7 +436,7 @@ LEX = flex
436436
YACC = bison
437437
AWK = awk
438438
INSTALLKERNEL := installkernel
439-
DEPMOD = /sbin/depmod
439+
DEPMOD = depmod
440440
PERL = perl
441441
PYTHON = python
442442
PYTHON3 = python3
@@ -480,7 +480,7 @@ KBUILD_AFLAGS := -D__ASSEMBLY__ -fno-PIE
480480
KBUILD_CFLAGS := -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs \
481481
-fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE \
482482
-Werror=implicit-function-declaration -Werror=implicit-int \
483-
-Wno-format-security \
483+
-Werror=return-type -Wno-format-security \
484484
-std=gnu89
485485
KBUILD_CPPFLAGS := -D__KERNEL__
486486
KBUILD_AFLAGS_KERNEL :=
@@ -802,8 +802,11 @@ DEBUG_CFLAGS += -gsplit-dwarf
802802
else
803803
DEBUG_CFLAGS += -g
804804
endif
805+
ifneq ($(LLVM_IAS),1)
805806
KBUILD_AFLAGS += -Wa,-gdwarf-2
806807
endif
808+
endif
809+
807810
ifdef CONFIG_DEBUG_INFO_DWARF4
808811
DEBUG_CFLAGS += -gdwarf-4
809812
endif
@@ -917,12 +920,6 @@ KBUILD_CFLAGS += $(call cc-option,-Werror=designated-init)
917920
# change __FILE__ to the relative path from the srctree
918921
KBUILD_CFLAGS += $(call cc-option,-fmacro-prefix-map=$(srctree)/=)
919922

920-
# ensure -fcf-protection is disabled when using retpoline as it is
921-
# incompatible with -mindirect-branch=thunk-extern
922-
ifdef CONFIG_RETPOLINE
923-
KBUILD_CFLAGS += $(call cc-option,-fcf-protection=none)
924-
endif
925-
926923
include scripts/Makefile.kasan
927924
include scripts/Makefile.extrawarn
928925
include scripts/Makefile.ubsan

arch/Kconfig

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,22 @@ config UPROBES
131131
managed by the kernel and kept transparent to the probed
132132
application. )
133133

134+
config HAVE_64BIT_ALIGNED_ACCESS
135+
def_bool 64BIT && !HAVE_EFFICIENT_UNALIGNED_ACCESS
136+
help
137+
Some architectures require 64 bit accesses to be 64 bit
138+
aligned, which also requires structs containing 64 bit values
139+
to be 64 bit aligned too. This includes some 32 bit
140+
architectures which can do 64 bit accesses, as well as 64 bit
141+
architectures without unaligned access.
142+
143+
This symbol should be selected by an architecture if 64 bit
144+
accesses are required to be 64 bit aligned in this way even
145+
though it is not a 64 bit architecture.
146+
147+
See Documentation/unaligned-memory-access.txt for more
148+
information on the topic of unaligned memory accesses.
149+
134150
config HAVE_EFFICIENT_UNALIGNED_ACCESS
135151
bool
136152
help

0 commit comments

Comments
 (0)