Skip to content

Commit e57003a

Browse files
committed
Merge remote-tracking branch 'stable/linux-6.12.y' into rpi-6.12.y
2 parents 82924a8 + df64e51 commit e57003a

File tree

212 files changed

+3777
-2218
lines changed

Some content is hidden

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

212 files changed

+3777
-2218
lines changed

Documentation/devicetree/bindings/serial/8250.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ allOf:
4545
- ns16550
4646
- ns16550a
4747
then:
48-
anyOf:
48+
oneOf:
4949
- required: [ clock-frequency ]
5050
- required: [ clocks ]
5151

Documentation/netlink/specs/tc.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ definitions:
227227
type: u8
228228
doc: log(P_max / (qth-max - qth-min))
229229
-
230-
name: Scell_log
230+
name: Scell-log
231231
type: u8
232232
doc: cell size for idle damping
233233
-
@@ -248,7 +248,7 @@ definitions:
248248
name: DPs
249249
type: u32
250250
-
251-
name: def_DP
251+
name: def-DP
252252
type: u32
253253
-
254254
name: grio

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 = 12
4-
SUBLEVEL = 35
4+
SUBLEVEL = 36
55
EXTRAVERSION =
66
NAME = Baby Opossum Posse
77

arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,16 @@
227227
vin-supply = <&vcc12v_dcin>;
228228
};
229229

230+
vcca_0v9: vcca-0v9 {
231+
compatible = "regulator-fixed";
232+
regulator-name = "vcca_0v9";
233+
regulator-always-on;
234+
regulator-boot-on;
235+
regulator-min-microvolt = <900000>;
236+
regulator-max-microvolt = <900000>;
237+
vin-supply = <&vcc3v3_sys>;
238+
};
239+
230240
vdd_log: vdd-log {
231241
compatible = "pwm-regulator";
232242
pwms = <&pwm2 0 25000 1>;
@@ -312,6 +322,8 @@
312322
};
313323

314324
&hdmi {
325+
avdd-0v9-supply = <&vcca_0v9>;
326+
avdd-1v8-supply = <&vcc1v8_dvp>;
315327
ddc-i2c-bus = <&i2c3>;
316328
pinctrl-names = "default";
317329
pinctrl-0 = <&hdmi_cec>;

arch/riscv/include/asm/cmpxchg.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@
169169
break; \
170170
case 4: \
171171
__arch_cmpxchg(".w", ".w" sc_sfx, prepend, append, \
172-
__ret, __ptr, (long), __old, __new); \
172+
__ret, __ptr, (long)(int)(long), __old, __new); \
173173
break; \
174174
case 8: \
175175
__arch_cmpxchg(".d", ".d" sc_sfx, prepend, append, \

arch/riscv/include/asm/pgtable.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -916,7 +916,6 @@ static inline pte_t pte_swp_clear_exclusive(pte_t pte)
916916
*/
917917
#ifdef CONFIG_64BIT
918918
#define TASK_SIZE_64 (PGDIR_SIZE * PTRS_PER_PGD / 2)
919-
#define TASK_SIZE_MAX LONG_MAX
920919

921920
#ifdef CONFIG_COMPAT
922921
#define TASK_SIZE_32 (_AC(0x80000000, UL) - PAGE_SIZE)

arch/riscv/kernel/traps_misaligned.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ int handle_misaligned_load(struct pt_regs *regs)
429429

430430
val.data_u64 = 0;
431431
if (user_mode(regs)) {
432-
if (copy_from_user_nofault(&val, (u8 __user *)addr, len))
432+
if (copy_from_user(&val, (u8 __user *)addr, len))
433433
return -1;
434434
} else {
435435
memcpy(&val, (u8 *)addr, len);
@@ -530,7 +530,7 @@ int handle_misaligned_store(struct pt_regs *regs)
530530
return -EOPNOTSUPP;
531531

532532
if (user_mode(regs)) {
533-
if (copy_to_user_nofault((u8 __user *)addr, &val, len))
533+
if (copy_to_user((u8 __user *)addr, &val, len))
534534
return -1;
535535
} else {
536536
memcpy((u8 *)addr, &val, len);

arch/riscv/mm/cacheflush.c

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,20 @@ void flush_icache_all(void)
2424

2525
if (num_online_cpus() < 2)
2626
return;
27-
else if (riscv_use_sbi_for_rfence())
27+
28+
/*
29+
* Make sure all previous writes to the D$ are ordered before making
30+
* the IPI. The RISC-V spec states that a hart must execute a data fence
31+
* before triggering a remote fence.i in order to make the modification
32+
* visable for remote harts.
33+
*
34+
* IPIs on RISC-V are triggered by MMIO writes to either CLINT or
35+
* S-IMSIC, so the fence ensures previous data writes "happen before"
36+
* the MMIO.
37+
*/
38+
RISCV_FENCE(w, o);
39+
40+
if (riscv_use_sbi_for_rfence())
2841
sbi_remote_fence_i(NULL);
2942
else
3043
on_each_cpu(ipi_remote_fence_i, NULL, 1);

arch/um/drivers/ubd_user.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ int start_io_thread(unsigned long sp, int *fd_out)
4141
*fd_out = fds[1];
4242

4343
err = os_set_fd_block(*fd_out, 0);
44-
err = os_set_fd_block(kernel_fd, 0);
44+
err |= os_set_fd_block(kernel_fd, 0);
4545
if (err) {
4646
printk("start_io_thread - failed to set nonblocking I/O.\n");
4747
goto out_close;

arch/um/include/asm/asm-prototypes.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
11
#include <asm-generic/asm-prototypes.h>
2+
#include <asm/checksum.h>
3+
4+
#ifdef CONFIG_UML_X86
5+
extern void cmpxchg8b_emu(void);
6+
#endif

0 commit comments

Comments
 (0)