Skip to content

Commit 43a67ea

Browse files
committed
Merge tag 'v6.1.141' into 6.1-main
This is the 6.1.141 stable release # -----BEGIN PGP SIGNATURE----- # # iQIzBAABCgAdFiEEZH8oZUiU471FcZm+ONu9yGCSaT4FAmhAPsAACgkQONu9yGCS # aT5bsA/9GAXiE7V78xym1UyF8Rib0vcQ2vQuilw+kzGr8UJyg9bBO5+H3j3W8stu # TrFMYk3mFDdfJ/ozKSQkFlVPI7XFfz8x7T1/3+ytqf90TLe9hBfx4WsDMA+OCz7K # GJqPMCmfb6yZi/Jp0Cotqd7cRmLisNvvPl2k+8QO2PbNnsZOJPYNy7XsS5WCNY81 # r27Lu/eyPYdb4CRuxWDLBjeFkC+npVsUxbVUaUgODwlJwmg3z5G+vhMhsw5roZlN # IXxnDnVorIK/q9Cfw5AK89kIQzL5PQE9EAUBS+mKaGYvU8I4uvttA2ebkosQV+xW # ahMX4TZldSWYC5fsfL57MnHdWGQ4c/+RTKUBhEqwKALu4bv8bavC1XQ3vv5GiD0A # f83Km2dq4+bOIyLCXhx2m1b983eGVC9t4s1OacqlKfupmt0H6NhtRlBPTLCRMajG # njHPoaHdPXTq1EjCpu7m4d7tyFSK/oGiWeWSCEdQciAzT6ET9FEGErr9UG5auVz4 # NSHZq1I7WtZbRGz6RmcwdgGpPLD+Q5+wWkqaaezCzrfsqgtmxwXp7LmM5yVkvEYq # 0HitEOcaHCT1Cl+VFsClFbsrad98KAcDV6wIfTgSbL9GjBG7kW8vgZaFbir+XG4j # 5yqdj8lo+DiXtK+JXibfcAVQufciOZzuWhiDnV/nD+qVKOdqcvI= # =O5on # -----END PGP SIGNATURE----- # gpg: Signature made Wed Jun 4 14:40:32 2025 CEST # gpg: using RSA key 647F28654894E3BD457199BE38DBBDC86092693E # gpg: Can't check signature: No public key
2 parents 24124c6 + 58485ff commit 43a67ea

354 files changed

Lines changed: 4184 additions & 1986 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/kernel-parameters.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5780,6 +5780,8 @@
57805780

57815781
Selecting 'on' will also enable the mitigation
57825782
against user space to user space task attacks.
5783+
Selecting specific mitigation does not force enable
5784+
user mitigations.
57835785

57845786
Selecting 'off' will disable both the kernel and
57855787
the user space protections.

Documentation/driver-api/serial/driver.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,4 +100,4 @@ Some helpers are provided in order to set/get modem control lines via GPIO.
100100
.. kernel-doc:: drivers/tty/serial/serial_mctrl_gpio.c
101101
:identifiers: mctrl_gpio_init mctrl_gpio_free mctrl_gpio_to_gpiod
102102
mctrl_gpio_set mctrl_gpio_get mctrl_gpio_enable_ms
103-
mctrl_gpio_disable_ms
103+
mctrl_gpio_disable_ms_sync mctrl_gpio_disable_ms_no_sync

Documentation/hwmon/dell-smm-hwmon.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ Temperature sensors and fans can be queried and set via the standard
3232
=============================== ======= =======================================
3333
Name Perm Description
3434
=============================== ======= =======================================
35-
fan[1-3]_input RO Fan speed in RPM.
36-
fan[1-3]_label RO Fan label.
37-
fan[1-3]_min RO Minimal Fan speed in RPM
38-
fan[1-3]_max RO Maximal Fan speed in RPM
39-
fan[1-3]_target RO Expected Fan speed in RPM
40-
pwm[1-3] RW Control the fan PWM duty-cycle.
35+
fan[1-4]_input RO Fan speed in RPM.
36+
fan[1-4]_label RO Fan label.
37+
fan[1-4]_min RO Minimal Fan speed in RPM
38+
fan[1-4]_max RO Maximal Fan speed in RPM
39+
fan[1-4]_target RO Expected Fan speed in RPM
40+
pwm[1-4] RW Control the fan PWM duty-cycle.
4141
pwm1_enable WO Enable or disable automatic BIOS fan
4242
control (not supported on all laptops,
4343
see below for details).
@@ -93,7 +93,7 @@ Again, when you find new codes, we'd be happy to have your patches!
9393
---------------------------
9494

9595
The driver also exports the fans as thermal cooling devices with
96-
``type`` set to ``dell-smm-fan[1-3]``. This allows for easy fan control
96+
``type`` set to ``dell-smm-fan[1-4]``. This allows for easy fan control
9797
using one of the thermal governors.
9898

