Skip to content

Commit b9ec35c

Browse files
committed
Merge remote-tracking branch 'stable/linux-6.18.y' into rpi-6.18.y
2 parents bb5a64a + 83657f4 commit b9ec35c

873 files changed

Lines changed: 13965 additions & 8351 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/devicetree/bindings/interrupt-controller/arm,gic-v3.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ properties:
5050
The 2nd cell contains the interrupt number for the interrupt type.
5151
SPI interrupts are in the range [0-987]. PPI interrupts are in the
5252
range [0-15]. Extended SPI interrupts are in the range [0-1023].
53-
Extended PPI interrupts are in the range [0-127].
53+
Extended PPI interrupts are in the range [0-63].
5454
5555
The 3rd cell is the flags, encoded as follows:
5656
bits[3:0] trigger type and level flags.

Documentation/devicetree/bindings/net/dsa/nxp,sja1105.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,6 @@ allOf:
140140
else:
141141
properties:
142142
spi-cpha: false
143-
required:
144-
- spi-cpol
145143

146144
unevaluatedProperties: false
147145

Documentation/devicetree/bindings/ufs/rockchip,rk3576-ufshc.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,15 @@ properties:
4141
maxItems: 1
4242

4343
resets:
44-
maxItems: 4
44+
maxItems: 5
4545

4646
reset-names:
4747
items:
4848
- const: biu
4949
- const: sys
5050
- const: ufs
5151
- const: grf
52+
- const: mphy
5253

5354
reset-gpios:
5455
maxItems: 1
@@ -98,8 +99,8 @@ examples:
9899
interrupts = <GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH>;
99100
power-domains = <&power RK3576_PD_USB>;
100101
resets = <&cru SRST_A_UFS_BIU>, <&cru SRST_A_UFS_SYS>, <&cru SRST_A_UFS>,
101-
<&cru SRST_P_UFS_GRF>;
102-
reset-names = "biu", "sys", "ufs", "grf";
102+
<&cru SRST_P_UFS_GRF>, <&cru SRST_MPHY_INIT>;
103+
reset-names = "biu", "sys", "ufs", "grf", "mphy";
103104
reset-gpios = <&gpio4 RK_PD0 GPIO_ACTIVE_LOW>;
104105
};
105106
};

Documentation/mm/hugetlbfs_reserv.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ are enough free huge pages to accommodate the reservation. If there are,
155155
the global reservation count resv_huge_pages is adjusted something like the
156156
following::
157157

