Skip to content

Commit 38ac2f7

Browse files
committed
SUNLIGHT: Stable 07/06/2024 - KERNEL.ORG
Change-Id: I8e4a91c9c10139643603e89b570b2508ca609594 Signed-off-by: Ionut Nechita <ionut_n2001@yahoo.com>
2 parents bd8e6bb + 2106717 commit 38ac2f7

File tree

234 files changed

+2108
-1184
lines changed

Some content is hidden

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

234 files changed

+2108
-1184
lines changed

Documentation/kbuild/modules.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ executed to make module versioning work.
129129

130130
modules_install
131131
Install the external module(s). The default location is
132-
/lib/modules/<kernel_release>/extra/, but a prefix may
132+
/lib/modules/<kernel_release>/updates/, but a prefix may
133133
be added with INSTALL_MOD_PATH (discussed in section 5).
134134

135135
headers_install
@@ -433,7 +433,7 @@ directory:
433433

434434
And external modules are installed in:
435435

436-
/lib/modules/$(KERNELRELEASE)/extra/
436+
/lib/modules/$(KERNELRELEASE)/updates/
437437

438438
5.1 INSTALL_MOD_PATH
439439
--------------------
@@ -454,10 +454,10 @@ And external modules are installed in:
454454
-------------------
455455

456456
External modules are by default installed to a directory under
457-
/lib/modules/$(KERNELRELEASE)/extra/, but you may wish to
457+
/lib/modules/$(KERNELRELEASE)/updates/, but you may wish to
458458
locate modules for a specific functionality in a separate
459459
directory. For this purpose, use INSTALL_MOD_DIR to specify an
460-
alternative name to "extra."::
460+
alternative name to "updates."::
461461

462462
$ make INSTALL_MOD_DIR=gandalf -C $KDIR \
463463
M=$PWD modules_install

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

arch/arm/boot/dts/rockchip/rk3066a.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@
128128
pinctrl-0 = <&hdmii2c_xfer>, <&hdmi_hpd>;
129129
power-domains = <&power RK3066_PD_VIO>;
130130
rockchip,grf = <&grf>;
131+
#sound-dai-cells = <0>;
131132
status = "disabled";
132133

133134
ports {

arch/arm/net/bpf_jit_32.c

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2252,28 +2252,21 @@ struct bpf_prog *bpf_int_jit_compile(struct bpf_prog *prog)
22522252
/* If building the body of the JITed code fails somehow,
22532253
* we fall back to the interpretation.
22542254
*/
2255-
if (build_body(&ctx) < 0) {
2256-
image_ptr = NULL;
2257-
bpf_jit_binary_free(header);
2258-
prog = orig_prog;
2259-
goto out_imms;
2260-
}
2255+
if (build_body(&ctx) < 0)
2256+
goto out_free;
22612257
build_epilogue(&ctx);
22622258

22632259
/* 3.) Extra pass to validate JITed Code */
2264-
if (validate_code(&ctx)) {
2265-
image_ptr = NULL;
2266-
bpf_jit_binary_free(header);
2267-
prog = orig_prog;
2268-
goto out_imms;
2269-
}
2260+
if (validate_code(&ctx))
2261+
goto out_free;
22702262
flush_icache_range((u32)header, (u32)(ctx.target + ctx.idx));
22712263

22722264
if (bpf_jit_enable > 1)
22732265
/* there are 2 passes here */
22742266
bpf_jit_dump(prog->len, image_size, 2, ctx.target);
22752267

2276-
bpf_jit_binary_lock_ro(header);
2268+
if (bpf_jit_binary_lock_ro(header))
2269+
goto out_free;
22772270
prog->bpf_func = (void *)ctx.target;
22782271
prog->jited = 1;
22792272
prog->jited_len = image_size;
@@ -2290,5 +2283,11 @@ struct bpf_prog *bpf_int_jit_compile(struct bpf_prog *prog)
22902283
bpf_jit_prog_release_other(prog, prog == orig_prog ?
22912284
tmp : orig_prog);
22922285
return prog;
2286+
2287+
out_free:
2288+
image_ptr = NULL;
2289+
bpf_jit_binary_free(header);
2290+
prog = orig_prog;
2291+
goto out_imms;
22932292
}
22942293

arch/arm64/boot/dts/rockchip/rk3308-rock-pi-s.dts

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
*/
66

77
/dts-v1/;
8+
9+
#include <dt-bindings/leds/common.h>
810
#include "rk3308.dtsi"
911