9999
Module parameters

Makefile

Lines changed: 13 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 = 1
4-
SUBLEVEL = 140
4+
SUBLEVEL = 141
55
EXTRAVERSION =
66
NAME = Curry Ramen
77

@@ -875,6 +875,18 @@ ifdef CONFIG_CC_IS_CLANG
875875
KBUILD_CPPFLAGS += -Qunused-arguments
876876
# The kernel builds with '-std=gnu11' so use of GNU extensions is acceptable.
877877
KBUILD_CFLAGS += -Wno-gnu
878+
879+
# Clang may emit a warning when a const variable, such as the dummy variables
880+
# in typecheck(), or const member of an aggregate type are not initialized,
881+
# which can result in unexpected behavior. However, in many audited cases of
882+
# the "field" variant of the warning, this is intentional because the field is
883+
# never used within a particular call path, the field is within a union with
884+
# other non-const members, or the containing object is not const so the field
885+
# can be modified via memcpy() / memset(). While the variable warning also gets
886+
# disabled with this same switch, there should not be too much coverage lost
887+
# because -Wuninitialized will still flag when an uninitialized const variable
888+
# is used.
889+
KBUILD_CFLAGS += $(call cc-disable-warning, default-const-init-unsafe)
878890
else
879891

880892
# gcc inanely warns about local variables called 'main'

arch/arm/boot/dts/tegra114.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
139139
reg = <0x54400000 0x00040000>;
140140
clocks = <&tegra_car TEGRA114_CLK_DSIB>,
141141
<&tegra_car TEGRA114_CLK_DSIBLP>,
142-
<&tegra_car TEGRA114_CLK_PLL_D2_OUT0>;
142+
<&tegra_car TEGRA114_CLK_PLL_D_OUT0>;
143143
clock-names = "dsi", "lp", "parent";
144144
resets = <&tegra_car 82>;
145145
reset-names = "dsi";

arch/arm/mach-at91/pm.c

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -537,11 +537,12 @@ extern u32 at91_pm_suspend_in_sram_sz;
537537

