Skip to content

Commit e55e84f

Browse files
author
Simao Gomes Viana
committed
Merge remote-tracking branch 'stable/linux-5.5.y' into v5.5+
2 parents 4d0f7db + 4497187 commit e55e84f

170 files changed

Lines changed: 1468 additions & 646 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/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

MAINTAINERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8303,7 +8303,7 @@ M: Joonas Lahtinen <[email protected]>
83038303
M: Rodrigo Vivi <[email protected]>
83048304
83058305
W: https://01.org/linuxgraphics/
8306-
B: https://01.org/linuxgraphics/documentation/how-report-bugs
8306+
B: https://gitlab.freedesktop.org/drm/intel/-/wikis/How-to-file-i915-bugs
83078307
C: irc://chat.freenode.net/intel-gfx
83088308
Q: http://patchwork.freedesktop.org/project/intel-gfx/
83098309
T: git git://anongit.freedesktop.org/drm-intel

Makefile

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

88
# *DOCUMENTATION*
@@ -15,8 +15,6 @@ NAME = Kleptomaniac Octopus
1515
PHONY := _all
1616
_all:
1717

18-
EXTRAVERSION =
19-
2018
# We are using a recursive build, so we need to do a little thinking
2119
# to get the ordering right.
2220
#

arch/arm64/include/asm/lse.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
#if defined(CONFIG_AS_LSE) && defined(CONFIG_ARM64_LSE_ATOMICS)
88

9-
#define __LSE_PREAMBLE ".arch armv8-a+lse\n"
9+
#define __LSE_PREAMBLE ".arch_extension lse\n"
1010

1111
#include <linux/compiler_types.h>
1212
#include <linux/export.h>

arch/arm64/include/asm/memory.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ static inline unsigned long kaslr_offset(void)
213213
((__force __typeof__(addr))sign_extend64((__force u64)(addr), 55))
214214

215215
#define untagged_addr(addr) ({ \
216-
u64 __addr = (__force u64)addr; \
216+
u64 __addr = (__force u64)(addr); \
217217
__addr &= __untagged_addr(__addr); \
218218
(__force __typeof__(addr))__addr; \
219219
})

arch/mips/boot/dts/ingenic/jz4740.dtsi

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// SPDX-License-Identifier: GPL-2.0
22
#include <dt-bindings/clock/jz4740-cgu.h>
3+
#include <dt-bindings/clock/ingenic,tcu.h>
34

45
/ {
56
#address-cells = <1>;
@@ -45,14 +46,6 @@
4546
#clock-cells = <1>;
4647
};
4748

48-
watchdog: watchdog@10002000 {
49-
compatible = "ingenic,jz4740-watchdog";
50-
reg = <0x10002000 0x10>;
51-
52-
clocks = <&cgu JZ4740_CLK_RTC>;
53-
clock-names = "rtc";
54-
};
55-
5649
tcu: timer@10002000 {
5750
compatible = "ingenic,jz4740-tcu", "simple-mfd";
5851
reg = <0x10002000 0x1000>;
@@ -73,6 +66,14 @@
7366

7467
interrupt-parent = <&intc>;
7568
interrupts = <23 22 21>;
69+
70+
watchdog: watchdog@0 {
71+
compatible = "ingenic,jz4740-watchdog";
72+
reg = <0x0 0xc>;
73+
74+
clocks = <&tcu TCU_CLK_WDT>;
75+
clock-names = "wdt";
76+
};
7677
};
7778