1012
/ {
@@ -24,17 +26,21 @@
2426
leds {
2527
compatible = "gpio-leds";
2628
pinctrl-names = "default";
27-
pinctrl-0 = <&green_led_gio>, <&heartbeat_led_gpio>;
29+
pinctrl-0 = <&green_led>, <&heartbeat_led>;
2830

2931
green-led {
32+
color = <LED_COLOR_ID_GREEN>;
3033
default-state = "on";
34+
function = LED_FUNCTION_POWER;
3135
gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>;
3236
label = "rockpis:green:power";
3337
linux,default-trigger = "default-on";
3438
};
3539

3640
blue-led {
41+
color = <LED_COLOR_ID_BLUE>;
3742
default-state = "on";
43+
function = LED_FUNCTION_HEARTBEAT;
3844
gpios = <&gpio0 RK_PA5 GPIO_ACTIVE_HIGH>;
3945
label = "rockpis:blue:user";
4046
linux,default-trigger = "heartbeat";
@@ -126,10 +132,12 @@
126132
};
127133

128134
&emmc {
129-
bus-width = <4>;
130135
cap-mmc-highspeed;
131-
mmc-hs200-1_8v;
136+
cap-sd-highspeed;
137+
no-sdio;
132138
non-removable;
139+
pinctrl-names = "default";
140+
pinctrl-0 = <&emmc_bus8 &emmc_clk &emmc_cmd>;
133141
vmmc-supply = <&vcc_io>;
134142
status = "okay";
135143
};
@@ -214,11 +222,11 @@
214222
pinctrl-0 = <&rtc_32k>;
215223

216224
leds {
217-
green_led_gio: green-led-gpio {
225+
green_led: green-led {
218226
rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>;
219227
};
220228

221-
heartbeat_led_gpio: heartbeat-led-gpio {
229+
heartbeat_led: heartbeat-led {
222230
rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>;
223231
};
224232
};

arch/arm64/boot/dts/rockchip/rk3328-rock-pi-e.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,8 +241,8 @@
241241
rk805: pmic@18 {
242242
compatible = "rockchip,rk805";
243243
reg = <0x18>;
244-
interrupt-parent = <&gpio2>;
245-
interrupts = <6 IRQ_TYPE_LEVEL_LOW>;
244+
interrupt-parent = <&gpio0>;
245+
interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
246246
#clock-cells = <1>;
247247
clock-output-names = "xin32k", "rk805-clkout2";
248248
gpio-controller;

arch/arm64/boot/dts/rockchip/rk3368.dtsi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -793,6 +793,7 @@
793793
dma-names = "tx";
794794
pinctrl-names = "default";
795795
pinctrl-0 = <&spdif_tx>;
796+
#sound-dai-cells = <0>;
796797
status = "disabled";
797798
};
798799

@@ -804,6 +805,7 @@
804805
clocks = <&cru SCLK_I2S_2CH>, <&cru HCLK_I2S_2CH>;
805806
dmas = <&dmac_bus 6>, <&dmac_bus 7>;
806807
dma-names = "tx", "rx";
808+
#sound-dai-cells = <0>;
807809
status = "disabled";
808810
};
809811

@@ -817,6 +819,7 @@
817819
dma-names = "tx", "rx";
818820
pinctrl-names = "default";
819821
pinctrl-0 = <&i2s_8ch_bus>;
822+
#sound-dai-cells = <0>;
820823
status = "disabled";
821824
};
822825

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ ap_i2c_audio: &i2c8 {
450450
dlg,btn-cfg = <50>;
451451
dlg,mic-det-thr = <500>;
452452
dlg,jack-ins-deb = <20>;
453-
dlg,jack-det-rate = "32ms_64ms";
453+
dlg,jack-det-rate = "32_64";
454454
dlg,jack-rem-deb = <1>;
455455

456456
dlg,a-d-btn-thr = <0xa>;

arch/arm64/boot/dts/rockchip/rk3588-orangepi-5-plus.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,7 @@
444444
&sdmmc {
445445
bus-width = <4>;
446446
cap-sd-highspeed;
447+
cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
447448
disable-wp;
448449
max-frequency = <150000000>;
449450
no-sdio;

arch/arm64/boot/dts/rockchip/rk3588-quartzpro64.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,7 @@
429429
&sdmmc {
430430
bus-width = <4>;
431431
cap-sd-highspeed;
432+
cd-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>;
432433
disable-wp;
433434
max-frequency = <150000000>;
434435
no-sdio;

0 commit comments

Comments
 (0)