538538
static int at91_suspend_finish(unsigned long val)
539539
{
540-
unsigned char modified_gray_code[] = {
541-
0x00, 0x01, 0x02, 0x03, 0x06, 0x07, 0x04, 0x05, 0x0c, 0x0d,
542-
0x0e, 0x0f, 0x0a, 0x0b, 0x08, 0x09, 0x18, 0x19, 0x1a, 0x1b,
543-
0x1e, 0x1f, 0x1c, 0x1d, 0x14, 0x15, 0x16, 0x17, 0x12, 0x13,
544-
0x10, 0x11,
540+
/* SYNOPSYS workaround to fix a bug in the calibration logic */
541+
unsigned char modified_fix_code[] = {
542+
0x00, 0x01, 0x01, 0x06, 0x07, 0x0c, 0x06, 0x07, 0x0b, 0x18,
543+
0x0a, 0x0b, 0x0c, 0x0d, 0x0d, 0x0a, 0x13, 0x13, 0x12, 0x13,
544+
0x14, 0x15, 0x15, 0x12, 0x18, 0x19, 0x19, 0x1e, 0x1f, 0x14,
545+
0x1e, 0x1f,
545546
};
546547
unsigned int tmp, index;
547548
int i;
@@ -552,25 +553,25 @@ static int at91_suspend_finish(unsigned long val)
552553
* restore the ZQ0SR0 with the value saved here. But the
553554
* calibration is buggy and restoring some values from ZQ0SR0
554555
* is forbidden and risky thus we need to provide processed
555-
* values for these (modified gray code values).
556+
* values for these.
556557
*/
557558
tmp = readl(soc_pm.data.ramc_phy + DDR3PHY_ZQ0SR0);
558559

559560
/* Store pull-down output impedance select. */
560561
index = (tmp >> DDR3PHY_ZQ0SR0_PDO_OFF) & 0x1f;
561-
soc_pm.bu->ddr_phy_calibration[0] = modified_gray_code[index];
562+
soc_pm.bu->ddr_phy_calibration[0] = modified_fix_code[index] << DDR3PHY_ZQ0SR0_PDO_OFF;
562563

563564
/* Store pull-up output impedance select. */
564565
index = (tmp >> DDR3PHY_ZQ0SR0_PUO_OFF) & 0x1f;
565-
soc_pm.bu->ddr_phy_calibration[0] |= modified_gray_code[index];
566+
soc_pm.bu->ddr_phy_calibration[0] |= modified_fix_code[index] << DDR3PHY_ZQ0SR0_PUO_OFF;
566567

567568
/* Store pull-down on-die termination impedance select. */
568569
index = (tmp >> DDR3PHY_ZQ0SR0_PDODT_OFF) & 0x1f;
569-
soc_pm.bu->ddr_phy_calibration[0] |= modified_gray_code[index];
570+
soc_pm.bu->ddr_phy_calibration[0] |= modified_fix_code[index] << DDR3PHY_ZQ0SR0_PDODT_OFF;
570571

571572
/* Store pull-up on-die termination impedance select. */
572573
index = (tmp >> DDR3PHY_ZQ0SRO_PUODT_OFF) & 0x1f;
573-
soc_pm.bu->ddr_phy_calibration[0] |= modified_gray_code[index];
574+
soc_pm.bu->ddr_phy_calibration[0] |= modified_fix_code[index] << DDR3PHY_ZQ0SRO_PUODT_OFF;
574575

575576
/*
576577
* The 1st 8 words of memory might get corrupted in the process

arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -151,28 +151,12 @@
151151
vcc-pg-supply = <&reg_aldo1>;
152152
};
153153

154-
&r_ir {
155-
linux,rc-map-name = "rc-beelink-gs1";
156-
status = "okay";
157-
};
158-
159-
&r_pio {
160-
/*
161-
* FIXME: We can't add that supply for now since it would
162-
* create a circular dependency between pinctrl, the regulator
163-
* and the RSB Bus.
164-
*
165-
* vcc-pl-supply = <&reg_aldo1>;
166-
*/
167-
vcc-pm-supply = <&reg_aldo1>;
168-
};
169-
170-
&r_rsb {
154+
&r_i2c {
171155
status = "okay";
172156

173-
axp805: pmic@745 {
157+
axp805: pmic@36 {
174158
compatible = "x-powers,axp805", "x-powers,axp806";
175-
reg = <0x745>;
159+
reg = <0x36>;
176160
interrupt-parent = <&r_intc>;
177161
interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_LOW>;
178162
interrupt-controller;
@@ -290,6 +274,22 @@
290274
};
291275
};
292276

277+
&r_ir {
278+
linux,rc-map-name = "rc-beelink-gs1";
279+
status = "okay";
280+
};
281+
282+
&r_pio {
283+
/*
284+
* PL0 and PL1 are used for PMIC I2C
285+
* don't enable the pl-supply else
286+
* it will fail at boot
287+
*
288+
* vcc-pl-supply = <&reg_aldo1>;
289+
*/
290+
vcc-pm-supply = <&reg_aldo1>;
291+
};
292+
293293
&spdif {
294294
pinctrl-names = "default";
295295
pinctrl-0 = <&spdif_tx_pin>;

arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -175,16 +175,12 @@
175175
vcc-pg-supply = <&reg_vcc_wifi_io>;
176176
};
177177

178-
&r_ir {
179-
status = "okay";
180-
};
181-
182-
&r_rsb {
178+
&r_i2c {
183179
status = "okay";
184180

185-
axp805: pmic@745 {
181+
axp805: pmic@36 {
186182
compatible = "x-powers,axp805", "x-powers,axp806";
187-
reg = <0x745>;
183+
reg = <0x36>;
188184
interrupt-parent = <&r_intc>;
189185
interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_LOW>;
190186
interrupt-controller;
@@ -295,6 +291,10 @@
295291
};
296292
};
297293

294+
&r_ir {
295+
status = "okay";
296+
};
297+
298298
&rtc {
299299
clocks = <&ext_osc32k>;
300300
};

arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -112,20 +112,12 @@
112112
vcc-pg-supply = <&reg_aldo1>;
113113
};
114114

115-
&r_ir {
116-
status = "okay";
117-
};
118-
119-
&r_pio {
120-
vcc-pm-supply = <&reg_bldo3>;
121-
};
122-
123-
&r_rsb {
115+
&r_i2c {
124116
status = "okay";
125117

126-
axp805: pmic@745 {
118+
axp805: pmic@36 {
127119
compatible = "x-powers,axp805", "x-powers,axp806";
128-
reg = <0x745>;
120+
reg = <0x36>;
129121
interrupt-parent = <&r_intc>;
130122
interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_LOW>;
131123
interrupt-controller;
@@ -240,6 +232,14 @@
240232
};
241233
};
242234

235+
&r_ir {
236+
status = "okay";
237+
};
238+
239+
&r_pio {
240+
vcc-pm-supply = <&reg_bldo3>;
241+
};
242+
243243
&rtc {
244244
clocks = <&ext_osc32k>;
245245
};

arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1631,7 +1631,7 @@
16311631
regulator-min-microvolt = <1800000>;
16321632
regulator-max-microvolt = <1800000>;
16331633
regulator-always-on;
1634-
gpio = <&exp1 14 GPIO_ACTIVE_HIGH>;
1634+
gpio = <&exp1 9 GPIO_ACTIVE_HIGH>;
16351635
enable-active-high;
16361636
vin-supply = <&vdd_1v8>;
16371637
};

0 commit comments

Comments
 (0)