158-
if (resv_needed <= (resv_huge_pages - free_huge_pages))
158+
if (resv_needed <= (free_huge_pages - resv_huge_pages)
159159
resv_huge_pages += resv_needed;
160160

161161
Note that the global lock hugetlb_lock is held when checking and adjusting

Documentation/netlink/specs/psp.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ operations:
111111
name: dev-set
112112
doc: Set the configuration of a PSP device.
113113
attribute-set: dev
114+
flags: [admin-perm]
114115
do:
115116
request:
116117
attributes:
@@ -130,6 +131,7 @@ operations:
130131
name: key-rotate
131132
doc: Rotate the device key.
132133
attribute-set: dev
134+
flags: [admin-perm]
133135
do:
134136
request:
135137
attributes:

Documentation/process/deprecated.rst

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,3 +372,27 @@ The helper must be used::
372372
DECLARE_FLEX_ARRAY(struct type2, two);
373373
};
374374
};
375+
376+
Open-coded kmalloc assignments for struct objects
377+
-------------------------------------------------
378+
Performing open-coded kmalloc()-family allocation assignments prevents
379+
the kernel (and compiler) from being able to examine the type of the
380+
variable being assigned, which limits any related introspection that
381+
may help with alignment, wrap-around, or additional hardening. The
382+
kmalloc_obj()-family of macros provide this introspection, which can be
383+
used for the common code patterns for single, array, and flexible object
384+
allocations. For example, these open coded assignments::
385+
386+
ptr = kmalloc(sizeof(*ptr), gfp);
387+
ptr = kzalloc(sizeof(*ptr), gfp);
388+
ptr = kmalloc_array(count, sizeof(*ptr), gfp);
389+
ptr = kcalloc(count, sizeof(*ptr), gfp);
390+
ptr = kmalloc(sizeof(struct foo, gfp);
391+
392+
become, respectively::
393+
394+
ptr = kmalloc_obj(*ptr, gfp);
395+
ptr = kzalloc_obj(*ptr, gfp);
396+
ptr = kmalloc_objs(*ptr, count, gfp);
397+
ptr = kzalloc_objs(*ptr, count, gfp);
398+
__auto_type ptr = kmalloc_obj(struct foo, gfp);

Documentation/tools/rtla/common_options.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
- *f:prio* - use SCHED_FIFO with *prio*;
4343
- *d:runtime[us|ms|s]:period[us|ms|s]* - use SCHED_DEADLINE with *runtime* and *period* in nanoseconds.
4444

45-
**-C**, **--cgroup**\[*=cgroup*]
45+
**-C**, **--cgroup** \[*cgroup*]
4646

4747
Set a *cgroup* to the tracer's threads. If the **-C** option is passed without arguments, the tracer's thread will inherit **rtla**'s *cgroup*. Otherwise, the threads will be placed on the *cgroup* passed to the option.
4848

MAINTAINERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13830,7 +13830,7 @@ S: Maintained
1383013830
F: Documentation/admin-guide/mm/kho.rst
1383113831
F: Documentation/core-api/kho/*
1383213832
F: include/linux/kexec_handover.h
13833-
F: kernel/kexec_handover.c
13833+
F: kernel/kexec_handover*
1383413834
F: lib/test_kho.c
1383513835
F: tools/testing/selftests/kho/
1383613836

Makefile

Lines changed: 3 additions & 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 = 18
4-
SUBLEVEL = 32
4+
SUBLEVEL = 33
55
EXTRAVERSION =
66
NAME = Baby Opossum Posse
77

@@ -655,6 +655,8 @@ export RCS_FIND_IGNORE := \( -name SCCS -o -name BitKeeper -o -name .svn -o \
655655

656656
# Basic helpers built in scripts/basic/
657657
PHONY += scripts_basic
658+
scripts_basic: KBUILD_HOSTCFLAGS := $(KBUILD_HOSTCFLAGS)
659+
scripts_basic: KBUILD_HOSTLDFLAGS := $(KBUILD_HOSTLDFLAGS)
658660
scripts_basic:
659661
$(Q)$(MAKE) $(build)=scripts/basic
660662

arch/arc/net/bpf_jit_arcv2.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2427,7 +2427,7 @@ u8 arc_prologue(u8 *buf, u32 usage, u16 frame_size)
24272427

24282428
#ifdef ARC_BPF_JIT_DEBUG
24292429
if ((usage & BIT(ARC_R_FP)) && frame_size == 0) {
2430-
pr_err("FP is being saved while there is no frame.");
2430+
pr_err("FP is being saved while there is no frame.\n");
24312431
BUG();
24322432
}
24332433
#endif
@@ -2454,7 +2454,7 @@ u8 arc_epilogue(u8 *buf, u32 usage, u16 frame_size)
24542454

24552455
#ifdef ARC_BPF_JIT_DEBUG
24562456
if ((usage & BIT(ARC_R_FP)) && frame_size == 0) {
2457-
pr_err("FP is being saved while there is no frame.");
2457+
pr_err("FP is being saved while there is no frame.\n");
24582458
BUG();
24592459
}
24602460
#endif
@@ -2868,7 +2868,7 @@ u8 gen_jmp_64(u8 *buf, u8 rd, u8 rs, u8 cond, u32 curr_off, u32 targ_off)
28682868
break;
28692869
default:
28702870
#ifdef ARC_BPF_JIT_DEBUG
2871-
pr_err("64-bit jump condition is not known.");
2871+
pr_err("64-bit jump condition is not known.\n");
28722872
BUG();
28732873
#endif
28742874
}
@@ -2948,7 +2948,7 @@ u8 gen_jmp_32(u8 *buf, u8 rd, u8 rs, u8 cond, u32 curr_off, u32 targ_off)
29482948
*/
29492949
if (cond >= ARC_CC_LAST) {
29502950
#ifdef ARC_BPF_JIT_DEBUG
2951-
pr_err("32-bit jump condition is not known.");
2951+
pr_err("32-bit jump condition is not known.\n");
29522952
BUG();
29532953
#endif
29542954
return 0;

0 commit comments

Comments
 (0)