Skip to content

Commit 44726be

Browse files
committed
Merge tag 'v5.4.118' of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable into odroid-5.4.y
This is the 5.4.118 stable release Change-Id: I69e0b92f713bd64337f12c596b657e1921243a99
2 parents 0de67c8 + 1602211 commit 44726be

File tree

196 files changed

+1541
-1051
lines changed

Some content is hidden

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

196 files changed

+1541
-1051
lines changed

Makefile

Lines changed: 5 additions & 5 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 = 117
4+
SUBLEVEL = 118
55
EXTRAVERSION =
66
NAME = Kleptomaniac Octopus
77

@@ -765,16 +765,16 @@ KBUILD_CFLAGS += -Wno-tautological-compare
765765
KBUILD_CFLAGS += -mno-global-merge
766766
else
767767

768-
# These warnings generated too much noise in a regular build.
769-
# Use make W=1 to enable them (see scripts/Makefile.extrawarn)
770-
KBUILD_CFLAGS += -Wno-unused-but-set-variable
771-
772768
# Warn about unmarked fall-throughs in switch statement.
773769
# Disabled for clang while comment to attribute conversion happens and
774770
# https://github.com/ClangBuiltLinux/linux/issues/636 is discussed.
775771
KBUILD_CFLAGS += $(call cc-option,-Wimplicit-fallthrough,)
776772
endif
777773

774+
# These warnings generated too much noise in a regular build.
775+
# Use make W=1 to enable them (see scripts/Makefile.extrawarn)
776+
KBUILD_CFLAGS += $(call cc-disable-warning, unused-but-set-variable)
777+
778778
KBUILD_CFLAGS += $(call cc-disable-warning, unused-const-variable)
779779
ifdef CONFIG_FRAME_POINTER
780780
KBUILD_CFLAGS += -fno-omit-frame-pointer -fno-optimize-sibling-calls

arch/arm/boot/compressed/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ asflags-y := -DZIMAGE
122122

123123
# Supply kernel BSS size to the decompressor via a linker symbol.
124124
KBSS_SZ = $(shell echo $$(($$($(NM) $(obj)/../../../../vmlinux | \
125-
sed -n -e 's/^\([^ ]*\) [AB] __bss_start$$/-0x\1/p' \
126-
-e 's/^\([^ ]*\) [AB] __bss_stop$$/+0x\1/p') )) )
125+
sed -n -e 's/^\([^ ]*\) [ABD] __bss_start$$/-0x\1/p' \
126+
-e 's/^\([^ ]*\) [ABD] __bss_stop$$/+0x\1/p') )) )
127127
LDFLAGS_vmlinux = --defsym _kernel_bss_size=$(KBSS_SZ)
128128
# Supply ZRELADDR to the decompressor via a linker symbol.
129129
ifneq ($(CONFIG_AUTO_ZRELADDR),y)

arch/arm64/boot/dts/marvell/armada-37xx.dtsi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,8 @@
156156
};
157157

158158
nb_periph_clk: nb-periph-clk@13000 {
159-
compatible = "marvell,armada-3700-periph-clock-nb";
159+
compatible = "marvell,armada-3700-periph-clock-nb",
160+
"syscon";
160161
reg = <0x13000 0x100>;
161162
clocks = <&tbg 0>, <&tbg 1>, <&tbg 2>,
162163
<&tbg 3>, <&xtalclk>;

arch/arm64/boot/dts/mediatek/mt8173.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1137,7 +1137,7 @@
11371137
<&mmsys CLK_MM_DSI1_DIGITAL>,
11381138
<&mipi_tx1>;
11391139
clock-names = "engine", "digital", "hs";
1140-
phy = <&mipi_tx1>;
1140+
phys = <&mipi_tx1>;
11411141
phy-names = "dphy";
11421142
status = "disabled";
11431143
};

arch/arm64/kernel/vdso/vdso.lds.S

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,13 @@ SECTIONS
2828
.gnu.version_d : { *(.gnu.version_d) }
2929
.gnu.version_r : { *(.gnu.version_r) }
3030

31+
/*
32+
* Discard .note.gnu.property sections which are unused and have
33+
* different alignment requirement from vDSO note sections.
34+
*/
35+
/DISCARD/ : {
36+
*(.note.GNU-stack .note.gnu.property)
37+
}
3138
.note : { *(.note.*) } :text :note
3239

3340
. = ALIGN(16);
@@ -48,7 +55,6 @@ SECTIONS
4855
PROVIDE(end = .);
4956

5057
/DISCARD/ : {
51-
*(.note.GNU-stack)
5258
*(.data .data.* .gnu.linkonce.d.* .sdata*)
5359
*(.bss .sbss .dynbss .dynsbss)
5460
}

arch/powerpc/include/uapi/asm/errno.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#ifndef _ASM_POWERPC_ERRNO_H
33
#define _ASM_POWERPC_ERRNO_H
44

5+
#undef EDEADLOCK
56
#include <asm-generic/errno.h>
67

78
#undef EDEADLOCK

arch/powerpc/kernel/eeh.c

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -368,14 +368,11 @@ static inline unsigned long eeh_token_to_phys(unsigned long token)
368368
pa = pte_pfn(*ptep);
369369

370370
/* On radix we can do hugepage mappings for io, so handle that */
371-
if (hugepage_shift) {
372-
pa <<= hugepage_shift;
373-
pa |= token & ((1ul << hugepage_shift) - 1);
374-
} else {
375-
pa <<= PAGE_SHIFT;
376-
pa |= token & (PAGE_SIZE - 1);
377-
}
371+
if (!hugepage_shift)
372+
hugepage_shift = PAGE_SHIFT;
378373

374+
pa <<= PAGE_SHIFT;
375+
pa |= token & ((1ul << hugepage_shift) - 1);
379376
return pa;
380377
}
381378

arch/s390/crypto/arch_random.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ static DECLARE_DELAYED_WORK(arch_rng_work, arch_rng_refill_buffer);
5353

5454
bool s390_arch_random_generate(u8 *buf, unsigned int nbytes)
5555
{
56+
/* max hunk is ARCH_RNG_BUF_SIZE */
57+
if (nbytes > ARCH_RNG_BUF_SIZE)
58+
return false;
59+
5660
/* lock rng buffer */
5761
if (!spin_trylock(&arch_rng_lock))
5862
return false;

arch/s390/kernel/dis.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ void show_code(struct pt_regs *regs)
557557

558558
void print_fn_code(unsigned char *code, unsigned long len)
559559
{
560-
char buffer[64], *ptr;
560+
char buffer[128], *ptr;
561561
int opsize, i;
562562

563563
while (len) {

arch/x86/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ REALMODE_CFLAGS += $(call __cc-option, $(CC), $(REALMODE_CFLAGS), -ffreestanding
4040
REALMODE_CFLAGS += $(call __cc-option, $(CC), $(REALMODE_CFLAGS), -fno-stack-protector)
4141
REALMODE_CFLAGS += $(call __cc-option, $(CC), $(REALMODE_CFLAGS), -Wno-address-of-packed-member)
4242
REALMODE_CFLAGS += $(call __cc-option, $(CC), $(REALMODE_CFLAGS), $(cc_stack_align4))
43+
REALMODE_CFLAGS += $(CLANG_FLAGS)
4344
export REALMODE_CFLAGS
4445

4546
# BITS is used as extension for files which are available in a 32 bit

0 commit comments

Comments
 (0)