Skip to content

Commit 58acc7f

Browse files
author
Simao Gomes Viana
committed
Merge remote-tracking branch 'zen/5.5/master' into v5.5+
2 parents dde4963 + 29eee1a commit 58acc7f

123 files changed

Lines changed: 1011 additions & 632 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/kbuild/modules.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -470,9 +470,9 @@ build.
470470

471471
The syntax of the Module.symvers file is::
472472

473-
<CRC> <Symbol> <Namespace> <Module> <Export Type>
473+
<CRC> <Symbol> <Module> <Export Type> <Namespace>
474474

475-
0xe1cc2a05 usb_stor_suspend USB_STORAGE drivers/usb/storage/usb-storage EXPORT_SYMBOL_GPL
475+
0xe1cc2a05 usb_stor_suspend drivers/usb/storage/usb-storage EXPORT_SYMBOL_GPL USB_STORAGE
476476

477477
The fields are separated by tabs and values may be empty (e.g.
478478
if no namespace is defined for an exported symbol).

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: GPL-2.0
22
VERSION = 5
33
PATCHLEVEL = 5
4-
SUBLEVEL = 11
4+
SUBLEVEL = 13
55
EXTRAVERSION =
66
NAME = Kleptomaniac Octopus
77

arch/arm/boot/dts/bcm2711-rpi-4-b.dts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@
3131
pwr {
3232
label = "PWR";
3333
gpios = <&expgpio 2 GPIO_ACTIVE_LOW>;
34+
default-state = "keep";
35+
linux,default-trigger = "default-on";
3436
};
3537
};
3638

arch/arm/boot/dts/bcm2837-rpi-3-a-plus.dts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
pwr {
2727
label = "PWR";
2828
gpios = <&expgpio 2 GPIO_ACTIVE_LOW>;
29+
default-state = "keep";
30+
linux,default-trigger = "default-on";
2931
};
3032
};
3133
};

arch/arm/boot/dts/bcm2837-rpi-3-b-plus.dts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
pwr {
2828
label = "PWR";
2929
gpios = <&expgpio 2 GPIO_ACTIVE_LOW>;
30+
default-state = "keep";
31+
linux,default-trigger = "default-on";
3032
};
3133
};
3234

arch/arm/boot/dts/dra7-l4.dtsi

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3461,6 +3461,7 @@
34613461
clocks = <&l4per3_clkctrl DRA7_L4PER3_TIMER13_CLKCTRL 24>;
34623462
clock-names = "fck";
34633463
interrupts = <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>;
3464+
ti,timer-pwm;
34643465
};
34653466
};
34663467

@@ -3489,6 +3490,7 @@
34893490
clocks = <&l4per3_clkctrl DRA7_L4PER3_TIMER14_CLKCTRL 24>;
34903491
clock-names = "fck";
34913492
interrupts = <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>;
3493+
ti,timer-pwm;
34923494
};
34933495
};
34943496

@@ -3517,6 +3519,7 @@
35173519
clocks = <&l4per3_clkctrl DRA7_L4PER3_TIMER15_CLKCTRL 24>;
35183520
clock-names = "fck";
35193521
interrupts = <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>;
3522+
ti,timer-pwm;
35203523
};
35213524
};
35223525

@@ -3545,6 +3548,7 @@
35453548
clocks = <&l4per3_clkctrl DRA7_L4PER3_TIMER16_CLKCTRL 24>;
35463549
clock-names = "fck";
35473550
interrupts = <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>;
3551+
ti,timer-pwm;
35483552
};
35493553
};
35503554

