Skip to content

Commit d227654

Browse files
committed
Merge remote-tracking branch 'stable/linux-6.5.y' into v6.5+
2 parents adcf195 + 2309983 commit d227654

279 files changed

Lines changed: 2255 additions & 1018 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/cgroup-v1/memory.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ Brief summary of control files.
9292
memory.oom_control set/show oom controls.
9393
memory.numa_stat show the number of memory usage per numa
9494
node
95+
memory.kmem.limit_in_bytes This knob is deprecated and writing to
96+
it will return -ENOTSUPP.
9597
memory.kmem.usage_in_bytes show current kernel memory allocation
9698
memory.kmem.failcnt show the number of kernel memory usage
9799
hits limits

Documentation/arch/arm64/silicon-errata.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,9 @@ stable kernels.
198198
+----------------+-----------------+-----------------+-----------------------------+
199199
| Hisilicon | Hip08 SMMU PMCG | #162001800 | N/A |
200200
+----------------+-----------------+-----------------+-----------------------------+
201+
| Hisilicon | Hip08 SMMU PMCG | #162001900 | N/A |
202+
| | Hip09 SMMU PMCG | | |
203+
+----------------+-----------------+-----------------+-----------------------------+
201204
+----------------+-----------------+-----------------+-----------------------------+
202205
| Qualcomm Tech. | Kryo/Falkor v1 | E1003 | QCOM_FALKOR_ERRATUM_1003 |
203206
+----------------+-----------------+-----------------+-----------------------------+

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 = 6
33
PATCHLEVEL = 5
4-
SUBLEVEL = 4
4+
SUBLEVEL = 5
55
EXTRAVERSION =
66
NAME = Hurr durr I'ma ninja sloth
77

arch/arm/kernel/hw_breakpoint.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ int hw_breakpoint_arch_parse(struct perf_event *bp,
626626
hw->address &= ~alignment_mask;
627627
hw->ctrl.len <<= offset;
628628

629-
if (is_default_overflow_handler(bp)) {
629+
if (uses_default_overflow_handler(bp)) {
630630
/*
631631
* Mismatch breakpoints are required for single-stepping
632632
* breakpoints.
@@ -798,7 +798,7 @@ static void watchpoint_handler(unsigned long addr, unsigned int fsr,
798798
* Otherwise, insert a temporary mismatch breakpoint so that
799799
* we can single-step over the watchpoint trigger.
800800
*/
801-
if (!is_default_overflow_handler(wp))
801+
if (!uses_default_overflow_handler(wp))
802802
continue;
803803
step:
804804
enable_single_step(wp, instruction_pointer(regs));
@@ -811,7 +811,7 @@ static void watchpoint_handler(unsigned long addr, unsigned int fsr,
811811
info->trigger = addr;
812812
pr_debug("watchpoint fired: address = 0x%x\n", info->trigger);
813813
perf_bp_event(wp, regs);
814-
if (is_default_overflow_handler(wp))
814+
if (uses_default_overflow_handler(wp))
815815
enable_single_step(wp, instruction_pointer(regs));
816816
}
817817

@@ -886,7 +886,7 @@ static void breakpoint_handler(unsigned long unknown, struct pt_regs *regs)
886886
info->trigger = addr;
887887
pr_debug("breakpoint fired: address = 0x%x\n", addr);
888888
perf_bp_event(bp, regs);
889-
if (is_default_overflow_handler(bp))
889+
if (uses_default_overflow_handler(bp))
890890
enable_single_step(bp, addr);
891891
goto unlock;
892892
}

arch/arm/kernel/machine_kexec.c

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,16 +94,28 @@ static void machine_crash_nonpanic_core(void *unused)
9494
}
9595
}
9696

97+
static DEFINE_PER_CPU(call_single_data_t, cpu_stop_csd) =
98+
CSD_INIT(machine_crash_nonpanic_core, NULL);
99+
97100
void crash_smp_send_stop(void)
98101
{
99102
static int cpus_stopped;
100103
unsigned long msecs;
104+
call_single_data_t *csd;
105+
int cpu, this_cpu = raw_smp_processor_id();
101106

102107
if (cpus_stopped)
103108
return;
104109

105110
atomic_set(&waiting_for_crash_ipi, num_online_cpus() - 1);
106-
smp_call_function(machine_crash_nonpanic_core, NULL, false);
111+
for_each_online_cpu(cpu) {
112+
if (cpu == this_cpu)
113+
continue;
114+
115+
csd = &per_cpu(cpu_stop_csd, cpu);
116+
smp_call_function_single_async(cpu, csd);
117+
}
118+
107119
msecs = 1000; /* Wait at most a second for the other cpus to stop */
108120
while ((atomic_read(&waiting_for_crash_ipi) > 0) && msecs) {
109121
mdelay(1);

arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
#include <dt-bindings/iio/qcom,spmi-adc7-pmr735a.h>
1313
#include <dt-bindings/input/gpio-keys.h>
1414
#include <dt-bindings/input/input.h>
15+
#include <dt-bindings/leds/common.h>
1516
#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
1617

1718
#include "sc8280xp.dtsi"
@@ -78,6 +79,21 @@
7879
};
7980
};
8081

82+
leds {
83+
compatible = "gpio-leds";
84+
85+
led-camera-indicator {
86+
label = "white:camera-indicator";
87+
function = LED_FUNCTION_INDICATOR;
88+
color = <LED_COLOR_ID_WHITE>;
89+
gpios = <&tlmm 28 GPIO_ACTIVE_HIGH>;
90+
linux,default-trigger = "none";
91+
default-state = "off";
92+
/* Reuse as a panic indicator until we get a "camera on" trigger */
93+
panic-indicator;
94+
};
95+
};
96+
8197
pmic-glink {
8298
compatible = "qcom,sc8280xp-pmic-glink", "qcom,pmic-glink";
8399

arch/arm64/boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
reg = <0x0 0xffc40000 0x0 0xc0000>;
8080
record-size = <0x1000>;
8181
console-size = <0x40000>;
82-
msg-size = <0x20000 0x20000>;
82+
pmsg-size = <0x20000>;
8383
};
8484

8585
cmdline_mem: memory@ffd00000 {

arch/arm64/boot/dts/qcom/sm6125-xiaomi-laurel-sprout.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
reg = <0x0 0xffc40000 0x0 0xc0000>;
5353
record-size = <0x1000>;
5454
console-size = <0x40000>;
55-
msg-size = <0x20000 0x20000>;
55+
pmsg-size = <0x20000>;
5656
};
5757

5858
cmdline_mem: memory@ffd00000 {

arch/arm64/boot/dts/qcom/sm6350.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@
673673
reg = <0 0xffc00000 0 0x100000>;
674674
record-size = <0x1000>;
675675
console-size = <0x40000>;
676-
msg-size = <0x20000 0x20000>;
676+
pmsg-size = <0x20000>;
677677
ecc-size = <16>;
678678
no-map;
679679
};

arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@
222222
reg = <0x0 0xffc00000 0x0 0x100000>;
223223
record-size = <0x1000>;
224224
console-size = <0x40000>;
225-
msg-size = <0x20000 0x20000>;
225+
pmsg-size = <0x20000>;
226226
ecc-size = <16>;
227227
no-map;
228228
};

0 commit comments

Comments
 (0)