Skip to content

Commit 171c81c

Browse files
committed
Merge tag 'rolling-lts/wsl/6.18.33.1' into linux-msft-wsl-6.18.y
Linux rolling-lts/wsl/6.18.33.1 Signed-off-by: Mitchell Levy <levymitchell0@gmail.com>
2 parents f4c2b77 + d12bb26 commit 171c81c

1,507 files changed

Lines changed: 22182 additions & 12929 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.
File renamed without changes.

Documentation/devicetree/bindings/display/ti/ti,am65x-dss.yaml

Lines changed: 52 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -36,34 +36,50 @@ properties:
3636
reg:
3737
description:
3838
Addresses to each DSS memory region described in the SoC's TRM.
39-
items:
40-
- description: common DSS register area
41-
- description: VIDL1 light video plane
42-
- description: VID video plane
43-
- description: OVR1 overlay manager for vp1
44-
- description: OVR2 overlay manager for vp2
45-
- description: VP1 video port 1
46-
- description: VP2 video port 2
47-
- description: common1 DSS register area
39+
oneOf:
40+
- items:
41+
- description: common DSS register area
42+
- description: VIDL1 light video plane
43+
- description: VID video plane
44+
- description: OVR1 overlay manager for vp1
45+
- description: OVR2 overlay manager for vp2
46+
- description: VP1 video port 1
47+
- description: VP2 video port 2
48+
- description: common1 DSS register area
49+
- items:
50+
- description: common DSS register area
51+
- description: VIDL1 light video plane
52+
- description: OVR1 overlay manager for vp1
53+
- description: VP1 video port 1
54+
- description: common1 DSS register area
4855

4956
reg-names:
50-
items:
51-
- const: common
52-
- const: vidl1
53-
- const: vid
54-
- const: ovr1
55-
- const: ovr2
56-
- const: vp1
57-
- const: vp2
58-
- const: common1
57+
oneOf:
58+
- items:
59+
- const: common
60+
- const: vidl1
61+
- const: vid
62+
- const: ovr1
63+
- const: ovr2
64+
- const: vp1
65+
- const: vp2
66+
- const: common1
67+
- items:
68+
- const: common
69+
- const: vidl1
70+
- const: ovr1
71+
- const: vp1
72+
- const: common1
5973

6074
clocks:
75+
minItems: 2
6176
items:
6277
- description: fck DSS functional clock
6378
- description: vp1 Video Port 1 pixel clock
6479
- description: vp2 Video Port 2 pixel clock
6580

6681
clock-names:
82+
minItems: 2
6783
items:
6884
- const: fck
6985
- const: vp1
@@ -180,6 +196,24 @@ allOf:
180196
ports:
181197
properties:
182198
port@1: false
199+
reg:
200+
maxItems: 5
201+
reg-names:
202+
maxItems: 5
203+
clocks:
204+
maxItems: 2
205+
clock-names:
206+
maxItems: 2
207+
else:
208+
properties:
209+
reg:
210+
minItems: 8
211+
reg-names:
212+
minItems: 8
213+
clocks:
214+
minItems: 3
215+
clock-names:
216+
minItems: 3
183217

184218
- if:
185219
properties:

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/media/rockchip,vdec.yaml

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,20 @@ properties:
2727

2828
reg:
2929
minItems: 1
30-
items:
31-
- description: The function configuration registers base
32-
- description: The link table configuration registers base
33-
- description: The cache configuration registers base
30+
maxItems: 3
3431

3532
reg-names:
36-
items:
37-
- const: function
38-
- const: link
39-
- const: cache
33+
oneOf:
34+
- items:
35+
- const: link
36+
- const: function
37+
- const: cache
38+
- items:
39+
- const: function
40+
- const: link
41+
- const: cache
42+
deprecated: true
43+
description: Use link,function,cache block order instead.
4044

4145
interrupts:
4246
maxItems: 1
@@ -122,6 +126,8 @@ allOf:
122126
minItems: 5
123127
reset-names:
124128
minItems: 5
129+
required:
130+
- reg-names
125131
else:
126132
properties:
127133
reg:

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/scheduler/sched-ext.rst

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -321,13 +321,15 @@ by a sched_ext scheduler:
321321
ops.dispatch(); /* Task is moved to a local DSQ */
322322
}
323323
ops.running(); /* Task starts running on its assigned CPU */
324-
while (task->scx.slice > 0 && task is runnable)
325-
ops.tick(); /* Called every 1/HZ seconds */
326-
ops.stopping(); /* Task stops running (time slice expires or wait) */
327324
328-
/* Task's CPU becomes available */
325+
while task_is_runnable(p) {
326+
while (task->scx.slice > 0 && task_is_runnable(p))
327+
ops.tick(); /* Called every 1/HZ seconds */
328+
329+
ops.dispatch(); /* task->scx.slice can be refilled */
330+
}
329331
330-
ops.dispatch(); /* task->scx.slice can be refilled */
332+
ops.stopping(); /* Task stops running (time slice expires or wait) */
331333
}
332334
333335
ops.quiescent(); /* Task releases its assigned CPU (wait) */

0 commit comments

Comments
 (0)