arch/arm/boot/dts/dra7.dtsi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@
184184
device_type = "pci";
185185
ranges = <0x81000000 0 0 0x03000 0 0x00010000
186186
0x82000000 0 0x20013000 0x13000 0 0xffed000>;
187+
dma-ranges = <0x02000000 0x0 0x00000000 0x00000000 0x1 0x00000000>;
187188
bus-range = <0x00 0xff>;
188189
#interrupt-cells = <1>;
189190
num-lanes = <1>;
@@ -238,6 +239,7 @@
238239
device_type = "pci";
239240
ranges = <0x81000000 0 0 0x03000 0 0x00010000
240241
0x82000000 0 0x30013000 0x13000 0 0xffed000>;
242+
dma-ranges = <0x02000000 0x0 0x00000000 0x00000000 0x1 0x00000000>;
241243
bus-range = <0x00 0xff>;
242244
#interrupt-cells = <1>;
243245
num-lanes = <1>;

arch/arm/configs/bcm2835_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ CONFIG_SCHED_TRACER=y
178178
CONFIG_STACK_TRACER=y
179179
CONFIG_FUNCTION_PROFILER=y
180180
CONFIG_TEST_KSTRTOX=y
181+
CONFIG_DEBUG_FS=y
181182
CONFIG_KGDB=y
182183
CONFIG_KGDB_KDB=y
183184
CONFIG_STRICT_DEVMEM=y

arch/arm64/include/asm/unistd.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
#define __NR_compat_gettimeofday 78
2626
#define __NR_compat_sigreturn 119
2727
#define __NR_compat_rt_sigreturn 173
28-
#define __NR_compat_clock_getres 247
2928
#define __NR_compat_clock_gettime 263
29+
#define __NR_compat_clock_getres 264
3030
#define __NR_compat_clock_gettime64 403
3131
#define __NR_compat_clock_getres_time64 406
3232

arch/arm64/kernel/smp.c

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -958,11 +958,22 @@ void tick_broadcast(const struct cpumask *mask)
958958
}
959959
#endif
960960

961+
/*
962+
* The number of CPUs online, not counting this CPU (which may not be
963+
* fully online and so not counted in num_online_cpus()).
964+
*/
965+
static inline unsigned int num_other_online_cpus(void)
966+
{
967+
unsigned int this_cpu_online = cpu_online(smp_processor_id());
968+
969+
return num_online_cpus() - this_cpu_online;
970+
}
971+
961972
void smp_send_stop(void)
962973
{
963974
unsigned long timeout;
964975

965-
if (num_online_cpus() > 1) {
976+
if (num_other_online_cpus()) {
966977
cpumask_t mask;
967978

968979
cpumask_copy(&mask, cpu_online_mask);
@@ -975,10 +986,10 @@ void smp_send_stop(void)
975986

976987
/* Wait up to one second for other CPUs to stop */
977988
timeout = USEC_PER_SEC;
978-
while (num_online_cpus() > 1 && timeout--)
989+
while (num_other_online_cpus() && timeout--)
979990
udelay(1);
980991

981-
if (num_online_cpus() > 1)
992+
if (num_other_online_cpus())
982993
pr_warn("SMP: failed to stop secondary CPUs %*pbl\n",
983994
cpumask_pr_args(cpu_online_mask));
984995

@@ -1001,15 +1012,19 @@ void crash_smp_send_stop(void)
10011012

10021013
cpus_stopped = 1;
10031014

1004-
if (num_online_cpus() == 1) {
1015+
/*
1016+
* If this cpu is the only one alive at this point in time, online or
1017+
* not, there are no stop messages to be sent around, so just back out.
1018+
*/
1019+
if (num_other_online_cpus() == 0) {
10051020
sdei_mask_local_cpu();
10061021
return;
10071022
}
10081023

10091024
cpumask_copy(&mask, cpu_online_mask);
10101025
cpumask_clear_cpu(smp_processor_id(), &mask);
10111026

1012-
atomic_set(&waiting_for_crash_ipi, num_online_cpus() - 1);
1027+
atomic_set(&waiting_for_crash_ipi, num_other_online_cpus());
10131028

10141029
pr_crit("SMP: stopping secondary CPUs\n");
10151030
smp_cross_call(&mask, IPI_CPU_CRASH_STOP);

0 commit comments

Comments
 (0)