7879
rtc_dev: rtc@10003000 {

arch/mips/boot/dts/ingenic/jz4780.dtsi

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// SPDX-License-Identifier: GPL-2.0
22
#include <dt-bindings/clock/jz4780-cgu.h>
3+
#include <dt-bindings/clock/ingenic,tcu.h>
34
#include <dt-bindings/dma/jz4780-dma.h>
45

56
/ {
@@ -67,6 +68,14 @@
6768

6869
interrupt-parent = <&intc>;
6970
interrupts = <27 26 25>;
71+
72+
watchdog: watchdog@0 {
73+
compatible = "ingenic,jz4780-watchdog";
74+
reg = <0x0 0xc>;
75+
76+
clocks = <&tcu TCU_CLK_WDT>;
77+
clock-names = "wdt";
78+
};
7079
};
7180

7281
rtc_dev: rtc@10003000 {
@@ -348,14 +357,6 @@
348357
status = "disabled";
349358
};
350359

351-
watchdog: watchdog@10002000 {
352-
compatible = "ingenic,jz4780-watchdog";
353-
reg = <0x10002000 0x10>;
354-
355-
clocks = <&cgu JZ4780_CLK_RTCLK>;
356-
clock-names = "rtc";
357-
};
358-
359360
nemc: nemc@13410000 {
360361
compatible = "ingenic,jz4780-nemc";
361362
reg = <0x13410000 0x10000>;

arch/powerpc/include/asm/page.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,8 +295,13 @@ static inline bool pfn_valid(unsigned long pfn)
295295
/*
296296
* Some number of bits at the level of the page table that points to
297297
* a hugepte are used to encode the size. This masks those bits.
298+
* On 8xx, HW assistance requires 4k alignment for the hugepte.
298299
*/
300+
#ifdef CONFIG_PPC_8xx
301+
#define HUGEPD_SHIFT_MASK 0xfff
302+
#else
299303
#define HUGEPD_SHIFT_MASK 0x3f
304+
#endif
300305

301306
#ifndef __ASSEMBLY__
302307

arch/powerpc/kernel/eeh_driver.c

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1184,6 +1184,17 @@ void eeh_handle_special_event(void)
11841184
eeh_pe_state_mark(pe, EEH_PE_RECOVERING);
11851185
eeh_handle_normal_event(pe);
11861186
} else {
1187+
eeh_for_each_pe(pe, tmp_pe)
1188+
eeh_pe_for_each_dev(tmp_pe, edev, tmp_edev)
1189+
edev->mode &= ~EEH_DEV_NO_HANDLER;
1190+
1191+
/* Notify all devices to be down */
1192+
eeh_pe_state_clear(pe, EEH_PE_PRI_BUS, true);
1193+
eeh_set_channel_state(pe, pci_channel_io_perm_failure);
1194+
eeh_pe_report(
1195+
"error_detected(permanent failure)", pe,
1196+
eeh_report_failure, NULL);
1197+
11871198
pci_lock_rescan_remove();
11881199
list_for_each_entry(hose, &hose_list, list_node) {
11891200
phb_pe = eeh_phb_pe_get(hose);
@@ -1192,16 +1203,6 @@ void eeh_handle_special_event(void)
11921203
(phb_pe->state & EEH_PE_RECOVERING))
11931204
continue;
11941205

1195-
eeh_for_each_pe(pe, tmp_pe)
1196-
eeh_pe_for_each_dev(tmp_pe, edev, tmp_edev)
1197-
edev->mode &= ~EEH_DEV_NO_HANDLER;
1198-
1199-
/* Notify all devices to be down */
1200-
eeh_pe_state_clear(pe, EEH_PE_PRI_BUS, true);
1201-
eeh_set_channel_state(pe, pci_channel_io_perm_failure);
1202-
eeh_pe_report(
1203-
"error_detected(permanent failure)", pe,
1204-
eeh_report_failure, NULL);
12051206
bus = eeh_pe_bus_get(phb_pe);
12061207
if (!bus) {
12071208
pr_err("%s: Cannot find PCI bus for "

arch/powerpc/kernel/entry_32.S

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -778,15 +778,15 @@ fast_exception_return:
778778
1: lis r3,exc_exit_restart_end@ha
779779
addi r3,r3,exc_exit_restart_end@l
780780
cmplw r12,r3
781-
#if CONFIG_PPC_BOOK3S_601
781+
#ifdef CONFIG_PPC_BOOK3S_601
782782
bge 2b
783783
#else
784784
bge 3f
785785
#endif
786786
lis r4,exc_exit_restart@ha
787787
addi r4,r4,exc_exit_restart@l
788788
cmplw r12,r4
789-
#if CONFIG_PPC_BOOK3S_601
789+
#ifdef CONFIG_PPC_BOOK3S_601
790790
blt 2b
791791
#else
792792
blt 3f

0 commit comments

Comments
 (0)