Skip to contentSkip to conversation

6.2.3-rc1 review

PATCH In review Greg Kroah-Hartman 12 participants 1,016 messages Mar 7, 2023 – Mar 27, 2023 Page 1 of 8

Subsystems (18)
lore
Share & tools
lore
author maintainer
#1 lore raw

PATCH 1/1001 HID: asus: use spinlock to protect concurrent accesses

In reply to Greg Kroah-Hartman

From: Pietro Borrello <[email protected]>

commit 315c537068a13f0b5681d33dd045a912f4bece6f upstream.

asus driver has a worker that may access data concurrently. Proct the accesses using a spinlock.

---
 drivers/hid/hid-asus.c |   22 +++++++++++++++++++++-
 1 file changed, 21 insertions(+), 1 deletion(-)
drivers/hid/hid-asus.c +21 -1
@@ -98,6 +98,7 @@ struct asus_kbd_leds {
 	struct hid_device *hdev;
 	struct work_struct work;
 	unsigned int brightness;
+	spinlock_t lock;
 	bool removed;
 };
 
@@ -495,7 +496,12 @@ static void asus_kbd_backlight_set(struc
 {
 	struct asus_kbd_leds *led = container_of(led_cdev, struct asus_kbd_leds,
 						 cdev);
+	unsigned long flags;
+
+	spin_lock_irqsave(&led->lock, flags);
 	led->brightness = brightness;
+	spin_unlock_irqrestore(&led->lock, flags);
+
 	schedule_work(&led->work);
 }
 
@@ -503,8 +509,14 @@ static enum led_brightness asus_kbd_back
 {
 	struct asus_kbd_leds *led = container_of(led_cdev, struct asus_kbd_leds,
 						 cdev);
+	enum led_brightness brightness;
+	unsigned long flags;
 
-	return led->brightness;
+	spin_lock_irqsave(&led->lock, flags);
+	brightness = led->brightness;
+	spin_unlock_irqrestore(&led->lock, flags);
+
+	return brightness;
 }
 
 static void asus_kbd_backlight_work(struct work_struct *work)
@@ -512,11 +524,14 @@ static void asus_kbd_backlight_work(stru
 	struct asus_kbd_leds *led = container_of(work, struct asus_kbd_leds, work);
 	u8 buf[] = { FEATURE_KBD_REPORT_ID, 0xba, 0xc5, 0xc4, 0x00 };
 	int ret;
+	unsigned long flags;
 
 	if (led->removed)
 		return;
 
+	spin_lock_irqsave(&led->lock, flags);
 	buf[4] = led->brightness;
+	spin_unlock_irqrestore(&led->lock, flags);
 
 	ret = asus_kbd_set_report(led->hdev, buf, sizeof(buf));
 	if (ret < 0)
@@ -584,6 +599,7 @@ static int asus_kbd_register_leds(struct
 	drvdata->kbd_backlight->cdev.brightness_set = asus_kbd_backlight_set;
 	drvdata->kbd_backlight->cdev.brightness_get = asus_kbd_backlight_get;
 	INIT_WORK(&drvdata->kbd_backlight->work, asus_kbd_backlight_work);
+	spin_lock_init(&drvdata->kbd_backlight->lock);
 
 	ret = devm_led_classdev_register(&hdev->dev, &drvdata->kbd_backlight->cdev);
 	if (ret < 0) {
@@ -1119,9 +1135,13 @@ err_stop_hw:
 static void asus_remove(struct hid_device *hdev)
 {
 	struct asus_drvdata *drvdata = hid_get_drvdata(hdev);
+	unsigned long flags;
 
 	if (drvdata->kbd_backlight) {
+		spin_lock_irqsave(&drvdata->kbd_backlight->lock, flags);
 		drvdata->kbd_backlight->removed = true;
+		spin_unlock_irqrestore(&drvdata->kbd_backlight->lock, flags);
+
 		cancel_work_sync(&drvdata->kbd_backlight->work);
 	}
 
author maintainer
#10 lore raw

PATCH 10/1001 arm64: dts: qcom: qcs404: use symbol names for PCIe resets

In reply to Greg Kroah-Hartman

From: Dmitry Baryshkov <[email protected]>

[ Upstream commit 41a37d157a613444c97e8f71a5fb2a21116b70d7 ]

The commit e5bbbff5b7d7 ("clk: gcc-qcs404: Add PCIe resets") added names for PCIe resets, but it did not change the existing qcs404.dtsi to use these names. Do it now and use symbol names to make it easier to check and modify the dtsi in future.

---
 arch/arm64/boot/dts/qcom/qcs404.dtsi | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
arch/arm64/boot/dts/qcom/qcs404.dtsi +6 -6
index a5324eecb50a9..502dd6db491e2 100644
@@ -806,7 +806,7 @@ pcie_phy: phy@7786000 {
 
 			clocks = <&gcc GCC_PCIE_0_PIPE_CLK>;
 			resets = <&gcc GCC_PCIEPHY_0_PHY_BCR>,
-				 <&gcc 21>;
+				 <&gcc GCC_PCIE_0_PIPE_ARES>;
 			reset-names = "phy", "pipe";
 
 			clock-output-names = "pcie_0_pipe_clk";
@@ -1336,12 +1336,12 @@ pcie: pci@10000000 {
 				 <&gcc GCC_PCIE_0_SLV_AXI_CLK>;
 			clock-names = "iface", "aux", "master_bus", "slave_bus";
 
-			resets = <&gcc 18>,
-				 <&gcc 17>,
-				 <&gcc 15>,
-				 <&gcc 19>,
+			resets = <&gcc GCC_PCIE_0_AXI_MASTER_ARES>,
+				 <&gcc GCC_PCIE_0_AXI_SLAVE_ARES>,
+				 <&gcc GCC_PCIE_0_AXI_MASTER_STICKY_ARES>,
+				 <&gcc GCC_PCIE_0_CORE_STICKY_ARES>,
 				 <&gcc GCC_PCIE_0_BCR>,
-				 <&gcc 16>;
+				 <&gcc GCC_PCIE_0_AHB_ARES>;
 			reset-names = "axi_m",
 				      "axi_s",
 				      "axi_m_sticky",
Signature · 1 line
2.39.2
author maintainer
#11 lore raw

PATCH 11/1001 arm64: dts: qcom: msm8996-tone: Fix USB taking 6 minutes to wake up

In reply to Greg Kroah-Hartman

From: Konrad Dybcio <[email protected]>

[ Upstream commit 43069b9cd358aebc692e654de91ee06ff66e26af ]

The hardware turns out to be pretty sluggish at assuming it can only do USB2 with just a USB2 phy assigned to it - before it needed about 6 minutes to acknowledge that.

Limit it to USB-HS explicitly to make USB come up about 720x faster.

Fixes 9da65e441d4d ("arm64: dts: qcom: Add support for SONY Xperia X Performance / XZ / XZs (msm8996, Tone platform)")
---
 arch/arm64/boot/dts/qcom/msm8996-sony-xperia-tone.dtsi | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
arch/arm64/boot/dts/qcom/msm8996-sony-xperia-tone.dtsi +1 -4
index dec361b93ccea..be62899edf8e3 100644
@@ -943,10 +943,6 @@ touch_int_sleep: touch-int-sleep-state {
 	};
 };
 
-/*
- * For reasons that are currently unknown (but probably related to fusb301), USB takes about
- * 6 minutes to wake up (nothing interesting in kernel logs), but then it works as it should.
- */
 &usb3 {
 	status = "okay";
 	qcom,select-utmi-as-pipe-clk;
@@ -955,6 +951,7 @@ &usb3 {
 &usb3_dwc3 {
 	extcon = <&usb3_id>;
 	dr_mode = "peripheral";
+	maximum-speed = "high-speed";
 	phys = <&hsusb_phy1>;
 	phy-names = "usb2-phy";
 	snps,hird-threshold = /bits/ 8 <0>;
Signature · 1 line
2.39.2
author maintainer
#12 lore raw

PATCH 12/1001 arm64: dts: qcom: sm6115: Fix UFS node

In reply to Greg Kroah-Hartman

From: Konrad Dybcio <[email protected]>

[ Upstream commit 01b6041454e8bc4f5feb76e6bcdc83a48cea21f2 ]

In its current form, UFS did not even probe successfully - it failed when trying to set XO (ref_clk) to 300 MHz instead of doing so to the ICE clk. Moreover, the missing reg-names prevented ICE from working or being discovered at all. Fix both of these issues.

As a sidenote, the log reveals that this SoC uses UFS ICE v3.1.0.

Fixes 97e563bf5ba1 ("arm64: dts: qcom: sm6115: Add basic soc dtsi")
---
 arch/arm64/boot/dts/qcom/sm6115.dtsi | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/qcom/sm6115.dtsi +3 -2
index 572bf04adf906..3f4017bc667d6 100644
@@ -704,6 +704,7 @@ opp-202000000 {
 		ufs_mem_hc: ufs@4804000 {
 			compatible = "qcom,sm6115-ufshc", "qcom,ufshc", "jedec,ufs-2.0";
 			reg = <0x04804000 0x3000>, <0x04810000 0x8000>;
+			reg-names = "std", "ice";
 			interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
 			phys = <&ufs_mem_phy_lanes>;
 			phy-names = "ufsphy";
@@ -736,10 +737,10 @@ ufs_mem_hc: ufs@4804000 {
 					<0 0>,
 					<0 0>,
 					<37500000 150000000>,
-					<75000000 300000000>,
 					<0 0>,
 					<0 0>,
-					<0 0>;
+					<0 0>,
+					<75000000 300000000>;
 
 			status = "disabled";
 		};
Signature · 1 line
2.39.2
author maintainer
#13 lore raw

PATCH 13/1001 arm64: dts: qcom: sm6115: Provide xo clk to rpmcc

In reply to Greg Kroah-Hartman

From: Konrad Dybcio <[email protected]>

[ Upstream commit ad9514be8ddb9d3a8c262aa415c2f1c1f4cc97f9 ]

rpmcc used to rely on global clock lookup (and still does so for backwards compat reasons) of "xo_board", which was common back when we did not care about things like underscores in node names. Nowadays it expects to be fed a reference to the fixed clock. Satisfy that requirement to make sure rpm clock rates are not all stuck at zero.

---
 arch/arm64/boot/dts/qcom/sm6115.dtsi | 2 ++
 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/qcom/sm6115.dtsi +2 -0
index 3f4017bc667d6..81523ab7ff602 100644
@@ -296,6 +296,8 @@ rpm_requests: rpm-requests {
 
 			rpmcc: clock-controller {
 				compatible = "qcom,rpmcc-sm6115", "qcom,rpmcc";
+				clocks = <&xo_board>;
+				clock-names = "xo";
 				#clock-cells = <1>;
 			};
 
Signature · 1 line
2.39.2
author maintainer
#14 lore raw

PATCH 14/1001 arm64: dts: qcom: sm8150-kumano: Panel framebuffer is 2.5k instead of 4k

In reply to Greg Kroah-Hartman

From: Marijn Suijten <[email protected]>

[ Upstream commit be8de06dc397c45cb0f3fe04084089c3f06c419f ]

The framebuffer configuration for kumano griffin, written in kumano dtsi (which is overwritten in bahamut dts for its smaller panel) has to use a 1096x2560 configuration as this is what the panel (and framebuffer area) has been initialized to. Downstream userspace also has access to (and uses) this 2.5k mode by default, and only switches the panel to 4k when requested.

Fixes d0a6ce59ea4e ("arm64: dts: qcom: sm8150: Add support for SONY Xperia 1 / 5 (Kumano platform)")
---
 arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano.dtsi | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano.dtsi +4 -3
index c958a8b167303..fd8c0097072ab 100644
@@ -33,9 +33,10 @@ chosen {
 		framebuffer: framebuffer@9c000000 {
 			compatible = "simple-framebuffer";
 			reg = <0 0x9c000000 0 0x2300000>;
-			width = <1644>;
-			height = <3840>;
-			stride = <(1644 * 4)>;
+			/* Griffin BL initializes in 2.5k mode, not 4k */
+			width = <1096>;
+			height = <2560>;
+			stride = <(1096 * 4)>;
 			format = "a8r8g8b8";
 			/*
 			 * That's (going to be) a lot of clocks, but it's necessary due
Signature · 1 line
2.39.2
author maintainer
#15 lore raw

PATCH 15/1001 arm64: dts: qcom: pmi8950: Correct rev_1250v channel label to mv

In reply to Greg Kroah-Hartman

From: Marijn Suijten <[email protected]>

[ Upstream commit 3c3d2cb221b8647d1c547b4c44d2d6060cc742a9 ]

This was pointed out in review but never followed up on thanks to sidetracked discussions about labels vs node names.

Fixes 0d97fdf380b4 ("arm64: dts: qcom: Add configuration for PMI8950 peripheral")
---
 arch/arm64/boot/dts/qcom/pmi8950.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/qcom/pmi8950.dtsi +1 -1
index 32d27e2187e38..8008f02434a9e 100644
@@ -47,7 +47,7 @@ adc-chan@9 {
 			adc-chan@a {
 				reg = <VADC_REF_1250MV>;
 				qcom,pre-scaling = <1 1>;
-				label = "ref_1250v";
+				label = "ref_1250mv";
 			};
 
 			adc-chan@d {
Signature · 1 line
2.39.2
author maintainer
#16 lore raw

PATCH 16/1001 arm64: dts: qcom: sm6350: Fix up the ramoops node

In reply to Greg Kroah-Hartman

From: Konrad Dybcio <[email protected]>

[ Upstream commit 3b2ff50da499178cc418f4b319e279d1b52958ed ]

Fix up the ramoops node to make it match bindings and style:

- remove "removed-dma-pool"
- don't pad size to 8 hex digits
- change cc-size to ecc-size so that it's used
- increase ecc-size from to 16
- remove the zeroed ftrace-size

---
 arch/arm64/boot/dts/qcom/sm6350.dtsi | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
arch/arm64/boot/dts/qcom/sm6350.dtsi +3 -4
index 43324bf291c30..00e43a0d2dd67 100644
@@ -342,13 +342,12 @@ last_log_region: memory@ffbc0000 {
 		};
 
 		ramoops: ramoops@ffc00000 {
-			compatible = "removed-dma-pool", "ramoops";
-			reg = <0 0xffc00000 0 0x00100000>;
+			compatible = "ramoops";
+			reg = <0 0xffc00000 0 0x100000>;
 			record-size = <0x1000>;
 			console-size = <0x40000>;
-			ftrace-size = <0x0>;
 			msg-size = <0x20000 0x20000>;
-			cc-size = <0x0>;
+			ecc-size = <16>;
 			no-map;
 		};
 
Signature · 1 line
2.39.2
author maintainer
#17 lore raw

PATCH 17/1001 arm64: dts: qcom: sdm670-google-sargo: keep pm660 ldo8 on

In reply to Greg Kroah-Hartman

From: Richard Acayan <[email protected]>

[ Upstream commit 861b67fbdccd62a9319d7350b1924d95f597db09 ]

According to the downstream device tree, the regulator that powers the I/O for eMMC should not be turned off. Keep it always on just in case the eMMC driver fails and doesn't enable it, or unloads and disables it.

---
 arch/arm64/boot/dts/qcom/sdm670-google-sargo.dts | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/qcom/sdm670-google-sargo.dts +1 -0
index cf2ae540db125..e3e61b9d1b9d7 100644
@@ -256,6 +256,7 @@ vreg_l8a_1p8: ldo8 {
 			regulator-min-microvolt = <1800000>;
 			regulator-max-microvolt = <1800000>;
 			regulator-enable-ramp-delay = <250>;
+			regulator-always-on;
 		};
 
 		vreg_l9a_1p8: ldo9 {
Signature · 1 line
2.39.2
author maintainer
#18 lore raw

PATCH 18/1001 arm64: dts: qcom: Re-enable resin on MSM8998 and SDM845 boards

In reply to Greg Kroah-Hartman

From: Dzmitry Sankouski <[email protected]>

[ Upstream commit 4c881ab73a64cdbf8691e258ef17b740d27040a0 ]

resin node declaration was moved to pm8998.dtsi file (in disabled state). MSM8998 and SDM845 boards defining resin node did not previously have status="okay" and ended up disabled.
Re-enable it by using resin node link from pm8998.dtsi with status="okay".

---
 arch/arm64/boot/dts/qcom/msm8998-fxtec-pro1.dts       | 11 +++--------
 .../boot/dts/qcom/msm8998-sony-xperia-yoshino.dtsi    | 11 +++--------
 arch/arm64/boot/dts/qcom/sdm845-db845c.dts            | 11 +++--------
 arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi        | 11 +++--------
 arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts     | 11 +++--------
 .../boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi | 11 +++--------
 arch/arm64/boot/dts/qcom/sdm845-xiaomi-polaris.dts    | 11 +++--------
 7 files changed, 21 insertions(+), 56 deletions(-)
arch/arm64/boot/dts/qcom/msm8998-fxtec-pro1.dts +3 -8
index 310f7a2df1e83..510d12c8c5126 100644
@@ -364,14 +364,9 @@ cam_snapshot_pin_a: cam-snapshot-btn-active-state {
 	};
 };
 
-&pm8998_pon {
-	resin {
-		compatible = "qcom,pm8941-resin";
-		interrupts = <GIC_SPI 0x8 1 IRQ_TYPE_EDGE_BOTH>;
-		bias-pull-up;
-		debounce = <15625>;
-		linux,code = <KEY_VOLUMEDOWN>;
-	};
+&pm8998_resin {
+	linux,code = <KEY_VOLUMEDOWN>;
+	status = "okay";
 };
 
 &qusb2phy {
arch/arm64/boot/dts/qcom/msm8998-sony-xperia-yoshino.dtsi +3 -8
index 5da87baa2b23b..3bbd5df196bfc 100644
@@ -357,14 +357,9 @@ vib_default: vib-en-state {
 	};
 };
 
-&pm8998_pon {
-	resin {
-		compatible = "qcom,pm8941-resin";
-		interrupts = <GIC_SPI 0x8 1 IRQ_TYPE_EDGE_BOTH>;
-		debounce = <15625>;
-		bias-pull-up;
-		linux,code = <KEY_VOLUMEUP>;
-	};
+&pm8998_resin {
+	linux,code = <KEY_VOLUMEUP>;
+	status = "okay";
 };
 
 &qusb2phy {
arch/arm64/boot/dts/qcom/sdm845-db845c.dts +3 -8
index f41c6d600ea8c..878801f540c54 100644
@@ -615,14 +615,9 @@ vol_up_pin_a: vol-up-active-state {
 	};
 };
 
-&pm8998_pon {
-	resin {
-		compatible = "qcom,pm8941-resin";
-		interrupts = <0x0 0x8 1 IRQ_TYPE_EDGE_BOTH>;
-		debounce = <15625>;
-		bias-pull-up;
-		linux,code = <KEY_VOLUMEDOWN>;
-	};
+&pm8998_resin {
+	linux,code = <KEY_VOLUMEDOWN>;
+	status = "okay";
 };
 
 &pmi8998_lpg {
arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi +3 -8
index 1eb423e4be24c..943287804e1a6 100644
@@ -482,14 +482,9 @@ &mss_pil {
 	status = "okay";
 };
 
-&pm8998_pon {
-	resin {
-		compatible = "qcom,pm8941-resin";
-		interrupts = <0x0 0x8 1 IRQ_TYPE_EDGE_BOTH>;
-		debounce = <15625>;
-		bias-pull-up;
-		linux,code = <KEY_VOLUMEDOWN>;
-	};
+&pm8998_resin {
+	linux,code = <KEY_VOLUMEDOWN>;
+	status = "okay";
 };
 
 &sdhc_2 {
arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts +3 -8
index bb77ccfdc68c0..e6191602c70a8 100644
@@ -522,14 +522,9 @@ pinconf {
 	};
 };
 
-&pm8998_pon {
-	volume_down_resin: resin {
-		compatible = "qcom,pm8941-resin";
-		interrupts = <0x0 0x8 1 IRQ_TYPE_EDGE_BOTH>;
-		debounce = <15625>;
-		bias-pull-up;
-		linux,code = <KEY_VOLUMEDOWN>;
-	};
+&pm8998_resin {
+	linux,code = <KEY_VOLUMEDOWN>;
+	status = "okay";
 };
 
 &pmi8998_lpg {
arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi +3 -8
index eb6b2b676eca4..1b12b1a4dcbc7 100644
@@ -325,14 +325,9 @@ &pmi8998_wled {
 	qcom,cabc;
 };
 
-&pm8998_pon {
-	resin {
-		compatible = "qcom,pm8941-resin";
-		interrupts = <0x0 0x8 1 IRQ_TYPE_EDGE_BOTH>;
-		debounce = <15625>;
-		bias-pull-up;
-		linux,code = <KEY_VOLUMEDOWN>;
-	};
+&pm8998_resin {
+	linux,code = <KEY_VOLUMEDOWN>;
+	status = "okay";
 };
 
 &pmi8998_rradc {
arch/arm64/boot/dts/qcom/sdm845-xiaomi-polaris.dts +3 -8
index 38ba809a95cd6..fba229d0bd108 100644
@@ -530,14 +530,9 @@ pinconf {
 	};
 };
 
-&pm8998_pon {
-	resin {
-		interrupts = <0x0 0x8 1 IRQ_TYPE_EDGE_BOTH>;
-		compatible = "qcom,pm8941-resin";
-		linux,code = <KEY_VOLUMEDOWN>;
-		debounce = <15625>;
-		bias-pull-up;
-	};
+&pm8998_resin {
+	linux,code = <KEY_VOLUMEDOWN>;
+	status = "okay";
 };
 
 &q6afedai {
Signature · 1 line
2.39.2
author maintainer
#19 lore raw

PATCH 19/1001 arm64: dts: qcom: sm8350-sagami: Configure SLG51000 PMIC on PDX215

In reply to Greg Kroah-Hartman

From: Konrad Dybcio <[email protected]>

[ Upstream commit 8875b1d71f112b30e4c7e65ed337096bc0cc396b ]

Remove the mention of this PMIC from the common DTSI, as it's not used on PDX214. Add the required nodes to support it on PDX215.

Stable-dep-of: dcc7cd5c46ca ("arm64: dts: qcom: sm8350-sagami: Rectify GPIO keys")

---
 .../qcom/sm8350-sony-xperia-sagami-pdx215.dts | 66 +++++++++++++++++++
 .../dts/qcom/sm8350-sony-xperia-sagami.dtsi   |  2 +-
 2 files changed, 67 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/qcom/sm8350-sony-xperia-sagami-pdx215.dts +66 -0
index c74c973a69d2d..d4afaa393c9a9 100644
@@ -12,6 +12,72 @@ / {
 	compatible = "sony,pdx215-generic", "qcom,sm8350";
 };
 
+&i2c13 {
+	pmic@75 {
+		compatible = "dlg,slg51000";
+		reg = <0x75>;
+		dlg,cs-gpios = <&pm8350b_gpios 1 GPIO_ACTIVE_HIGH>;
+
+		pinctrl-names = "default";
+		pinctrl-0 = <&cam_pwr_a_cs>;
+
+		regulators {
+			slg51000_a_ldo1: ldo1 {
+				regulator-name = "slg51000_a_ldo1";
+				regulator-min-microvolt = <2400000>;
+				regulator-max-microvolt = <3300000>;
+			};
+
+			slg51000_a_ldo2: ldo2 {
+				regulator-name = "slg51000_a_ldo2";
+				regulator-min-microvolt = <2400000>;
+				regulator-max-microvolt = <3300000>;
+			};
+
+			slg51000_a_ldo3: ldo3 {
+				regulator-name = "slg51000_a_ldo3";
+				regulator-min-microvolt = <1200000>;
+				regulator-max-microvolt = <3750000>;
+			};
+
+			slg51000_a_ldo4: ldo4 {
+				regulator-name = "slg51000_a_ldo4";
+				regulator-min-microvolt = <1200000>;
+				regulator-max-microvolt = <3750000>;
+			};
+
+			slg51000_a_ldo5: ldo5 {
+				regulator-name = "slg51000_a_ldo5";
+				regulator-min-microvolt = <500000>;
+				regulator-max-microvolt = <1200000>;
+			};
+
+			slg51000_a_ldo6: ldo6 {
+				regulator-name = "slg51000_a_ldo6";
+				regulator-min-microvolt = <500000>;
+				regulator-max-microvolt = <1200000>;
+			};
+
+			slg51000_a_ldo7: ldo7 {
+				regulator-name = "slg51000_a_ldo7";
+				regulator-min-microvolt = <1200000>;
+				regulator-max-microvolt = <3750000>;
+			};
+		};
+	};
+};
+
+&pm8350b_gpios {
+	cam_pwr_a_cs: cam-pwr-a-cs-state {
+		pins = "gpio1";
+		function = "normal";
+		qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
+		power-source = <1>;
+		drive-push-pull;
+		output-high;
+	};
+};
+
 &tlmm {
 	gpio-line-names = "APPS_I2C_0_SDA", /* GPIO_0 */
 			  "APPS_I2C_0_SCL",
arch/arm64/boot/dts/qcom/sm8350-sony-xperia-sagami.dtsi +1 -1
index 1f2d660f8f86c..a10306d82a3a1 100644
@@ -3,6 +3,7 @@
  * Copyright (c) 2021, Konrad Dybcio <[email protected]>
  */
 
+#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
 #include "sm8350.dtsi"
 #include "pm8350.dtsi"
@@ -506,7 +507,6 @@ &i2c13 {
 	clock-frequency = <100000>;
 
 	/* Qualcomm PM8008i/PM8008j (?) @ 8, 9, c, d */
-	/* Dialog SLG51000 CMIC @ 75 */
 };
 
 &i2c15 {
Signature · 1 line
2.39.2
author maintainer
#2 lore raw

PATCH 2/1001 HID: asus: use spinlock to safely schedule workers

In reply to Greg Kroah-Hartman

From: Pietro Borrello <[email protected]>

commit 4ab3a086d10eeec1424f2e8a968827a6336203df upstream.

Use spinlocks to deal with workers introducing a wrapper asus_schedule_work(), and several spinlock checks. Otherwise, asus_kbd_backlight_set() may schedule led->work after the structure has been freed, causing a use-after-free.

---
 drivers/hid/hid-asus.c |   15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)
drivers/hid/hid-asus.c +11 -4
@@ -491,6 +491,16 @@ static int rog_nkey_led_init(struct hid_
 	return ret;
 }
 
+static void asus_schedule_work(struct asus_kbd_leds *led)
+{
+	unsigned long flags;
+
+	spin_lock_irqsave(&led->lock, flags);
+	if (!led->removed)
+		schedule_work(&led->work);
+	spin_unlock_irqrestore(&led->lock, flags);
+}
+
 static void asus_kbd_backlight_set(struct led_classdev *led_cdev,
 				   enum led_brightness brightness)
 {
@@ -502,7 +512,7 @@ static void asus_kbd_backlight_set(struc
 	led->brightness = brightness;
 	spin_unlock_irqrestore(&led->lock, flags);
 
-	schedule_work(&led->work);
+	asus_schedule_work(led);
 }
 
 static enum led_brightness asus_kbd_backlight_get(struct led_classdev *led_cdev)
@@ -526,9 +536,6 @@ static void asus_kbd_backlight_work(stru
 	int ret;
 	unsigned long flags;
 
-	if (led->removed)
-		return;
-
 	spin_lock_irqsave(&led->lock, flags);
 	buf[4] = led->brightness;
 	spin_unlock_irqrestore(&led->lock, flags);
author maintainer
#20 lore raw

PATCH 20/1001 arm64: dts: qcom: sm8350-sagami: Add GPIO line names for PMIC GPIOs

In reply to Greg Kroah-Hartman

From: Konrad Dybcio <[email protected]>

[ Upstream commit 7c679f2a2af84edbec0c28171af8c42c6da9af14 ]

Sony ever so graciously provides GPIO line names in their downstream kernel (though sometimes they are not 100% accurate and you can judge that by simply looking at them and with what drivers they are used).

Add these to the PDX213&214 DTSIs to better document the hardware.

Diff between 223 and 224:

pm8350b
< gpio-line-names = "NC", /* GPIO_1 */

Quoted 1 line
	gpio-line-names = "CAM_PWR_A_CS", /* GPIO_1 */

< "NC",

Quoted 1 line
			  "CAM_PWR_LD_EN",

pm8350c
< "NC",

Quoted 1 line
			  "WLC_TXPWR_EN",

Which is due to different camera power wiring on 213 and lack of an additional SLG51000 PMIC on 214.

Stable-dep-of: dcc7cd5c46ca ("arm64: dts: qcom: sm8350-sagami: Rectify GPIO keys")

---
 .../qcom/sm8350-sony-xperia-sagami-pdx214.dts | 23 +++++++++++++++++++
 .../qcom/sm8350-sony-xperia-sagami-pdx215.dts | 21 +++++++++++++++++
 .../dts/qcom/sm8350-sony-xperia-sagami.dtsi   | 20 ++++++++++++++++
 3 files changed, 64 insertions(+)
arch/arm64/boot/dts/qcom/sm8350-sony-xperia-sagami-pdx214.dts +23 -0
index cc650508dc2d6..e6824c8c2774d 100644
@@ -17,3 +17,26 @@ &framebuffer {
 	height = <2520>;
 	stride = <(1080 * 4)>;
 };
+
+&pm8350b_gpios {
+	gpio-line-names = "NC", /* GPIO_1 */
+			  "NC",
+			  "NC",
+			  "NC",
+			  "SNAPSHOT_N",
+			  "NC",
+			  "NC",
+			  "FOCUS_N";
+};
+
+&pm8350c_gpios {
+	gpio-line-names = "FL_STROBE_TRIG_WIDE", /* GPIO_1 */
+			  "FL_STROBE_TRIG_TELE",
+			  "NC",
+			  "NC",
+			  "NC",
+			  "RGBC_IR_PWR_EN",
+			  "NC",
+			  "NC",
+			  "WIDEC_PWR_EN";
+};
arch/arm64/boot/dts/qcom/sm8350-sony-xperia-sagami-pdx215.dts +21 -0
index d4afaa393c9a9..c6f402c3ef352 100644
@@ -68,6 +68,15 @@ slg51000_a_ldo7: ldo7 {
 };
 
 &pm8350b_gpios {
+	gpio-line-names = "CAM_PWR_A_CS", /* GPIO_1 */
+			  "NC",
+			  "NC",
+			  "NC",
+			  "SNAPSHOT_N",
+			  "CAM_PWR_LD_EN",
+			  "NC",
+			  "FOCUS_N";
+
 	cam_pwr_a_cs: cam-pwr-a-cs-state {
 		pins = "gpio1";
 		function = "normal";
@@ -78,6 +87,18 @@ cam_pwr_a_cs: cam-pwr-a-cs-state {
 	};
 };
 
+&pm8350c_gpios {
+	gpio-line-names = "FL_STROBE_TRIG_WIDE", /* GPIO_1 */
+			  "FL_STROBE_TRIG_TELE",
+			  "NC",
+			  "WLC_TXPWR_EN",
+			  "NC",
+			  "RGBC_IR_PWR_EN",
+			  "NC",
+			  "NC",
+			  "WIDEC_PWR_EN";
+};
+
 &tlmm {
 	gpio-line-names = "APPS_I2C_0_SDA", /* GPIO_0 */
 			  "APPS_I2C_0_SCL",
arch/arm64/boot/dts/qcom/sm8350-sony-xperia-sagami.dtsi +20 -0
index a10306d82a3a1..41c4101ec8f08 100644
@@ -534,6 +534,26 @@ &mpss {
 	firmware-name = "qcom/sm8350/Sony/sagami/modem.mbn";
 };
 
+&pm8350_gpios {
+	gpio-line-names = "ASSIGN1_THERM", /* GPIO_1 */
+			  "LCD_ID",
+			  "SDR_MMW_THERM",
+			  "RF_ID",
+			  "NC",
+			  "FP_LDO_EN",
+			  "SP_ARI_PWR_ALARM",
+			  "NC",
+			  "G_ASSIST_N",
+			  "PM8350_OPTION"; /* GPIO_10 */
+};
+
+&pmk8350_gpios {
+	gpio-line-names = "NC", /* GPIO_1 */
+			  "NC",
+			  "VOL_DOWN_N",
+			  "PMK8350_OPTION";
+};
+
 &pmk8350_rtc {
 	status = "okay";
 };
Signature · 1 line
2.39.2
author maintainer
#21 lore raw

PATCH 21/1001 arm64: dts: qcom: sm8350-sagami: Rectify GPIO keys

In reply to Greg Kroah-Hartman

From: Konrad Dybcio <[email protected]>

[ Upstream commit dcc7cd5c46ca5e7bb8e4910ed8259597439c7246 ]

With enough pins set properly, the hardware buttons now also work like a charm.

---
 .../dts/qcom/sm8350-sony-xperia-sagami.dtsi   | 66 ++++++++++++++++++-
 1 file changed, 64 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/qcom/sm8350-sony-xperia-sagami.dtsi +64 -2
index 41c4101ec8f08..8df6ccbedfae7 100644
@@ -49,7 +49,35 @@ framebuffer: framebuffer@e1000000 {
 	gpio-keys {
 		compatible = "gpio-keys";
 
-		/* For reasons still unknown, GAssist key and Camera Focus/Shutter don't work.. */
+		pinctrl-names = "default";
+		pinctrl-0 = <&focus_n &snapshot_n &vol_down_n &g_assist_n>;
+
+		key-camera-focus {
+			label = "Camera Focus";
+			linux,code = <KEY_CAMERA_FOCUS>;
+			gpios = <&pm8350b_gpios 8 GPIO_ACTIVE_LOW>;
+			debounce-interval = <15>;
+			linux,can-disable;
+			wakeup-source;
+		};
+
+		key-camera-snapshot {
+			label = "Camera Snapshot";
+			linux,code = <KEY_CAMERA>;
+			gpios = <&pm8350b_gpios 5 GPIO_ACTIVE_LOW>;
+			debounce-interval = <15>;
+			linux,can-disable;
+			wakeup-source;
+		};
+
+		key-google-assist {
+			label = "Google Assistant Key";
+			gpios = <&pm8350_gpios 9 GPIO_ACTIVE_LOW>;
+			linux,code = <KEY_LEFTMETA>;
+			debounce-interval = <15>;
+			linux,can-disable;
+			wakeup-source;
+		};
 
 		key-vol-down {
 			label = "Volume Down";
@@ -57,7 +85,7 @@ key-vol-down {
 			gpios = <&pmk8350_gpios 3 GPIO_ACTIVE_LOW>;
 			debounce-interval = <15>;
 			linux,can-disable;
-			gpio-key,wakeup;
+			wakeup-source;
 		};
 	};
 
@@ -545,6 +573,32 @@ &pm8350_gpios {
 			  "NC",
 			  "G_ASSIST_N",
 			  "PM8350_OPTION"; /* GPIO_10 */
+
+	g_assist_n: g-assist-n-state {
+		pins = "gpio9";
+		function = "normal";
+		power-source = <1>;
+		bias-pull-up;
+		input-enable;
+	};
+};
+
+&pm8350b_gpios {
+	snapshot_n: snapshot-n-state {
+		pins = "gpio5";
+		function = "normal";
+		power-source = <0>;
+		bias-pull-up;
+		input-enable;
+	};
+
+	focus_n: focus-n-state {
+		pins = "gpio8";
+		function = "normal";
+		power-source = <0>;
+		input-enable;
+		bias-pull-up;
+	};
 };
 
 &pmk8350_gpios {
@@ -552,6 +606,14 @@ &pmk8350_gpios {
 			  "NC",
 			  "VOL_DOWN_N",
 			  "PMK8350_OPTION";
+
+	vol_down_n: vol-down-n-state {
+		pins = "gpio3";
+		function = "normal";
+		power-source = <0>;
+		bias-pull-up;
+		input-enable;
+	};
 };
 
 &pmk8350_rtc {
Signature · 1 line
2.39.2
author maintainer
#3 lore raw

PATCH 3/1001 iommu/amd: Fix error handling for pdev_pri_ats_enable()

In reply to Greg Kroah-Hartman

From: Vasant Hegde <[email protected]>

commit 080920e52148b4fbbf9360d5345fdcd7846e4841 upstream.

Current code throws kernel warning if it fails to enable pasid/pri [1]. Do not call pci_disable_[pasid/pri] if pci_enable_[pasid/pri] failed.

[1] https://lore.kernel.org/linux-iommu/[email protected]/

---
 drivers/iommu/amd/iommu.c |   12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)
drivers/iommu/amd/iommu.c +7 -5
@@ -1702,27 +1702,29 @@ static int pdev_pri_ats_enable(struct pc
 	/* Only allow access to user-accessible pages */
 	ret = pci_enable_pasid(pdev, 0);
 	if (ret)
-		goto out_err;
+		return ret;
 
 	/* First reset the PRI state of the device */
 	ret = pci_reset_pri(pdev);
 	if (ret)
-		goto out_err;
+		goto out_err_pasid;
 
 	/* Enable PRI */
 	/* FIXME: Hardcode number of outstanding requests for now */
 	ret = pci_enable_pri(pdev, 32);
 	if (ret)
-		goto out_err;
+		goto out_err_pasid;
 
 	ret = pci_enable_ats(pdev, PAGE_SHIFT);
 	if (ret)
-		goto out_err;
+		goto out_err_pri;
 
 	return 0;
 
-out_err:
+out_err_pri:
 	pci_disable_pri(pdev);
+
+out_err_pasid:
 	pci_disable_pasid(pdev);
 
 	return ret;
author maintainer
#4 lore raw

PATCH 4/1001 iommu/amd: Skip attach device domain is same as new domain

In reply to Greg Kroah-Hartman

From: Vasant Hegde <[email protected]>

commit f451c7a5a3b818ecfeba2ba258570769998baf3a upstream.

If device->domain is same as new domain then we can skip the device attach process.

---
 drivers/iommu/amd/iommu.c |    7 +++++++
 1 file changed, 7 insertions(+)
drivers/iommu/amd/iommu.c +7 -0
@@ -2161,6 +2161,13 @@ static int amd_iommu_attach_device(struc
 	struct amd_iommu *iommu = rlookup_amd_iommu(dev);
 	int ret;
 
+	/*
+	 * Skip attach device to domain if new domain is same as
+	 * devices current domain
+	 */
+	if (dev_data->domain == domain)
+		return 0;
+
 	dev_data->defer_attach = false;
 
 	if (dev_data->domain)
author maintainer
#5 lore raw

PATCH 5/1001 iommu/amd: Improve page fault error reporting

In reply to Greg Kroah-Hartman

From: Vasant Hegde <[email protected]>

commit 996d120b4de2b0d6b592bd9fbbe6e244b81ab3cc upstream.

If IOMMU domain for device group is not setup properly then we may hit IOMMU page fault. Current page fault handler assumes that domain is always setup and it will hit NULL pointer derefence (see below sample log).

Lets check whether domain is setup or not and log appropriate message.

Sample log:
----------
amdgpu 0000:00:01.0: amdgpu: SE 1, SH per SE 1, CU per SH 8, active_cu_number 6

 BUG: kernel NULL pointer dereference, address: 0000000000000058
 #PF: supervisor read access in kernel mode
 #PF: error_code(0x0000) - not-present page
 PGD 0 P4D 0
 Oops: 0000 [#1] PREEMPT SMP NOPTI
 CPU: 2 PID: 56 Comm: irq/24-AMD-Vi Not tainted 6.2.0-rc2+ #89
 Hardware name: xxx
 RIP: 0010:report_iommu_fault+0x11/0x90
 [...]
 Call Trace:
  <TASK>
  amd_iommu_int_thread+0x60c/0x760
  ? __pfx_irq_thread_fn+0x10/0x10
  irq_thread_fn+0x1f/0x60
  irq_thread+0xea/0x1a0
  ? preempt_count_add+0x6a/0xa0
  ? __pfx_irq_thread_dtor+0x10/0x10
  ? __pfx_irq_thread+0x10/0x10
  kthread+0xe9/0x110
  ? __pfx_kthread+0x10/0x10
  ret_from_fork+0x2c/0x50
  </TASK>
---
 drivers/iommu/amd/iommu.c |    9 +++++++++
 1 file changed, 9 insertions(+)
drivers/iommu/amd/iommu.c +9 -0
@@ -558,6 +558,15 @@ static void amd_iommu_report_page_fault(
 		 * prevent logging it.
 		 */
 		if (IS_IOMMU_MEM_TRANSACTION(flags)) {
+			/* Device not attached to domain properly */
+			if (dev_data->domain == NULL) {
+				pr_err_ratelimited("Event logged [Device not attached to domain properly]\n");
+				pr_err_ratelimited("  device=%04x:%02x:%02x.%x domain=0x%04x\n",
+						   iommu->pci_seg->id, PCI_BUS_NUM(devid), PCI_SLOT(devid),
+						   PCI_FUNC(devid), domain_id);
+				goto out;
+			}
+
 			if (!report_iommu_fault(&dev_data->domain->domain,
 						&pdev->dev, address,
 						IS_WRITE_REQUEST(flags) ?
author maintainer
#6 lore raw

PATCH 6/1001 iommu: Attach device group to old domain in error path

In reply to Greg Kroah-Hartman

From: Vasant Hegde <[email protected]>

commit 2cc73c5712f97de98c38c2fafc1f288354a9f3c3 upstream.

iommu_attach_group() attaches all devices in a group to domain and then sets group domain (group->domain). Current code (__iommu_attach_group()) does not handle error path. This creates problem as devices to domain attachment is in inconsistent state.

Flow:
- During boot iommu attach devices to default domain
- Later some device driver (like amd/iommu_v2 or vfio) tries to attach device to new domain.
- In iommu_attach_group() path we detach device from current domain. Then it tries to attach devices to new domain.
- If it fails to attach device to new domain then device to domain link is broken.
- iommu_attach_group() returns error.
- At this stage iommu_attach_group() caller thinks, attaching device to new domain failed and devices are still attached to old domain.
- But in reality device to old domain link is broken. It will result in all sort of failures (like IO page fault) later.

To recover from this situation, we need to attach all devices back to the old domain. Also log warning if it fails attach device back to old domain.

---
 drivers/iommu/iommu.c |   16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)
drivers/iommu/iommu.c +15 -1
@@ -2124,8 +2124,22 @@ static int __iommu_attach_group(struct i
 
 	ret = __iommu_group_for_each_dev(group, domain,
 					 iommu_group_do_attach_device);
-	if (ret == 0)
+	if (ret == 0) {
 		group->domain = domain;
+	} else {
+		/*
+		 * To recover from the case when certain device within the
+		 * group fails to attach to the new domain, we need force
+		 * attaching all devices back to the old domain. The old
+		 * domain is compatible for all devices in the group,
+		 * hence the iommu driver should always return success.
+		 */
+		struct iommu_domain *old_domain = group->domain;
+
+		group->domain = NULL;
+		WARN(__iommu_group_set_domain(group, old_domain),
+		     "iommu driver failed to attach a compatible domain");
+	}
 
 	return ret;
 }
author maintainer
#7 lore raw

PATCH 7/1001 powerpc/mm: Rearrange if-else block to avoid clang warning

In reply to Greg Kroah-Hartman

From: Anders Roxell <[email protected]>

commit d78c8e32890ef7eca79ffd67c96022c7f9d8cce4 upstream.

Clang warns:

arch/powerpc/mm/book3s64/radix_tlb.c:1191:23: error: variable 'hstart' is uninitialized when used here
__tlbiel_va_range(hstart, hend, pid,
^~~~~~
arch/powerpc/mm/book3s64/radix_tlb.c:1191:31: error: variable 'hend' is uninitialized when used here
__tlbiel_va_range(hstart, hend, pid,
^~~~

Rework the 'if (IS_ENABLE(CONFIG_TRANSPARENT_HUGEPAGE))' so hstart/hend is always initialized to silence the warnings. That will also simplify the 'else' path. Clang is getting confused with these warnings, but the warnings is a false-positive.

---
 arch/powerpc/mm/book3s64/radix_tlb.c |   11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)
arch/powerpc/mm/book3s64/radix_tlb.c +4 -7
@@ -1179,15 +1179,12 @@ static inline void __radix__flush_tlb_ra
 			}
 		}
 	} else {
-		bool hflush = false;
+		bool hflush;
 		unsigned long hstart, hend;
 
-		if (IS_ENABLED(CONFIG_TRANSPARENT_HUGEPAGE)) {
-			hstart = (start + PMD_SIZE - 1) & PMD_MASK;
-			hend = end & PMD_MASK;
-			if (hstart < hend)
-				hflush = true;
-		}
+		hstart = (start + PMD_SIZE - 1) & PMD_MASK;
+		hend = end & PMD_MASK;
+		hflush = IS_ENABLED(CONFIG_TRANSPARENT_HUGEPAGE) && hstart < hend;
 
 		if (type == FLUSH_TYPE_LOCAL) {
 			asm volatile("ptesync": : :"memory");
author maintainer
#8 lore raw

PATCH 8/1001 ata: ahci: Revert "ata: ahci: Add Tiger Lake UP{3,4} AHCI controller"

In reply to Greg Kroah-Hartman

From: Damien Le Moal <[email protected]>

commit 6210038aeaf49c395c2da57572246d93ec67f6d4 upstream.

Commit 104ff59af73a ("ata: ahci: Add Tiger Lake UP{3,4} AHCI controller") enabled low power mode for the Tiger Lake AHIC adapter in the author system but created regressions for others. Revert this patch for now until a better solution is found to make this adapter eco-friendly.

---
 drivers/ata/ahci.c |    1 -
 1 file changed, 1 deletion(-)
drivers/ata/ahci.c +0 -1
@@ -421,7 +421,6 @@ static const struct pci_device_id ahci_p
 	{ PCI_VDEVICE(INTEL, 0x34d3), board_ahci_low_power }, /* Ice Lake LP AHCI */
 	{ PCI_VDEVICE(INTEL, 0x02d3), board_ahci_low_power }, /* Comet Lake PCH-U AHCI */
 	{ PCI_VDEVICE(INTEL, 0x02d7), board_ahci_low_power }, /* Comet Lake PCH RAID */
-	{ PCI_VDEVICE(INTEL, 0xa0d3), board_ahci_low_power }, /* Tiger Lake UP{3,4} AHCI */
 
 	/* JMicron 360/1/3/5/6, match class to avoid IDE function */
 	{ PCI_VENDOR_ID_JMICRON, PCI_ANY_ID, PCI_ANY_ID, PCI_ANY_ID,
author maintainer
#9 lore raw

PATCH 9/1001 ARM: OMAP2+: Fix memory leak in realtime_counter_init()

In reply to Greg Kroah-Hartman

From: Chen Hui <[email protected]>

[ Upstream commit ed8167cbf65c2b6ff6faeb0f96ded4d6d581e1ac ]

The "sys_clk" resource is malloced by clk_get(),
it is not released when the function return.

Fixes fa6d79d27614 ("ARM: OMAP: Add initialisation for the real-time counter.")

Message-Id: <[email protected]>

---
 arch/arm/mach-omap2/timer.c | 1 +
 1 file changed, 1 insertion(+)
arch/arm/mach-omap2/timer.c +1 -0
index 620ba69c8f114..5677c4a08f376 100644
@@ -76,6 +76,7 @@ static void __init realtime_counter_init(void)
 	}
 
 	rate = clk_get_rate(sys_clk);
+	clk_put(sys_clk);
 
 	if (soc_is_dra7xx()) {
 		/*
Signature · 1 line
2.39.2

Greg Kroah-Hartman

author maintainer
#0 lore raw

cover 6.2.3-rc1 review

This is the start of the stable review cycle for the 6.2.3 release. There are 1001 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know.

Responses should be made by Thu, 09 Mar 2023 16:57:34 +0000. Anything received after that time might be too late.

The whole patch series can be found in one patch at:

	https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.2.3-rc1.gz

or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-6.2.y
and the diffstat can be found below.

thanks,

greg k-h

-------------
Pseudo-Shortlog of commits:

Greg Kroah-Hartman <[email protected]>

    Linux 6.2.3-rc1

Jani Nikula <[email protected]>
drm/edid: fix parsing of 3D modes from HDMI VSDB

Jani Nikula <[email protected]>
drm/edid: fix AVI infoframe aspect ratio handling

Noralf Trønnes <[email protected]>
drm/gud: Fix UBSAN warning

John Harrison <[email protected]>
drm/i915: Don't use BAR mappings for ring buffers with LLC

John Harrison <[email protected]>
drm/i915: Don't use stolen memory for ring buffers with LLC

Mark Hawrylak <[email protected]>
drm/radeon: Fix eDP for single-display iMac11,2

Mavroudis Chatzilaridis <[email protected]>
drm/i915/quirks: Add inverted backlight quirk for HP 14-r206nv

Mario Limonciello <[email protected]>
drm/amd: Fix initialization for nbio 7.5.1

Steve Sistare <[email protected]>
vfio/type1: restore locked_vm

Steve Sistare <[email protected]>
vfio/type1: track locked_vm per dma

Steve Sistare <[email protected]>
vfio/type1: prevent underflow of locked_vm via exec()

Steve Sistare <[email protected]>
vfio/type1: exclude mdevs from VFIO_UPDATE_VADDR

Jacob Pan <[email protected]>
iommu/vt-d: Fix PASID directory pointer coherency

Jacob Pan <[email protected]>
iommu/vt-d: Avoid superfluous IOTLB tracking in lazy mode

Jason Gunthorpe <[email protected]>

    iommufd: Do not add the same hwpt to the ioas->hwpt_list twice

Jason Gunthorpe <[email protected]>
iommufd: Make sure to zero vfio_iommu_type1_info before copying to user

Manivannan Sadhasivam <[email protected]>
bus: mhi: ep: Save channel state locally during suspend and resume

Manivannan Sadhasivam <[email protected]>

    bus: mhi: ep: Move chan->lock to the start of processing queued ch ring

Manivannan Sadhasivam <[email protected]>
bus: mhi: ep: Only send -ENOTCONN status if client driver is available

Lukas Wunner <[email protected]>
PCI/DPC: Await readiness of secondary bus after reset

Damien Le Moal <[email protected]>
PCI: Avoid FLR for AMD FCH AHCI adapters

Lukas Wunner <[email protected]>
PCI: hotplug: Allow marking devices as disconnected during bind/unbind

Lukas Wunner <[email protected]>
PCI: Unify delay handling for reset and resume

Lukas Wunner <[email protected]>
PCI/PM: Observe reset delay irrespective of bridge_d3

H. Nikolaus Schaller <[email protected]>
MIPS: DTS: CI20: fix otg power gpio

Guo Ren <[email protected]>
riscv: ftrace: Reduce the detour code size to half

Guo Ren <[email protected]>
riscv: ftrace: Remove wasted nops for !RISCV_ISA_C

Björn Töpel <[email protected]>
riscv, mm: Perform BPF exhandler fixup on page fault

Andy Chiu <[email protected]>
riscv: ftrace: Fixup panic by disabling preemption

Andy Chiu <[email protected]>
riscv: jump_label: Fixup unaligned arch_static_branch function

Sergey Matyukevich <[email protected]>
riscv: mm: fix regression due to update_mmu_cache change

Mattias Nissler <[email protected]>
riscv: Avoid enabling interrupts in die()

Conor Dooley <[email protected]>
RISC-V: add a spin_shadow_stack declaration

Tomas Henzl <[email protected]>
scsi: ses: Fix slab-out-of-bounds in ses_intf_remove()

Tomas Henzl <[email protected]>
scsi: ses: Fix possible desc_ptr out-of-bounds accesses

Tomas Henzl <[email protected]>
scsi: ses: Fix possible addl_desc_ptr out-of-bounds accesses

Tomas Henzl <[email protected]>
scsi: ses: Fix slab-out-of-bounds in ses_enclosure_data_process()

James Bottomley <[email protected]>
scsi: ses: Don't attach if enclosure has no components

Saurav Kashyap <[email protected]>
scsi: qla2xxx: Remove increment of interface err cnt

Quinn Tran <[email protected]>
scsi: qla2xxx: Fix erroneous link down

Quinn Tran <[email protected]>
scsi: qla2xxx: Remove unintended flag clearing

Arun Easi <[email protected]>
scsi: qla2xxx: Fix DMA-API call trace on NVMe LS requests

Shreyas Deodhar <[email protected]>
scsi: qla2xxx: Check if port is online before sending ELS

Quinn Tran <[email protected]>
scsi: qla2xxx: Fix link failure in NPIV environment

Bart Van Assche <[email protected]>

    scsi: core: Remove the /proc/scsi/${proc_name} directory earlier

Kees Cook <[email protected]>
scsi: aacraid: Allocate cmd_priv with scsicmd

Gavrilov Ilia <[email protected]>
iommu/amd: Add a length limitation for the ivrs_acpihid command-line parameter

Masami Hiramatsu (Google) <[email protected]>
tracing/eprobe: Fix to add filter on eprobe description in README file

Antonio Alvarez Feijoo <[email protected]>
tools/bootconfig: fix single & used for logical condition

Mukesh Ojha <[email protected]>
ring-buffer: Handle race between rb_move_tail and rb_check_pages

Tong Tiangen <[email protected]>
memory tier: release the new_memtier in find_create_memory_tier()

Steven Rostedt <[email protected]>
ktest.pl: Add RUN_TIMEOUT option with default unlimited

Steven Rostedt <[email protected]>
ktest.pl: Fix missing "end_monitor" when machine check fails

Masami Hiramatsu (Google) <[email protected]>
kprobes: Fix to handle forcibly unoptimized kprobes on freeing_list

Steven Rostedt <[email protected]>
ktest.pl: Give back console on Ctrt^C on monitor

Yin Fengwei <[email protected]>
mm/thp: check and bail out if page in deferred queue already

Johannes Weiner <[email protected]>
mm: memcontrol: deprecate charge moving

John Ogness <[email protected]>
docs: gdbmacros: print newest record

Yan Zhao <[email protected]>

    vfio: Fix NULL pointer dereference caused by uninitialized group->iommufd

Chen-Yu Tsai <[email protected]>
remoteproc/mtk_scp: Move clk ops outside send_lock

Sakari Ailus <[email protected]>
media: ipu3-cio2: Fix PM runtime usage_count in driver unbind

Elvira Khabirova <[email protected]>
mips: fix syscall_get_nr

Dan Williams <[email protected]>
dax/kmem: Fix leak of memory-hotplug resources

Al Viro <[email protected]>
alpha: fix FEN fault handling

Dhruva Gole <[email protected]>
spi: spi-sn-f-ospi: fix duplicate flag while assigning to mode_bits

Marc Zyngier <[email protected]>
genirq/msi: Take the per-device MSI lock before validating the control structure

Thomas Gleixner <[email protected]>
genirq/msi, platform-msi: Ensure that MSI descriptors are unreferenced

Naoya Horiguchi <[email protected]>
mm/hwpoison: convert TTU_IGNORE_HWPOISON to TTU_HWPOISON

Guilherme G. Piccoli <[email protected]>
panic: fix the panic_print NMI backtrace setting

Matthias Kaehlcke <[email protected]>
regulator: core: Use ktime_get_boottime() to determine how long a regulator was off

Xiubo Li <[email protected]>
ceph: update the time stamps and try to drop the suid/sgid

Ilya Dryomov <[email protected]>
rbd: avoid use-after-free in do_rbd_add() when rbd_dev_create() fails

Alexander Mikhalitsyn <[email protected]>
fuse: add inode/permission checks to fileattr_get/fileattr_set

Peter Collingbourne <[email protected]>
arm64: Reset KASAN tag in copy_highpage with HW tags only

Catalin Marinas <[email protected]>
arm64: mm: hugetlb: Disable HUGETLB_PAGE_OPTIMIZE_VMEMMAP

Sudeep Holla <[email protected]>
arm64: acpi: Fix possible memory leak of ffh_ctxt

Krzysztof Kozlowski <[email protected]>
ARM: dts: exynos: correct TMU phandle in Odroid HC1

Krzysztof Kozlowski <[email protected]>
ARM: dts: exynos: correct TMU phandle in Odroid XU

Krzysztof Kozlowski <[email protected]>
ARM: dts: exynos: correct TMU phandle in Exynos5250

Krzysztof Kozlowski <[email protected]>
ARM: dts: exynos: correct TMU phandle in Odroid XU3 family

Krzysztof Kozlowski <[email protected]>
ARM: dts: exynos: correct TMU phandle in Exynos4

Krzysztof Kozlowski <[email protected]>
ARM: dts: exynos: correct TMU phandle in Exynos4210

Manivannan Sadhasivam <[email protected]>
ARM: dts: qcom: sdx55: Add Qcom SMMU-500 as the fallback for IOMMU node

Manivannan Sadhasivam <[email protected]>
ARM: dts: qcom: sdx65: Add Qcom SMMU-500 as the fallback for IOMMU node

Mika Westerberg <[email protected]>
spi: intel: Check number of chip selects after reading the descriptor

Zev Weiss <[email protected]>
hwmon: (nct6775) Fix incorrect parenthesization in nct6775_write_fan_div()

Zev Weiss <[email protected]>
hwmon: (peci/cputemp) Fix off-by-one in coretemp_label allocation

Mikulas Patocka <[email protected]>
dm flakey: fix a bug with 32-bit highmem systems

Mikulas Patocka <[email protected]>
dm flakey: don't corrupt the zero page

Joe Thornber <[email protected]>
dm cache: free background tracker's queued work in btracker_destroy

Mikulas Patocka <[email protected]>
dm flakey: fix logic when corrupting a bio

Srinivas Pandruvada <[email protected]>
thermal: intel: powerclamp: Fix cur_state for multi package system

Manish Chopra <[email protected]>
qede: fix interrupt coalescing configuration

Arnd Bergmann <[email protected]>
cpuidle: add ARCH_SUSPEND_POSSIBLE dependencies

Marc Bornand <[email protected]>
wifi: cfg80211: Set SSID if it is not already set

Alexander Wetzel <[email protected]>
wifi: cfg80211: Fix use after free for wext

Len Brown <[email protected]>
wifi: ath11k: allow system suspend to survive ath11k

Bitterblue Smith <[email protected]>
wifi: rtl8xxxu: Use a longer retry limit of 48

Ping-Ke Shih <[email protected]>
wifi: rtw88: use RTW_FLAG_POWERON flag to prevent to power on/off twice

Mike Snitzer <[email protected]>
dm: add cond_resched() to dm_wq_requeue_work()

Pingfan Liu <[email protected]>
dm: add cond_resched() to dm_wq_work()

Mikulas Patocka <[email protected]>
dm: send just one event on resize, not two

Louis Rannou <[email protected]>
mtd: spi-nor: Fix shift-out-of-bounds in spi_nor_set_erase_type

Tudor Ambarus <[email protected]>
mtd: spi-nor: spansion: Consider reserved bits in CFR5 register

Takahiro Kuwano <[email protected]>
mtd: spi-nor: sfdp: Fix index value for SCCR dwords

Dmitry Torokhov <[email protected]>
Input: exc3000 - properly stop timer on shutdown

Dan Williams <[email protected]>
cxl/pmem: Fix nvdimm registration races

Jan Kara <[email protected]>
ext4: Fix possible corruption when moving a directory

Jun Nie <[email protected]>
ext4: refuse to create ea block when umounted

Jun Nie <[email protected]>
ext4: optimize ea_inode block expansion

Zhihao Cheng <[email protected]>
jbd2: fix data missing when reusing bh which is ready to be checkpointed

Łukasz Stelmach <[email protected]>
ALSA: hda/realtek: Add quirk for HP EliteDesk 800 G6 Tower PC

Dmitry Fomin <[email protected]>

    ALSA: ice1712: Do not left ice->gpio_mutex locked in aureon_add_controls()

andrew.yang <[email protected]>
mm/damon/paddr: fix missing folio_put()

Giovanni Cabiddu <[email protected]>
crypto: qat - fix out-of-bounds read

Marc Zyngier <[email protected]>
irqdomain: Fix domain registration race

Johan Hovold <[email protected]>
irqdomain: Fix mapping-creation race

Johan Hovold <[email protected]>
irqdomain: Refactor __irq_domain_alloc_irqs()

Johan Hovold <[email protected]>
irqdomain: Drop bogus fwspec-mapping error handling

Johan Hovold <[email protected]>
irqdomain: Look for existing mapping only once

Johan Hovold <[email protected]>
irqdomain: Fix disassociation race

Johan Hovold <[email protected]>
irqdomain: Fix association race

Mathieu Desnoyers <[email protected]>
selftests: seccomp: Fix incorrect kernel headers search path

Mathieu Desnoyers <[email protected]>
selftests: vm: Fix incorrect kernel headers search path

Mathieu Desnoyers <[email protected]>
selftests: dmabuf-heaps: Fix incorrect kernel headers search path

Mathieu Desnoyers <[email protected]>
selftests: drivers: Fix incorrect kernel headers search path

Mathieu Desnoyers <[email protected]>
selftests: futex: Fix incorrect kernel headers search path

Mathieu Desnoyers <[email protected]>
selftests: ipc: Fix incorrect kernel headers search path

Mathieu Desnoyers <[email protected]>
selftests: perf_events: Fix incorrect kernel headers search path

Mathieu Desnoyers <[email protected]>
selftests: mount_setattr: Fix incorrect kernel headers search path

Mathieu Desnoyers <[email protected]>
selftests: move_mount_set_group: Fix incorrect kernel headers search path

Mathieu Desnoyers <[email protected]>
selftests: rseq: Fix incorrect kernel headers search path

Mathieu Desnoyers <[email protected]>
selftests: sync: Fix incorrect kernel headers search path

Mathieu Desnoyers <[email protected]>
selftests: ptp: Fix incorrect kernel headers search path

Mathieu Desnoyers <[email protected]>
selftests: user_events: Fix incorrect kernel headers search path

Mathieu Desnoyers <[email protected]>
selftests: filesystems: Fix incorrect kernel headers search path

Mathieu Desnoyers <[email protected]>
selftests: gpio: Fix incorrect kernel headers search path

Mathieu Desnoyers <[email protected]>
selftests: media_tests: Fix incorrect kernel headers search path

Mathieu Desnoyers <[email protected]>
selftests: kcmp: Fix incorrect kernel headers search path

Mathieu Desnoyers <[email protected]>
selftests: membarrier: Fix incorrect kernel headers search path

Mathieu Desnoyers <[email protected]>
selftests: pidfd: Fix incorrect kernel headers search path

Mathieu Desnoyers <[email protected]>
selftests: clone3: Fix incorrect kernel headers search path

Mathieu Desnoyers <[email protected]>
selftests: arm64: Fix incorrect kernel headers search path

Mathieu Desnoyers <[email protected]>
selftests: pid_namespace: Fix incorrect kernel headers search path

Mathieu Desnoyers <[email protected]>
selftests: core: Fix incorrect kernel headers search path

Mathieu Desnoyers <[email protected]>
selftests: sched: Fix incorrect kernel headers search path

Masami Hiramatsu (Google) <[email protected]>
selftests/ftrace: Fix eprobe syntax test case to check filter support

Mathieu Desnoyers <[email protected]>
selftests/powerpc: Fix incorrect kernel headers search path

Pali Rohár <[email protected]>
powerpc/boot: Don't always pass -mcpu=powerpc when building 32-bit uImage

Roberto Sassu <[email protected]>
ima: Align ima_file_mmap() parameters with mmap_file LSM hook

Matt Bobrowski <[email protected]>
ima: fix error handling logic when file measurement failed

Jens Axboe <[email protected]>
brd: check for REQ_NOWAIT and set correct page allocation mask

Jens Axboe <[email protected]>
brd: return 0/-error from brd_insert_page()

Jens Axboe <[email protected]>
brd: mark as nowait compatible

Tom Lendacky <[email protected]>
virt/sev-guest: Return -EIO if certificate buffer is not large enough

KP Singh <[email protected]>
Documentation/hw-vuln: Document the interaction between IBRS and STIBP

KP Singh <[email protected]>
x86/speculation: Allow enabling STIBP with legacy IBRS

Borislav Petkov (AMD) <[email protected]>
x86/microcode/AMD: Fix mixed steppings support

Borislav Petkov (AMD) <[email protected]>
x86/microcode/AMD: Add a @cpu parameter to the reloading functions

Borislav Petkov (AMD) <[email protected]>
x86/microcode/amd: Remove load_microcode_amd()'s bsp parameter

Yang Jihong <[email protected]>
x86/kprobes: Fix arch_check_optimized_kprobe check within optimized_kprobe range

Yang Jihong <[email protected]>
x86/kprobes: Fix __recover_optprobed_insn check optimizing logic

Sean Christopherson <[email protected]>
x86/reboot: Disable SVM, not just VMX, when stopping CPUs

Sean Christopherson <[email protected]>
x86/reboot: Disable virtualization in an emergency if SVM is supported

Sean Christopherson <[email protected]>
x86/crash: Disable virt in core NMI crash handler to avoid double shootdown

Sean Christopherson <[email protected]>
x86/virt: Force GIF=1 prior to disabling SVM (for reboot flows)

Mathieu Desnoyers <[email protected]>
selftests: x86: Fix incorrect kernel headers search path

Randy Dunlap <[email protected]>
KVM: SVM: hyper-v: placate modpost section mismatch error

Peter Gonda <[email protected]>
KVM: SVM: Fix potential overflow in SEV's send|receive_update_data()

Sean Christopherson <[email protected]>
KVM: x86: Inject #GP on x2APIC WRMSR that sets reserved bits 63:32

Sean Christopherson <[email protected]>
KVM: x86: Inject #GP if WRMSR sets reserved bits in APIC Self-IPI

Sean Christopherson <[email protected]>
KVM: SVM: Don't put/load AVIC when setting virtual APIC mode

Sean Christopherson <[email protected]>
KVM: SVM: Process ICR on AVIC IPI delivery failure due to invalid target

Sean Christopherson <[email protected]>
KVM: SVM: Flush the "current" TLB when activating AVIC

Sean Christopherson <[email protected]>
KVM: x86: Don't inhibit APICv/AVIC if xAPIC ID mismatch is due to 32-bit ID

Sean Christopherson <[email protected]>
KVM: x86: Don't inhibit APICv/AVIC on xAPIC ID "change" if APIC is disabled

Sean Christopherson <[email protected]>
KVM: x86: Blindly get current x2APIC reg value on "nodecode write" traps

Sean Christopherson <[email protected]>
KVM: x86: Purge "highest ISR" cache when updating APICv state

Sean Christopherson <[email protected]>
KVM: Register /dev/kvm as the _very_ last thing during initialization

Alexandru Matei <[email protected]>
KVM: VMX: Fix crash due to uninitialized current_vmcs

Sean Christopherson <[email protected]>
KVM: Destroy target device if coalesced MMIO unregistration fails

Hou Tao <[email protected]>
md: don't update recovery_cp when curr_resync is ACTIVE

Jan Kara <[email protected]>
udf: Fix file corruption when appending just after end of preallocated extent

Jan Kara <[email protected]>
udf: Detect system inodes linked into directory hierarchy

Jan Kara <[email protected]>
udf: Preserve link count of system files

Jan Kara <[email protected]>
udf: Do not update file length for failed writes to inline files

Jan Kara <[email protected]>
udf: Do not bother merging very long extents

Jan Kara <[email protected]>
udf: Truncate added extents on failed expansion

Jeff Xu <[email protected]>
selftests/landlock: Test ptrace as much as possible with Yama

Jeff Xu <[email protected]>
selftests/landlock: Skip overlayfs tests when not supported

Andrew Morton <[email protected]>
fs/cramfs/inode.c: initialize file_ra_state

Heming Zhao via Ocfs2-devel <[email protected]>
ocfs2: fix non-auto defrag path not working issue

Heming Zhao via Ocfs2-devel <[email protected]>
ocfs2: fix defrag path triggering jbd2 ASSERT

Jaegeuk Kim <[email protected]>
f2fs: Revert "f2fs: truncate blocks in batch in __complete_revoke_list()"

Jaegeuk Kim <[email protected]>

    f2fs: fix kernel crash due to null io->bio

Eric Biggers <[email protected]>
f2fs: fix cgroup writeback accounting with fs-layer encryption

Jaegeuk Kim <[email protected]>
f2fs: retry to update the inode page given data corruption

Eric Biggers <[email protected]>
f2fs: fix information leak in f2fs_move_inline_dirents()

Alexander Aring <[email protected]>
fs: dlm: send FIN ack back in right cases

Alexander Aring <[email protected]>
fs: dlm: move sending fin message into state change handling

Alexander Aring <[email protected]>
fs: dlm: don't set stop rx flag after node reset

Alexander Aring <[email protected]>
fs: dlm: fix race setting stop tx flag

Alexander Aring <[email protected]>
fs: dlm: be sure to call dlm_send_queue_flush()

Alexander Aring <[email protected]>
fs: dlm: fix use after free in midcomms commit

Alexander Aring <[email protected]>
fs: dlm: start midcomms before scand

Yuezhang Mo <[email protected]>

    exfat: fix inode->i_blocks for non-512 byte sector size device

Sungjong Seo <[email protected]>
exfat: redefine DIR_DELETED as the bad cluster number

Yuezhang Mo <[email protected]>
exfat: fix unexpected EOF while reading dir

Yuezhang Mo <[email protected]>
exfat: fix reporting fs error when reading dir beyond EOF

Dongliang Mu <[email protected]>
fs: hfsplus: fix UAF issue in hfsplus_put_super

Liu Shixin <[email protected]>
hfs: fix missing hfs_bnode_get() in __hfs_bnode_create

Jens Axboe <[email protected]>
io_uring: mark task TASK_RUNNING before handling resume/task work

Krzysztof Kozlowski <[email protected]>
ARM: dts: exynos: correct HDMI phy compatible in Exynos4

Joel Fernandes (Google) <[email protected]>
torture: Fix hang during kthread shutdown phase

Hangyu Hua <[email protected]>
ksmbd: fix possible memory leak in smb2_lock()

Namjae Jeon <[email protected]>
ksmbd: do not allow the actual frame length to be smaller than the rfc1002 length

Namjae Jeon <[email protected]>
ksmbd: fix wrong data area length for smb2 lock request

Waiman Long <[email protected]>
locking/rwsem: Prevent non-first waiter from spinning in down_write() slowpath

Qu Wenruo <[email protected]>
btrfs: sysfs: update fs features directory asynchronously

Boris Burkov <[email protected]>
btrfs: hold block group refcount during async discard

Shin'ichiro Kawasaki <[email protected]>

    scsi: mpi3mr: Remove unnecessary memcpy() to alltgt_info->dmi

Shin'ichiro Kawasaki <[email protected]>
scsi: mpi3mr: Fix issues in mpi3mr_get_all_tgt_info()

Shin'ichiro Kawasaki <[email protected]>

    scsi: mpi3mr: Fix missing mrioc->evtack_cmds initialization

Ronnie Sahlberg <[email protected]>
cifs: return a single-use cfid if we did not get a lease

Ronnie Sahlberg <[email protected]>
cifs: Check the lease context if we actually got a lease

Stefan Metzmacher <[email protected]>
cifs: don't try to use rdma offload on encrypted connections

Stefan Metzmacher <[email protected]>
cifs: split out smb3_use_rdma_offload() helper

Stefan Metzmacher <[email protected]>
cifs: introduce cifs_io_parms in smb2_async_writev()

Paulo Alcantara <[email protected]>
cifs: fix mount on old smb servers

Volker Lendecke <[email protected]>
cifs: Fix uninitialized memory reads for oparms.mode

Volker Lendecke <[email protected]>
cifs: Fix uninitialized memory read in smb3_qfs_tcon()

Paulo Alcantara <[email protected]>
cifs: improve checking of DFS links over STATUS_OBJECT_NAME_INVALID

Nico Boehr <[email protected]>
KVM: s390: disable migration mode when dirty tracking is disabled

Vasily Gorbik <[email protected]>
s390/kprobes: fix current_kprobe never cleared after kprobes reenter

Vasily Gorbik <[email protected]>
s390/kprobes: fix irq mask clobbering on kprobe reenter from post_handler

Sven Schnelle <[email protected]>
s390/ipl: add loadparm parameter to eckd ipl/reipl data

Sven Schnelle <[email protected]>
s390/ipl: add DEFINE_GENERIC_LOADPARM()

Ilya Leoshkevich <[email protected]>
s390: discard .interp section

Gerald Schaefer <[email protected]>
s390/extmem: return correct segment type in __segment_load()

Joseph Qi <[email protected]>
io_uring: fix fget leak when fs don't support nowait buffered read

Jens Axboe <[email protected]>
io_uring/poll: allow some retries for poll triggering spuriously

David Lamparter <[email protected]>
io_uring: remove MSG_NOSIGNAL from recvmsg

Pavel Begunkov <[email protected]>
io_uring/rsrc: disallow multi-source reg buffers

Jens Axboe <[email protected]>
io_uring: add reschedule point to handle_tw_list()

Jens Axboe <[email protected]>
io_uring: add a conditional reschedule to the IOPOLL cancelation loop

Jens Axboe <[email protected]>
io_uring: handle TIF_NOTIFY_RESUME when checking for task_work

Pavel Begunkov <[email protected]>
io_uring: use user visible tail in io_uring_poll()

Kees Cook <[email protected]>
io_uring: Replace 0-length array with flexible array

Corey Minyard <[email protected]>
ipmi:ssif: Add a timer between request retries

Corey Minyard <[email protected]>
ipmi_ssif: Rename idle state and check

Corey Minyard <[email protected]>
ipmi:ssif: resend_msg() cannot fail

Christophe JAILLET <[email protected]>
ipmi: ipmb: Fix the MODULE_PARM_DESC associated to 'retry_time_ms'

Johan Hovold <[email protected]>
rtc: pm8xxx: fix set-alarm race

Jens Axboe <[email protected]>
block: be a bit more careful in checking for NULL bdev while polling

Jens Axboe <[email protected]>

    block: clear bio->bi_bdev when putting a bio back in the cache

Jens Axboe <[email protected]>
block: don't allow multiple bios for IOCB_NOWAIT issue

Alper Nebi Yasak <[email protected]>
firmware: coreboot: framebuffer: Ignore reserved pixel color bits

Jun ASAKA <[email protected]>
wifi: rtl8xxxu: fixing transmisison failure for rtl8192eu

Saravana Kannan <[email protected]>
driver core: fw_devlink: Avoid spurious error message

Asahi Lina <[email protected]>
drm/shmem-helper: Revert accidental non-GPL export

Matt Roper <[email protected]>

    drm/i915/mtl: Correct implementation of Wa_18018781329

Paulo Alcantara <[email protected]>
cifs: prevent data race in smb2_reconnect()

Jeff Layton <[email protected]>
nfsd: don't hand out delegation on setuid files being opened for write

Jeff Layton <[email protected]>
nfsd: zero out pointers after putting nfsd_files on COPY setup error

Mike Snitzer <[email protected]>
dm cache: add cond_resched() to various workqueue loops

Mike Snitzer <[email protected]>
dm thin: add cond_resched() to various workqueue loops

Aurabindo Pillai <[email protected]>
drm/amd/display: disable SubVP + DRR to prevent underflow

Nicholas Kazlauskas <[email protected]>
drm/amd/display: Disable HUBP/DPP PG on DCN314 for now

Darrell Kavanagh <[email protected]>
drm: panel-orientation-quirks: Add quirk for Lenovo IdeaPad Duet 3 10IGL5

Nicholas Kazlauskas <[email protected]>
drm/amd/display: Enable P-state validation checks for DCN314

Bastien Nocera <[email protected]>
HID: logitech-hidpp: Don't restart communication if not necessary

Mason Zhang <[email protected]>
scsi: ufs: core: Fix device management cmd timeout flow

Greg Kroah-Hartman <[email protected]>
scsi: snic: Fix memory leak with using debugfs_lookup()

Wesley Chalmers <[email protected]>
drm/amd/display: Do not commit pipe when updating DRR

Claudiu Beznea <[email protected]>
pinctrl: at91: use devm_kasprintf() to avoid potential leaks

Denis Pauk <[email protected]>

    hwmon: (nct6775) B650/B660/X670 ASUS boards support

Denis Pauk <[email protected]>
hwmon: (nct6775) Directly call ASUS ACPI WMI method

Robin Murphy <[email protected]>
hwmon: (coretemp) Simplify platform device handling

Andreas Gruenbacher <[email protected]>
gfs2: Improve gfs2_make_fs_rw error handling

Vladimir Stempen <[email protected]>
drm/amd/display: fix FCLK pstate change underflow

Vitaly Prosyak <[email protected]>
Revert "drm/amdgpu: TA unload messages are not actually sent to psp when amdgpu is uninstalled"

Kees Cook <[email protected]>
regulator: s5m8767: Bounds check id indexing into arrays

Kees Cook <[email protected]>
regulator: max77802: Bounds check regulator id against opmode

Kees Cook <[email protected]>
ASoC: kirkwood: Iterate over array indexes instead of using pointer math

강신형 <[email protected]>
ASoC: soc-compress: Reposition and add pcm_mutex

Marijn Suijten <[email protected]>
drm/msm/dpu: Add DSC hardware blocks to register snapshot

Jakob Koschel <[email protected]>
docs/scripts/gdb: add necessary make scripts_gdb step

farah kassabri <[email protected]>
habanalabs: fix bug in timestamps registration code

Moti Haimovski <[email protected]>
habanalabs: extend fatal messages to contain PCI info

Thomas Zimmermann <[email protected]>
drm/client: Test for connectors before sending hotplug event

Roman Li <[email protected]>
drm/amd/display: Set hvm_enabled flag for S/G mode

Wayne Lin <[email protected]>
drm/drm_print: correct format problem

Tomi Valkeinen <[email protected]>
drm: rcar-du: Fix setting a reserved bit in DPLLCR

Tomi Valkeinen <[email protected]>
drm: rcar-du: Add quirk for H3 ES1.x pclk workaround

Jiasheng Jiang <[email protected]>
drm/msm/dsi: Add missing check for alloc_ordered_workqueue

José Expósito <[email protected]>
HID: uclogic: Add support for XP-PEN Deco Pro MW

José Expósito <[email protected]>
HID: uclogic: Add support for XP-PEN Deco Pro SW

José Expósito <[email protected]>
HID: uclogic: Add battery quirk

José Expósito <[email protected]>
HID: uclogic: Add frame type quirk

Brandon Syu <[email protected]>
drm/amd/display: fix mapping to non-allocated address

Konstantin Meskhidze <[email protected]>
drm: amd: display: Fix memory leakage

Mario Limonciello <[email protected]>
drm/amd: Avoid ASSERT for some message failures

Thomas Zimmermann <[email protected]>

    Revert "fbcon: don't lose the console font across generic->chip driver switch"

Justin Tee <[email protected]>
scsi: lpfc: Fix use-after-free KFENCE violation during sysfs firmware write

Philip Yang <[email protected]>
drm/amdkfd: Page aligned memory reserve size

Mario Limonciello <[email protected]>
drm/amd: Avoid BUG() for case of SRIOV missing IP version

Liwei Song <[email protected]>
drm/radeon: free iio for atombios when driver shutdown

Nicholas Kazlauskas <[email protected]>
drm/amd/display: Defer DIG FIFO disable after VID stream enable

Carlo Caione <[email protected]>
drm/tiny: ili9486: Do not assume 8-bit only SPI controllers

Jingyuan Liang <[email protected]>
HID: Add Mapping for System Microphone Mute

Tomi Valkeinen <[email protected]>
drm/omap: dsi: Fix excessive stack usage

Roman Li <[email protected]>
drm/amd/display: Fix potential null-deref in dm_resume

Ian Chen <[email protected]>
drm/amd/display: Revert Reduce delay when sink device not able to ACK 00340h write

Dillon Varone <[email protected]>
drm/amd/display: Reduce expected sdp bandwidth for dcn321

Allen Ballway <[email protected]>
drm: panel-orientation-quirks: Add quirk for DynaBook K50

Hans de Goede <[email protected]>
drm: panel-orientation-quirks: Add quirk for Lenovo Yoga Tab 3 X90F

Eric Dumazet <[email protected]>
scm: add user copy checks to put_cmsg()

Moshe Shemesh <[email protected]>
devlink: Fix TP_STRUCT_entry in trace of devlink health report

Heiko Carstens <[email protected]>
s390/kfence: fix page fault reporting

Michael Kelley <[email protected]>
hv_netvsc: Check status in SEND_RNDIS_PKT completion message

Zong-Zhe Yang <[email protected]>
wifi: rtw89: debug: avoid invalid access on RTW89_DBG_SEL_MAC_30

Moises Cardona <[email protected]>
Bluetooth: btusb: Add VID:PID 13d3:3529 for Realtek RTL8821CE

Mario Limonciello <[email protected]>

    Bluetooth: btusb: Add new PID/VID 0489:e0f2 for MT7921

Marcel Holtmann <[email protected]>
Bluetooth: Fix issue with Actions Semi ATS2851 based devices

Greg Kroah-Hartman <[email protected]>
PM: EM: fix memory leak with using debugfs_lookup()

Greg Kroah-Hartman <[email protected]>
PM: domains: fix memory leak with using debugfs_lookup()

Greg Kroah-Hartman <[email protected]>
time/debug: Fix memory leak with using debugfs_lookup()

Heiko Carstens <[email protected]>
s390/idle: mark arch_cpu_idle() noinstr

Kees Cook <[email protected]>
uaccess: Add minimum bounds check on kernel buffer size

Kees Cook <[email protected]>
coda: Avoid partial allocation of sig_inputArgs

Shay Drory <[email protected]>
net/mlx5: fw_tracer: Fix debug print

Hans de Goede <[email protected]>
ACPI: video: Fix Lenovo Ideapad Z570 DMI match

Lorenzo Bianconi <[email protected]>
wifi: mt76: dma: free rx_head in mt76_dma_rx_cleanup

Armin Wolf <[email protected]>
platform/x86: dell-ddv: Add support for interface version 3

Zhang Rui <[email protected]>
tools/power/x86/intel-speed-select: Add Emerald Rapid quirk

Sam James <[email protected]>
gcc-plugins: drop -std=gnu++11 to fix GCC 13 build

Oliver Hartkopp <[email protected]>
can: isotp: check CAN address family in isotp_bind()

Alok Tiwari <[email protected]>
netfilter: nf_tables: NULL pointer dereference in nf_tables_updobj()

Vasily Gorbik <[email protected]>
s390/mm,ptdump: avoid Kasan vs Memcpy Real markers swapping

Michael Schmitz <[email protected]>
m68k: Check syscall_trace_enter() return code

Florian Fainelli <[email protected]>
net: bcmgenet: Add a check for oversized packets

Kees Cook <[email protected]>
crypto: hisilicon: Wipe entire pool on error

Feng Tang <[email protected]>
clocksource: Suspend the watchdog temporarily when high read latency detected

Tim Zimmermann <[email protected]>
thermal: intel: intel_pch: Add support for Wellsburg PCH

Dave Thaler <[email protected]>
bpf, docs: Fix modulo zero, division by zero, overflow, and underflow

Mark Rutland <[email protected]>
ACPI: Don't build ACPICA with '-Os'

Mark Rutland <[email protected]>
Compiler attributes: GCC cold function alignment workarounds

Jesse Brandeburg <[email protected]>
ice: add missing checks for PF vsi type

Siddaraju DH <[email protected]>
ice: restrict PTP HW clock freq adjustments to 100, 000, 000 PPB

Pietro Borrello <[email protected]>
inet: fix fast path in __inet_hash_connect()

Jisoo Jang <[email protected]>
wifi: mt7601u: fix an integer underflow

Zong-Zhe Yang <[email protected]>
wifi: rtw89: fix assignation of TX BD RAM table

Jisoo Jang <[email protected]>
wifi: brcmfmac: ensure CLM version is null-terminated to prevent stack-out-of-bounds

Holger Hoffstätte <[email protected]>
bpftool: Always disable stack protection for BPF objects

Breno Leitao <[email protected]>
x86/bugs: Reset speculation control settings on init

Jann Horn <[email protected]>
timers: Prevent union confusion from unexpected restart_syscall()

Yang Li <[email protected]>
thermal: intel: Fix unsigned comparison with less than zero

Kalle Valo <[email protected]>
wifi: ath11k: debugfs: fix to work with multiple PCI devices

Zqiang <[email protected]>
rcu-tasks: Handle queue-shrink/callback-enqueue race condition

Zqiang <[email protected]>
rcu-tasks: Make rude RCU-Tasks work well with CPU hotplug

Pingfan Liu <[email protected]>
srcu: Delegate work to the boot cpu if using SRCU_SIZE_SMALL

Paul E. McKenney <[email protected]>
rcu: Suppress smp_processor_id() complaint in synchronize_rcu_expedited_wait()

Paul E. McKenney <[email protected]>
rcu: Make RCU_LOCKDEP_WARN() avoid early lockdep checks

Jisoo Jang <[email protected]>
wifi: brcmfmac: Fix potential stack-out-of-bounds in brcmf_c_preinit_dcmds()

Nagarajan Maran <[email protected]>
wifi: ath11k: fix monitor mode bringup crash

Minsuk Kang <[email protected]>
wifi: ath9k: Fix use-after-free in ath9k_hif_usb_disconnect()

Kan Liang <[email protected]>
perf/x86/intel/uncore: Add Meteor Lake support

Peter Zijlstra <[email protected]>
cpuidle: lib/bug: Disable rcu_is_watching() during WARN/BUG

Mark Rutland <[email protected]>
cpuidle: drivers: firmware: psci: Dont instrument suspend code

Jens Axboe <[email protected]>
x86/fpu: Don't set TIF_NEED_FPU_LOAD for PF_IO_WORKER threads

Peter Zijlstra <[email protected]>
cpuidle, intel_idle: Fix CPUIDLE_FLAG_INIT_XSTATE

Michael Grzeschik <[email protected]>
arm64: zynqmp: Enable hs termination flag for USB dwc3 controller

Qu Wenruo <[email protected]>
btrfs: scrub: improve tree block error reporting

Greg Kroah-Hartman <[email protected]>
trace/blktrace: fix memory leak with using debugfs_lookup()

Yu Kuai <[email protected]>
blk-cgroup: synchronize pd_free_fn() from blkg_free_workfn() and blkcg_deactivate_policy()

Yu Kuai <[email protected]>
blk-cgroup: dropping parent refcount after pd_free_fn() is done

Li Nan <[email protected]>
blk-iocost: fix divide by 0 error in calc_lcoefs()

Jann Horn <[email protected]>
fs: Use CHECK_DATA_CORRUPTION() when kernel bugs are detected

Markuss Broks <[email protected]>
ARM: dts: exynos: Use Exynos5420 compatible for the MIPI video phy

Nicholas Piggin <[email protected]>
exit: Detect and fix irq disabled state in oops

Peter Zijlstra <[email protected]>
context_tracking: Fix noinstr vs KASAN

Jan Kara <[email protected]>
udf: Define EFSCORRUPTED error code

Konrad Dybcio <[email protected]>
arm64: dts: qcom: msm8996: Add additional A2NoC clocks

Liang He <[email protected]>
ARM: OMAP2+: omap4-common: Fix refcount leak bug

Bjorn Andersson <[email protected]>
rpmsg: glink: Release driver_override

Bjorn Andersson <[email protected]>
rpmsg: glink: Avoid infinite loop on intent for missing channel

Tasos Sahanidis <[email protected]>
media: saa7134: Use video_unregister_device for radio_dev

Duoming Zhou <[email protected]>
media: usb: siano: Fix use after free bugs caused by do_submit_urb

Hans Verkuil <[email protected]>
media: i2c: ov7670: 0 instead of -EINVAL was returned

Hans de Goede <[email protected]>
media: atomisp: Only set default_run_mode on first open of a stream/asd

Arnd Bergmann <[email protected]>
media: atomisp: fix videobuf2 Kconfig depenendency

Duoming Zhou <[email protected]>
media: rc: Fix use-after-free bugs caused by ene_tx_irqsim()

Dong Chuanjian <[email protected]>
media: drivers/media/v4l2-core/v4l2-h264 : add detection of null pointers

Ming Qian <[email protected]>
media: amphion: correct the unspecified color space

Ming Qian <[email protected]>
media: imx-jpeg: Apply clk_bulk api instead of operating specific clk

Nicolas Dufresne <[email protected]>
media: hantro: Fix JPEG encoder ENUM_FRMSIZE on RK3399

Ming Qian <[email protected]>
media: v4l2-jpeg: ignore the unknown APP14 marker

Ming Qian <[email protected]>
media: v4l2-jpeg: correct the skip count in jpeg_parse_app14_data

Arnd Bergmann <[email protected]>
media: platform: mtk-mdp3: fix Kconfig dependencies

Arnd Bergmann <[email protected]>
media: camss: csiphy-3ph: avoid undefined behavior

Qiheng Lin <[email protected]>
media: platform: mtk-mdp3: Fix return value check in mdp_probe()

Jai Luthra <[email protected]>
media: i2c: imx219: Fix binning for RAW8 capture

Adam Ford <[email protected]>
media: i2c: imx219: Split common registers from mode tables

Yuan Can <[email protected]>

    media: i2c: ov772x: Fix memleak in ov772x_probe()

Laurent Pinchart <[email protected]>
media: mc: Get media_device directly from pad

Jai Luthra <[email protected]>
media: ov5640: Handle delays when no reset_gpio set

Jai Luthra <[email protected]>
media: ov5640: Fix soft reset sequence and timings

Marco Felsch <[email protected]>
media: i2c: tc358746: fix possible endianness issue

Marco Felsch <[email protected]>
media: i2c: tc358746: fix ignoring read error in g_register callback

Marco Felsch <[email protected]>
media: i2c: tc358746: fix missing return assignment

Shang XiaoJing <[email protected]>

    media: ov5675: Fix memleak in ov5675_init_controls()

Shang XiaoJing <[email protected]>

    media: ov2740: Fix memleak in ov2740_init_controls()

Shang XiaoJing <[email protected]>

    media: max9286: Fix memleak in max9286_v4l2_register()

Bastian Germann <[email protected]>
builddeb: clean generated package content

Nathan Chancellor <[email protected]>

    s390/vdso: Drop '-shared' from KBUILD_CFLAGS_64

Nathan Chancellor <[email protected]>
powerpc: Remove linker flag from KBUILD_AFLAGS

Yang Yingliang <[email protected]>
media: imx: imx7-media-csi: fix missing clk_disable_unprepare() in imx7_csi_init()

Jiasheng Jiang <[email protected]>
media: platform: ti: Add missing check for devm_regulator_get

Gaosheng Cui <[email protected]>
media: ti: cal: fix possible memory leak in cal_ctx_create()

Sibi Sankar <[email protected]>
remoteproc: qcom_q6v5_mss: Use a carveout to authenticate modem headers

Christoph Hellwig <[email protected]>
Revert "remoteproc: qcom_q6v5_mss: map/unmap metadata region before/after use"

Patrick Kelsey <[email protected]>

    IB/hfi1: Fix sdma.h tx->num_descs off-by-one errors

Patrick Kelsey <[email protected]>
IB/hfi1: Fix math bugs in hfi1_can_pin_pages()

Bob Pearson <[email protected]>
RDMA/rxe: Fix missing memory barriers in rxe_queue.h

Long Li <[email protected]>
RDMA/mana_ib: Fix a bug when the PF indicates more entries for registering memory on first packet

Bob Pearson <[email protected]>
Subject: RDMA/rxe: Handle zero length rdma

Bob Pearson <[email protected]>
RDMA/rxe: Replace rxe_map and rxe_phys_buf by xarray

Bob Pearson <[email protected]>
RDMA/rxe: Cleanup page variables in rxe_mr.c

Bob Pearson <[email protected]>
RDMA-rxe: Isolate mr code from atomic_write_reply()

Bob Pearson <[email protected]>
RDMA-rxe: Isolate mr code from atomic_reply()

Bob Pearson <[email protected]>
RDMA/rxe: Move rxe_map_mr_sg to rxe_mr.c

Bob Pearson <[email protected]>
RDMA/rxe: Cleanup mr_check_range

Tina Zhang <[email protected]>
iommu/vt-d: Allow to use flush-queue when first level is default

Lu Baolu <[email protected]>
iommu/vt-d: Fix error handling in sva enable/disable paths

Eric Pilmore <[email protected]>
dmaengine: ptdma: check for null desc before calling pt_cmd_callback

Kees Cook <[email protected]>
dmaengine: dw-axi-dmac: Do not dereference NULL structure

Shravan Chippa <[email protected]>
dmaengine: sf-pdma: pdma_desc memory leak fix

Vasant Hegde <[email protected]>
iommu/amd: Do not identity map v2 capable device when snp is enabled

Jason Gunthorpe <[email protected]>
iommu: Fix error unwind in iommu_group_alloc()

Dan Carpenter <[email protected]>
iw_cxgb4: Fix potential NULL dereference in c4iw_fill_res_cm_id_entry()

Johan Hovold <[email protected]>
PCI: qcom: Fix host-init error handling

Neill Kapron <[email protected]>
phy: rockchip-typec: fix tcphy_get_mode error case

Geert Uytterhoeven <[email protected]>
PCI: Fix dropping valid root bus resources with .end = zero

Serge Semin <[email protected]>
dmaengine: dw-edma: Fix readq_ch() return value truncation

Alexander Stein <[email protected]>
usb: host: fsl-mph-dr-of: reuse device_set_of_node_from_dev

Saravana Kannan <[email protected]>
mtd: mtdpart: Don't create platform device that'll never probe

Saravana Kannan <[email protected]>
driver core: fw_devlink: Make cycle detection more robust

Saravana Kannan <[email protected]>
driver core: fw_devlink: Improve check for fwnode with no device/driver

Saravana Kannan <[email protected]>
driver core: fw_devlink: Consolidate device link flag computation

Saravana Kannan <[email protected]>
driver core: fw_devlink: Allow marking a fwnode link as being part of a cycle

Saravana Kannan <[email protected]>
driver core: fw_devlink: Don't purge child fwnode's consumer links

Saravana Kannan <[email protected]>
driver core: fw_devlink: Add DL_FLAG_CYCLE support to device links

Peng Fan <[email protected]>
tty: serial: imx: disable Ageing Timer interrupt request irq

Shenwei Wang <[email protected]>
serial: fsl_lpuart: fix RS485 RTS polariy inverse issue

Mustafa Ismail <[email protected]>
RDMA/irdma: Cap MSIX used to online CPUs + 1

Mark Tomlinson <[email protected]>
usb: max-3421: Fix setting of I/O pins

Nikita Zhandarovich <[email protected]>
RDMA/cxgb4: Fix potential null-ptr-deref in pass_establish()

Bernard Metzler <[email protected]>
RDMA/siw: Fix user page pinning accounting

Andreas Kemnade <[email protected]>
power: supply: remove faulty cooling logic

Lu Baolu <[email protected]>
iommu/vt-d: Set No Execute Enable bit in PASID table entry

Sergio Paracuellos <[email protected]>
PCI: mt7621: Delay phy ports initialization

Chunfeng Yun <[email protected]>
phy: mediatek: remove temporary variable @mask_

Udipto Goswami <[email protected]>
usb: gadget: configfs: Restrict symlink creation is UDC already binded

Dan Carpenter <[email protected]>
usb: musb: mediatek: don't unregister something that wasn't registered

Nikita Zhandarovich <[email protected]>
RDMA/cxgb4: add null-ptr-check after ip_dev_find()

Sherry Sun <[email protected]>
tty: serial: fsl_lpuart: Fix the wrong RXWATER setting for rx dma case

Christophe JAILLET <[email protected]>
usb: early: xhci-dbc: Fix a potential out-of-bound memory access

Ivan Bornyakov <[email protected]>
fpga: microchip-spi: rewrite status polling in a time measurable way

Ivan Bornyakov <[email protected]>
fpga: microchip-spi: move SPI I/O buffers out of stack

Serge Semin <[email protected]>
dmaengine: dw-edma: Fix missing src/dst address of interleaved xfers

Fabian Vogt <[email protected]>
fotg210-udc: Add missing completion handler

Yi Liu <[email protected]>
iommufd: Add three missing structures in ucmd_buffer

Nicolin Chen <[email protected]>
selftests: iommu: Fix test_cmd_destroy_access() call in user_copy

Chen Zhongjin <[email protected]>
firmware: dmi-sysfs: Fix null-ptr-deref in dmi_sysfs_register_handle

Yang Yingliang <[email protected]>
drivers: base: transport_class: fix resource leak when transport_add_device() fails

Yang Yingliang <[email protected]>
drivers: base: transport_class: fix possible memory leak

Hanjun Guo <[email protected]>
driver core: location: Free struct acpi_pld_info *pld before return false

Zhengchao Shao <[email protected]>
driver core: fix resource leak in device_add()

Yang Yingliang <[email protected]>
iommu/exynos: Fix error handling in exynos_iommu_init()

Christophe JAILLET <[email protected]>
misc: fastrpc: Fix an error handling path in fastrpc_rpmsg_probe()

Andy Shevchenko <[email protected]>
misc/mei/hdcp: Use correct macros to initialize uuid_le

Andy Shevchenko <[email protected]>
mei: pxp: Use correct macros to initialize uuid_le

George Kennedy <[email protected]>

    VMCI: check context->notify_page after call to get_user_pages_fast() to avoid GPF

Yang Yingliang <[email protected]>
firmware: stratix10-svc: fix error handle while alloc/add device failed

Yang Yingliang <[email protected]>
firmware: stratix10-svc: add missing gen_pool_destroy() in stratix10_svc_drv_probe()

Xiongfeng Wang <[email protected]>
applicom: Fix PCI device refcount leak in applicom_init()

Yuan Can <[email protected]>
eeprom: idt_89hpesx: Fix error handling in idt_init()

Duoming Zhou <[email protected]>
Revert "char: pcmcia: cm4000_cs: Replace mdelay with usleep_range in set_protocol"

Yi Yang <[email protected]>
serial: tegra: Add missing clk_disable_unprepare() in tegra_uart_hw_init()

Bartosz Golaszewski <[email protected]>
tty: serial: qcom-geni-serial: stop operations in progress at shutdown

Sherry Sun <[email protected]>
tty: serial: fsl_lpuart: clear LPUART Status Register in lpuart32_shutdown()

Sherry Sun <[email protected]>
tty: serial: fsl_lpuart: disable Rx/Tx DMA in lpuart32_shutdown()

Yicong Yang <[email protected]>
hwtracing: hisi_ptt: Only add the supported devices to the filters list

Yang Yingliang <[email protected]>
PCI: endpoint: pci-epf-vntb: Add epf_ntb_mw_bar_clear() num_mws kernel-doc

Bjorn Helgaas <[email protected]>
PCI: switchtec: Return -EFAULT for copy_to_user() errors

Alexey V. Vissarionov <[email protected]>
PCI/IOV: Enlarge virtfn sysfs name buffer

Andy Shevchenko <[email protected]>
usb: typec: intel_pmc_mux: Don't leak the ACPI device reference count

Mao Jinlong <[email protected]>
coresight: cti: Add PM runtime call in enable_store

James Clark <[email protected]>
coresight: cti: Prevent negative values of enable count

Junhao He <[email protected]>
coresight: etm4x: Fix accesses to TRCSEQRSTEVR and TRCSEQSTR

Ricardo Ribalda <[email protected]>
media: uvcvideo: Refactor power_line_frequency_controls_limited

Ricardo Ribalda <[email protected]>
media: uvcvideo: Refactor uvc_ctrl_mappings_uvcXX

Ricardo Ribalda <[email protected]>
media: uvcvideo: Implement mask for V4L2_CTRL_TYPE_MENU

Hans Verkuil <[email protected]>
media: uvcvideo: Check for INACTIVE in uvc_ctrl_is_accessible()

Al Viro <[email protected]>
alpha/boot/tools/objstrip: fix the check for ELF header

Wang Hai <[email protected]>
kobject: Fix slab-out-of-bounds in fill_kobj_path()

Yang Yingliang <[email protected]>
driver core: fix potential null-ptr-deref in device_add()

Richard Fitzgerald <[email protected]>
soundwire: cadence: Don't overflow the command FIFOs

Yang Yingliang <[email protected]>
i2c: qcom-geni: change i2c_master_hub to static

Hanna Hawa <[email protected]>
i2c: designware: fix i2c_dw_clk_rate() return size to be u32

Gaosheng Cui <[email protected]>
usb: gadget: fusb300_udc: free irq on the error path in fusb300_probe()

Ferry Toth <[email protected]>
iio: light: tsl2563: Do not hardcode interrupt trigger type

Miaoqian Lin <[email protected]>
RDMA/hns: Fix refcount leak in hns_roce_mmap

Geert Uytterhoeven <[email protected]>
dmaengine: HISI_DMA should depend on ARCH_HISI

Miaoqian Lin <[email protected]>
RDMA/erdma: Fix refcount leak in erdma_mmap

Fenghua Yu <[email protected]>
dmaengine: idxd: Set traffic class values in GRPCFG on DSA 2.0

Qiheng Lin <[email protected]>

    mfd: pcf50633-adc: Fix potential memleak in pcf50633_adc_async_read()

Randy Dunlap <[email protected]>
mfd: cs5535: Don't build on UML

Tom Fitzhenry <[email protected]>

    mfd: rk808: Re-add rk808-clkout to RK818

Ondrej Mosnacek <[email protected]>
sysctl: fix proc_dobool() usability

Masami Hiramatsu (Google) <[email protected]>
selftests/ftrace: Fix probepoint testcase to ignore __pfx_* symbols

Arnd Bergmann <[email protected]>
objtool: add UACCESS exceptions for __tsan_volatile_read/write

Kajol Jain <[email protected]>
perf tests stat_all_metrics: Change true workload to sleep workload for system wide check

Arnd Bergmann <[email protected]>
printf: fix errname.c list

Yang Jihong <[email protected]>
perf record: Fix segfault with --overwrite and --max-size

Guillaume Tucker <[email protected]>
selftests: use printf instead of echo -ne

Masami Hiramatsu (Google) <[email protected]>

    selftests/ftrace: Fix bash specific "==" operator

Guillaume Tucker <[email protected]>
selftests: find echo binary to use -ne options

Randy Dunlap <[email protected]>
sparc: allow PM configs for sparc32 COMPILE_TEST

Ian Rogers <[email protected]>
perf stat: Avoid merging/aggregating metric counts twice

Yicong Yang <[email protected]>
perf tools: Fix auto-complete on aarch64

Athira Rajeev <[email protected]>
perf test bpf: Skip test if kernel-debuginfo is not present

Ian Rogers <[email protected]>
perf jevents: Correct bad character encoding

Namhyung Kim <[email protected]>
perf stat: Hide invalid uncore event output for aggr mode

Namhyung Kim <[email protected]>
perf intel-pt: Do not try to queue auxtrace data on pipe

Namhyung Kim <[email protected]>
perf inject: Use perf_data__read() for auxtrace

Andreas Ziegler <[email protected]>
tools/tracing/rtla: osnoise_hist: use total duration for average calculation

Henning Schild <[email protected]>
leds: simatic-ipc-leds-gpio: Make sure we have the GPIO providing driver

Andy Shevchenko <[email protected]>
leds: is31fl319x: Wrap mutex_destroy() for devm_add_action_or_rest()

Miaoqian Lin <[email protected]>
leds: led-core: Fix refcount leak in of_led_get()

Ian Rogers <[email protected]>
perf llvm: Fix inadvertent file creation

Andreas Gruenbacher <[email protected]>
gfs2: jdata writepage fix

Shyam Prasad N <[email protected]>
cifs: use tcon allocation functions even for dummy tcon

Zhang Xiaoxu <[email protected]>
cifs: Fix warning and UAF when destroy the MR list

Zhang Xiaoxu <[email protected]>
cifs: Fix lost destroy smbd connection when MR allocate failed

Chuck Lever <[email protected]>
NFSD: copy the whole verifier in nfsd_copy_write_verifier

Jeff Layton <[email protected]>
nfsd: don't fsync nfsd_files on last close

Jeff Layton <[email protected]>
nfsd: fix courtesy client with deny mode handling in nfs4_upgrade_open

Dai Ngo <[email protected]>
NFSD: fix problems with cleanup on errors in nfsd4_copy

Jeff Layton <[email protected]>
nfsd: clean up potential nfsd_file refcount leaks in COPY codepath

Benjamin Coddington <[email protected]>
nfsd: fix race to check ls_layouts

Dai Ngo <[email protected]>
NFSD: fix leaked reference count of nfsd4_ssc_umount_item

Dai Ngo <[email protected]>
NFSD: enhance inter-server copy cleanup

Asahi Lina <[email protected]>
drm/shmem-helper: Fix locking for drm_gem_shmem_get_pages_sgt()

Orlando Chamberlain <[email protected]>
ALSA: hda/hdmi: Register with vga_switcheroo on Dual GPU Macbooks

Pietro Borrello <[email protected]>
hid: bigben_probe(): validate report count

Pietro Borrello <[email protected]>
HID: bigben: use spinlock to safely schedule workers

Pietro Borrello <[email protected]>
HID: bigben_worker() remove unneeded check on report_field

Pietro Borrello <[email protected]>
HID: bigben: use spinlock to protect concurrent accesses

Lucas Tanure <[email protected]>
ASoC: soc-dapm.h: fixup warning struct snd_pcm_substream not declared

Christophe JAILLET <[email protected]>
spi: synquacer: Fix timeout handling in synquacer_spi_transfer_one()

Lucas De Marchi <[email protected]>
drm/i915: Fix GEN8_MISCCPCTL

Matt Roper <[email protected]>
drm/i915/pvc: Annotate two more workaround/tuning registers as MCR

Wayne Boyer <[email protected]>
drm/i915/pvc: Implement recommended caching policy

NeilBrown <[email protected]>
NFS: fix disabling of swap

Benjamin Coddington <[email protected]>
nfs4trace: fix state manager flag printing

Mike Snitzer <[email protected]>
dm: remove flush_scheduled_work() during local_exit()

Steffen Aschbacher <[email protected]>
ASoC: tlv320adcx140: fix 'ti,gpio-config' DT property init

Vadim Pasternak <[email protected]>
hwmon: (mlxreg-fan) Return zero speed for broken fan

William Zhang <[email protected]>
spi: bcm63xx-hsspi: Fix multi-bit mode setting

Bastien Nocera <[email protected]>
HID: logitech-hidpp: Hard-code HID++ 1.0 fast scroll support

Hamza Mahfooz <[email protected]>
drm/amd/display: don't call dc_interrupt_set() for disabled crtcs

William Zhang <[email protected]>
spi: bcm63xx-hsspi: Endianness fix for ARM based SoC

Srinivas Kandagatla <[email protected]>
ASoC: codecs: lpass: fix incorrect mclk rate

Srinivas Kandagatla <[email protected]>
ASoC: codecs: lpass: register mclk after runtime pm

Srinivas Kandagatla <[email protected]>
ASoC: qcom: q6apm-dai: Add SNDRV_PCM_INFO_BATCH flag

Srinivas Kandagatla <[email protected]>
ASoC: qcom: q6apm-dai: fix race condition while updating the position pointer

Srinivas Kandagatla <[email protected]>
ASoC: qcom: q6apm-lpass-dai: unprepare stream if its already prepared

Dmitry Torokhov <[email protected]>
HID: retain initial quirks set up when creating HID devices

Allen Ballway <[email protected]>
HID: multitouch: Add quirks for flipped axes

Jiasheng Jiang <[email protected]>
scsi: aic94xx: Add missing check for dma_map_single()

Tomas Henzl <[email protected]>
scsi: mpt3sas: Fix a memory leak

Arnd Bergmann <[email protected]>
drm/amdgpu: fix enum odm_combine_mode mismatch

Jaroslav Kysela <[email protected]>
ALSA: hda: Fix the control element identification for multiple codecs

Jonathan Cormier <[email protected]>
hwmon: (ltc2945) Handle error case in ltc2945_value_store

Eugene Shalygin <[email protected]>
hwmon: (asus-ec-sensors) add missing mutex path

Jerome Neanne <[email protected]>
regulator: tps65219: use generic set_bypass()

Jerome Brunet <[email protected]>
ASoC: dt-bindings: meson: fix gx-card codec node regex

Nathan Chancellor <[email protected]>
ASoC: mchp-spdifrx: Fix uninitialized use of mr in mchp_spdifrx_hw_params()

Kuninori Morimoto <[email protected]>
ASoC: rsnd: fixup #endif position

Arnd Bergmann <[email protected]>
accel: fix CONFIG_DRM dependencies

Daniel Golle <[email protected]>
regmap: apply reg_base and reg_downshift for single register ops

Mike Snitzer <[email protected]>
dm: improve shrinker debug names

Claudiu Beznea <[email protected]>
ASoC: mchp-spdifrx: disable all interrupts in mchp_spdifrx_dai_remove()

Claudiu Beznea <[email protected]>
ASoC: mchp-spdifrx: fix controls that works with completion mechanism

Claudiu Beznea <[email protected]>
ASoC: mchp-spdifrx: fix return value in case completion times out

Claudiu Beznea <[email protected]>
ASoC: mchp-spdifrx: fix controls which rely on rsr register

Arnd Bergmann <[email protected]>
spi: dw_bt1: fix MUX_MMIO dependencies

Amadeusz Sławiński <[email protected]>
ASoC: topology: Properly access value coming from topology file

Haibo Chen <[email protected]>
gpio: vf610: connect GPIO label to dev name

Bartosz Golaszewski <[email protected]>
gpio: pca9570: rename platform_data to chip_data

Allen-KH Cheng <[email protected]>
dt-bindings: display: mediatek: Fix the fallback for mediatek,mt8186-disp-ccorr

Kuninori Morimoto <[email protected]>
ASoC: soc-compress.c: fixup private_data on snd_soc_new_compress()

Nícolas F. R. A. Prado <[email protected]>
drm/mediatek: Clean dangling pointer on bind error path

ruanjinjie <[email protected]>
drm/mediatek: mtk_drm_crtc: Add checks for devm_kcalloc

Rob Clark <[email protected]>
drm/mediatek: Drop unbalanced obj unref

Miles Chen <[email protected]>
drm/mediatek: Use NULL instead of 0 for NULL pointer

Xinlei Lee <[email protected]>
drm/mediatek: dsi: Reduce the time of dsi from LP11 to sending cmd

Dmitry Baryshkov <[email protected]>

    drm/msm/dpu: set pdpu->is_rt_pipe early in dpu_plane_sspp_atomic_update()

Matt Roper <[email protected]>
drm/i915/xehp: Annotate a couple more workaround registers as MCR

Lad Prabhakar <[email protected]>
pinctrl: renesas: rzg2l: Fix configuring the GPIO pins as interrupts

Matt Roper <[email protected]>
drm/i915/xehp: GAM registers don't need to be re-applied on engine resets

Matt Roper <[email protected]>
drm/i915/mtl: Add initial gt workarounds

Mikko Perttunen <[email protected]>
drm/tegra: firewall: Check for is_addr_reg existence in IMM check

Mikko Perttunen <[email protected]>
gpu: host1x: Don't skip assigning syncpoints to channels

Mikko Perttunen <[email protected]>
gpu: host1x: Fix mask for syncpoint increment register

Guodong Liu <[email protected]>
pinctrl: mediatek: Initialize variable *buf to zero

Guodong Liu <[email protected]>
pinctrl: mediatek: Initialize variable pullen and pullup to zero

Andy Shevchenko <[email protected]>

    pinctrl: bcm2835: Remove of_node_put() in bcm2835_of_gpio_ranges_fallback()

farah kassabri <[email protected]>
habanalabs: bugs fixes in timestamps buff alloc

Jiasheng Jiang <[email protected]>
drm/msm/mdp5: Add check for kzalloc

Jiasheng Jiang <[email protected]>
drm/msm/dpu: Add check for pstates

Jiasheng Jiang <[email protected]>
drm/msm/dpu: Add check for cstate

Dmitry Baryshkov <[email protected]>
drm/msm: use strscpy instead of strncpy

Dmitry Baryshkov <[email protected]>
drm/msm/dpu: sc7180: add missing WB2 clock control

Bart Van Assche <[email protected]>

    scsi: ufs: exynos: Fix DMA alignment for PAGE_SIZE != 4096

Konrad Dybcio <[email protected]>
drm/msm/dsi: Allow 2 CTRLs on v2.5.0

Jagan Teki <[email protected]>
drm: exynos: dsi: Fix MIPI_DSI*_NO_* mode flags

Daniel Mentz <[email protected]>
drm/mipi-dsi: Fix byte order of 16-bit DCS set/get brightness

Randy Dunlap <[email protected]>
regulator: tps65219: use IS_ERR() to detect an error pointer

Dmitry Baryshkov <[email protected]>
drm/bridge: lt9611: pass a pointer to the of node

Dmitry Baryshkov <[email protected]>
drm/bridge: lt9611: fix clock calculation

Dmitry Baryshkov <[email protected]>
drm/bridge: lt9611: fix programming of video modes

Dmitry Baryshkov <[email protected]>
drm/bridge: lt9611: fix polarity programming

Dmitry Baryshkov <[email protected]>
drm/bridge: lt9611: fix HPD reenablement

Dmitry Baryshkov <[email protected]>
drm/bridge: lt9611: fix sleep mode setup

Marijn Suijten <[email protected]>
drm/msm/dpu: Disallow unallocated resources to be returned

Jiasheng Jiang <[email protected]>
drm/msm/gem: Add check for kmalloc

Leo Liu <[email protected]>
drm/amdgpu: Use the sched from entity for amdgpu_cs trace

Alexey V. Vissarionov <[email protected]>
ALSA: hda/ca0132: minor fix for allocation size

Akhil P Oommen <[email protected]>
drm/msm/adreno: Fix null ptr access in adreno_gpu_cleanup()

Marek Vasut <[email protected]>
drm/bridge: tc358767: Set default CLRSIPO count

Shengjiu Wang <[email protected]>
ASoC: fsl_sai: initialize is_dsp_mode flag

Quinn Tran <[email protected]>
scsi: qla2xxx: edif: Fix clang warning

Quinn Tran <[email protected]>
scsi: qla2xxx: Fix exchange oversubscription for management commands

Quinn Tran <[email protected]>
scsi: qla2xxx: Fix exchange oversubscription

Abel Vesa <[email protected]>
drm/panel-edp: fix name for IVO product id 854b

Dmitry Baryshkov <[email protected]>

    drm/msm: clean event_thread->worker in case of an error

Dave Stevenson <[email protected]>
drm/vc4: hdmi: Correct interlaced timings again

Dave Stevenson <[email protected]>
drm/vc4: hvs: Fix colour order for xRGB1555 on HVS5

Dave Stevenson <[email protected]>
drm/vc4: hvs: Correct interrupt masking bit assignment for HVS5

Dave Stevenson <[email protected]>
drm/vc4: hvs: SCALER_DISPBKGND_AUTOHS is only valid on HVS4

Dave Stevenson <[email protected]>
drm/vc4: hvs: Set AXI panic modes

Dave Stevenson <[email protected]>
drm/vc4: hvs: Configure the HVS COB allocations

Miaoqian Lin <[email protected]>
pinctrl: rockchip: Fix refcount leak in rockchip_pinctrl_parse_groups

Miaoqian Lin <[email protected]>
pinctrl: stm32: Fix refcount leak in stm32_pctrl_get_irq_domain

Adam Skladowski <[email protected]>
pinctrl: qcom: pinctrl-msm8976: Correct function names for wcss pins

Jiasheng Jiang <[email protected]>
drm/msm/hdmi: Add missing check for alloc_ordered_workqueue

Hui Tang <[email protected]>
drm/msm/dpu: check for null return of devm_kzalloc() in dpu_writeback_init()

Armin Wolf <[email protected]>
hwmon: (ftsteutates) Fix scaling of measurements

Maíra Canal <[email protected]>
drm/vc4: drop all currently held locks if deadlock happens

Thomas Zimmermann <[email protected]>
drm/ast: Init iosys_map pointer as I/O memory for damage handling

Liang He <[email protected]>
gpu: ipu-v3: common: Add of_node_put() for reference returned by of_graph_get_port_by_id()

Randolph Sapp <[email protected]>
drm: tidss: Fix pixel format definition

Pin-yen Lin <[email protected]>
drm/bridge: it6505: Guard bridge power in IRQ handler

Dave Stevenson <[email protected]>
drm/vc4: dpi: Fix format mapping for RGB565

Maxime Ripard <[email protected]>
drm/modes: Use strscpy() to copy command-line mode name

Yuan Can <[email protected]>
drm/vkms: Fix null-ptr-deref in vkms_release()

Yuan Can <[email protected]>
drm/vkms: Fix memory leak in vkms_init()

Yuan Can <[email protected]>
drm/bridge: megachips: Fix error handling in i2c_register_driver()

Geert Uytterhoeven <[email protected]>

    drm: mxsfb: DRM_MXSFB should depend on ARCH_MXS || ARCH_MXC

Geert Uytterhoeven <[email protected]>
drm: mxsfb: DRM_IMX_LCDIF should depend on ARCH_MXC

Frieder Schrempf <[email protected]>
drm/bridge: ti-sn65dsi83: Fix delay after reset deassert to match spec

Geert Uytterhoeven <[email protected]>
drm/fourcc: Add missing big-endian XRGB1555 and RGB565 formats

Shang XiaoJing <[email protected]>
drm: Fix potential null-ptr-deref due to drmm_mode_config_init()

Jiri Pirko <[email protected]>
sefltests: netdevsim: wait for devlink instance after netns removal

Roxana Nicolescu <[email protected]>
selftest: fib_tests: Always cleanup before exit

Leon Romanovsky <[email protected]>
net/mlx5e: Align IPsec ASO result memory to be as required by hardware

Kees Cook <[email protected]>
net/mlx4_en: Introduce flexible array to silence overflow warning

Horatiu Vultur <[email protected]>
net: lan966x: Fix possible deadlock inside PTP

Doug Berger <[email protected]>
net: bcmgenet: fix MoCA LED control

Shigeru Yoshida <[email protected]>
l2tp: Avoid possible recursive deadlock in l2tp_tunnel_register()

Jakub Sitnicki <[email protected]>
selftests/net: Interpret UDP_GRO cmsg data as an int value

D. Wythe <[email protected]>
net/smc: fix application data exception

D. Wythe <[email protected]>
net/smc: fix potential panic dues to unprotected smc_llc_srv_add_link()

Florian Fainelli <[email protected]>
irqchip/irq-bcm7120-l2: Set IRQ_LEVEL for level triggered interrupts

Florian Fainelli <[email protected]>
irqchip/irq-brcmstb-l2: Set IRQ_LEVEL for level triggered interrupts

Andrii Nakryiko <[email protected]>
bpf: Fix global subprog context argument resolution logic

Hengqi Chen <[email protected]>
LoongArch, bpf: Use 4 instructions for function address in JIT

Maciej Fijalkowski <[email protected]>
xsk: check IFF_UP earlier in Tx path

Frank Jungclaus <[email protected]>
can: esd_usb: Make use of can_change_state() and relocate checking skb for NULL

Frank Jungclaus <[email protected]>
can: esd_usb: Move mislocated storage of SJA1000_ECC_SEG bits in case of a bus error

Ilya Leoshkevich <[email protected]>

    selftests/bpf: Fix xdp_do_redirect on s390x

Hou Tao <[email protected]>
bpf: Zeroing allocated object from slab in bpf memory allocator

Johannes Berg <[email protected]>

    wifi: mac80211: pass 'sta' to ieee80211_rx_data_set_sta()

Alexei Starovoitov <[email protected]>
selftests/bpf: Fix map_kptr test.

Yongqin Liu <[email protected]>
thermal/drivers/hisi: Drop second sensor hi3660

Vincent Guittot <[email protected]>
tools/lib/thermal: Fix thermal_sampling_exit()

Johannes Berg <[email protected]>
wifi: mac80211: fix off-by-one link setting

Arnd Bergmann <[email protected]>

    wifi: mac80211: avoid u32_encode_bits() warning

Andrei Otcheretianski <[email protected]>
wifi: mac80211: Don't translate MLD addresses for multicast

Karthikeyan Periyasamy <[email protected]>
wifi: mac80211: fix non-MLO station association

Shayne Chen <[email protected]>

    wifi: mac80211: make rate u32 in sta_set_rate_info_rx()

Lorenzo Bianconi <[email protected]>
wifi: mac80211: move color collision detection report in a delayed work

Eric Farman <[email protected]>
vfio/ccw: remove WARN_ON during shutdown

Herbert Xu <[email protected]>
crypto: crypto4xx - Call dma_unmap_page when done

Alexander Lobakin <[email protected]>
crypto: octeontx2 - Fix objects shared between several modules

Werner Sembach <[email protected]>
ACPI: resource: Do IRQ override on all TongFang GMxRGxx

Adam Niederer <[email protected]>
ACPI: resource: Add IRQ overrides for MAINGEAR Vector Pro 2 models

Ilya Leoshkevich <[email protected]>
selftests/bpf: Fix out-of-srctree build

Zong-Zhe Yang <[email protected]>
wifi: rtw89: fix parsing offset for MCC C2H

Dan Carpenter <[email protected]>
wifi: mwifiex: fix loop iterator in mwifiex_update_ampdu_txwinsize()

Hector Martin <[email protected]>
wifi: brcmfmac: pcie: Perform correct BCM4364 firmware selection

Hector Martin <[email protected]>
wifi: brcmfmac: pcie: Add IDs/properties for BCM4377

Hector Martin <[email protected]>
wifi: brcmfmac: pcie: Add IDs/properties for BCM4355

Hector Martin <[email protected]>
wifi: brcmfmac: Rename Cypress 89459 to BCM4355

Jiasheng Jiang <[email protected]>
wifi: iwl4965: Add missing check for create_singlethread_workqueue()

Jiasheng Jiang <[email protected]>
wifi: iwl3945: Add missing check for create_singlethread_workqueue

Matt Evans <[email protected]>
clocksource/drivers/riscv: Patch riscv_clock_next_event() jump before first use

Conor Dooley <[email protected]>
RISC-V: time: initialize hrtimer based broadcast clock event device

Randy Dunlap <[email protected]>
m68k: /proc/hardware should depend on PROC_FS

Herbert Xu <[email protected]>
crypto: rsa-pkcs1pad - Use akcipher_request_complete

Pietro Borrello <[email protected]>
rds: rds_rm_zerocopy_callback() correct order for list_add_tail()

Oleksandr Tyshchenko <[email protected]>
xen/grant-dma-iommu: Implement a dummy probe_device() callback

Ilya Leoshkevich <[email protected]>
libbpf: Fix alen calculation in libbpf_nla_dump_errormsg()

Halil Pasic <[email protected]>
s390/ap: fix status returned by ap_qact()

Halil Pasic <[email protected]>
s390/ap: fix status returned by ap_aqic()

Halil Pasic <[email protected]>
s390: vfio-ap: tighten the NIB validity check

Alex Elder <[email protected]>
net: ipa: generic command param fix

Zhengping Jiang <[email protected]>
Bluetooth: hci_qca: get wakeup status from serdev device handle

Luiz Augusto von Dentz <[email protected]>
Bluetooth: L2CAP: Fix potential user-after-free

Kees Cook <[email protected]>
Bluetooth: hci_conn: Refactor hci_bind_bis() since it always succeeds

Uwe Kleine-König <[email protected]>
cpufreq: davinci: Fix clk use after free

Qi Zheng <[email protected]>
OPP: fix error checking in opp_migrate_dentry()

David Howells <[email protected]>
rxrpc: Fix overwaking on call poking

Pietro Borrello <[email protected]>
tap: tap_open(): correctly initialize socket uid

Pietro Borrello <[email protected]>
tun: tun_chr_open(): correctly initialize socket uid

Pietro Borrello <[email protected]>
net: add sock_init_data_uid()

Vasily Gorbik <[email protected]>
s390/boot: fix mem_detect extended area allocation

Vasily Gorbik <[email protected]>
s390/mem_detect: rely on diag260() if sclp_early_get_memsize() fails

Alexander Gordeev <[email protected]>
s390/boot: cleanup decompressor header files

Vasily Gorbik <[email protected]>
s390/vmem: fix empty page tables cleanup under KASAN

Vasily Gorbik <[email protected]>
s390/mem_detect: fix detect_memory() error handling

Miaoqian Lin <[email protected]>
irqchip/ti-sci: Fix refcount leak in ti_sci_intr_irq_domain_probe

Miaoqian Lin <[email protected]>
irqchip/irq-mvebu-gicp: Fix refcount leak in mvebu_gicp_probe

Miaoqian Lin <[email protected]>
irqchip/alpine-msi: Fix refcount leak in alpine_msix_init_domains

Miaoqian Lin <[email protected]>
irqchip: Fix refcount leak in platform_irqchip_probe

Jack Morgenstein <[email protected]>
net/mlx5: Enhance debug print in page allocation failure

Lorenzo Bianconi <[email protected]>

    wifi: mt76: mt7996: rely on mt76_connac2_mac_tx_rate_val

Aaron Ma <[email protected]>
wifi: mt76: mt7921: fix error code of return in mt7921_acpi_read

Deren Wu <[email protected]>
wifi: mt76: add memory barrier to SDIO queue kick

Ryder Lee <[email protected]>
wifi: mt76: mt7915: fix WED TxS reporting

Lorenzo Bianconi <[email protected]>
wifi: mt76: fix switch default case in mt7996_reverse_frag0_hdr_trans

Lorenzo Bianconi <[email protected]>
wifi: mt76: dma: fix memory leak running mt76_dma_tx_cleanup

Lorenzo Bianconi <[email protected]>

    wifi: mt76: mt7996: fix memory leak in mt7996_mcu_exit

Lorenzo Bianconi <[email protected]>

    wifi: mt76: mt7915: fix memory leak in mt7915_mcu_exit

Deren Wu <[email protected]>
wifi: mt76: mt7921: fix invalid remain_on_channel duration

Shayne Chen <[email protected]>
wifi: mt76: connac: fix POWER_CTRL command name typo

Shayne Chen <[email protected]>
wifi: mt76: mt7996: update register for CFEND_RATE

Shayne Chen <[email protected]>
wifi: mt76: mt7996: fix chainmask calculation in mt7996_set_antenna()

Deren Wu <[email protected]>
wifi: mt76: mt7921: fix channel switch fail in monitor mode

Howard Hsu <[email protected]>

    wifi: mt76: mt7915: rework mt7915_thermal_temp_store()

Howard Hsu <[email protected]>

    wifi: mt76: mt7915: rework mt7915_mcu_set_thermal_throttling

Howard Hsu <[email protected]>
wifi: mt76: mt7915: call mt7915_mcu_set_thermal_throttling() only after init_work

Felix Fietkau <[email protected]>

    wifi: mt76: mt7921: fix deadlock in mt7921_abort_roc

Tonghao Zhang <[email protected]>
bpftool: profile online CPUs instead of possible

Tom Lendacky <[email protected]>
crypto: ccp - Flush the SEV-ES TMR memory before giving it to firmware

Ilya Leoshkevich <[email protected]>
selftests/bpf: Initialize tc in xdp_synproxy

Geert Uytterhoeven <[email protected]>
can: rcar_canfd: Fix R-Car V3U GAFLCFG field accesses

Geert Uytterhoeven <[email protected]>
can: rcar_canfd: Fix R-Car V3U CAN mode selection

Mark Brown <[email protected]>
kselftest/arm64: Fix enumeration of systems without 128 bit SME

Gregory Greenman <[email protected]>
wifi: iwlwifi: mei: fix compilation errors in rfkill()

Ilya Leoshkevich <[email protected]>
s390/bpf: Add expoline to tail calls

Kees Cook <[email protected]>
drm/nouveau/disp: Fix nvif_outp_acquire_dp() argument size

Hans de Goede <[email protected]>
leds: led-class: Add missing put_device() to led_put()

Herbert Xu <[email protected]>
crypto: xts - Handle EBUSY correctly

Daniel T. Lee <[email protected]>
selftests/bpf: Fix vmtest static compilation error

Siddharth Vadapalli <[email protected]>
net: ethernet: ti: am65-cpsw/cpts: Fix CPTS release action

Ashok Raj <[email protected]>
x86/microcode: Adjust late loading result reporting message

Ashok Raj <[email protected]>
x86/microcode: Check CPU capabilities after late microcode update correctly

Ashok Raj <[email protected]>
x86/microcode: Add a parameter to microcode_check() to store CPU capabilities

Kumar Kartikeya Dwivedi <[email protected]>
bpf: Fix partial dynptr stack slot reads/writes

Kumar Kartikeya Dwivedi <[email protected]>
bpf: Fix missing var_off check for ARG_PTR_TO_DYNPTR

Kumar Kartikeya Dwivedi <[email protected]>
bpf: Fix state pruning for STACK_DYNPTR stack slots

Yang Yingliang <[email protected]>
powercap: fix possible name leak in powercap_register_zone()

Herbert Xu <[email protected]>
crypto: seqiv - Handle EBUSY correctly

Herbert Xu <[email protected]>
crypto: essiv - Handle EBUSY correctly

Koba Ko <[email protected]>
crypto: ccp - Failure on re-initialization due to duplicate sysfs filename

Tiezhu Yang <[email protected]>
selftests/bpf: Fix build errors if CONFIG_NF_CONNTRACK=m

Armin Wolf <[email protected]>
ACPI: battery: Fix missing NUL-termination with large strings

Shivani Baranwal <[email protected]>
wifi: cfg80211: Fix extended KCK key length check in nl80211_set_rekey_data()

Miaoqian Lin <[email protected]>
wifi: ath11k: Fix memory leak in ath11k_peer_rx_frag_setup

Minsuk Kang <[email protected]>
wifi: ath9k: Fix potential stack-out-of-bounds write in ath9k_wmi_rsp_callback()

Fedor Pchelkin <[email protected]>
wifi: ath9k: hif_usb: clean up skbs if ath9k_hif_usb_rx_stream() fails

Fedor Pchelkin <[email protected]>
wifi: ath9k: htc_hst: free skb in ath9k_htc_rx_msg() if there is no callback function

Viorel Suman <[email protected]>
thermal/drivers/imx_sc_thermal: Fix the loop condition

Martin Blumenstingl <[email protected]>
wifi: rtw88: Use non-atomic sta iterator in rtw_ra_mask_info_update()

Martin Blumenstingl <[email protected]>
wifi: rtw88: Use rtw_iterate_vifs() for rtw_vif_watch_dog_iter()

Alexey Kodanev <[email protected]>
wifi: orinoco: check return value of hermes_write_wordrec()

Bitterblue Smith <[email protected]>
wifi: rtl8xxxu: Fix memory leaks with RTL8723BU, RTL8192EU

Jiasheng Jiang <[email protected]>
wifi: rtw89: Add missing check for alloc_workqueue

Zong-Zhe Yang <[email protected]>
wifi: rtw89: fix potential leak in rtw89_append_probe_req_ie()

Dmitry Baryshkov <[email protected]>
thermal/drivers/tsens: limit num_sensors to 9 for msm8939

Dmitry Baryshkov <[email protected]>
thermal/drivers/tsens: fix slope values for msm8939

Dmitry Baryshkov <[email protected]>
thermal/drivers/tsens: Sort out msm8976 vs msm8956 data

Dmitry Baryshkov <[email protected]>
thermal/drivers/tsens: Drop msm8976-specific defines

Christophe JAILLET <[email protected]>
x86/signal: Fix the value returned by strict_sas_size()

Christophe JAILLET <[email protected]>
s390/vfio-ap: fix an error handling path in vfio_ap_mdev_probe_queue()

Alexander Gordeev <[email protected]>
s390/early: fix sclp_early_sccb variable lifetime

Lai Jiangshan <[email protected]>
workqueue: Protects wq_unbound_cpumask with wq_pool_attach_mutex

Mark Brown <[email protected]>
kselftest/arm64: Fix syscall-abi for systems without 128 bit SME

Mark Brown <[email protected]>
arm64/sysreg: Fix errors in 32 bit enumeration values

Mark Brown <[email protected]>
arm64/cpufeature: Fix field sign for DIT hwcap detection

Magnus Karlsson <[email protected]>
selftests/xsk: print correct error codes when exiting

Magnus Karlsson <[email protected]>
selftests/xsk: print correct payload for packet dump

Michal Suchanek <[email protected]>
bpf_doc: Fix build error with older python versions

Ludovic L'Hours <[email protected]>
libbpf: Fix map creation flags sanitization

Daniil Tatianin <[email protected]>
ACPICA: nsrepair: handle cases without a return value correctly

Prashant Malani <[email protected]>
platform/chrome: cros_ec_typec: Update port DP VDO

David Rientjes <[email protected]>
crypto: ccp - Avoid page allocation failure warning for SEV_GET_ID2

Herbert Xu <[email protected]>
lib/mpi: Fix buffer overrun when SG is too long

Frederic Weisbecker <[email protected]>
rcu-tasks: Fix synchronize_rcu_tasks() VS zap_pid_ns_processes()

Frederic Weisbecker <[email protected]>
rcu-tasks: Remove preemption disablement around srcu_read_[un]lock() calls

Frederic Weisbecker <[email protected]>
rcu-tasks: Improve comments explaining tasks_rcu_exit_srcu purpose

Zhen Lei <[email protected]>
genirq: Fix the return type of kstat_cpu_irqs_sum()

Mario Limonciello <[email protected]>
ACPICA: Drop port I/O validation for some regions

Lukas Bulwahn <[email protected]>
crypto: ux500 - update debug config after ux500 cryp driver removal

Eric Biggers <[email protected]>
crypto: x86/ghash - fix unaligned access in ghash_setkey()

Daniel T. Lee <[email protected]>
libbpf: Fix invalid return address register in s390

Yang Yingliang <[email protected]>
wifi: wl3501_cs: don't call kfree_skb() under spin_lock_irqsave()

Yang Yingliang <[email protected]>
wifi: libertas: cmdresp: don't call kfree_skb() under spin_lock_irqsave()

Yang Yingliang <[email protected]>
wifi: libertas: main: don't call kfree_skb() under spin_lock_irqsave()

Yang Yingliang <[email protected]>
wifi: libertas: if_usb: don't call kfree_skb() under spin_lock_irqsave()

Yang Yingliang <[email protected]>
wifi: libertas_tf: don't call kfree_skb() under spin_lock_irqsave()

Zhengchao Shao <[email protected]>
wifi: brcmfmac: unmap dma buffer in brcmf_msgbuf_alloc_pktid()

Zhang Changzhong <[email protected]>
wifi: brcmfmac: fix potential memory leak in brcmf_netdev_start_xmit()

Wang Yufen <[email protected]>
wifi: wilc1000: add missing unregister_netdev() in wilc_netdev_ifc_init()

Zhang Changzhong <[email protected]>
wifi: wilc1000: fix potential memory leak in wilc_mac_xmit()

Zhengchao Shao <[email protected]>
wifi: ipw2200: fix memory leak in ipw_wdev_init()

Yang Yingliang <[email protected]>
wifi: ipw2x00: don't call dev_kfree_skb() under spin_lock_irqsave()

Andrii Nakryiko <[email protected]>
libbpf: Fix btf__align_of() by taking into account field offsets

Andrii Nakryiko <[email protected]>
libbpf: Fix single-line struct definition output in btf_dump

Li Zetao <[email protected]>
wifi: rtlwifi: Fix global-out-of-bounds bug in _rtl8812ae_phy_set_txpower_limit()

Ping-Ke Shih <[email protected]>
wifi: rtw89: 8852c: rfk: correct DPK settings

Ping-Ke Shih <[email protected]>
wifi: rtw89: 8852c: rfk: correct DACK setting

Yang Yingliang <[email protected]>
wifi: rtl8xxxu: don't call dev_kfree_skb() under spin_lock_irqsave()

Bitterblue Smith <[email protected]>

    wifi: rtl8xxxu: Fix assignment to bit field priv->cck_agc_report_type

Bitterblue Smith <[email protected]>

    wifi: rtl8xxxu: Fix assignment to bit field priv->pi_enabled

Zhengchao Shao <[email protected]>
wifi: libertas: fix memory leak in lbs_init_adapter()

Yang Yingliang <[email protected]>
wifi: iwlegacy: common: don't call dev_kfree_skb() under spin_lock_irqsave()

Yang Yingliang <[email protected]>
wifi: rtlwifi: rtl8723be: don't call kfree_skb() under spin_lock_irqsave()

Yang Yingliang <[email protected]>
wifi: rtlwifi: rtl8188ee: don't call kfree_skb() under spin_lock_irqsave()

Yang Yingliang <[email protected]>
wifi: rtlwifi: rtl8821ae: don't call kfree_skb() under spin_lock_irqsave()

Yuan Can <[email protected]>
wifi: rsi: Fix memory leak in rsi_coex_attach()

Sean Wang <[email protected]>

    wifi: mt76: mt7921: resource leaks at mt7921_check_offload_capability()

Deren Wu <[email protected]>
wifi: mt76: fix coverity uninit_use_in_call in mt76_connac2_reverse_frag0_hdr_trans()

Ryder Lee <[email protected]>
wifi: mt76: mt7915: fix unintended sign extension of mt7915_hw_queue_read()

Ryder Lee <[email protected]>
wifi: mt76: mt7996: fix unintended sign extension of mt7996_hw_queue_read()

Lorenzo Bianconi <[email protected]>
wifi: mt76: mt76x0: fix oob access in mt76x0_phy_get_target_power

Lorenzo Bianconi <[email protected]>

    wifi: mt76: mt7996: fix endianness warning in mt7996_mcu_sta_he_tlv

Ryder Lee <[email protected]>

    wifi: mt76: mt7996: drop always true condition of __mt7996_reg_addr()

Ryder Lee <[email protected]>

    wifi: mt76: mt7915: drop always true condition of __mt7915_reg_addr()

Ryder Lee <[email protected]>
wifi: mt76: mt7996: check return value before accessing free_block_num

Ryder Lee <[email protected]>
wifi: mt76: mt7915: check return value before accessing free_block_num

Ryder Lee <[email protected]>
wifi: mt76: mt7996: fix integer handling issue of mt7996_rf_regval_set()

Ryder Lee <[email protected]>
wifi: mt76: mt7996: fix insecure data handling of mt7996_mcu_rx_radar_detected()

Ryder Lee <[email protected]>
wifi: mt76: mt7996: fix insecure data handling of mt7996_mcu_ie_countdown()

Ryder Lee <[email protected]>

    wifi: mt76: mt7915: fix mt7915_rate_txpower_get() resource leaks

Deren Wu <[email protected]>
wifi: mt76: mt7921s: fix slab-out-of-bounds access in sdio host

Wang Yufen <[email protected]>

    wifi: mt76: mt7915: add missing of_node_put()

Jens Axboe <[email protected]>
block: use proper return value from bio_failfast()

Martin K. Petersen <[email protected]>
block: bio-integrity: Copy flags when bio_integrity_payload is cloned

Jinke Han <[email protected]>
block: Fix io statistics for cgroup in throttle path

Ming Lei <[email protected]>
block: sync mixed merged request's failfast with 1st bio's

Jingbo Xu <[email protected]>
erofs: relinquish volume with mutex held

Konrad Dybcio <[email protected]>
arm64: dts: qcom: pmk8350: Use the correct PON compatible

Liu Xiaodong <[email protected]>
block: ublk: check IO buffer based on flag need_get_data

Denis Kenzior <[email protected]>
KEYS: asymmetric: Fix ECDSA use via keyctl uapi

silviazhao <[email protected]>
x86/perf/zhaoxin: Add stepping check for ZXC

Kan Liang <[email protected]>
perf/x86/intel/ds: Fix the conversion from TSC to perf time

Pietro Borrello <[email protected]>
sched/rt: pick_next_rt_entity(): check list_entry

Richard Guy Briggs <[email protected]>
io_uring,audit: don't log IORING_OP_MADVISE

Qiheng Lin <[email protected]>
s390/dasd: Fix potential memleak in dasd_eckd_init()

Petr Vorel <[email protected]>
arm64: dts: qcom: msm8992-lg-bullhead: Enable regulators

Krzysztof Kozlowski <[email protected]>
arm64: dts: qcom: sm6115: correct TLMM gpio-ranges

Krzysztof Kozlowski <[email protected]>
arm64: dts: qcom: msm8953: correct TLMM gpio-ranges

Jamie Douglass <[email protected]>
arm64: dts: qcom: msm8992-lg-bullhead: Correct memory overlaps with the SMEM and MPSS memory regions

Krzysztof Kozlowski <[email protected]>
arm64: dts: qcom: sm8450: drop incorrect cells from serial

Krzysztof Kozlowski <[email protected]>
arm64: dts: qcom: sm8350: drop incorrect cells from serial

Dmitry Baryshkov <[email protected]>
arm64: dts: qcom: msm8996 switch from RPM_SMD_BB_CLK1 to RPM_SMD_XO_CLK_SRC

Dmitry Baryshkov <[email protected]>
arm64: dts: qcom: msm8996: support using GPLL0 as kryocc input

Kemeng Shi <[email protected]>
blk-mq: correct stale comment of .get_budget

Kemeng Shi <[email protected]>
blk-mq: Fix potential io hung for shared sbitmap per tagset

Kemeng Shi <[email protected]>
blk-mq: wait on correct sbitmap_queue in blk_mq_mark_tag_wait

Kemeng Shi <[email protected]>
blk-mq: remove stale comment for blk_mq_sched_mark_restart_hctx

Kemeng Shi <[email protected]>
blk-mq: avoid sleep in blk_mq_alloc_request_hctx

Konrad Dybcio <[email protected]>
arm64: dts: qcom: sm8450-nagara: Correct firmware paths

Patrick Delaunay <[email protected]>
ARM: dts: stm32: Update part number NVMEM description on stm32mp131

Allen-KH Cheng <[email protected]>
arm64: dts: mediatek: mt7986: Fix watchdog compatible

AngeloGioacchino Del Regno <[email protected]>
arm64: dts: mediatek: mt8195: Fix watchdog compatible

AngeloGioacchino Del Regno <[email protected]>
arm64: dts: mediatek: mt8186: Fix watchdog compatible

AngeloGioacchino Del Regno <[email protected]>
arm64: dts: mediatek: mt7622: Add missing pwm-cells to pwm node

AngeloGioacchino Del Regno <[email protected]>
arm64: dts: mt8186: Fix CPU map for single-cluster SoC

AngeloGioacchino Del Regno <[email protected]>
arm64: dts: mt8192: Fix CPU map for single-cluster SoC

AngeloGioacchino Del Regno <[email protected]>
arm64: dts: mt8195: Fix CPU map for single-cluster SoC

Kemeng Shi <[email protected]>
sbitmap: correct wake_batch recalculation to avoid potential IO hung

Kemeng Shi <[email protected]>
sbitmap: remove redundant check in __sbitmap_queue_get_batch

Peng Fan <[email protected]>
ARM: dts: imx7s: correct iomuxc gpr mux controller cells

Ming Lei <[email protected]>
ublk_drv: don't probe partitions if the ubq daemon isn't trusted

Ming Lei <[email protected]>
ublk_drv: remove nr_aborted_queues from ublk_device

Samuel Holland <[email protected]>
ARM: dts: sun8i: nanopi-duo2: Fix regulator GPIO reference

Christian Hewitt <[email protected]>
arm64: dts: meson: bananapi-m5: switch VDDIO_C pin to OPEN_DRAIN

Christian Hewitt <[email protected]>
arm64: dts: meson: radxa-zero: allow usb otg mode

Adam Ford <[email protected]>
arm64: dts: renesas: beacon-renesom: Fix gpio expander reference

Mikko Perttunen <[email protected]>
arm64: tegra: Mark host1x as dma-coherent on Tegra194/234

Thierry Reding <[email protected]>
arm64: tegra: Sort nodes by unit-address, then alphabetically

Thierry Reding <[email protected]>
arm64: tegra: Bump #address-cells and #size-cells

Waiman Long <[email protected]>
locking/rwsem: Disable preemption in all down_read*() and up_read() code paths

Neil Armstrong <[email protected]>
arm64: dts: amlogic: meson-sm1-odroid-hc4: fix active fan thermal trip

Neil Armstrong <[email protected]>
arm64: dts: amlogic: meson-g12b-odroid-go-ultra: fix rk818 pmic properties

Neil Armstrong <[email protected]>
arm64: dts: amlogic: meson-gxbb-kii-pro: fix led node name

Neil Armstrong <[email protected]>
arm64: dts: amlogic: meson-gxl-s905d-phicomm-n1: fix led node name

Neil Armstrong <[email protected]>
arm64: dts: amlogic: meson-sm1-bananapi-m5: fix adc keys node names

Neil Armstrong <[email protected]>
arm64: dts: amlogic: meson-gx-libretech-pc: fix update button name

Neil Armstrong <[email protected]>
arm64: dts: amlogic: meson-gxl: add missing unit address to eth-phy-mux node name

Neil Armstrong <[email protected]>
arm64: dts: amlogic: meson-axg-jethome-jethub-j1xx: fix invalid rtc node name

Neil Armstrong <[email protected]>
arm64: dts: amlogic: meson-gxl-s905w-jethome-jethub-j80: fix invalid rtc node name

Neil Armstrong <[email protected]>
arm64: dts: amlogic: meson-gx: add missing unit address to rng node name

Neil Armstrong <[email protected]>
arm64: dts: amlogic: meson-gxl-s905d-sml5442tw: drop invalid clock-names property

Neil Armstrong <[email protected]>
arm64: dts: amlogic: meson-axg-jethome-jethub-j1xx: fix supply name of USB controller node

Neil Armstrong <[email protected]>
arm64: dts: amlogic: meson-gx: add missing SCPI sensors compatible

Neil Armstrong <[email protected]>
arm64: dts: amlogic: meson-axg: fix SCPI clock dvfs node name

Neil Armstrong <[email protected]>
arm64: dts: amlogic: meson-gx: fix SCPI clock dvfs node name

Angus Chen <[email protected]>
ARM: imx: Call ida_simple_remove() for ida_simple_get

Krzysztof Kozlowski <[email protected]>
ARM: dts: exynos: correct wr-active property in Exynos3250 Rinato

Vaishnav Achath <[email protected]>
arm64: dts: ti: k3-j7200: Fix wakeup pinmux range

Arnd Bergmann <[email protected]>
ARM: s3c: fix s3c64xx_set_timer_source prototype

Stefan Wahren <[email protected]>
ARM: bcm2835_defconfig: Enable the framebuffer

Chen-Yu Tsai <[email protected]>
arm64: dts: mediatek: mt8192: Mark scp_adsp clock as broken

Yang Yingliang <[email protected]>
ARM: OMAP1: call platform_device_put() in error case in omap1_dm_timer_init()

Christian Hewitt <[email protected]>
arm64: dts: meson: remove CPU opps below 1GHz for G12A boards

Robert Marko <[email protected]>
arm64: dts: qcom: ipq8074: correct PCIe QMP PHY output clock names

Robert Marko <[email protected]>
arm64: dts: qcom: ipq8074: fix Gen3 PCIe node

Robert Marko <[email protected]>
arm64: dts: qcom: ipq8074: correct Gen2 PCIe ranges

Robert Marko <[email protected]>
arm64: dts: qcom: ipq8074: fix Gen3 PCIe QMP PHY

Robert Marko <[email protected]>
arm64: dts: qcom: ipq8074: fix Gen2 PCIe QMP PHY

Robert Marko <[email protected]>
arm64: dts: qcom: ipq8074: correct USB3 QMP PHY-s clock output names

Dmitry Baryshkov <[email protected]>
arm64: dts: qcom: msm8956: use SoC-specific compat for tsens

Petr Vorel <[email protected]>
arm64: dts: qcom: msm8992-bullhead: Disable dfps_data_mem

Petr Vorel <[email protected]>
arm64: dts: qcom: msm8992-bullhead: Fix cont_splash_mem size

Thierry Reding <[email protected]>
arm64: tegra: Fix duplicate regulator on Jetson TX1

Dhruva Gole <[email protected]>
arm64: dts: ti: k3-am62-main: Fix clocks for McSPI

Peter Zijlstra <[email protected]>
cpuidle, intel_idle: Fix CPUIDLE_FLAG_IRQ_ENABLE *again*

Martin Blumenstingl <[email protected]>
arm64: dts: meson-gx: Fix the SCPI DVFS node name and unit address

Martin Blumenstingl <[email protected]>
arm64: dts: meson-g12a: Fix internal Ethernet PHY unit name

Martin Blumenstingl <[email protected]>
arm64: dts: meson-gx: Fix Ethernet MAC address unit name

Martin Blumenstingl <[email protected]>
arm64: dts: meson-axg: jethub-j1xx: Fix MAC address node names

Martin Blumenstingl <[email protected]>
arm64: dts: meson-gxl: jethub-j80: Fix Bluetooth MAC node name

Martin Blumenstingl <[email protected]>
arm64: dts: meson-gxl: jethub-j80: Fix WiFi MAC address node

Bjorn Andersson <[email protected]>

    arm64: dts: qcom: sc8280xp: Vote for CX in USB controllers

Dmitry Baryshkov <[email protected]>
arm64: dts: qcom: msm8996-oneplus-common: drop vdda-supply from DSI PHY

Dmitry Baryshkov <[email protected]>
arm64: dts: qcom: sdm845: make DP node follow the schema

Krzysztof Kozlowski <[email protected]>
arm64: dts: qcom: sm8450: correct Soundwire wakeup interrupt name

Krzysztof Kozlowski <[email protected]>

    arm64: dts: qcom: sc8280xp: correct SPMI bus address cells

Krzysztof Kozlowski <[email protected]>
arm64: dts: qcom: sc7280: correct SPMI bus address cells

Krzysztof Kozlowski <[email protected]>
arm64: dts: qcom: sc7180: correct SPMI bus address cells

Kishon Vijay Abraham I <[email protected]>
x86/acpi/boot: Do not register processors that cannot be onlined for x2APIC

Krzysztof Kozlowski <[email protected]>
arm64: dts: qcom: sdm845-xiaomi-beryllium: fix audio codec interrupt pin name

Krzysztof Kozlowski <[email protected]>
arm64: dts: qcom: sdm845-db845c: fix audio codec interrupt pin name

Chen-Yu Tsai <[email protected]>
arm64: dts: mediatek: mt8186: Fix systimer 13 MHz clock description

Chen-Yu Tsai <[email protected]>
arm64: dts: mediatek: mt8195: Fix systimer 13 MHz clock description

Chen-Yu Tsai <[email protected]>
arm64: dts: mediatek: mt8192: Fix systimer 13 MHz clock description

Chen-Yu Tsai <[email protected]>
arm64: dts: mediatek: mt8183: Fix systimer 13 MHz clock description

AngeloGioacchino Del Regno <[email protected]>
arm64: dts: mediatek: mt8195: Add power domain to U3PHY1 T-PHY

Yang Yingliang <[email protected]>
fs: dlm: fix return value check in dlm_memory_init()

Qiheng Lin <[email protected]>
ARM: zynq: Fix refcount leak in zynq_early_slcr_init

Marek Vasut <[email protected]>
arm64: dts: imx8m: Align SoC unique ID node unit address

Marijn Suijten <[email protected]>
arm64: dts: qcom: sm6125-seine: Clean up gpio-keys (volume down)

Marijn Suijten <[email protected]>
arm64: dts: qcom: sm6125: Reorder HSUSB PHY clocks to match bindings

Marijn Suijten <[email protected]>
arm64: dts: qcom: sm6350-lena: Flatten gpio-keys pinctrl state

Konrad Dybcio <[email protected]>
arm64: dts: qcom: sm8350-sagami: Rectify GPIO keys

Konrad Dybcio <[email protected]>
arm64: dts: qcom: sm8350-sagami: Add GPIO line names for PMIC GPIOs

Konrad Dybcio <[email protected]>

    arm64: dts: qcom: sm8350-sagami: Configure SLG51000 PMIC on PDX215

Dzmitry Sankouski <[email protected]>
arm64: dts: qcom: Re-enable resin on MSM8998 and SDM845 boards

Richard Acayan <[email protected]>

    arm64: dts: qcom: sdm670-google-sargo: keep pm660 ldo8 on

Konrad Dybcio <[email protected]>
arm64: dts: qcom: sm6350: Fix up the ramoops node

Marijn Suijten <[email protected]>
arm64: dts: qcom: pmi8950: Correct rev_1250v channel label to mv

Marijn Suijten <[email protected]>
arm64: dts: qcom: sm8150-kumano: Panel framebuffer is 2.5k instead of 4k

Konrad Dybcio <[email protected]>
arm64: dts: qcom: sm6115: Provide xo clk to rpmcc

Konrad Dybcio <[email protected]>

    arm64: dts: qcom: sm6115: Fix UFS node

Konrad Dybcio <[email protected]>
arm64: dts: qcom: msm8996-tone: Fix USB taking 6 minutes to wake up

Dmitry Baryshkov <[email protected]>
arm64: dts: qcom: qcs404: use symbol names for PCIe resets

Chen Hui <[email protected]>
ARM: OMAP2+: Fix memory leak in realtime_counter_init()

Damien Le Moal <[email protected]>
ata: ahci: Revert "ata: ahci: Add Tiger Lake UP{3,4} AHCI controller"

Anders Roxell <[email protected]>
powerpc/mm: Rearrange if-else block to avoid clang warning

Vasant Hegde <[email protected]>
iommu: Attach device group to old domain in error path

Vasant Hegde <[email protected]>
iommu/amd: Improve page fault error reporting

Vasant Hegde <[email protected]>
iommu/amd: Skip attach device domain is same as new domain

Vasant Hegde <[email protected]>
iommu/amd: Fix error handling for pdev_pri_ats_enable()

Pietro Borrello <[email protected]>
HID: asus: use spinlock to safely schedule workers

Pietro Borrello <[email protected]>
HID: asus: use spinlock to protect concurrent accesses

-------------

Diffstat:

 Documentation/admin-guide/cgroup-v1/memory.rst     |   13 +-
 Documentation/admin-guide/hw-vuln/spectre.rst      |   21 +-
 Documentation/admin-guide/kdump/gdbmacros.txt      |    2 +-
 Documentation/bpf/instruction-set.rst              |   16 +-
 Documentation/dev-tools/gdb-kernel-debugging.rst   |    4 +
 .../bindings/display/mediatek/mediatek,ccorr.yaml  |    2 +-
 .../bindings/sound/amlogic,gx-sound-card.yaml      |    2 +-
 Documentation/hwmon/ftsteutates.rst                |    4 +
 Documentation/virt/kvm/api.rst                     |   18 +-
 Documentation/virt/kvm/devices/vm.rst              |    4 +
 Makefile                                           |    4 +-
 arch/alpha/boot/tools/objstrip.c                   |    2 +-
 arch/alpha/kernel/traps.c                          |   30 +-
 arch/arm/boot/dts/exynos3250-rinato.dts            |    2 +-
 arch/arm/boot/dts/exynos4-cpu-thermal.dtsi         |    2 +-
 arch/arm/boot/dts/exynos4.dtsi                     |    2 +-
 arch/arm/boot/dts/exynos4210.dtsi                  |    1 -
 arch/arm/boot/dts/exynos5250.dtsi                  |    2 +-
 arch/arm/boot/dts/exynos5410-odroidxu.dts          |    1 -
 arch/arm/boot/dts/exynos5420.dtsi                  |    2 +-
 arch/arm/boot/dts/exynos5422-odroidhc1.dts         |   10 +-
 arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi |   10 +-
 arch/arm/boot/dts/imx7s.dtsi                       |    2 +-
 arch/arm/boot/dts/qcom-sdx55.dtsi                  |    2 +-
 arch/arm/boot/dts/qcom-sdx65.dtsi                  |    2 +-
 arch/arm/boot/dts/stm32mp131.dtsi                  |    1 +
 arch/arm/boot/dts/sun8i-h3-nanopi-duo2.dts         |    2 +-
 arch/arm/configs/bcm2835_defconfig                 |    1 +
 arch/arm/mach-imx/mmdc.c                           |   24 +-
 arch/arm/mach-omap1/timer.c                        |    2 +-
 arch/arm/mach-omap2/omap4-common.c                 |    1 +
 arch/arm/mach-omap2/timer.c                        |    1 +
 arch/arm/mach-s3c/s3c64xx.c                        |    3 +-
 arch/arm/mach-zynq/slcr.c                          |    1 +
 arch/arm64/Kconfig                                 |    1 -
 .../dts/amlogic/meson-axg-jethome-jethub-j1xx.dtsi |   10 +-
 arch/arm64/boot/dts/amlogic/meson-axg.dtsi         |    4 +-
 arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi  |    2 +-
 .../boot/dts/amlogic/meson-g12a-radxa-zero.dts     |    1 -
 arch/arm64/boot/dts/amlogic/meson-g12a.dtsi        |   20 -
 .../dts/amlogic/meson-g12b-odroid-go-ultra.dts     |    2 +-
 .../boot/dts/amlogic/meson-gx-libretech-pc.dtsi    |    2 +-
 arch/arm64/boot/dts/amlogic/meson-gx.dtsi          |    6 +-
 arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts |    2 +-
 .../dts/amlogic/meson-gxl-s905d-phicomm-n1.dts     |    2 +-
 .../boot/dts/amlogic/meson-gxl-s905d-sml5442tw.dts |    1 -
 .../amlogic/meson-gxl-s905w-jethome-jethub-j80.dts |    6 +-
 arch/arm64/boot/dts/amlogic/meson-gxl.dtsi         |    2 +-
 .../boot/dts/amlogic/meson-sm1-bananapi-m5.dts     |    6 +-
 .../boot/dts/amlogic/meson-sm1-odroid-hc4.dts      |   10 +-
 arch/arm64/boot/dts/freescale/imx8mm.dtsi          |    2 +-
 arch/arm64/boot/dts/freescale/imx8mn.dtsi          |    2 +-
 arch/arm64/boot/dts/freescale/imx8mp.dtsi          |    2 +-
 arch/arm64/boot/dts/freescale/imx8mq.dtsi          |    2 +-
 arch/arm64/boot/dts/mediatek/mt7622.dtsi           |    1 +
 arch/arm64/boot/dts/mediatek/mt7986a.dtsi          |    3 +-
 arch/arm64/boot/dts/mediatek/mt8183.dtsi           |   12 +-
 arch/arm64/boot/dts/mediatek/mt8186.dtsi           |   17 +-
 arch/arm64/boot/dts/mediatek/mt8192.dtsi           |   25 +-
 arch/arm64/boot/dts/mediatek/mt8195.dtsi           |   25 +-
 arch/arm64/boot/dts/nvidia/tegra132-norrin.dts     |   16 +-
 arch/arm64/boot/dts/nvidia/tegra132.dtsi           |  232 +-
 arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts | 2564 +++++++++----------
 arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi     |   86 +-
 .../dts/nvidia/tegra186-p3509-0000+p3636-0001.dts  | 1730 ++++++-------
 arch/arm64/boot/dts/nvidia/tegra186.dtsi           |  470 ++--
 arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi     |   36 +-
 arch/arm64/boot/dts/nvidia/tegra194-p2972-0000.dts | 2418 +++++++++---------
 .../arm64/boot/dts/nvidia/tegra194-p3509-0000.dtsi | 2495 +++++++++----------
 arch/arm64/boot/dts/nvidia/tegra194-p3668.dtsi     |   36 +-
 arch/arm64/boot/dts/nvidia/tegra194.dtsi           | 1604 ++++++------
 arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi     |   66 +-
 arch/arm64/boot/dts/nvidia/tegra210-p2371-2180.dts |  278 +--
 arch/arm64/boot/dts/nvidia/tegra210-p2595.dtsi     |    3 +
 arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi     |    5 +-
 arch/arm64/boot/dts/nvidia/tegra210-p2894.dtsi     |   86 +-
 arch/arm64/boot/dts/nvidia/tegra210-p3450-0000.dts |  384 +--
 arch/arm64/boot/dts/nvidia/tegra210-smaug.dts      |   66 +-
 arch/arm64/boot/dts/nvidia/tegra210.dtsi           |  310 +--
 .../arm64/boot/dts/nvidia/tegra234-p3701-0000.dtsi |   70 +-
 .../dts/nvidia/tegra234-p3737-0000+p3701-0000.dts  | 2588 ++++++++++----------
 arch/arm64/boot/dts/nvidia/tegra234.dtsi           | 1895 +++++++-------
 arch/arm64/boot/dts/qcom/ipq8074.dtsi              |   63 +-
 arch/arm64/boot/dts/qcom/msm8953.dtsi              |    2 +-
 arch/arm64/boot/dts/qcom/msm8956.dtsi              |    4 +
 arch/arm64/boot/dts/qcom/msm8992-lg-bullhead.dtsi  |   48 +-
 .../boot/dts/qcom/msm8996-oneplus-common.dtsi      |    1 -
 .../boot/dts/qcom/msm8996-sony-xperia-tone.dtsi    |    5 +-
 arch/arm64/boot/dts/qcom/msm8996.dtsi              |   22 +-
 arch/arm64/boot/dts/qcom/msm8998-fxtec-pro1.dts    |   11 +-
 .../boot/dts/qcom/msm8998-sony-xperia-yoshino.dtsi |   11 +-
 arch/arm64/boot/dts/qcom/pmi8950.dtsi              |    2 +-
 arch/arm64/boot/dts/qcom/pmk8350.dtsi              |    2 +-
 arch/arm64/boot/dts/qcom/qcs404.dtsi               |   12 +-
 arch/arm64/boot/dts/qcom/sc7180.dtsi               |    4 +-
 arch/arm64/boot/dts/qcom/sc7280.dtsi               |    4 +-
 arch/arm64/boot/dts/qcom/sc8280xp.dtsi             |    6 +-
 arch/arm64/boot/dts/qcom/sdm670-google-sargo.dts   |    1 +
 arch/arm64/boot/dts/qcom/sdm845-db845c.dts         |   13 +-
 arch/arm64/boot/dts/qcom/sdm845-lg-common.dtsi     |   11 +-
 arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts  |   11 +-
 .../dts/qcom/sdm845-xiaomi-beryllium-common.dtsi   |   13 +-
 arch/arm64/boot/dts/qcom/sdm845-xiaomi-polaris.dts |   11 +-
 arch/arm64/boot/dts/qcom/sdm845.dtsi               |    1 -
 arch/arm64/boot/dts/qcom/sm6115.dtsi               |    9 +-
 .../dts/qcom/sm6125-sony-xperia-seine-pdx201.dts   |   19 +-
 arch/arm64/boot/dts/qcom/sm6125.dtsi               |    6 +-
 .../dts/qcom/sm6350-sony-xperia-lena-pdx213.dts    |   18 +-
 arch/arm64/boot/dts/qcom/sm6350.dtsi               |    7 +-
 .../boot/dts/qcom/sm8150-sony-xperia-kumano.dtsi   |    7 +-
 .../dts/qcom/sm8350-sony-xperia-sagami-pdx214.dts  |   23 +
 .../dts/qcom/sm8350-sony-xperia-sagami-pdx215.dts  |   87 +
 .../boot/dts/qcom/sm8350-sony-xperia-sagami.dtsi   |   88 +-
 arch/arm64/boot/dts/qcom/sm8350.dtsi               |    2 -
 .../boot/dts/qcom/sm8450-sony-xperia-nagara.dtsi   |    6 +-
 arch/arm64/boot/dts/qcom/sm8450.dtsi               |    6 +-
 .../boot/dts/renesas/beacon-renesom-baseboard.dtsi |   24 +-
 arch/arm64/boot/dts/ti/k3-am62-main.dtsi           |    6 +-
 .../boot/dts/ti/k3-j7200-common-proc-board.dts     |    2 +-
 arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi    |   29 +-
 arch/arm64/boot/dts/xilinx/zynqmp.dtsi             |    2 +
 arch/arm64/kernel/acpi.c                           |    8 +-
 arch/arm64/kernel/cpufeature.c                     |    2 +-
 arch/arm64/mm/copypage.c                           |    3 +-
 arch/arm64/tools/sysreg                            |    8 +-
 arch/loongarch/net/bpf_jit.c                       |    2 +-
 arch/loongarch/net/bpf_jit.h                       |   21 +
 arch/m68k/68000/entry.S                            |    2 +
 arch/m68k/Kconfig.devices                          |    1 +
 arch/m68k/coldfire/entry.S                         |    2 +
 arch/m68k/kernel/entry.S                           |    3 +
 arch/mips/boot/dts/ingenic/ci20.dts                |    2 +-
 arch/mips/include/asm/syscall.h                    |    2 +-
 arch/powerpc/Makefile                              |    2 +-
 arch/powerpc/boot/Makefile                         |   14 +-
 arch/powerpc/mm/book3s64/radix_tlb.c               |   11 +-
 arch/riscv/Kconfig                                 |    2 +-
 arch/riscv/Makefile                                |    6 +-
 arch/riscv/include/asm/ftrace.h                    |   50 +-
 arch/riscv/include/asm/jump_label.h                |    2 +
 arch/riscv/include/asm/pgtable.h                   |    2 +-
 arch/riscv/include/asm/thread_info.h               |    1 +
 arch/riscv/kernel/ftrace.c                         |   65 +-
 arch/riscv/kernel/mcount-dyn.S                     |   42 +-
 arch/riscv/kernel/time.c                           |    3 +
 arch/riscv/kernel/traps.c                          |    5 +-
 arch/riscv/mm/fault.c                              |   10 +-
 arch/s390/boot/boot.h                              |   26 +-
 arch/s390/boot/decompressor.c                      |    1 +
 arch/s390/boot/decompressor.h                      |   26 -
 arch/s390/boot/kaslr.c                             |    6 -
 arch/s390/boot/mem_detect.c                        |   54 +-
 arch/s390/boot/startup.c                           |   21 +-
 arch/s390/include/asm/ap.h                         |   12 +-
 arch/s390/kernel/early.c                           |    1 -
 arch/s390/kernel/head64.S                          |    1 +
 arch/s390/kernel/idle.c                            |    2 +-
 arch/s390/kernel/ipl.c                             |   94 +-
 arch/s390/kernel/kprobes.c                         |    4 +-
 arch/s390/kernel/vdso64/Makefile                   |    2 +-
 arch/s390/kernel/vmlinux.lds.S                     |    1 +
 arch/s390/kvm/kvm-s390.c                           |   43 +-
 arch/s390/mm/dump_pagetables.c                     |   16 +-
 arch/s390/mm/extmem.c                              |   12 +-
 arch/s390/mm/fault.c                               |   49 +-
 arch/s390/mm/vmem.c                                |    6 +-
 arch/s390/net/bpf_jit_comp.c                       |   12 +-
 arch/sparc/Kconfig                                 |    2 +-
 arch/x86/crypto/ghash-clmulni-intel_glue.c         |    6 +-
 arch/x86/events/intel/ds.c                         |   35 +-
 arch/x86/events/intel/uncore.c                     |    7 +
 arch/x86/events/intel/uncore.h                     |    1 +
 arch/x86/events/intel/uncore_snb.c                 |  161 ++
 arch/x86/events/zhaoxin/core.c                     |    8 +-
 arch/x86/include/asm/fpu/sched.h                   |    2 +-
 arch/x86/include/asm/fpu/xcr.h                     |    4 +-
 arch/x86/include/asm/microcode.h                   |    4 +-
 arch/x86/include/asm/microcode_amd.h               |    4 +-
 arch/x86/include/asm/msr-index.h                   |    4 +
 arch/x86/include/asm/processor.h                   |    3 +-
 arch/x86/include/asm/reboot.h                      |    2 +
 arch/x86/include/asm/special_insns.h               |    2 +-
 arch/x86/include/asm/virtext.h                     |   16 +-
 arch/x86/kernel/acpi/boot.c                        |   19 +-
 arch/x86/kernel/cpu/bugs.c                         |   35 +-
 arch/x86/kernel/cpu/common.c                       |   45 +-
 arch/x86/kernel/cpu/microcode/amd.c                |   55 +-
 arch/x86/kernel/cpu/microcode/core.c               |   26 +-
 arch/x86/kernel/crash.c                            |   17 +-
 arch/x86/kernel/fpu/context.h                      |    2 +-
 arch/x86/kernel/fpu/core.c                         |    6 +-
 arch/x86/kernel/kprobes/opt.c                      |    6 +-
 arch/x86/kernel/reboot.c                           |   88 +-
 arch/x86/kernel/signal.c                           |    2 +-
 arch/x86/kernel/smp.c                              |    6 +-
 arch/x86/kvm/lapic.c                               |   38 +-
 arch/x86/kvm/svm/avic.c                            |   53 +-
 arch/x86/kvm/svm/sev.c                             |    4 +-
 arch/x86/kvm/svm/svm.c                             |    2 +-
 arch/x86/kvm/svm/svm.h                             |    2 +-
 arch/x86/kvm/svm/svm_onhyperv.h                    |    4 +-
 arch/x86/kvm/vmx/hyperv.h                          |   11 -
 arch/x86/kvm/vmx/vmx.c                             |    9 +-
 block/bio-integrity.c                              |    1 +
 block/bio.c                                        |    1 +
 block/blk-cgroup.c                                 |   39 +-
 block/blk-core.c                                   |   33 +-
 block/blk-iocost.c                                 |   11 +-
 block/blk-merge.c                                  |   35 +-
 block/blk-mq-sched.c                               |    7 +-
 block/blk-mq.c                                     |   15 +-
 block/fops.c                                       |   21 +-
 crypto/asymmetric_keys/public_key.c                |   24 +-
 crypto/essiv.c                                     |    7 +-
 crypto/rsa-pkcs1pad.c                              |   34 +-
 crypto/seqiv.c                                     |    2 +-
 crypto/xts.c                                       |    8 +-
 drivers/accel/Kconfig                              |    5 +-
 drivers/acpi/acpica/Makefile                       |    2 +-
 drivers/acpi/acpica/hwvalid.c                      |    7 +-
 drivers/acpi/acpica/nsrepair.c                     |   12 +-
 drivers/acpi/battery.c                             |    2 +-
 drivers/acpi/resource.c                            |   26 +-
 drivers/acpi/video_detect.c                        |    2 +-
 drivers/ata/ahci.c                                 |    1 -
 drivers/base/core.c                                |  452 ++--
 drivers/base/physical_location.c                   |    5 +-
 drivers/base/platform-msi.c                        |    1 +
 drivers/base/power/domain.c                        |    5 +-
 drivers/base/regmap/regmap.c                       |    6 +
 drivers/base/transport_class.c                     |   17 +-
 drivers/block/brd.c                                |   67 +-
 drivers/block/rbd.c                                |   20 +-
 drivers/block/ublk_drv.c                           |   23 +-
 drivers/bluetooth/btusb.c                          |   16 +
 drivers/bluetooth/hci_qca.c                        |    7 +-
 drivers/bus/mhi/ep/main.c                          |   35 +-
 drivers/char/applicom.c                            |    5 +-
 drivers/char/ipmi/ipmi_ipmb.c                      |    2 +-
 drivers/char/ipmi/ipmi_ssif.c                      |  104 +-
 drivers/char/pcmcia/cm4000_cs.c                    |    6 +-
 drivers/clocksource/timer-riscv.c                  |   10 +-
 drivers/cpufreq/davinci-cpufreq.c                  |    4 +-
 drivers/cpuidle/Kconfig.arm                        |    2 +
 drivers/crypto/amcc/crypto4xx_core.c               |   10 +-
 drivers/crypto/ccp/ccp-dmaengine.c                 |   21 +-
 drivers/crypto/ccp/sev-dev.c                       |   15 +-
 drivers/crypto/hisilicon/sgl.c                     |    3 +-
 drivers/crypto/marvell/octeontx2/Makefile          |   11 +-
 drivers/crypto/marvell/octeontx2/cn10k_cpt.c       |    9 +-
 drivers/crypto/marvell/octeontx2/cn10k_cpt.h       |    2 -
 drivers/crypto/marvell/octeontx2/otx2_cpt_common.h |    2 -
 .../marvell/octeontx2/otx2_cpt_mbox_common.c       |   14 +-
 drivers/crypto/marvell/octeontx2/otx2_cptlf.c      |   11 +
 drivers/crypto/marvell/octeontx2/otx2_cptpf_main.c |    2 +
 drivers/crypto/marvell/octeontx2/otx2_cptvf_main.c |    2 +
 drivers/crypto/qat/qat_common/qat_algs.c           |    2 +-
 drivers/crypto/ux500/Kconfig                       |    7 +-
 drivers/cxl/pmem.c                                 |    1 +
 drivers/dax/bus.c                                  |    2 +-
 drivers/dax/kmem.c                                 |    4 +-
 drivers/dma/Kconfig                                |    2 +-
 drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c     |    2 -
 drivers/dma/dw-edma/dw-edma-core.c                 |    4 +
 drivers/dma/dw-edma/dw-edma-v0-core.c              |    2 +-
 drivers/dma/idxd/device.c                          |    2 +-
 drivers/dma/idxd/init.c                            |    2 +-
 drivers/dma/idxd/sysfs.c                           |    4 +-
 drivers/dma/ptdma/ptdma-dmaengine.c                |    2 +-
 drivers/dma/sf-pdma/sf-pdma.c                      |    3 +-
 drivers/dma/sf-pdma/sf-pdma.h                      |    1 -
 drivers/firmware/dmi-sysfs.c                       |   10 +-
 drivers/firmware/google/framebuffer-coreboot.c     |    4 +-
 drivers/firmware/psci/psci.c                       |   31 +-
 drivers/firmware/stratix10-svc.c                   |   25 +-
 drivers/fpga/microchip-spi.c                       |  123 +-
 drivers/gpio/gpio-pca9570.c                        |   24 +-
 drivers/gpio/gpio-vf610.c                          |    2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h         |    2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c   |   12 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c         |    3 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c            |    4 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c            |    2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h          |    4 +-
 drivers/gpu/drm/amd/amdgpu/nbio_v7_2.c             |    5 +
 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c           |    9 +-
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c  |   13 +-
 .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c |    7 +
 .../drm/amd/display/dc/clk_mgr/dcn314/dcn314_smu.c |    3 +
 drivers/gpu/drm/amd/display/dc/core/dc.c           |   16 +
 drivers/gpu/drm/amd/display/dc/core/dc_link.c      |    6 -
 drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c   |   14 +-
 drivers/gpu/drm/amd/display/dc/dc.h                |    2 +-
 drivers/gpu/drm/amd/display/dc/dc_dp_types.h       |    1 -
 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.h  |    3 +-
 drivers/gpu/drm/amd/display/dc/dcn30/dcn30_optc.c  |    9 +
 drivers/gpu/drm/amd/display/dc/dcn30/dcn30_optc.h  |    2 +
 .../display/dc/dcn314/dcn314_dio_stream_encoder.c  |    6 +-
 .../drm/amd/display/dc/dcn314/dcn314_resource.c    |    4 +-
 .../amd/display/dc/dml/dcn20/display_mode_vba_20.c |    8 +-
 .../display/dc/dml/dcn20/display_mode_vba_20v2.c   |   10 +-
 .../amd/display/dc/dml/dcn21/display_mode_vba_21.c |   12 +-
 .../gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c   |    8 +
 .../gpu/drm/amd/display/dc/dml/dcn321/dcn321_fpu.c |    2 +-
 .../amd/display/dc/gpio/dcn20/hw_factory_dcn20.c   |    6 +-
 .../amd/display/dc/gpio/dcn30/hw_factory_dcn30.c   |    6 +-
 .../amd/display/dc/gpio/dcn32/hw_factory_dcn32.c   |    6 +-
 drivers/gpu/drm/amd/display/dc/gpio/ddc_regs.h     |    7 +
 .../drm/amd/display/dc/inc/hw/timing_generator.h   |    1 +
 drivers/gpu/drm/amd/include/amd_shared.h           |    1 +
 drivers/gpu/drm/ast/ast_mode.c                     |    2 +-
 drivers/gpu/drm/bridge/ite-it6505.c                |   22 +-
 drivers/gpu/drm/bridge/lontium-lt9611.c            |   65 +-
 .../drm/bridge/megachips-stdpxxxx-ge-b850v3-fw.c   |    6 +-
 drivers/gpu/drm/bridge/tc358767.c                  |    8 +-
 drivers/gpu/drm/bridge/ti-sn65dsi83.c              |    2 +-
 drivers/gpu/drm/drm_client.c                       |    5 +
 drivers/gpu/drm/drm_edid.c                         |   43 +-
 drivers/gpu/drm/drm_fbdev_generic.c                |    5 -
 drivers/gpu/drm/drm_fourcc.c                       |    4 +
 drivers/gpu/drm/drm_gem_shmem_helper.c             |   52 +-
 drivers/gpu/drm/drm_mipi_dsi.c                     |   52 +
 drivers/gpu/drm/drm_mode_config.c                  |    8 +-
 drivers/gpu/drm/drm_modes.c                        |    2 +-
 drivers/gpu/drm/drm_panel_orientation_quirks.c     |   39 +-
 drivers/gpu/drm/exynos/exynos_drm_dsi.c            |    8 +-
 drivers/gpu/drm/gud/gud_pipe.c                     |    4 +-
 drivers/gpu/drm/i915/display/intel_quirks.c        |    2 +
 drivers/gpu/drm/i915/gt/intel_engine_cs.c          |    6 +-
 .../gpu/drm/i915/gt/intel_execlists_submission.c   |    6 +-
 drivers/gpu/drm/i915/gt/intel_gt_mcr.c             |   11 +-
 drivers/gpu/drm/i915/gt/intel_gt_regs.h            |   25 +-
 drivers/gpu/drm/i915/gt/intel_ring.c               |    6 +-
 drivers/gpu/drm/i915/gt/intel_workarounds.c        |  199 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc.c             |    9 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_fw.c          |    5 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c  |    8 +-
 drivers/gpu/drm/i915/i915_drv.h                    |    4 +
 drivers/gpu/drm/i915/intel_device_info.c           |    6 +
 drivers/gpu/drm/i915/intel_pm.c                    |   10 +-
 drivers/gpu/drm/mediatek/mtk_drm_crtc.c            |    2 +
 drivers/gpu/drm/mediatek/mtk_drm_drv.c             |    1 +
 drivers/gpu/drm/mediatek/mtk_drm_gem.c             |    4 +-
 drivers/gpu/drm/mediatek/mtk_dsi.c                 |    2 +-
 drivers/gpu/drm/msm/adreno/adreno_gpu.c            |    4 +-
 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c           |    7 +-
 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c     |    2 +
 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c            |    5 +
 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c          |   15 +-
 drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c             |    5 +
 drivers/gpu/drm/msm/disp/dpu1/dpu_writeback.c      |    2 +
 drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c          |    5 +-
 drivers/gpu/drm/msm/dsi/dsi_cfg.c                  |    4 +-
 drivers/gpu/drm/msm/dsi/dsi_host.c                 |    3 +
 drivers/gpu/drm/msm/hdmi/hdmi.c                    |    4 +
 drivers/gpu/drm/msm/msm_drv.c                      |    2 +-
 drivers/gpu/drm/msm/msm_fence.c                    |    2 +-
 drivers/gpu/drm/msm/msm_gem_submit.c               |    4 +
 drivers/gpu/drm/mxsfb/Kconfig                      |    2 +
 drivers/gpu/drm/nouveau/include/nvif/outp.h        |    3 +-
 drivers/gpu/drm/nouveau/nvif/outp.c                |    2 +-
 drivers/gpu/drm/omapdrm/dss/dsi.c                  |   26 +-
 drivers/gpu/drm/panel/panel-edp.c                  |    2 +-
 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c      |    4 +-
 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c   |    3 +-
 drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c      |    2 -
 drivers/gpu/drm/radeon/atombios_encoders.c         |    5 +-
 drivers/gpu/drm/radeon/radeon_device.c             |    1 +
 drivers/gpu/drm/rcar-du/rcar_du_crtc.c             |   31 +-
 drivers/gpu/drm/rcar-du/rcar_du_drv.c              |   49 +
 drivers/gpu/drm/rcar-du/rcar_du_drv.h              |    2 +
 drivers/gpu/drm/rcar-du/rcar_du_regs.h             |    8 +-
 drivers/gpu/drm/tegra/firewall.c                   |    3 +
 drivers/gpu/drm/tidss/tidss_dispc.c                |    4 +-
 drivers/gpu/drm/tiny/ili9486.c                     |   13 +-
 drivers/gpu/drm/vc4/vc4_dpi.c                      |    2 +-
 drivers/gpu/drm/vc4/vc4_hdmi.c                     |   16 +-
 drivers/gpu/drm/vc4/vc4_hvs.c                      |  129 +-
 drivers/gpu/drm/vc4/vc4_plane.c                    |    2 +
 drivers/gpu/drm/vc4/vc4_regs.h                     |   17 +-
 drivers/gpu/drm/vkms/vkms_drv.c                    |   10 +-
 drivers/gpu/host1x/hw/hw_host1x06_uclass.h         |    2 +-
 drivers/gpu/host1x/hw/hw_host1x07_uclass.h         |    2 +-
 drivers/gpu/host1x/hw/hw_host1x08_uclass.h         |    2 +-
 drivers/gpu/host1x/hw/syncpt_hw.c                  |    3 -
 drivers/gpu/ipu-v3/ipu-common.c                    |    1 +
 drivers/hid/hid-asus.c                             |   37 +-
 drivers/hid/hid-bigbenff.c                         |   75 +-
 drivers/hid/hid-debug.c                            |    1 +
 drivers/hid/hid-ids.h                              |    2 +
 drivers/hid/hid-input.c                            |   12 +
 drivers/hid/hid-logitech-hidpp.c                   |   49 +-
 drivers/hid/hid-multitouch.c                       |   39 +-
 drivers/hid/hid-quirks.c                           |    2 +-
 drivers/hid/hid-uclogic-core.c                     |   26 +-
 drivers/hid/hid-uclogic-params.c                   |   14 +
 drivers/hid/hid-uclogic-params.h                   |   24 +
 drivers/hid/i2c-hid/i2c-hid-core.c                 |    6 +-
 drivers/hid/i2c-hid/i2c-hid-dmi-quirks.c           |   42 +
 drivers/hid/i2c-hid/i2c-hid.h                      |    3 +
 drivers/hwmon/Kconfig                              |    2 +-
 drivers/hwmon/asus-ec-sensors.c                    |    1 +
 drivers/hwmon/coretemp.c                           |  128 +-
 drivers/hwmon/ftsteutates.c                        |   19 +-
 drivers/hwmon/ltc2945.c                            |    2 +
 drivers/hwmon/mlxreg-fan.c                         |    6 +
 drivers/hwmon/nct6775-core.c                       |    2 +-
 drivers/hwmon/nct6775-platform.c                   |  150 +-
 drivers/hwmon/peci/cputemp.c                       |    2 +-
 drivers/hwtracing/coresight/coresight-cti-core.c   |   11 +-
 drivers/hwtracing/coresight/coresight-cti-sysfs.c  |   13 +-
 drivers/hwtracing/coresight/coresight-etm4x-core.c |   18 +-
 drivers/hwtracing/ptt/hisi_ptt.c                   |   10 +
 drivers/i2c/busses/i2c-designware-common.c         |    2 +-
 drivers/i2c/busses/i2c-designware-core.h           |    2 +-
 drivers/i2c/busses/i2c-qcom-geni.c                 |    2 +-
 drivers/idle/intel_idle.c                          |    8 +-
 drivers/iio/light/tsl2563.c                        |    8 +-
 drivers/infiniband/hw/cxgb4/cm.c                   |    7 +
 drivers/infiniband/hw/cxgb4/restrack.c             |    2 +-
 drivers/infiniband/hw/erdma/erdma_verbs.c          |    4 +-
 drivers/infiniband/hw/hfi1/sdma.c                  |    4 +-
 drivers/infiniband/hw/hfi1/sdma.h                  |   15 +-
 drivers/infiniband/hw/hfi1/user_pages.c            |   61 +-
 drivers/infiniband/hw/hns/hns_roce_main.c          |    5 +-
 drivers/infiniband/hw/irdma/hw.c                   |    2 +
 drivers/infiniband/hw/mana/main.c                  |   22 +-
 drivers/infiniband/sw/rxe/rxe.h                    |   38 +
 drivers/infiniband/sw/rxe/rxe_loc.h                |   12 +-
 drivers/infiniband/sw/rxe/rxe_mr.c                 |  604 +++--
 drivers/infiniband/sw/rxe/rxe_queue.h              |  108 +-
 drivers/infiniband/sw/rxe/rxe_resp.c               |  202 +-
 drivers/infiniband/sw/rxe/rxe_verbs.c              |   56 +-
 drivers/infiniband/sw/rxe/rxe_verbs.h              |   32 +-
 drivers/infiniband/sw/siw/siw_mem.c                |   23 +-
 drivers/input/touchscreen/exc3000.c                |   10 +
 drivers/iommu/amd/init.c                           |   16 +-
 drivers/iommu/amd/iommu.c                          |   41 +-
 drivers/iommu/exynos-iommu.c                       |    2 +-
 drivers/iommu/intel/iommu.c                        |   26 +-
 drivers/iommu/intel/pasid.c                        |   18 +
 drivers/iommu/iommu.c                              |   24 +-
 drivers/iommu/iommufd/device.c                     |    4 -
 drivers/iommu/iommufd/main.c                       |    3 +
 drivers/iommu/iommufd/vfio_compat.c                |    2 +-
 drivers/irqchip/irq-alpine-msi.c                   |    1 +
 drivers/irqchip/irq-bcm7120-l2.c                   |    3 +-
 drivers/irqchip/irq-brcmstb-l2.c                   |    6 +-
 drivers/irqchip/irq-mvebu-gicp.c                   |    1 +
 drivers/irqchip/irq-ti-sci-intr.c                  |    1 +
 drivers/irqchip/irqchip.c                          |    8 +-
 drivers/leds/led-class.c                           |    6 +-
 drivers/leds/leds-is31fl319x.c                     |    7 +-
 drivers/leds/simple/simatic-ipc-leds-gpio.c        |    2 +
 drivers/md/dm-bufio.c                              |    2 +-
 drivers/md/dm-cache-background-tracker.c           |    8 +
 drivers/md/dm-cache-target.c                       |    4 +
 drivers/md/dm-flakey.c                             |   31 +-
 drivers/md/dm-ioctl.c                              |   13 +-
 drivers/md/dm-thin.c                               |    2 +
 drivers/md/dm-zoned-metadata.c                     |    2 +-
 drivers/md/dm.c                                    |   30 +-
 drivers/md/dm.h                                    |    2 +-
 drivers/md/md.c                                    |    2 +-
 drivers/media/i2c/imx219.c                         |  255 +-
 drivers/media/i2c/max9286.c                        |    1 +
 drivers/media/i2c/ov2740.c                         |    4 +-
 drivers/media/i2c/ov5640.c                         |   56 +-
 drivers/media/i2c/ov5675.c                         |    4 +-
 drivers/media/i2c/ov7670.c                         |    2 +-
 drivers/media/i2c/ov772x.c                         |    3 +-
 drivers/media/i2c/tc358746.c                       |    9 +-
 drivers/media/mc/mc-entity.c                       |    8 +-
 drivers/media/pci/intel/ipu3/ipu3-cio2-main.c      |    3 +
 drivers/media/pci/saa7134/saa7134-core.c           |    2 +-
 drivers/media/platform/amphion/vpu_color.c         |    6 +-
 drivers/media/platform/mediatek/mdp3/Kconfig       |    7 +-
 .../media/platform/mediatek/mdp3/mtk-mdp3-core.c   |    7 +-
 drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.c     |   35 +-
 drivers/media/platform/nxp/imx-jpeg/mxc-jpeg.h     |    4 +-
 drivers/media/platform/nxp/imx7-media-csi.c        |    4 +-
 .../platform/qcom/camss/camss-csiphy-3ph-1-0.c     |    3 +-
 drivers/media/platform/ti/cal/cal.c                |    4 +-
 drivers/media/platform/ti/omap3isp/isp.c           |    9 +
 drivers/media/platform/verisilicon/hantro_v4l2.c   |    7 +-
 drivers/media/rc/ene_ir.c                          |    3 +-
 drivers/media/usb/siano/smsusb.c                   |    1 +
 drivers/media/usb/uvc/uvc_ctrl.c                   |  154 +-
 drivers/media/usb/uvc/uvc_driver.c                 |   18 +-
 drivers/media/usb/uvc/uvc_v4l2.c                   |    6 +-
 drivers/media/usb/uvc/uvcvideo.h                   |    6 +-
 drivers/media/v4l2-core/v4l2-h264.c                |    4 +
 drivers/media/v4l2-core/v4l2-jpeg.c                |    4 +-
 drivers/mfd/Kconfig                                |    1 +
 drivers/mfd/pcf50633-adc.c                         |    7 +-
 drivers/mfd/rk808.c                                |    1 +
 drivers/misc/eeprom/idt_89hpesx.c                  |   10 +-
 drivers/misc/fastrpc.c                             |   13 +-
 .../misc/habanalabs/common/command_submission.c    |   33 +-
 drivers/misc/habanalabs/common/device.c            |   38 +-
 drivers/misc/habanalabs/common/memory.c            |    5 +-
 drivers/misc/mei/hdcp/mei_hdcp.c                   |    4 +-
 drivers/misc/mei/pxp/mei_pxp.c                     |    4 +-
 drivers/misc/vmw_vmci/vmci_host.c                  |    2 +
 drivers/mtd/mtdpart.c                              |   10 +
 drivers/mtd/spi-nor/core.c                         |    9 +
 drivers/mtd/spi-nor/core.h                         |    1 +
 drivers/mtd/spi-nor/sfdp.c                         |    6 +-
 drivers/mtd/spi-nor/spansion.c                     |    9 +-
 drivers/net/can/rcar/rcar_canfd.c                  |   23 +-
 drivers/net/can/usb/esd_usb.c                      |   52 +-
 drivers/net/ethernet/broadcom/genet/bcmgenet.c     |    8 +
 drivers/net/ethernet/broadcom/genet/bcmmii.c       |   11 +-
 drivers/net/ethernet/intel/ice/ice_main.c          |   17 +-
 drivers/net/ethernet/intel/ice/ice_ptp.c           |    2 +-
 drivers/net/ethernet/mellanox/mlx4/en_tx.c         |   22 +-
 .../ethernet/mellanox/mlx5/core/diag/fw_tracer.c   |    2 +-
 .../ethernet/mellanox/mlx5/core/en_accel/ipsec.h   |    2 +-
 .../net/ethernet/mellanox/mlx5/core/pagealloc.c    |    3 +-
 .../net/ethernet/microchip/lan966x/lan966x_ptp.c   |    4 +-
 drivers/net/ethernet/qlogic/qede/qede_main.c       |   11 +-
 drivers/net/ethernet/ti/am65-cpsw-nuss.c           |    2 +
 drivers/net/ethernet/ti/am65-cpts.c                |   15 +-
 drivers/net/ethernet/ti/am65-cpts.h                |    5 +
 drivers/net/hyperv/netvsc.c                        |   18 +
 drivers/net/ipa/gsi.c                              |    3 +-
 drivers/net/ipa/gsi_reg.h                          |    1 -
 drivers/net/tap.c                                  |    2 +-
 drivers/net/tun.c                                  |    2 +-
 drivers/net/wireless/ath/ath11k/core.h             |    1 -
 drivers/net/wireless/ath/ath11k/debugfs.c          |   48 +-
 drivers/net/wireless/ath/ath11k/dp_rx.c            |    2 +
 drivers/net/wireless/ath/ath11k/pci.c              |    2 +-
 drivers/net/wireless/ath/ath9k/hif_usb.c           |   33 +-
 drivers/net/wireless/ath/ath9k/htc_drv_init.c      |    2 +
 drivers/net/wireless/ath/ath9k/htc_hst.c           |    4 +-
 drivers/net/wireless/ath/ath9k/wmi.c               |    1 +
 .../wireless/broadcom/brcm80211/brcmfmac/chip.c    |    6 +-
 .../wireless/broadcom/brcm80211/brcmfmac/common.c  |    7 +-
 .../wireless/broadcom/brcm80211/brcmfmac/core.c    |    1 +
 .../wireless/broadcom/brcm80211/brcmfmac/msgbuf.c  |    5 +-
 .../wireless/broadcom/brcm80211/brcmfmac/pcie.c    |   33 +-
 .../broadcom/brcm80211/include/brcm_hw_ids.h       |    8 +-
 drivers/net/wireless/intel/ipw2x00/ipw2200.c       |   11 +-
 drivers/net/wireless/intel/iwlegacy/3945-mac.c     |   16 +-
 drivers/net/wireless/intel/iwlegacy/4965-mac.c     |   12 +-
 drivers/net/wireless/intel/iwlegacy/common.c       |    4 +-
 drivers/net/wireless/intel/iwlwifi/mei/main.c      |    6 +-
 drivers/net/wireless/intersil/orinoco/hw.c         |    2 +
 drivers/net/wireless/marvell/libertas/cmdresp.c    |    2 +-
 drivers/net/wireless/marvell/libertas/if_usb.c     |    2 +-
 drivers/net/wireless/marvell/libertas/main.c       |    3 +-
 drivers/net/wireless/marvell/libertas_tf/if_usb.c  |    2 +-
 drivers/net/wireless/marvell/mwifiex/11n.c         |    6 +-
 drivers/net/wireless/mediatek/mt76/dma.c           |   16 +-
 drivers/net/wireless/mediatek/mt76/mt76_connac.h   |    3 +
 .../net/wireless/mediatek/mt76/mt76_connac_mac.c   |    9 +-
 .../net/wireless/mediatek/mt76/mt76_connac_mcu.h   |    2 +-
 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c    |    7 +-
 .../net/wireless/mediatek/mt76/mt7915/debugfs.c    |    6 +-
 drivers/net/wireless/mediatek/mt76/mt7915/eeprom.c |   19 +-
 drivers/net/wireless/mediatek/mt76/mt7915/init.c   |   24 +-
 drivers/net/wireless/mediatek/mt76/mt7915/mac.c    |    3 -
 drivers/net/wireless/mediatek/mt76/mt7915/main.c   |   11 +
 drivers/net/wireless/mediatek/mt76/mt7915/mcu.c    |   67 +-
 drivers/net/wireless/mediatek/mt76/mt7915/mmio.c   |    2 +-
 drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h |    4 +
 drivers/net/wireless/mediatek/mt76/mt7915/regs.h   |    1 -
 drivers/net/wireless/mediatek/mt76/mt7915/soc.c    |    1 +
 .../net/wireless/mediatek/mt76/mt7921/acpi_sar.c   |    7 +-
 drivers/net/wireless/mediatek/mt76/mt7921/init.c   |    3 +-
 drivers/net/wireless/mediatek/mt76/mt7921/main.c   |   27 +-
 drivers/net/wireless/mediatek/mt76/mt7921/mcu.c    |   70 +-
 drivers/net/wireless/mediatek/mt76/mt7921/mt7921.h |    2 +
 .../net/wireless/mediatek/mt76/mt7996/debugfs.c    |    5 +-
 drivers/net/wireless/mediatek/mt76/mt7996/eeprom.c |   18 +-
 drivers/net/wireless/mediatek/mt76/mt7996/mac.c    |   52 +-
 drivers/net/wireless/mediatek/mt76/mt7996/main.c   |    5 +-
 drivers/net/wireless/mediatek/mt76/mt7996/mcu.c    |   20 +-
 drivers/net/wireless/mediatek/mt76/mt7996/mmio.c   |    3 +-
 drivers/net/wireless/mediatek/mt76/mt7996/regs.h   |   16 +-
 drivers/net/wireless/mediatek/mt76/sdio.c          |    4 +
 drivers/net/wireless/mediatek/mt76/sdio_txrx.c     |    4 +
 drivers/net/wireless/mediatek/mt7601u/dma.c        |    3 +-
 drivers/net/wireless/microchip/wilc1000/netdev.c   |    8 +-
 .../net/wireless/realtek/rtl8xxxu/rtl8xxxu_8188f.c |    2 +-
 .../net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c |    5 +
 .../net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c  |   25 +-
 .../net/wireless/realtek/rtlwifi/rtl8188ee/hw.c    |    6 +-
 .../net/wireless/realtek/rtlwifi/rtl8723be/hw.c    |    6 +-
 .../net/wireless/realtek/rtlwifi/rtl8821ae/hw.c    |    6 +-
 .../net/wireless/realtek/rtlwifi/rtl8821ae/phy.c   |   52 +-
 drivers/net/wireless/realtek/rtw88/coex.c          |    2 +-
 drivers/net/wireless/realtek/rtw88/mac.c           |   10 +
 drivers/net/wireless/realtek/rtw88/mac80211.c      |    4 +-
 drivers/net/wireless/realtek/rtw88/main.c          |    6 +-
 drivers/net/wireless/realtek/rtw88/main.h          |    2 +-
 drivers/net/wireless/realtek/rtw88/ps.c            |    4 +-
 drivers/net/wireless/realtek/rtw88/wow.c           |    2 +-
 drivers/net/wireless/realtek/rtw89/core.c          |    3 +
 drivers/net/wireless/realtek/rtw89/debug.c         |    7 +
 drivers/net/wireless/realtek/rtw89/fw.c            |    4 +-
 drivers/net/wireless/realtek/rtw89/fw.h            |   34 +-
 drivers/net/wireless/realtek/rtw89/pci.c           |   15 +-
 drivers/net/wireless/realtek/rtw89/pci.h           |   15 +-
 drivers/net/wireless/realtek/rtw89/reg.h           |    2 +
 drivers/net/wireless/realtek/rtw89/rtw8852ae.c     |    1 +
 drivers/net/wireless/realtek/rtw89/rtw8852be.c     |    1 +
 drivers/net/wireless/realtek/rtw89/rtw8852c_rfk.c  |   11 +-
 drivers/net/wireless/realtek/rtw89/rtw8852ce.c     |    1 +
 drivers/net/wireless/rsi/rsi_91x_coex.c            |    1 +
 drivers/net/wireless/wl3501_cs.c                   |    2 +-
 drivers/nvdimm/bus.c                               |   19 +-
 drivers/nvdimm/dimm_devs.c                         |    5 +-
 drivers/nvdimm/nd-core.h                           |    1 +
 drivers/opp/debugfs.c                              |    2 +-
 drivers/pci/controller/dwc/pcie-qcom.c             |   13 +-
 drivers/pci/controller/pcie-mt7621.c               |    2 +
 drivers/pci/endpoint/functions/pci-epf-vntb.c      |    1 +
 drivers/pci/iov.c                                  |    2 +-
 drivers/pci/pci-driver.c                           |    2 +-
 drivers/pci/pci.c                                  |   59 +-
 drivers/pci/pci.h                                  |   59 +-
 drivers/pci/pcie/dpc.c                             |    4 +-
 drivers/pci/probe.c                                |    2 +-
 drivers/pci/quirks.c                               |    1 +
 drivers/pci/switch/switchtec.c                     |    9 +-
 drivers/phy/mediatek/phy-mtk-io.h                  |    4 +-
 drivers/phy/rockchip/phy-rockchip-typec.c          |    4 +-
 drivers/pinctrl/bcm/pinctrl-bcm2835.c              |    2 -
 drivers/pinctrl/mediatek/pinctrl-paris.c           |    4 +-
 drivers/pinctrl/pinctrl-at91-pio4.c                |    4 +-
 drivers/pinctrl/pinctrl-at91.c                     |    2 +-
 drivers/pinctrl/pinctrl-rockchip.c                 |    1 +
 drivers/pinctrl/qcom/pinctrl-msm8976.c             |    8 +-
 drivers/pinctrl/renesas/pinctrl-rzg2l.c            |   17 +-
 drivers/pinctrl/stm32/pinctrl-stm32.c              |    1 +
 drivers/platform/chrome/cros_ec_typec.c            |    2 +-
 drivers/platform/x86/dell/dell-wmi-ddv.c           |    6 +-
 drivers/power/supply/power_supply_core.c           |   93 -
 drivers/powercap/powercap_sys.c                    |   14 +-
 drivers/regulator/core.c                           |    6 +-
 drivers/regulator/max77802-regulator.c             |   34 +-
 drivers/regulator/s5m8767.c                        |    6 +-
 drivers/regulator/tps65219-regulator.c             |   22 +-
 drivers/remoteproc/mtk_scp_ipi.c                   |   11 +-
 drivers/remoteproc/qcom_q6v5_mss.c                 |   87 +-
 drivers/rpmsg/qcom_glink_native.c                  |    3 +
 drivers/rtc/rtc-pm8xxx.c                           |   24 +-
 drivers/s390/block/dasd_eckd.c                     |    4 +-
 drivers/s390/char/sclp_early.c                     |    2 +-
 drivers/s390/cio/vfio_ccw_drv.c                    |    2 +-
 drivers/s390/crypto/vfio_ap_ops.c                  |   12 +-
 drivers/scsi/aacraid/aachba.c                      |    5 +-
 drivers/scsi/aic94xx/aic94xx_task.c                |    3 +
 drivers/scsi/hosts.c                               |    2 +
 drivers/scsi/lpfc/lpfc_sli.c                       |   19 +-
 drivers/scsi/mpi3mr/mpi3mr_app.c                   |   28 +-
 drivers/scsi/mpi3mr/mpi3mr_os.c                    |    4 +
 drivers/scsi/mpt3sas/mpt3sas_base.c                |    3 +
 drivers/scsi/qla2xxx/qla_bsg.c                     |    9 +-
 drivers/scsi/qla2xxx/qla_def.h                     |    6 +-
 drivers/scsi/qla2xxx/qla_dfs.c                     |   10 +-
 drivers/scsi/qla2xxx/qla_edif.c                    |   11 +-
 drivers/scsi/qla2xxx/qla_edif_bsg.h                |   15 +-
 drivers/scsi/qla2xxx/qla_init.c                    |   14 +-
 drivers/scsi/qla2xxx/qla_inline.h                  |   55 +-
 drivers/scsi/qla2xxx/qla_iocb.c                    |   95 +-
 drivers/scsi/qla2xxx/qla_isr.c                     |    6 +-
 drivers/scsi/qla2xxx/qla_nvme.c                    |   34 +-
 drivers/scsi/qla2xxx/qla_os.c                      |    9 +-
 drivers/scsi/ses.c                                 |   64 +-
 drivers/scsi/snic/snic_debugfs.c                   |    4 +-
 drivers/soundwire/cadence_master.c                 |    3 +-
 drivers/spi/Kconfig                                |    1 -
 drivers/spi/spi-bcm63xx-hsspi.c                    |   14 +-
 drivers/spi/spi-intel.c                            |    8 +-
 drivers/spi/spi-sn-f-ospi.c                        |    2 +-
 drivers/spi/spi-synquacer.c                        |    7 +-
 drivers/staging/media/atomisp/Kconfig              |    2 +-
 drivers/staging/media/atomisp/pci/atomisp_fops.c   |    4 +-
 drivers/thermal/hisi_thermal.c                     |    4 -
 drivers/thermal/imx_sc_thermal.c                   |    4 +-
 drivers/thermal/intel/intel_pch_thermal.c          |    8 +
 drivers/thermal/intel/intel_powerclamp.c           |   20 +-
 drivers/thermal/intel/intel_soc_dts_iosf.c         |    2 +-
 drivers/thermal/qcom/tsens-v0_1.c                  |   28 +-
 drivers/thermal/qcom/tsens-v1.c                    |   61 +-
 drivers/thermal/qcom/tsens.c                       |    3 +
 drivers/thermal/qcom/tsens.h                       |    2 +-
 drivers/tty/serial/fsl_lpuart.c                    |   19 +-
 drivers/tty/serial/imx.c                           |    5 +
 drivers/tty/serial/qcom_geni_serial.c              |    2 +
 drivers/tty/serial/serial-tegra.c                  |    7 +-
 drivers/ufs/core/ufshcd.c                          |   20 +-
 drivers/ufs/host/ufs-exynos.c                      |    2 +-
 drivers/usb/early/xhci-dbc.c                       |    3 +-
 drivers/usb/fotg210/fotg210-udc.c                  |   16 +
 drivers/usb/gadget/configfs.c                      |    6 +
 drivers/usb/gadget/udc/fusb300_udc.c               |   10 +-
 drivers/usb/host/fsl-mph-dr-of.c                   |    3 +-
 drivers/usb/host/max3421-hcd.c                     |    2 +-
 drivers/usb/musb/mediatek.c                        |    3 +-
 drivers/usb/typec/mux/intel_pmc_mux.c              |    4 +-
 drivers/vfio/group.c                               |    2 +-
 drivers/vfio/vfio_iommu_type1.c                    |  143 +-
 drivers/video/fbdev/core/fbcon.c                   |   17 +-
 drivers/virt/coco/sev-guest/sev-guest.c            |   20 +-
 drivers/xen/grant-dma-iommu.c                      |   11 +-
 fs/btrfs/discard.c                                 |   41 +-
 fs/btrfs/disk-io.c                                 |    3 +
 fs/btrfs/fs.c                                      |    4 +
 fs/btrfs/fs.h                                      |    6 +
 fs/btrfs/scrub.c                                   |   49 +-
 fs/btrfs/sysfs.c                                   |   29 +-
 fs/btrfs/sysfs.h                                   |    3 +-
 fs/btrfs/transaction.c                             |    5 +
 fs/ceph/file.c                                     |    8 +
 fs/cifs/cached_dir.c                               |   43 +-
 fs/cifs/cifsacl.c                                  |   34 +-
 fs/cifs/cifsproto.h                                |   20 +-
 fs/cifs/cifssmb.c                                  |   17 +-
 fs/cifs/connect.c                                  |   94 +-
 fs/cifs/dir.c                                      |   19 +-
 fs/cifs/file.c                                     |   35 +-
 fs/cifs/inode.c                                    |   53 +-
 fs/cifs/link.c                                     |   66 +-
 fs/cifs/misc.c                                     |   67 +
 fs/cifs/smb1ops.c                                  |   72 +-
 fs/cifs/smb2inode.c                                |   38 +-
 fs/cifs/smb2ops.c                                  |  227 +-
 fs/cifs/smb2pdu.c                                  |  212 +-
 fs/cifs/smbdirect.c                                |    4 +-
 fs/coda/upcall.c                                   |    2 +-
 fs/cramfs/inode.c                                  |    2 +-
 fs/dlm/lockspace.c                                 |   16 +-
 fs/dlm/memory.c                                    |    2 +-
 fs/dlm/midcomms.c                                  |   55 +-
 fs/erofs/fscache.c                                 |    2 +-
 fs/exfat/dir.c                                     |    7 +-
 fs/exfat/exfat_fs.h                                |    2 +-
 fs/exfat/file.c                                    |    3 +-
 fs/exfat/inode.c                                   |    6 +-
 fs/exfat/namei.c                                   |    2 +-
 fs/exfat/super.c                                   |    3 +-
 fs/ext4/namei.c                                    |   11 +-
 fs/ext4/xattr.c                                    |   35 +-
 fs/f2fs/data.c                                     |   10 +-
 fs/f2fs/inline.c                                   |   13 +-
 fs/f2fs/inode.c                                    |   13 +-
 fs/f2fs/segment.c                                  |    9 +-
 fs/fuse/ioctl.c                                    |    6 +
 fs/gfs2/aops.c                                     |    3 +-
 fs/gfs2/super.c                                    |    8 +-
 fs/hfs/bnode.c                                     |    1 +
 fs/hfsplus/super.c                                 |    4 +-
 fs/jbd2/transaction.c                              |   50 +-
 fs/ksmbd/smb2misc.c                                |   31 +-
 fs/ksmbd/smb2pdu.c                                 |   28 +-
 fs/ksmbd/vfs_cache.c                               |    5 +-
 fs/lockd/svc.c                                     |    2 +-
 fs/nfs/nfs4proc.c                                  |    4 +-
 fs/nfs/nfs4trace.h                                 |   42 +-
 fs/nfsd/filecache.c                                |   44 +-
 fs/nfsd/nfs4layouts.c                              |    4 +-
 fs/nfsd/nfs4proc.c                                 |  160 +-
 fs/nfsd/nfs4state.c                                |   53 +-
 fs/nfsd/nfssvc.c                                   |    2 +-
 fs/nfsd/trace.h                                    |   31 -
 fs/nfsd/xdr4.h                                     |    2 +-
 fs/ocfs2/move_extents.c                            |   34 +-
 fs/open.c                                          |    5 +-
 fs/proc/proc_sysctl.c                              |    6 +
 fs/super.c                                         |   21 +-
 fs/udf/file.c                                      |   26 +-
 fs/udf/inode.c                                     |   74 +-
 fs/udf/super.c                                     |    1 +
 fs/udf/udf_i.h                                     |    3 +-
 fs/udf/udf_sb.h                                    |    2 +
 include/drm/drm_mipi_dsi.h                         |    4 +
 include/drm/drm_print.h                            |    2 +-
 include/linux/blkdev.h                             |    1 +
 include/linux/bpf.h                                |    7 +
 include/linux/compiler_attributes.h                |    6 -
 include/linux/compiler_types.h                     |   27 +
 include/linux/context_tracking.h                   |   27 +
 include/linux/device.h                             |    1 +
 include/linux/fwnode.h                             |   12 +-
 include/linux/hid.h                                |    1 +
 include/linux/ima.h                                |    6 +-
 include/linux/kernel_stat.h                        |    2 +-
 include/linux/kprobes.h                            |    2 +
 include/linux/libnvdimm.h                          |    3 +
 include/linux/mlx4/qp.h                            |    1 +
 include/linux/msi.h                                |    2 +
 include/linux/nfs_ssc.h                            |    2 +-
 include/linux/poison.h                             |    3 +
 include/linux/rcupdate.h                           |   11 +-
 include/linux/rmap.h                               |    2 +-
 include/linux/transport_class.h                    |    8 +-
 include/linux/uaccess.h                            |    4 +
 include/net/sock.h                                 |    7 +-
 include/sound/hda_codec.h                          |    1 +
 include/sound/soc-dapm.h                           |    1 +
 include/trace/events/devlink.h                     |    2 +-
 include/uapi/linux/io_uring.h                      |    2 +-
 include/uapi/linux/vfio.h                          |   15 +-
 include/ufs/ufshcd.h                               |    4 +-
 io_uring/io_uring.c                                |   13 +-
 io_uring/io_uring.h                                |   10 +
 io_uring/net.c                                     |    2 +-
 io_uring/opdef.c                                   |    1 +
 io_uring/poll.c                                    |   14 +-
 io_uring/poll.h                                    |    1 +
 io_uring/rsrc.c                                    |   13 +-
 kernel/bpf/btf.c                                   |   13 +-
 kernel/bpf/hashtab.c                               |    4 +-
 kernel/bpf/memalloc.c                              |    2 +-
 kernel/bpf/verifier.c                              |  258 +-
 kernel/context_tracking.c                          |   12 +-
 kernel/exit.c                                      |   16 +-
 kernel/irq/irqdomain.c                             |  283 ++-
 kernel/irq/msi.c                                   |   32 +-
 kernel/kprobes.c                                   |   27 +-
 kernel/locking/lockdep.c                           |    3 +
 kernel/locking/rwsem.c                             |   49 +-
 kernel/panic.c                                     |   49 +-
 kernel/pid_namespace.c                             |   17 +
 kernel/power/energy_model.c                        |    5 +-
 kernel/rcu/srcutree.c                              |    9 +-
 kernel/rcu/tasks.h                                 |   77 +-
 kernel/rcu/tree_exp.h                              |    2 +
 kernel/resource.c                                  |   14 -
 kernel/sched/rt.c                                  |    5 +-
 kernel/sysctl.c                                    |   43 +-
 kernel/time/clocksource.c                          |   45 +-
 kernel/time/hrtimer.c                              |    2 +
 kernel/time/posix-stubs.c                          |    2 +
 kernel/time/posix-timers.c                         |    2 +
 kernel/time/test_udelay.c                          |    2 +-
 kernel/torture.c                                   |    2 +-
 kernel/trace/blktrace.c                            |    4 +-
 kernel/trace/ring_buffer.c                         |   42 +-
 kernel/trace/trace.c                               |    2 +-
 kernel/workqueue.c                                 |   41 +-
 lib/bug.c                                          |   15 +-
 lib/errname.c                                      |   22 +-
 lib/kobject.c                                      |   12 +-
 lib/mpi/mpicoder.c                                 |    3 +-
 lib/sbitmap.c                                      |   13 +-
 mm/damon/paddr.c                                   |    7 +-
 mm/huge_memory.c                                   |    3 +
 mm/hugetlb_vmemmap.c                               |    2 +-
 mm/memcontrol.c                                    |    4 +
 mm/memory-failure.c                                |    8 +-
 mm/memory-tiers.c                                  |    4 +-
 mm/rmap.c                                          |    2 +-
 net/bluetooth/hci_conn.c                           |   12 +-
 net/bluetooth/l2cap_core.c                         |   24 -
 net/bluetooth/l2cap_sock.c                         |    8 +
 net/can/isotp.c                                    |    3 +
 net/core/scm.c                                     |    2 +
 net/core/sock.c                                    |   15 +-
 net/ipv4/inet_hashtables.c                         |   12 +-
 net/l2tp/l2tp_ppp.c                                |  125 +-
 net/mac80211/cfg.c                                 |   26 +-
 net/mac80211/ieee80211_i.h                         |    3 +
 net/mac80211/link.c                                |    3 +
 net/mac80211/rx.c                                  |   32 +-
 net/mac80211/sta_info.c                            |    2 +-
 net/mac80211/tx.c                                  |    2 +-
 net/netfilter/nf_tables_api.c                      |    3 +
 net/rds/message.c                                  |    2 +-
 net/rxrpc/call_object.c                            |    6 +-
 net/smc/af_smc.c                                   |    2 +
 net/smc/smc_core.c                                 |   17 +-
 net/sunrpc/clnt.c                                  |    2 +
 net/wireless/nl80211.c                             |    2 +-
 net/wireless/sme.c                                 |   48 +-
 net/xdp/xsk.c                                      |   59 +-
 scripts/bpf_doc.py                                 |    2 +-
 scripts/gcc-plugins/Makefile                       |    2 +-
 scripts/package/mkdebian                           |    2 +-
 security/integrity/ima/ima_api.c                   |    2 +-
 security/integrity/ima/ima_main.c                  |    9 +-
 security/security.c                                |    7 +-
 sound/pci/hda/Kconfig                              |   14 +
 sound/pci/hda/hda_codec.c                          |   13 +-
 sound/pci/hda/hda_controller.c                     |    1 +
 sound/pci/hda/hda_controller.h                     |    1 +
 sound/pci/hda/hda_intel.c                          |    8 +-
 sound/pci/hda/patch_ca0132.c                       |    2 +-
 sound/pci/hda/patch_realtek.c                      |    1 +
 sound/pci/ice1712/aureon.c                         |    2 +-
 sound/soc/atmel/mchp-spdifrx.c                     |  342 ++-
 sound/soc/codecs/lpass-rx-macro.c                  |   12 +-
 sound/soc/codecs/lpass-tx-macro.c                  |   12 +-
 sound/soc/codecs/lpass-va-macro.c                  |   20 +-
 sound/soc/codecs/lpass-wsa-macro.c                 |    9 +-
 sound/soc/codecs/tlv320adcx140.c                   |    2 +-
 sound/soc/fsl/fsl_sai.c                            |    1 +
 sound/soc/kirkwood/kirkwood-dma.c                  |    2 +-
 sound/soc/qcom/qdsp6/q6apm-dai.c                   |   22 +-
 sound/soc/qcom/qdsp6/q6apm-lpass-dais.c            |    5 +
 sound/soc/sh/rcar/rsnd.h                           |    4 +-
 sound/soc/soc-compress.c                           |   11 +-
 sound/soc/soc-topology.c                           |    2 +-
 tools/bootconfig/scripts/ftrace2bconf.sh           |    2 +-
 tools/bpf/bpftool/Makefile                         |    3 +-
 tools/bpf/bpftool/prog.c                           |   38 +-
 tools/lib/bpf/bpf_tracing.h                        |    2 +-
 tools/lib/bpf/btf.c                                |   13 +
 tools/lib/bpf/btf_dump.c                           |    7 +-
 tools/lib/bpf/libbpf.c                             |    2 +-
 tools/lib/bpf/nlattr.c                             |    2 +-
 tools/lib/thermal/sampling.c                       |    2 +-
 tools/objtool/check.c                              |    2 +
 tools/perf/Documentation/perf-intel-pt.txt         |   30 +
 tools/perf/builtin-inject.c                        |    6 +-
 tools/perf/builtin-record.c                        |   16 +-
 tools/perf/perf-completion.sh                      |   11 +-
 tools/perf/pmu-events/metric_test.py               |    4 +-
 tools/perf/tests/bpf.c                             |    6 +-
 tools/perf/tests/shell/stat_all_metrics.sh         |    2 +-
 tools/perf/util/auxtrace.c                         |    3 +
 tools/perf/util/intel-pt.c                         |    6 +
 tools/perf/util/llvm-utils.c                       |   25 +-
 tools/perf/util/stat-display.c                     |   51 +-
 tools/perf/util/stat-shadow.c                      |    2 +-
 tools/power/x86/intel-speed-select/isst-config.c   |    2 +-
 tools/testing/ktest/ktest.pl                       |   26 +-
 tools/testing/ktest/sample.conf                    |    5 +
 tools/testing/selftests/Makefile                   |    4 +-
 tools/testing/selftests/arm64/abi/syscall-abi.c    |    8 +
 tools/testing/selftests/arm64/fp/Makefile          |    2 +-
 .../selftests/arm64/signal/testcases/ssve_regs.c   |    4 +
 .../selftests/arm64/signal/testcases/za_regs.c     |    4 +
 tools/testing/selftests/arm64/tags/Makefile        |    2 +-
 tools/testing/selftests/bpf/Makefile               |    7 +-
 .../selftests/bpf/prog_tests/kfunc_dynptr_param.c  |    2 +-
 .../selftests/bpf/prog_tests/xdp_do_redirect.c     |    4 +
 tools/testing/selftests/bpf/progs/dynptr_fail.c    |   10 +-
 tools/testing/selftests/bpf/progs/map_kptr.c       |   12 +-
 tools/testing/selftests/bpf/progs/test_bpf_nf.c    |   11 +-
 tools/testing/selftests/bpf/xdp_synproxy.c         |    1 +
 tools/testing/selftests/bpf/xskxceiver.c           |   22 +-
 tools/testing/selftests/clone3/Makefile            |    2 +-
 tools/testing/selftests/core/Makefile              |    2 +-
 tools/testing/selftests/dmabuf-heaps/Makefile      |    2 +-
 tools/testing/selftests/dmabuf-heaps/dmabuf-heap.c |    3 +-
 tools/testing/selftests/drivers/dma-buf/Makefile   |    2 +-
 .../selftests/drivers/net/netdevsim/devlink.sh     |   18 +
 .../selftests/drivers/s390x/uvdevice/Makefile      |    3 +-
 tools/testing/selftests/filesystems/Makefile       |    2 +-
 .../selftests/filesystems/binderfs/Makefile        |    2 +-
 tools/testing/selftests/filesystems/epoll/Makefile |    2 +-
 .../test.d/dynevent/eprobes_syntax_errors.tc       |    4 +-
 .../ftrace/test.d/ftrace/func_event_triggers.tc    |    2 +-
 .../selftests/ftrace/test.d/kprobe/probepoint.tc   |    2 +-
 tools/testing/selftests/futex/functional/Makefile  |    2 +-
 tools/testing/selftests/gpio/Makefile              |    2 +-
 tools/testing/selftests/iommu/iommufd.c            |    2 +-
 tools/testing/selftests/ipc/Makefile               |    2 +-
 tools/testing/selftests/kcmp/Makefile              |    2 +-
 tools/testing/selftests/landlock/fs_test.c         |   47 +
 tools/testing/selftests/landlock/ptrace_test.c     |  113 +-
 tools/testing/selftests/media_tests/Makefile       |    2 +-
 tools/testing/selftests/membarrier/Makefile        |    2 +-
 tools/testing/selftests/mount_setattr/Makefile     |    2 +-
 .../selftests/move_mount_set_group/Makefile        |    2 +-
 tools/testing/selftests/net/fib_tests.sh           |    2 +
 tools/testing/selftests/net/udpgso_bench_rx.c      |    6 +-
 tools/testing/selftests/perf_events/Makefile       |    2 +-
 tools/testing/selftests/pid_namespace/Makefile     |    2 +-
 tools/testing/selftests/pidfd/Makefile             |    2 +-
 tools/testing/selftests/powerpc/ptrace/Makefile    |    2 +-
 tools/testing/selftests/powerpc/security/Makefile  |    2 +-
 tools/testing/selftests/powerpc/syscalls/Makefile  |    2 +-
 tools/testing/selftests/powerpc/tm/Makefile        |    2 +-
 tools/testing/selftests/ptp/Makefile               |    2 +-
 tools/testing/selftests/rseq/Makefile              |    2 +-
 tools/testing/selftests/sched/Makefile             |    2 +-
 tools/testing/selftests/seccomp/Makefile           |    2 +-
 tools/testing/selftests/sync/Makefile              |    2 +-
 tools/testing/selftests/user_events/Makefile       |    2 +-
 tools/testing/selftests/vm/Makefile                |    2 +-
 tools/testing/selftests/x86/Makefile               |    2 +-
 tools/tracing/rtla/src/osnoise_hist.c              |    5 +-
 virt/kvm/coalesced_mmio.c                          |    8 +-
 virt/kvm/kvm_main.c                                |   31 +-
 990 files changed, 18539 insertions(+), 14322 deletions(-)
author maintainer
#23 lore raw

PATCH 23/1001 arm64: dts: qcom: sm6125: Reorder HSUSB PHY clocks to match bindings

From: Marijn Suijten <[email protected]>

[ Upstream commit 8416262b0ea46d84767141b074748f4d4f37736a ]

Reorder the clocks and corresponding names to match the QUSB2 phy schema, fixing the following CHECK_DTBS errors:

arch/arm64/boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dtb: phy@1613000: clock-names:0: 'cfg_ahb' was expected
From schema: /newdata/aosp-r/kernel/mainline/kernel/Documentation/devicetree/bindings/phy/qcom,qusb2-phy.yaml
arch/arm64/boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dtb: phy@1613000: clock-names:1: 'ref' was expected
From schema: /newdata/aosp-r/kernel/mainline/kernel/Documentation/devicetree/bindings/phy/qcom,qusb2-phy.yaml

---
 arch/arm64/boot/dts/qcom/sm6125.dtsi | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm64/boot/dts/qcom/sm6125.dtsi +3 -3
index 7e25a4f85594f..bf9e8d45ee44f 100644
@@ -442,9 +442,9 @@ hsusb_phy1: phy@1613000 {
 			reg = <0x01613000 0x180>;
 			#phy-cells = <0>;
 
-			clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
-				 <&gcc GCC_AHB2PHY_USB_CLK>;
-			clock-names = "ref", "cfg_ahb";
+			clocks = <&gcc GCC_AHB2PHY_USB_CLK>,
+				 <&rpmcc RPM_SMD_XO_CLK_SRC>;
+			clock-names = "cfg_ahb", "ref";
 
 			resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
 			status = "disabled";
Signature · 1 line
2.39.2
author maintainer
#32 lore raw

PATCH 32/1001 arm64: dts: mediatek: mt8186: Fix systimer 13 MHz clock description

In reply to Greg Kroah-Hartman

From: Chen-Yu Tsai <[email protected]>

[ Upstream commit b391efba57ff085233d5ead5e01817bf4b71d999 ]

The systimer block derives its 13 MHz clock by dividing the main 26 MHz oscillator clock by 2 internally. The 13 MHz clock is not a separate oscillator.

Fix this by making the 13 MHz clock a divide-by-2 fixed factor clock, taking its input from the main 26 MHz oscillator.

Fixes 2e78620b1350 ("arm64: dts: Add MediaTek MT8186 dts and evaluation board and Makefile")
---
 arch/arm64/boot/dts/mediatek/mt8186.dtsi | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
arch/arm64/boot/dts/mediatek/mt8186.dtsi +5 -3
index c326aeb33a109..857b0c22422f4 100644
@@ -214,10 +214,12 @@ l3_0: l3-cache {
 		};
 	};
 
-	clk13m: oscillator-13m {
-		compatible = "fixed-clock";
+	clk13m: fixed-factor-clock-13m {
+		compatible = "fixed-factor-clock";
 		#clock-cells = <0>;
-		clock-frequency = <13000000>;
+		clocks = <&clk26m>;
+		clock-div = <2>;
+		clock-mult = <1>;
 		clock-output-names = "clk13m";
 	};
 
Signature · 1 line
2.39.2
author maintainer
#33 lore raw

PATCH 33/1001 arm64: dts: qcom: sdm845-db845c: fix audio codec interrupt pin name

In reply to Greg Kroah-Hartman

From: Krzysztof Kozlowski <[email protected]>

[ Upstream commit 740862bb5f59b93efb390a417995f88a64bdc323 ]

The pin config entry should have a string, not number, for the GPIO used as WCD9340 audio codec interrupt.

---
 arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/qcom/sdm845-db845c.dts +1 -1
index 878801f540c54..75a4645936232 100644
@@ -974,7 +974,7 @@ sdc2_card_det_n: sd-card-det-n {
 	};
 
 	wcd_intr_default: wcd_intr_default {
-		pins = <54>;
+		pins = "gpio54";
 		function = "gpio";
 
 		input-enable;
Signature · 1 line
2.39.2
author maintainer
#34 lore raw

PATCH 34/1001 arm64: dts: qcom: sdm845-xiaomi-beryllium: fix audio codec interrupt pin name

In reply to Greg Kroah-Hartman

From: Krzysztof Kozlowski <[email protected]>

[ Upstream commit e5011447376e1b050847ccb2ef7933176ce4de41 ]

The pin config entry should have a string, not number, for the GPIO used as WCD9340 audio codec interrupt.

---
 arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-common.dtsi +1 -1
index 1b12b1a4dcbc7..d2866155dd870 100644
@@ -467,7 +467,7 @@ sdc2_card_det_n: sd-card-det-n {
 	};
 
 	wcd_intr_default: wcd_intr_default {
-		pins = <54>;
+		pins = "gpio54";
 		function = "gpio";
 
 		input-enable;
Signature · 1 line
2.39.2
author maintainer
#35 lore raw

PATCH 35/1001 x86/acpi/boot: Do not register processors that cannot be onlined for x2APIC

In reply to Greg Kroah-Hartman

From: Kishon Vijay Abraham I <[email protected]>

[ Upstream commit e2869bd7af608c343988429ceb1c2fe99644a01f ]

Section 5.2.12.12 Processor Local x2APIC Structure in the ACPI v6.5 spec mandates that both "enabled" and "online capable" Local APIC Flags should be used to determine if the processor is usable or not.

However, Linux doesn't use the "online capable" flag for x2APIC to determine if the processor is usable. As a result, cpu_possible_mask has incorrect value and results in more memory getting allocated for per_cpu variables than it is going to be used.

Make sure Linux parses both "enabled" and "online capable" flags for x2APIC to correctly determine if the processor is usable.

---
 arch/x86/kernel/acpi/boot.c | 19 ++++++++++++++++---
 1 file changed, 16 insertions(+), 3 deletions(-)
arch/x86/kernel/acpi/boot.c +16 -3
index 907cc98b19380..518bda50068cb 100644
@@ -188,6 +188,17 @@ static int acpi_register_lapic(int id, u32 acpiid, u8 enabled)
 	return cpu;
 }
 
+static bool __init acpi_is_processor_usable(u32 lapic_flags)
+{
+	if (lapic_flags & ACPI_MADT_ENABLED)
+		return true;
+
+	if (acpi_support_online_capable && (lapic_flags & ACPI_MADT_ONLINE_CAPABLE))
+		return true;
+
+	return false;
+}
+
 static int __init
 acpi_parse_x2apic(union acpi_subtable_headers *header, const unsigned long end)
 {
@@ -212,6 +223,10 @@ acpi_parse_x2apic(union acpi_subtable_headers *header, const unsigned long end)
 	if (apic_id == 0xffffffff)
 		return 0;
 
+	/* don't register processors that cannot be onlined */
+	if (!acpi_is_processor_usable(processor->lapic_flags))
+		return 0;
+
 	/*
 	 * We need to register disabled CPU as well to permit
 	 * counting disabled CPUs. This allows us to size
@@ -250,9 +265,7 @@ acpi_parse_lapic(union acpi_subtable_headers * header, const unsigned long end)
 		return 0;
 
 	/* don't register processors that can not be onlined */
-	if (acpi_support_online_capable &&
-	    !(processor->lapic_flags & ACPI_MADT_ENABLED) &&
-	    !(processor->lapic_flags & ACPI_MADT_ONLINE_CAPABLE))
+	if (!acpi_is_processor_usable(processor->lapic_flags))
 		return 0;
 
 	/*
Signature · 1 line
2.39.2
author maintainer
#36 lore raw

PATCH 36/1001 arm64: dts: qcom: sc7180: correct SPMI bus address cells

In reply to Greg Kroah-Hartman

From: Krzysztof Kozlowski <[email protected]>

[ Upstream commit 1f75745537222172f84783d369bbd1fb2d4b6414 ]

The SPMI bus uses two address cells and zero size cells (second reg entry - SPMI_USID - is not the size):

spmi@c440000: #address-cells:0:0: 2 was expected

---
 arch/arm64/boot/dts/qcom/sc7180.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/qcom/sc7180.dtsi +2 -2
index f71cf21a8dd8a..e45726be81c82 100644
@@ -3274,8 +3274,8 @@ spmi_bus: spmi@c440000 {
 			interrupts-extended = <&pdc 1 IRQ_TYPE_LEVEL_HIGH>;
 			qcom,ee = <0>;
 			qcom,channel = <0>;
-			#address-cells = <1>;
-			#size-cells = <1>;
+			#address-cells = <2>;
+			#size-cells = <0>;
 			interrupt-controller;
 			#interrupt-cells = <4>;
 			cell-index = <0>;
Signature · 1 line
2.39.2
author maintainer
#37 lore raw

PATCH 37/1001 arm64: dts: qcom: sc7280: correct SPMI bus address cells

In reply to Greg Kroah-Hartman

From: Krzysztof Kozlowski <[email protected]>

[ Upstream commit 8da3786a91e56fe0c4aeb2c2209744474af6e517 ]

The SPMI bus uses two address cells and zero size cells (second reg entry - SPMI_USID - is not the size):

spmi@c440000: #address-cells:0:0: 2 was expected

Fixes 14abf8dfe364 ("arm64: dts: qcom: sc7280: Add SPMI PMIC arbiter device for SC7280")
---
 arch/arm64/boot/dts/qcom/sc7280.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/qcom/sc7280.dtsi +2 -2
index 0adf13399e649..3bedd45e14afd 100644
@@ -4246,8 +4246,8 @@ spmi_bus: spmi@c440000 {
 			interrupts-extended = <&pdc 1 IRQ_TYPE_LEVEL_HIGH>;
 			qcom,ee = <0>;
 			qcom,channel = <0>;
-			#address-cells = <1>;
-			#size-cells = <1>;
+			#address-cells = <2>;
+			#size-cells = <0>;
 			interrupt-controller;
 			#interrupt-cells = <4>;
 		};
Signature · 1 line
2.39.2
author maintainer
#38 lore raw

PATCH 38/1001 arm64: dts: qcom: sc8280xp: correct SPMI bus address cells

In reply to Greg Kroah-Hartman

From: Krzysztof Kozlowski <[email protected]>

[ Upstream commit 76d9e8b4d54ae2cb91a68f0cb82624887de767a7 ]

The SPMI bus uses two address cells and zero size cells (second reg entry - SPMI_USID - is not the size):

spmi@c440000: #address-cells:0:0: 2 was expected

---
 arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/qcom/sc8280xp.dtsi +2 -2
index 71cf81a8eb4da..d1bc0e60cfd47 100644
@@ -2051,8 +2051,8 @@ spmi_bus: spmi@c440000 {
 			interrupts-extended = <&pdc 1 IRQ_TYPE_LEVEL_HIGH>;
 			qcom,ee = <0>;
 			qcom,channel = <0>;
-			#address-cells = <1>;
-			#size-cells = <1>;
+			#address-cells = <2>;
+			#size-cells = <0>;
 			interrupt-controller;
 			#interrupt-cells = <4>;
 		};
Signature · 1 line
2.39.2
author maintainer
#39 lore raw

PATCH 39/1001 arm64: dts: qcom: sm8450: correct Soundwire wakeup interrupt name

In reply to Greg Kroah-Hartman

From: Krzysztof Kozlowski <[email protected]>

[ Upstream commit 5eafe69af43d77cb117f27201076ee50f48363f1 ]

The bindings expect second Soundwire interrupt to be "wakeup" (Linux driver takes by index):

sm8450-hdk.dtb: soundwire-controller@33b0000: interrupt-names:1: 'wakeup' was expected

Fixes 14341e76dbc7 ("arm64: dts: qcom: sm8450: add Soundwire and LPASS")
---
 arch/arm64/boot/dts/qcom/sm8450.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/qcom/sm8450.dtsi +1 -1
index 570475040d95c..eb3318516243c 100644
@@ -2263,7 +2263,7 @@ swr2: soundwire-controller@33b0000 {
 			reg = <0 0x33b0000 0 0x2000>;
 			interrupts-extended = <&intc GIC_SPI 496 IRQ_TYPE_LEVEL_HIGH>,
 					      <&intc GIC_SPI 520 IRQ_TYPE_LEVEL_HIGH>;
-			interrupt-names = "core", "wake";
+			interrupt-names = "core", "wakeup";
 
 			clocks = <&vamacro>;
 			clock-names = "iface";
Signature · 1 line
2.39.2
author maintainer
#40 lore raw

PATCH 40/1001 arm64: dts: qcom: sdm845: make DP node follow the schema

In reply to Greg Kroah-Hartman

From: Dmitry Baryshkov <[email protected]>

[ Upstream commit 19e509d5ea229244b9205f8671bb75b13738a1f9 ]

Drop the #clock-cells (probably a leftover from the times before the DP PHY split)

---
 arch/arm64/boot/dts/qcom/sdm845.dtsi | 1 -
 1 file changed, 1 deletion(-)
arch/arm64/boot/dts/qcom/sdm845.dtsi +0 -1
index 65032b94b46d6..f36c23e7a2248 100644
@@ -4593,7 +4593,6 @@ mdss_dp: displayport-controller@ae90000 {
 					 <&dispcc DISP_CC_MDSS_DP_PIXEL_CLK>;
 				clock-names = "core_iface", "core_aux", "ctrl_link",
 					      "ctrl_link_iface", "stream_pixel";
-				#clock-cells = <1>;
 				assigned-clocks = <&dispcc DISP_CC_MDSS_DP_LINK_CLK_SRC>,
 						  <&dispcc DISP_CC_MDSS_DP_PIXEL_CLK_SRC>;
 				assigned-clock-parents = <&dp_phy 0>, <&dp_phy 1>;
Signature · 1 line
2.39.2
author maintainer
#41 lore raw

PATCH 41/1001 arm64: dts: qcom: msm8996-oneplus-common: drop vdda-supply from DSI PHY

In reply to Greg Kroah-Hartman

From: Dmitry Baryshkov <[email protected]>

[ Upstream commit 1de4e112b97c77efb5cbee39db8541e33dd2b0d5 ]

14nm DSI PHY has the only supply, vcca. Drop the extra vdda-supply.

Fixes 5a134c940cd3 ("arm64: dts: qcom: msm8996: add support for oneplus3(t)")
---
 arch/arm64/boot/dts/qcom/msm8996-oneplus-common.dtsi | 1 -
 1 file changed, 1 deletion(-)
arch/arm64/boot/dts/qcom/msm8996-oneplus-common.dtsi +0 -1
index 20f5c103c63b7..2994337c60464 100644
@@ -179,7 +179,6 @@ &dsi0_out {
 };
 
 &dsi0_phy {
-	vdda-supply = <&vreg_l2a_1p25>;
 	vcca-supply = <&vreg_l28a_0p925>;
 	status = "okay";
 };
Signature · 1 line
2.39.2
author maintainer
#24 lore raw

PATCH 24/1001 arm64: dts: qcom: sm6125-seine: Clean up gpio-keys (volume down)

In reply to Greg Kroah-Hartman

From: Marijn Suijten <[email protected]>

[ Upstream commit a9f6a13da473bb6c7406d2784d9e3792f6763cba ]

- Remove autorepeat (leave key repetition to userspace);
- Remove unneeded status = "okay" (this is the default);
- Remove unneeded linux,input-type <EV_KEY> (this is the default for gpio-keys);
- Allow the interrupt line for this button to be disabled;
- Use a full, descriptive node name;
- Set proper bias on the GPIO via pinctrl;
- Sort properties;
- Replace deprecated gpio-key,wakeup property with wakeup-source.

Fixes 82e1783890b7 ("arm64: dts: qcom: sm6125: Add support for Sony Xperia 10II")
---
 .../qcom/sm6125-sony-xperia-seine-pdx201.dts  | 19 ++++++++++++++-----
 1 file changed, 14 insertions(+), 5 deletions(-)
arch/arm64/boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dts +14 -5
index 0de6c5b7f742e..09cff5d1d0ae8 100644
@@ -41,17 +41,18 @@ extcon_usb: extcon-usb {
 	};
 
 	gpio-keys {
-		status = "okay";
 		compatible = "gpio-keys";
-		autorepeat;
 
-		key-vol-dn {
+		pinctrl-0 = <&vol_down_n>;
+		pinctrl-names = "default";
+
+		key-volume-down {
 			label = "Volume Down";
 			gpios = <&tlmm 47 GPIO_ACTIVE_LOW>;
-			linux,input-type = <1>;
 			linux,code = <KEY_VOLUMEDOWN>;
-			gpio-key,wakeup;
 			debounce-interval = <15>;
+			linux,can-disable;
+			wakeup-source;
 		};
 	};
 
@@ -270,6 +271,14 @@ &sdhc_1 {
 
 &tlmm {
 	gpio-reserved-ranges = <22 2>, <28 6>;
+
+	vol_down_n: vol-down-n-state {
+		pins = "gpio47";
+		function = "gpio";
+		drive-strength = <2>;
+		bias-disable;
+		input-enable;
+	};
 };
 
 &usb3 {
Signature · 1 line
2.39.2
author maintainer
#42 lore raw

PATCH 42/1001 arm64: dts: qcom: sc8280xp: Vote for CX in USB controllers

In reply to Greg Kroah-Hartman

From: Bjorn Andersson <[email protected]>

[ Upstream commit fe07640280cd29ac2997a617a1fb5487feef9387 ]

Running GCC_USB30_*_MASTER_CLK at 200MHz requires CX at nominal level, not doing so results in occasional lockups. This was previously hidden by the fact that the display stack incorrectly voted for CX (instead of MMCX).

---
 arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 2 ++
 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/qcom/sc8280xp.dtsi +2 -0
index d1bc0e60cfd47..8363e82369854 100644
@@ -1863,6 +1863,7 @@ usb_0: usb@a6f8800 {
 					  "ss_phy_irq";
 
 			power-domains = <&gcc USB30_PRIM_GDSC>;
+			required-opps = <&rpmhpd_opp_nom>;
 
 			resets = <&gcc GCC_USB30_PRIM_BCR>;
 
@@ -1917,6 +1918,7 @@ usb_1: usb@a8f8800 {
 					  "ss_phy_irq";
 
 			power-domains = <&gcc USB30_SEC_GDSC>;
+			required-opps = <&rpmhpd_opp_nom>;
 
 			resets = <&gcc GCC_USB30_SEC_BCR>;
 
Signature · 1 line
2.39.2
author maintainer
#43 lore raw

PATCH 43/1001 arm64: dts: meson-gxl: jethub-j80: Fix WiFi MAC address node

In reply to Greg Kroah-Hartman

From: Martin Blumenstingl <[email protected]>

[ Upstream commit f95acdb2b4af21caae2c76a48e565158181386ca ]

Unit addresses should be written using lower-case hex characters. Use wifi_mac@c to fix a yaml schema validation error once the eFuse dt-bindings have been converted to a yaml schema:
efuse: Unevaluated properties are not allowed ('wifi_mac@C' was unexpected)

Also node names should use hyphens instead of underscores as the latter can also cause warnings.

---
 .../boot/dts/amlogic/meson-gxl-s905w-jethome-jethub-j80.dts     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-gxl-s905w-jethome-jethub-j80.dts +1 -1
index 6831137c5c109..270483e007bc8 100644
@@ -90,7 +90,7 @@ bt_mac: bt_mac@6 {
 		reg = <0x6 0x6>;
 	};
 
-	wifi_mac: wifi_mac@C {
+	wifi_mac: wifi-mac@c {
 		reg = <0xc 0x6>;
 	};
 };
Signature · 1 line
2.39.2
author maintainer
#44 lore raw

PATCH 44/1001 arm64: dts: meson-gxl: jethub-j80: Fix Bluetooth MAC node name

In reply to Greg Kroah-Hartman

From: Martin Blumenstingl <[email protected]>

[ Upstream commit cb199de1d3aecb02556d8a6e26393015effa0a9f ]

Node names should use hyphens instead of underscores to not cause warnings.

---
 .../boot/dts/amlogic/meson-gxl-s905w-jethome-jethub-j80.dts     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-gxl-s905w-jethome-jethub-j80.dts +1 -1
index 270483e007bc8..bb7412070cb26 100644
@@ -86,7 +86,7 @@ sdio_pwrseq: sdio-pwrseq {
 };
 
 &efuse {
-	bt_mac: bt_mac@6 {
+	bt_mac: bt-mac@6 {
 		reg = <0x6 0x6>;
 	};
 
Signature · 1 line
2.39.2
author maintainer
#45 lore raw

PATCH 45/1001 arm64: dts: meson-axg: jethub-j1xx: Fix MAC address node names

In reply to Greg Kroah-Hartman

From: Martin Blumenstingl <[email protected]>

[ Upstream commit 2f66eeb06e3e8b1cac9e9093be3baadbac2709eb ]

Node names should use hyphens instead of underscores to not cause warnings.

Fixes 59ec069d5055 ("arm64: dts: meson-axg: add support for JetHub D1p (j110)")
---
 .../boot/dts/amlogic/meson-axg-jethome-jethub-j1xx.dtsi     | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm64/boot/dts/amlogic/meson-axg-jethome-jethub-j1xx.dtsi +3 -3
index 5836b00309312..22fd43b5fd73c 100644
@@ -168,15 +168,15 @@ sn: sn@32 {
 		reg = <0x32 0x20>;
 	};
 
-	eth_mac: eth_mac@0 {
+	eth_mac: eth-mac@0 {
 		reg = <0x0 0x6>;
 	};
 
-	bt_mac: bt_mac@6 {
+	bt_mac: bt-mac@6 {
 		reg = <0x6 0x6>;
 	};
 
-	wifi_mac: wifi_mac@c {
+	wifi_mac: wifi-mac@c {
 		reg = <0xc 0x6>;
 	};
 
Signature · 1 line
2.39.2
author maintainer
#46 lore raw

PATCH 46/1001 arm64: dts: meson-gx: Fix Ethernet MAC address unit name

In reply to Greg Kroah-Hartman

From: Martin Blumenstingl <[email protected]>

[ Upstream commit 8ed5310356bfa47cc6bb4221ae6b21258c52e3d1 ]

Unit names should use hyphens instead of underscores to not cause warnings.

---
 arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-gx.dtsi +1 -1
index 5eed15035b674..4371230b8fe31 100644
@@ -233,7 +233,7 @@ sn: sn@14 {
 			reg = <0x14 0x10>;
 		};
 
-		eth_mac: eth_mac@34 {
+		eth_mac: eth-mac@34 {
 			reg = <0x34 0x10>;
 		};
 
Signature · 1 line
2.39.2
author maintainer
#47 lore raw

PATCH 47/1001 arm64: dts: meson-g12a: Fix internal Ethernet PHY unit name

In reply to Greg Kroah-Hartman

From: Martin Blumenstingl <[email protected]>

[ Upstream commit e7303651bbc76c848007f1cfac1fbeaa65f600d1 ]

Documentation/devicetree/bindings/net/ethernet-phy.yaml defines that the node name for Ethernet PHYs should match the following pattern:
^ethernet-phy(@[a-f0-9]+)?$

Replace the underscore with a hyphen to adhere to this binding.

---
 arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi +1 -1
index 7f55d97f6c283..c063a144e0e7b 100644
@@ -1694,7 +1694,7 @@ int_mdio: mdio@1 {
 					#address-cells = <1>;
 					#size-cells = <0>;
 
-					internal_ephy: ethernet_phy@8 {
+					internal_ephy: ethernet-phy@8 {
 						compatible = "ethernet-phy-id0180.3301",
 							     "ethernet-phy-ieee802.3-c22";
 						interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
Signature · 1 line
2.39.2
author maintainer
#48 lore raw

PATCH 48/1001 arm64: dts: meson-gx: Fix the SCPI DVFS node name and unit address

In reply to Greg Kroah-Hartman

From: Martin Blumenstingl <[email protected]>

[ Upstream commit f189c869ad92787ddd753558bcbae89d75825bb6 ]

Node names should be generic and use hyphens instead of underscores to not cause warnings. Also nodes without a reg property should not have a unit-address. Change the scpi_dvfs node to use clock-controller as node name without a unit address (since it does not have a reg property).

Fixes 70db166a2baa ("ARM64: dts: meson-gxbb: Add SCPI with cpufreq & sensors Nodes")
---
 arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-gx.dtsi +1 -1
index 4371230b8fe31..09a016fd828aa 100644
@@ -250,7 +250,7 @@ scpi {
 		scpi_clocks: clocks {
 			compatible = "arm,scpi-clocks";
 
-			scpi_dvfs: scpi_clocks@0 {
+			scpi_dvfs: clock-controller {
 				compatible = "arm,scpi-dvfs-clocks";
 				#clock-cells = <1>;
 				clock-indices = <0>;
Signature · 1 line
2.39.2
author maintainer
#49 lore raw

PATCH 49/1001 cpuidle, intel_idle: Fix CPUIDLE_FLAG_IRQ_ENABLE *again*

In reply to Greg Kroah-Hartman

From: Peter Zijlstra <[email protected]>

[ Upstream commit 6d9c7f51b1d9179bf7c3542267c656a934e8af23 ]

So objtool found this bug:

vmlinux.o: warning: objtool: intel_idle_irq+0x10c: call to trace_hardirqs_off() leaves .noinstr.text section

As per commit 32d4fd5751ea ("cpuidle,intel_idle: Fix CPUIDLE_FLAG_IRQ_ENABLE"):

"must not have tracing in idle functions"

Clearly people can't read and tinker along until splat dissapears. This straight up reverts commit d295ad34f236 ("intel_idle: Fix false positive RCU splats due to incorrect hardirqs state").

It doesn't re-introduce the problem because preceding patches fixed it properly.

---
 drivers/idle/intel_idle.c | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)
drivers/idle/intel_idle.c +1 -7
index cfeb24d40d378..f060ac7376e69 100644
@@ -168,13 +168,7 @@ static __cpuidle int intel_idle_irq(struct cpuidle_device *dev,
 
 	raw_local_irq_enable();
 	ret = __intel_idle(dev, drv, index);
-
-	/*
-	 * The lockdep hardirqs state may be changed to 'on' with timer
-	 * tick interrupt followed by __do_softirq(). Use local_irq_disable()
-	 * to keep the hardirqs state correct.
-	 */
-	local_irq_disable();
+	raw_local_irq_disable();
 
 	return ret;
 }
Signature · 1 line
2.39.2
author maintainer
#50 lore raw

PATCH 50/1001 arm64: dts: ti: k3-am62-main: Fix clocks for McSPI

In reply to Greg Kroah-Hartman

From: Dhruva Gole <[email protected]>

[ Upstream commit 6be5d8e5d1804eb4cec29cd8a85dc9cb18683b5d ]

Fixes the clock Device ID's in the DT according to the tisci docs clock identifiers for AM62x

Fixes c37c58fdeb8a ("arm64: dts: ti: k3-am62: Add more peripheral nodes")
---
 arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm64/boot/dts/ti/k3-am62-main.dtsi +3 -3
index 072903649d6ee..ae1ec58117c35 100644
@@ -413,7 +413,7 @@ main_spi0: spi@20100000 {
 		#address-cells = <1>;
 		#size-cells = <0>;
 		power-domains = <&k3_pds 141 TI_SCI_PD_EXCLUSIVE>;
-		clocks = <&k3_clks 172 0>;
+		clocks = <&k3_clks 141 0>;
 		status = "disabled";
 	};
 
@@ -424,7 +424,7 @@ main_spi1: spi@20110000 {
 		#address-cells = <1>;
 		#size-cells = <0>;
 		power-domains = <&k3_pds 142 TI_SCI_PD_EXCLUSIVE>;
-		clocks = <&k3_clks 173 0>;
+		clocks = <&k3_clks 142 0>;
 		status = "disabled";
 	};
 
@@ -435,7 +435,7 @@ main_spi2: spi@20120000 {
 		#address-cells = <1>;
 		#size-cells = <0>;
 		power-domains = <&k3_pds 143 TI_SCI_PD_EXCLUSIVE>;
-		clocks = <&k3_clks 174 0>;
+		clocks = <&k3_clks 143 0>;
 		status = "disabled";
 	};
 
Signature · 1 line
2.39.2
author maintainer
#51 lore raw

PATCH 51/1001 arm64: tegra: Fix duplicate regulator on Jetson TX1

In reply to Greg Kroah-Hartman

From: Thierry Reding <[email protected]>

[ Upstream commit 29bcc1eaca315326d1cc883fbe9b451d1f9e3fa5 ]

When the top-level regulators were renamed, the 1.2V camera regulator accidentally ended up with the same DT node name as the 1.8V camera regulator.

Fixes 097e01c61015 ("arm64: tegra: Rename top-level regulators")
---
 arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi +1 -1
index dd9a17922fe5c..a87e103f3828d 100644
@@ -1667,7 +1667,7 @@ vdd_hdmi: regulator-vdd-hdmi {
 		vin-supply = <&vdd_5v0_sys>;
 	};
 
-	vdd_cam_1v2: regulator-vdd-cam-1v8 {
+	vdd_cam_1v2: regulator-vdd-cam-1v2 {
 		compatible = "regulator-fixed";
 		regulator-name = "vdd-cam-1v2";
 		regulator-min-microvolt = <1200000>;
Signature · 1 line
2.39.2
author maintainer
#25 lore raw

PATCH 25/1001 arm64: dts: imx8m: Align SoC unique ID node unit address

In reply to Greg Kroah-Hartman

From: Marek Vasut <[email protected]>

[ Upstream commit ee0d68f219be8618f53d3f8808952e20525e3f30 ]

Align the SoC unique ID DT node unit address with its reg property.

Fixes cbff23797fa1 ("arm64: dts: imx8m: add NVMEM provider and consumer to read soc unique ID")
---
 arch/arm64/boot/dts/freescale/imx8mm.dtsi | 2 +-
 arch/arm64/boot/dts/freescale/imx8mn.dtsi | 2 +-
 arch/arm64/boot/dts/freescale/imx8mp.dtsi | 2 +-
 arch/arm64/boot/dts/freescale/imx8mq.dtsi | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
arch/arm64/boot/dts/freescale/imx8mm.dtsi +1 -1
index 4ee89fdcf59bd..b45852e8087a9 100644
@@ -563,7 +563,7 @@ ocotp: efuse@30350000 {
 				#address-cells = <1>;
 				#size-cells = <1>;
 
-				imx8mm_uid: unique-id@410 {
+				imx8mm_uid: unique-id@4 {
 					reg = <0x4 0x8>;
 				};
 
arch/arm64/boot/dts/freescale/imx8mn.dtsi +1 -1
index b7d91df71cc26..7601a031f85a0 100644
@@ -564,7 +564,7 @@ ocotp: efuse@30350000 {
 				#address-cells = <1>;
 				#size-cells = <1>;
 
-				imx8mn_uid: unique-id@410 {
+				imx8mn_uid: unique-id@4 {
 					reg = <0x4 0x8>;
 				};
 
arch/arm64/boot/dts/freescale/imx8mp.dtsi +1 -1
index 03034b439c1f7..bafe0a572f7e9 100644
@@ -425,7 +425,7 @@ ocotp: efuse@30350000 {
 				#address-cells = <1>;
 				#size-cells = <1>;
 
-				imx8mp_uid: unique-id@420 {
+				imx8mp_uid: unique-id@8 {
 					reg = <0x8 0x8>;
 				};
 
arch/arm64/boot/dts/freescale/imx8mq.dtsi +1 -1
index 7ce99c084e545..6eb5a98bb1bd4 100644
@@ -593,7 +593,7 @@ ocotp: efuse@30350000 {
 				#address-cells = <1>;
 				#size-cells = <1>;
 
-				imx8mq_uid: soc-uid@410 {
+				imx8mq_uid: soc-uid@4 {
 					reg = <0x4 0x8>;
 				};
 
Signature · 1 line
2.39.2
author maintainer
#52 lore raw

PATCH 52/1001 arm64: dts: qcom: msm8992-bullhead: Fix cont_splash_mem size

In reply to Greg Kroah-Hartman

From: Petr Vorel <[email protected]>

[ Upstream commit 26a91359aea4d89e7d3646d806eed0f3755b74bd ]

Original google firmware reports 12 MiB:

[    0.000000] cma: Found cont_splash_mem@0, memory base 0x0000000003400000, size 12 MiB, limit 0xffffffffffffffff

which is actually 12*1024*1024 = 0xc00000.

This matches the aosp source [1]:

&cont_splash_mem {
	reg = <0 0x03400000 0 0xc00000>;
};
Fixes 3cb6a271f4b0 ("arm64: dts: qcom: msm8992-bullhead: Fix cont_splash_mem mapping")
Fixes 976d321f32dc ("arm64: dts: qcom: msm8992: Make the DT an overlay on top of 8994")

[1] https://android.googlesource.com/kernel/msm.git/+/android-7.0.0_r0.17/arch/arm64/boot/dts/lge/msm8992-bullhead.dtsi#141

---
 arch/arm64/boot/dts/qcom/msm8992-lg-bullhead.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/qcom/msm8992-lg-bullhead.dtsi +2 -2
index 79de9cc395c4c..123ec67fb385a 100644
@@ -2,7 +2,7 @@
 /*
  * Copyright (c) 2015, LGE Inc. All rights reserved.
  * Copyright (c) 2016, The Linux Foundation. All rights reserved.
- * Copyright (c) 2021, Petr Vorel <[email protected]>
+ * Copyright (c) 2021-2022, Petr Vorel <[email protected]>
  * Copyright (c) 2022, Dominik Kobinski <[email protected]>
  */
 
@@ -49,7 +49,7 @@ ramoops@1ff00000 {
 		};
 
 		cont_splash_mem: memory@3400000 {
-			reg = <0 0x03400000 0 0x1200000>;
+			reg = <0 0x03400000 0 0xc00000>;
 			no-map;
 		};
 
Signature · 1 line
2.39.2
author maintainer
#53 lore raw

PATCH 53/1001 arm64: dts: qcom: msm8992-bullhead: Disable dfps_data_mem

In reply to Greg Kroah-Hartman

From: Petr Vorel <[email protected]>

[ Upstream commit 4dee5aa44b924036511a744ceb3abb1ceeb96bb6 ]

It's disabled on downstream [1] thus not shown on downstream dmesg.

Removing it fixes warnings on v6.1:

[    0.000000] OF: reserved mem: OVERLAP DETECTED!
[    0.000000] dfps_data_mem@3400000 (0x0000000003400000--0x0000000003401000) overlaps with memory@3400000 (0x0000000003400000--0x0000000004600000)

[1] https://android.googlesource.com/kernel/msm.git/+/android-7.0.0_r0.17/arch/arm64/boot/dts/lge/msm8992-bullhead.dtsi#137

Fixes 976d321f32dc ("arm64: dts: qcom: msm8992: Make the DT an overlay on top of 8994")
---
 arch/arm64/boot/dts/qcom/msm8992-lg-bullhead.dtsi | 3 +++
 1 file changed, 3 insertions(+)
arch/arm64/boot/dts/qcom/msm8992-lg-bullhead.dtsi +3 -0
index 123ec67fb385a..4bceb362a5c02 100644
@@ -15,6 +15,9 @@
 /* cont_splash_mem has different memory mapping */
 /delete-node/ &cont_splash_mem;
 
+/* disabled on downstream, conflicts with cont_splash_mem */
+/delete-node/ &dfps_data_mem;
+
 / {
 	model = "LG Nexus 5X";
 	compatible = "lg,bullhead", "qcom,msm8992";
Signature · 1 line
2.39.2
author maintainer
#54 lore raw

PATCH 54/1001 arm64: dts: qcom: msm8956: use SoC-specific compat for tsens

In reply to Greg Kroah-Hartman

From: Dmitry Baryshkov <[email protected]>

[ Upstream commit 0b3aa9aa629c10928e86f6c9666a5e0b14655b2a ]

The slope values used during tsens calibration differ between msm8976 and msm8956 SoCs. Use SoC-specific compat value for the msm8956 SoC.

Fixes 0484d3ce0902 ("arm64: dts: qcom: Add DTS for MSM8976 and MSM8956 SoCs")
---
 arch/arm64/boot/dts/qcom/msm8956.dtsi | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm64/boot/dts/qcom/msm8956.dtsi +4 -0
index e432512d8716a..668e05185c21e 100644
@@ -12,6 +12,10 @@ &pmu {
 	interrupts = <GIC_PPI 7 (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_HIGH)>;
 };
 
+&tsens {
+	compatible = "qcom,msm8956-tsens", "qcom,tsens-v1";
+};
+
 /*
  * You might be wondering.. why is it so empty out there?
  * Well, the SoCs are almost identical.
Signature · 1 line
2.39.2
author maintainer
#26 lore raw

PATCH 26/1001 ARM: zynq: Fix refcount leak in zynq_early_slcr_init

In reply to Greg Kroah-Hartman

From: Qiheng Lin <[email protected]>

[ Upstream commit 9eedb910a3be0005b88c696a8552c0d4c9937cd4 ]

of_find_compatible_node() returns a node pointer with refcount incremented, we should use of_node_put() on error path.
Add missing of_node_put() to avoid refcount leak.

Fixes 3329659df030 ("ARM: zynq: Simplify SLCR initialization")
---
 arch/arm/mach-zynq/slcr.c | 1 +
 1 file changed, 1 insertion(+)
arch/arm/mach-zynq/slcr.c +1 -0
index 37707614885a5..9765b3f4c2fc5 100644
@@ -213,6 +213,7 @@ int __init zynq_early_slcr_init(void)
 	zynq_slcr_regmap = syscon_regmap_lookup_by_compatible("xlnx,zynq-slcr");
 	if (IS_ERR(zynq_slcr_regmap)) {
 		pr_err("%s: failed to find zynq-slcr\n", __func__);
+		of_node_put(np);
 		return -ENODEV;
 	}
 
Signature · 1 line
2.39.2
author maintainer
#27 lore raw

PATCH 27/1001 fs: dlm: fix return value check in dlm_memory_init()

In reply to Greg Kroah-Hartman

From: Yang Yingliang <[email protected]>

[ Upstream commit 8113aa91360a013ebe00763bb0823b5a41b11c4d ]

It should check 'cb_cache', after calling kmem_cache_create("dlm_cb").

Fixes 61bed0baa4db ("fs: dlm: use a non-static queue for callbacks")
---
 fs/dlm/memory.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/dlm/memory.c +1 -1
index eb7a08641fcf5..cdbaa452fc05a 100644
@@ -51,7 +51,7 @@ int __init dlm_memory_init(void)
 	cb_cache = kmem_cache_create("dlm_cb", sizeof(struct dlm_callback),
 				     __alignof__(struct dlm_callback), 0,
 				     NULL);
-	if (!rsb_cache)
+	if (!cb_cache)
 		goto cb;
 
 	return 0;
Signature · 1 line
2.39.2
author maintainer
#28 lore raw

PATCH 28/1001 arm64: dts: mediatek: mt8195: Add power domain to U3PHY1 T-PHY

In reply to Greg Kroah-Hartman

From: AngeloGioacchino Del Regno <[email protected]>

[ Upstream commit a9f6721a3c92764582ed12296292fda4a7f2dd25 ]

Assign power domain to the U3PHY1 T-PHY in otder to keep this PHY alive after unused PD shutdown and to be able to completely cut and restore power to it, for example, to save some power during system suspend/sleep.

Fixes 2b515194bf0c ("arm64: dts: mt8195: Add power domains controller")
---
 arch/arm64/boot/dts/mediatek/mt8195.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/mediatek/mt8195.dtsi +1 -0
index c10cfeb1214d5..d6856691fc385 100644
@@ -1549,6 +1549,7 @@ u3phy1: t-phy@11e30000 {
 			#address-cells = <1>;
 			#size-cells = <1>;
 			ranges = <0 0 0x11e30000 0xe00>;
+			power-domains = <&spm MT8195_POWER_DOMAIN_SSUSB_PCIE_PHY>;
 			status = "disabled";
 
 			u2port1: usb-phy@0 {
Signature · 1 line
2.39.2
author maintainer
#29 lore raw

PATCH 29/1001 arm64: dts: mediatek: mt8183: Fix systimer 13 MHz clock description

In reply to Greg Kroah-Hartman

From: Chen-Yu Tsai <[email protected]>

[ Upstream commit ce8a06b5bac75ccce99c0cf91b96b767d64f28a7 ]

The systimer block derives its 13 MHz clock by dividing the main 26 MHz oscillator clock by 2 internally, not through the TOPCKGEN clock controller.

On the MT8183 this divider is set either by power-on-reset or by the bootloader. The bootloader may then make the divider unconfigurable to, but can be read out by, the operating system.

Making the systimer block take the 26 MHz clock directly requires changing the implementations. As an ABI compatible fix, change the input clock of the systimer block a fixed factor divide-by-2 clock that takes the 26 MHz oscillator as its input.

---
 arch/arm64/boot/dts/mediatek/mt8183.dtsi | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/mediatek/mt8183.dtsi +10 -2
index 402136bfd5350..268a1f28af8ce 100644
@@ -585,6 +585,15 @@ psci {
 		method = "smc";
 	};
 
+	clk13m: fixed-factor-clock-13m {
+		compatible = "fixed-factor-clock";
+		#clock-cells = <0>;
+		clocks = <&clk26m>;
+		clock-div = <2>;
+		clock-mult = <1>;
+		clock-output-names = "clk13m";
+	};
+
 	clk26m: oscillator {
 		compatible = "fixed-clock";
 		#clock-cells = <0>;
@@ -968,8 +977,7 @@ systimer: timer@10017000 {
 				     "mediatek,mt6765-timer";
 			reg = <0 0x10017000 0 0x1000>;
 			interrupts = <GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH>;
-			clocks = <&topckgen CLK_TOP_CLK13M>;
-			clock-names = "clk13m";
+			clocks = <&clk13m>;
 		};
 
 		iommu: iommu@10205000 {
Signature · 1 line
2.39.2
author maintainer
#30 lore raw

PATCH 30/1001 arm64: dts: mediatek: mt8192: Fix systimer 13 MHz clock description

In reply to Greg Kroah-Hartman

From: Chen-Yu Tsai <[email protected]>

[ Upstream commit f19f68e56b0c6631984a9f5023035d4bd09612bb ]

The systimer block derives its 13 MHz clock by dividing the main 26 MHz oscillator clock by 2 internally, not through the TOPCKGEN clock controller.

On the MT8192 this divider is fixed to /2 and is not configurable.

Making the systimer block take the 26 MHz clock directly requires changing the implementations. As an ABI compatible fix, change the input clock of the systimer block a fixed factor divide-by-2 clock that takes the 26 MHz oscillator as its input.

Fixes 48489980e27e ("arm64: dts: Add Mediatek SoC MT8192 and evaluation board dts and Makefile")
---
 arch/arm64/boot/dts/mediatek/mt8192.dtsi | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/mediatek/mt8192.dtsi +10 -2
index 424fc89cc6f7c..0d43a32734a37 100644
@@ -29,6 +29,15 @@ aliases {
 		rdma4 = &rdma4;
 	};
 
+	clk13m: fixed-factor-clock-13m {
+		compatible = "fixed-factor-clock";
+		#clock-cells = <0>;
+		clocks = <&clk26m>;
+		clock-div = <2>;
+		clock-mult = <1>;
+		clock-output-names = "clk13m";
+	};
+
 	clk26m: oscillator0 {
 		compatible = "fixed-clock";
 		#clock-cells = <0>;
@@ -534,8 +543,7 @@ systimer: timer@10017000 {
 				     "mediatek,mt6765-timer";
 			reg = <0 0x10017000 0 0x1000>;
 			interrupts = <GIC_SPI 233 IRQ_TYPE_LEVEL_HIGH 0>;
-			clocks = <&topckgen CLK_TOP_CSW_F26M_D2>;
-			clock-names = "clk13m";
+			clocks = <&clk13m>;
 		};
 
 		pwrap: pwrap@10026000 {
Signature · 1 line
2.39.2
author maintainer
#31 lore raw

PATCH 31/1001 arm64: dts: mediatek: mt8195: Fix systimer 13 MHz clock description

In reply to Greg Kroah-Hartman

From: Chen-Yu Tsai <[email protected]>

[ Upstream commit 0f1c806b65d136a5fe0b88adad5ff1cb451fc401 ]

The systimer block derives its 13 MHz clock by dividing the main 26 MHz oscillator clock by 2 internally, not through the TOPCKGEN clock controller.

On the MT8195 this divider is set either by power-on-reset or by the bootloader. The bootloader may then make the divider unconfigurable to, but can be read out by, the operating system.

Making the systimer block take the 26 MHz clock directly requires changing the implementations. As an ABI compatible fix, change the input clock of the systimer block a fixed factor divide-by-2 clock that takes the 26 MHz oscillator as its input.

Fixes 37f2582883be ("arm64: dts: Add mediatek SoC mt8195 and evaluation board")
---
 arch/arm64/boot/dts/mediatek/mt8195.dtsi | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/mediatek/mt8195.dtsi +10 -1
index d6856691fc385..d8d846a57d97f 100644
@@ -248,6 +248,15 @@ sound: mt8195-sound {
 		status = "disabled";
 	};
 
+	clk13m: fixed-factor-clock-13m {
+		compatible = "fixed-factor-clock";
+		#clock-cells = <0>;
+		clocks = <&clk26m>;
+		clock-div = <2>;
+		clock-mult = <1>;
+		clock-output-names = "clk13m";
+	};
+
 	clk26m: oscillator-26m {
 		compatible = "fixed-clock";
 		#clock-cells = <0>;
@@ -705,7 +714,7 @@ systimer: timer@10017000 {
 				     "mediatek,mt6765-timer";
 			reg = <0 0x10017000 0 0x1000>;
 			interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH 0>;
-			clocks = <&topckgen CLK_TOP_CLK26M_D2>;
+			clocks = <&clk13m>;
 		};
 
 		pwrap: pwrap@10024000 {
Signature · 1 line
2.39.2
author maintainer
#22 lore raw

PATCH 22/1001 arm64: dts: qcom: sm6350-lena: Flatten gpio-keys pinctrl state

In reply to Greg Kroah-Hartman

From: Marijn Suijten <[email protected]>

[ Upstream commit a40f5ae1ea64ab9e981faf47c31817dc4d7923e4 ]

Pinctrl states typically collate multiple related pins. In the case of gpio-keys there's no hardware-defined relation at all except all pins representing a key; and especially on Sony's lena board there's only one pin regardless. Flatten it similar to other boards [1].

As a drive-by fix, clean up the label string.

[1]: https://lore.kernel.org/linux-arm-msm/[email protected]/

Fixes 2b8bbe985659 ("arm64: dts: qcom: sm6350-lena: Include pm6350 and configure buttons")
---
 .../qcom/sm6350-sony-xperia-lena-pdx213.dts    | 18 ++++++++----------
 1 file changed, 8 insertions(+), 10 deletions(-)
arch/arm64/boot/dts/qcom/sm6350-sony-xperia-lena-pdx213.dts +8 -10
index 94f77d376662e..4916d0db5b47f 100644
@@ -35,10 +35,10 @@ framebuffer: framebuffer@a0000000 {
 	gpio-keys {
 		compatible = "gpio-keys";
 		pinctrl-names = "default";
-		pinctrl-0 = <&gpio_keys_state>;
+		pinctrl-0 = <&vol_down_n>;
 
 		key-volume-down {
-			label = "volume_down";
+			label = "Volume Down";
 			linux,code = <KEY_VOLUMEDOWN>;
 			gpios = <&pm6350_gpios 2 GPIO_ACTIVE_LOW>;
 		};
@@ -305,14 +305,12 @@ touchscreen@48 {
 };
 
 &pm6350_gpios {
-	gpio_keys_state: gpio-keys-state {
-		key-volume-down-pins {
-			pins = "gpio2";
-			function = PMIC_GPIO_FUNC_NORMAL;
-			power-source = <0>;
-			bias-disable;
-			input-enable;
-		};
+	vol_down_n: vol-down-n-state {
+		pins = "gpio2";
+		function = PMIC_GPIO_FUNC_NORMAL;
+		power-source = <0>;
+		bias-disable;
+		input-enable;
 	};
 };
 
Signature · 1 line
2.39.2
author maintainer
#56 lore raw

PATCH 56/1001 arm64: dts: qcom: ipq8074: fix Gen2 PCIe QMP PHY

In reply to Greg Kroah-Hartman

From: Robert Marko <[email protected]>

[ Upstream commit 100d9c94ccf15b02742c326cd04f422ab729153b ]

Serdes register space sizes are incorrect, update them to match the actual sizes from downstream QCA 5.4 kernel.

Fixes 942bcd33ed45 ("arm64: dts: qcom: Fix IPQ8074 PCIe PHY nodes")
---
 arch/arm64/boot/dts/qcom/ipq8074.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/qcom/ipq8074.dtsi +2 -2
index 9dcb48ebc4661..90b0abf8bbbcd 100644
@@ -242,9 +242,9 @@ pcie_qmp1: phy@8e000 {
 			status = "disabled";
 
 			pcie_phy1: phy@8e200 {
-				reg = <0x8e200 0x16c>,
+				reg = <0x8e200 0x130>,
 				      <0x8e400 0x200>,
-				      <0x8e800 0x4f4>;
+				      <0x8e800 0x1f8>;
 				#phy-cells = <0>;
 				#clock-cells = <0>;
 				clocks = <&gcc GCC_PCIE1_PIPE_CLK>;
Signature · 1 line
2.39.2
author maintainer
#65 lore raw

PATCH 65/1001 ARM: s3c: fix s3c64xx_set_timer_source prototype

In reply to Greg Kroah-Hartman

From: Arnd Bergmann <[email protected]>

[ Upstream commit 5bf52f5e4d12b8109f348cab60cb7d51092c4270 ]

The prototype does not match the definition, as gcc-13 points out:

arch/arm/mach-s3c/s3c64xx.c:169:13: error: conflicting types for 's3c64xx_set_timer_source' due to enum/integer mismatch; have 'void(unsigned int, unsigned int)' [-Werror=enum-int-mismatch]
169 | void __init s3c64xx_set_timer_source(unsigned int event, unsigned int source)

      |             ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from arch/arm/mach-s3c/s3c64xx.c:50:
arch/arm/mach-s3c/s3c64xx.h:62:20: note: previous declaration of 's3c64xx_set_timer_source' with type 'void(enum s3c64xx_timer_mode,  enum s3c64xx_timer_mode)'
   62 | extern void __init s3c64xx_set_timer_source(enum s3c64xx_timer_mode event,
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~
Fixes 4280506ac9bb ("ARM: SAMSUNG: Move all platforms to new clocksource driver")
---
 arch/arm/mach-s3c/s3c64xx.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm/mach-s3c/s3c64xx.c +2 -1
index 0a8116c108fe4..dce2b0e953088 100644
@@ -173,7 +173,8 @@ static struct samsung_pwm_variant s3c64xx_pwm_variant = {
 	.tclk_mask	= (1 << 7) | (1 << 6) | (1 << 5),
 };
 
-void __init s3c64xx_set_timer_source(unsigned int event, unsigned int source)
+void __init s3c64xx_set_timer_source(enum s3c64xx_timer_mode event,
+				     enum s3c64xx_timer_mode source)
 {
 	s3c64xx_pwm_variant.output_mask = BIT(SAMSUNG_PWM_NUM) - 1;
 	s3c64xx_pwm_variant.output_mask &= ~(BIT(event) | BIT(source));
Signature · 1 line
2.39.2
author maintainer
#66 lore raw

PATCH 66/1001 arm64: dts: ti: k3-j7200: Fix wakeup pinmux range

In reply to Greg Kroah-Hartman

From: Vaishnav Achath <[email protected]>

[ Upstream commit 9ae21ac445e911e3541985c20052fc05d60f6879 ]

The WKUP_PADCONFIG register region in J7200 has multiple non-addressable regions, split the existing wkup_pmx region as follows to avoid the non-addressable regions and include all valid WKUP_PADCONFIG registers. Also update references to old nodes with new ones.

wkup_pmx0 -> 13 pins (WKUP_PADCONFIG 0 - 12)
wkup_pmx1 -> 2 pins (WKUP_PADCONFIG 14 - 15)
wkup_pmx2 -> 59 pins (WKUP_PADCONFIG 26 - 84)
wkup_pmx3 -> 8 pins (WKUP_PADCONFIG 93 - 100)

J7200 Datasheet (Table 6-106, Section 6.4 Pin Multiplexing) :

	https://www.ti.com/lit/ds/symlink/dra821u.pdf
Fixes d361ed88455f ("arm64: dts: ti: Add support for J7200 SoC")
---
 .../dts/ti/k3-j7200-common-proc-board.dts     |  2 +-
 .../boot/dts/ti/k3-j7200-mcu-wakeup.dtsi      | 29 ++++++++++++++++++-
 2 files changed, 29 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts +1 -1
index 6240856e48631..0d39d6b8cc0ca 100644
@@ -80,7 +80,7 @@ vdd_sd_dv: gpio-regulator-TLV71033 {
 	};
 };
 
-&wkup_pmx0 {
+&wkup_pmx2 {
 	mcu_cpsw_pins_default: mcu-cpsw-pins-default {
 		pinctrl-single,pins = <
 			J721E_WKUP_IOPAD(0x0068, PIN_OUTPUT, 0) /* MCU_RGMII1_TX_CTL */
arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi +28 -1
index fe669deba4896..de56a0165bd0c 100644
@@ -56,7 +56,34 @@ chipid@43000014 {
 	wkup_pmx0: pinctrl@4301c000 {
 		compatible = "pinctrl-single";
 		/* Proxy 0 addressing */
-		reg = <0x00 0x4301c000 0x00 0x178>;
+		reg = <0x00 0x4301c000 0x00 0x34>;
+		#pinctrl-cells = <1>;
+		pinctrl-single,register-width = <32>;
+		pinctrl-single,function-mask = <0xffffffff>;
+	};
+
+	wkup_pmx1: pinctrl@0x4301c038 {
+		compatible = "pinctrl-single";
+		/* Proxy 0 addressing */
+		reg = <0x00 0x4301c038 0x00 0x8>;
+		#pinctrl-cells = <1>;
+		pinctrl-single,register-width = <32>;
+		pinctrl-single,function-mask = <0xffffffff>;
+	};
+
+	wkup_pmx2: pinctrl@0x4301c068 {
+		compatible = "pinctrl-single";
+		/* Proxy 0 addressing */
+		reg = <0x00 0x4301c068 0x00 0xec>;
+		#pinctrl-cells = <1>;
+		pinctrl-single,register-width = <32>;
+		pinctrl-single,function-mask = <0xffffffff>;
+	};
+
+	wkup_pmx3: pinctrl@0x4301c174 {
+		compatible = "pinctrl-single";
+		/* Proxy 0 addressing */
+		reg = <0x00 0x4301c174 0x00 0x20>;
 		#pinctrl-cells = <1>;
 		pinctrl-single,register-width = <32>;
 		pinctrl-single,function-mask = <0xffffffff>;
Signature · 1 line
2.39.2
author maintainer
#67 lore raw

PATCH 67/1001 ARM: dts: exynos: correct wr-active property in Exynos3250 Rinato

In reply to Greg Kroah-Hartman

From: Krzysztof Kozlowski <[email protected]>

[ Upstream commit d15d2a617499882971ddb773a583015bf36fa492 ]

The property is wr-active:

exynos3250-rinato.dtb: fimd@11c00000: i80-if-timings: 'wr-act' does not match any of the regexes: 'pinctrl-[0-9]+'

Fixes b59b3afb94d4 ("ARM: dts: add fimd device support for exynos3250-rinato")
---
 arch/arm/boot/dts/exynos3250-rinato.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/exynos3250-rinato.dts +1 -1
index 6d2c7bb191842..2eb682009815a 100644
@@ -250,7 +250,7 @@ &fimd {
 	i80-if-timings {
 		cs-setup = <0>;
 		wr-setup = <0>;
-		wr-act = <1>;
+		wr-active = <1>;
 		wr-hold = <0>;
 	};
 };
Signature · 1 line
2.39.2
author maintainer
#68 lore raw

PATCH 68/1001 ARM: imx: Call ida_simple_remove() for ida_simple_get

In reply to Greg Kroah-Hartman

From: Angus Chen <[email protected]>

[ Upstream commit ebeb49f43c8952f12aa20f03f00d7009edc2d1c5 ]

The function call ida_simple_get maybe fail,we should deal with it. And if ida_simple_get success ,it need to call ida_simple_remove also. BTW,devm_kasprintf can handle id is zero for consistency.

Fixes e76bdfd7403a ("ARM: imx: Added perf functionality to mmdc driver")
---
 arch/arm/mach-imx/mmdc.c | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)
arch/arm/mach-imx/mmdc.c +12 -12
index af12668d0bf51..b9efe9da06e0b 100644
@@ -99,6 +99,7 @@ struct mmdc_pmu {
 	cpumask_t cpu;
 	struct hrtimer hrtimer;
 	unsigned int active_events;
+	int id;
 	struct device *dev;
 	struct perf_event *mmdc_events[MMDC_NUM_COUNTERS];
 	struct hlist_node node;
@@ -433,8 +434,6 @@ static enum hrtimer_restart mmdc_pmu_timer_handler(struct hrtimer *hrtimer)
 static int mmdc_pmu_init(struct mmdc_pmu *pmu_mmdc,
 		void __iomem *mmdc_base, struct device *dev)
 {
-	int mmdc_num;
-
 	*pmu_mmdc = (struct mmdc_pmu) {
 		.pmu = (struct pmu) {
 			.task_ctx_nr    = perf_invalid_context,
@@ -452,15 +451,16 @@ static int mmdc_pmu_init(struct mmdc_pmu *pmu_mmdc,
 		.active_events = 0,
 	};
 
-	mmdc_num = ida_simple_get(&mmdc_ida, 0, 0, GFP_KERNEL);
+	pmu_mmdc->id = ida_simple_get(&mmdc_ida, 0, 0, GFP_KERNEL);
 
-	return mmdc_num;
+	return pmu_mmdc->id;
 }
 
 static int imx_mmdc_remove(struct platform_device *pdev)
 {
 	struct mmdc_pmu *pmu_mmdc = platform_get_drvdata(pdev);
 
+	ida_simple_remove(&mmdc_ida, pmu_mmdc->id);
 	cpuhp_state_remove_instance_nocalls(cpuhp_mmdc_state, &pmu_mmdc->node);
 	perf_pmu_unregister(&pmu_mmdc->pmu);
 	iounmap(pmu_mmdc->mmdc_base);
@@ -474,7 +474,6 @@ static int imx_mmdc_perf_init(struct platform_device *pdev, void __iomem *mmdc_b
 {
 	struct mmdc_pmu *pmu_mmdc;
 	char *name;
-	int mmdc_num;
 	int ret;
 	const struct of_device_id *of_id =
 		of_match_device(imx_mmdc_dt_ids, &pdev->dev);
@@ -497,14 +496,14 @@ static int imx_mmdc_perf_init(struct platform_device *pdev, void __iomem *mmdc_b
 		cpuhp_mmdc_state = ret;
 	}
 
-	mmdc_num = mmdc_pmu_init(pmu_mmdc, mmdc_base, &pdev->dev);
-	pmu_mmdc->mmdc_ipg_clk = mmdc_ipg_clk;
-	if (mmdc_num == 0)
-		name = "mmdc";
-	else
-		name = devm_kasprintf(&pdev->dev,
-				GFP_KERNEL, "mmdc%d", mmdc_num);
+	ret = mmdc_pmu_init(pmu_mmdc, mmdc_base, &pdev->dev);
+	if (ret < 0)
+		goto  pmu_free;
 
+	name = devm_kasprintf(&pdev->dev,
+				GFP_KERNEL, "mmdc%d", ret);
+
+	pmu_mmdc->mmdc_ipg_clk = mmdc_ipg_clk;
 	pmu_mmdc->devtype_data = (struct fsl_mmdc_devtype_data *)of_id->data;
 
 	hrtimer_init(&pmu_mmdc->hrtimer, CLOCK_MONOTONIC,
@@ -525,6 +524,7 @@ static int imx_mmdc_perf_init(struct platform_device *pdev, void __iomem *mmdc_b
 
 pmu_register_err:
 	pr_warn("MMDC Perf PMU failed (%d), disabled\n", ret);
+	ida_simple_remove(&mmdc_ida, pmu_mmdc->id);
 	cpuhp_state_remove_instance_nocalls(cpuhp_mmdc_state, &pmu_mmdc->node);
 	hrtimer_cancel(&pmu_mmdc->hrtimer);
 pmu_free:
Signature · 1 line
2.39.2
author maintainer
#69 lore raw

PATCH 69/1001 arm64: dts: amlogic: meson-gx: fix SCPI clock dvfs node name

In reply to Greg Kroah-Hartman

From: Neil Armstrong <[email protected]>

[ Upstream commit 127f79212b07c5d9a6657a87e3eafdd889335814 ]

Fixes:
scpi: clocks: 'clock-controller' does not match any of the regexes: '^clocks-[0-9a-f]+$', 'pinctrl-[0-9]+'

---
 arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-gx.dtsi +1 -1
index 09a016fd828aa..467d2eaf817b2 100644
@@ -250,7 +250,7 @@ scpi {
 		scpi_clocks: clocks {
 			compatible = "arm,scpi-clocks";
 
-			scpi_dvfs: clock-controller {
+			scpi_dvfs: clocks-0 {
 				compatible = "arm,scpi-dvfs-clocks";
 				#clock-cells = <1>;
 				clock-indices = <0>;
Signature · 1 line
2.39.2
author maintainer
#70 lore raw

PATCH 70/1001 arm64: dts: amlogic: meson-axg: fix SCPI clock dvfs node name

In reply to Greg Kroah-Hartman

From: Neil Armstrong <[email protected]>

[ Upstream commit 5b7069d72f03c92a0ab919725017394ebce03a81 ]

Fixes:
scpi: clocks: 'clock-controller' does not match any of the regexes: '^clocks-[0-9a-f]+$', 'pinctrl-[0-9]+'

---
 arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-axg.dtsi +1 -1
index 417523dc4cc03..c87df0b2dfdea 100644
@@ -153,7 +153,7 @@ scpi {
 		scpi_clocks: clocks {
 			compatible = "arm,scpi-clocks";
 
-			scpi_dvfs: clock-controller {
+			scpi_dvfs: clocks-0 {
 				compatible = "arm,scpi-dvfs-clocks";
 				#clock-cells = <1>;
 				clock-indices = <0>;
Signature · 1 line
2.39.2
author maintainer
#71 lore raw

PATCH 71/1001 arm64: dts: amlogic: meson-gx: add missing SCPI sensors compatible

In reply to Greg Kroah-Hartman

From: Neil Armstrong <[email protected]>

[ Upstream commit 2ff650051493d5bdb6dd09d4c2850bb37db6be31 ]

Fixes:
scpi: sensors:compatible: 'oneOf' conditional failed, one must be fixed:
['amlogic,meson-gxbb-scpi-sensors'] is too short 'arm,scpi-sensors' was expected

---
 arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-axg.dtsi +1 -1
index c87df0b2dfdea..ff2b33313e637 100644
@@ -162,7 +162,7 @@ scpi_dvfs: clocks-0 {
 		};
 
 		scpi_sensors: sensors {
-			compatible = "amlogic,meson-gxbb-scpi-sensors";
+			compatible = "amlogic,meson-gxbb-scpi-sensors", "arm,scpi-sensors";
 			#thermal-sensor-cells = <1>;
 		};
 	};
Signature · 1 line
2.39.2
author maintainer
#72 lore raw

PATCH 72/1001 arm64: dts: amlogic: meson-axg-jethome-jethub-j1xx: fix supply name of USB controller node

In reply to Greg Kroah-Hartman

From: Neil Armstrong <[email protected]>

[ Upstream commit a69cb1042cea840bc7b60fea1c26a6b259e68bf2 ]

Fixes:
usb@ffe09080: 'phy-supply' does not match any of the regexes: '^usb@[0-9a-f]+$', 'pinctrl-[0-9]+'

---
 arch/arm64/boot/dts/amlogic/meson-axg-jethome-jethub-j1xx.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-axg-jethome-jethub-j1xx.dtsi +1 -1
index 22fd43b5fd73c..1916c007cba58 100644
@@ -303,7 +303,7 @@ &uart_AO_B {
 
 &usb {
 	status = "okay";
-	phy-supply = <&usb_pwr>;
+	vbus-supply = <&usb_pwr>;
 };
 
 &spicc1 {
Signature · 1 line
2.39.2
author maintainer
#73 lore raw

PATCH 73/1001 arm64: dts: amlogic: meson-gxl-s905d-sml5442tw: drop invalid clock-names property

In reply to Greg Kroah-Hartman

From: Neil Armstrong <[email protected]>

[ Upstream commit e3bd275ccbacf5eb18eaa311cea39f8bf8655feb ]

Fixes:
bluetooth: 'clock-names' does not match any of the regexes: 'pinctrl-[0-9]+'

---
 arch/arm64/boot/dts/amlogic/meson-gxl-s905d-sml5442tw.dts | 1 -
 1 file changed, 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-gxl-s905d-sml5442tw.dts +0 -1
index b331a013572f3..c490dbbf063bf 100644
@@ -79,6 +79,5 @@ bluetooth {
 		enable-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>;
 		max-speed = <2000000>;
 		clocks = <&wifi32k>;
-		clock-names = "lpo";
 	};
 };
Signature · 1 line
2.39.2
author maintainer
#74 lore raw

PATCH 74/1001 arm64: dts: amlogic: meson-gx: add missing unit address to rng node name

In reply to Greg Kroah-Hartman

From: Neil Armstrong <[email protected]>

[ Upstream commit 61ff70708b98a85516eccb3755084ac97b42cf48 ]

Fixes:
bus@c8834000: rng: {...} should not be valid under {'type': 'object'}

---
 arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-gx.dtsi +1 -1
index 467d2eaf817b2..11f89bfecb56a 100644
@@ -532,7 +532,7 @@ periphs: bus@c8834000 {
 			#size-cells = <2>;
 			ranges = <0x0 0x0 0x0 0xc8834000 0x0 0x2000>;
 
-			hwrng: rng {
+			hwrng: rng@0 {
 				compatible = "amlogic,meson-rng";
 				reg = <0x0 0x0 0x0 0x4>;
 			};
Signature · 1 line
2.39.2
author maintainer
#57 lore raw

PATCH 57/1001 arm64: dts: qcom: ipq8074: fix Gen3 PCIe QMP PHY

In reply to Greg Kroah-Hartman

From: Robert Marko <[email protected]>

[ Upstream commit 7ba33591b45f9d547a317e42f1c2acd19c925eb6 ]

IPQ8074 comes in 2 silicon versions:
* v1 with 2x Gen2 PCIe ports and QMP PHY-s
* v2 with 1x Gen3 and 1x Gen2 PCIe ports and QMP PHY-s

v2 is the final and production version that is actually supported by the kernel, however it looks like PCIe related nodes were added for the v1 SoC.

Now that we have Gen3 QMP PHY support, we can start fixing the PCIe support by fixing the Gen3 QMP PHY node first.

Change the compatible to the Gen3 QMP PHY, correct the register space start and size, add the missing misc PCS register space.

Fixes 33057e1672fe ("ARM: dts: ipq8074: Add pcie nodes")
---
 arch/arm64/boot/dts/qcom/ipq8074.dtsi | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)
arch/arm64/boot/dts/qcom/ipq8074.dtsi +8 -7
index 90b0abf8bbbcd..f099785facf39 100644
@@ -197,9 +197,9 @@ qusb_phy_0: phy@79000 {
 			status = "disabled";
 		};
 
-		pcie_qmp0: phy@86000 {
-			compatible = "qcom,ipq8074-qmp-pcie-phy";
-			reg = <0x00086000 0x1c4>;
+		pcie_qmp0: phy@84000 {
+			compatible = "qcom,ipq8074-qmp-gen3-pcie-phy";
+			reg = <0x00084000 0x1bc>;
 			#address-cells = <1>;
 			#size-cells = <1>;
 			ranges;
@@ -213,10 +213,11 @@ pcie_qmp0: phy@86000 {
 				      "common";
 			status = "disabled";
 
-			pcie_phy0: phy@86200 {
-				reg = <0x86200 0x16c>,
-				      <0x86400 0x200>,
-				      <0x86800 0x4f4>;
+			pcie_phy0: phy@84200 {
+				reg = <0x84200 0x16c>,
+				      <0x84400 0x200>,
+				      <0x84800 0x1f0>,
+				      <0x84c00 0xf4>;
 				#phy-cells = <0>;
 				#clock-cells = <0>;
 				clocks = <&gcc GCC_PCIE0_PIPE_CLK>;
Signature · 1 line
2.39.2
author maintainer
#75 lore raw

PATCH 75/1001 arm64: dts: amlogic: meson-gxl-s905w-jethome-jethub-j80: fix invalid rtc node name

In reply to Greg Kroah-Hartman

From: Neil Armstrong <[email protected]>

[ Upstream commit 11172a97c092eaeb0a65c6434df0fc73f886a495 ]

Fixes:
pcf8563@51: $nodename:0: 'pcf8563@51' does not match '^rtc(@.*|-[0-9a-f])*$'

---
 .../boot/dts/amlogic/meson-gxl-s905w-jethome-jethub-j80.dts     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-gxl-s905w-jethome-jethub-j80.dts +1 -1
index bb7412070cb26..a18d6d241a5ad 100644
@@ -239,7 +239,7 @@ &i2c_B {
 	pinctrl-names = "default";
 	pinctrl-0 = <&i2c_b_pins>;
 
-	pcf8563: pcf8563@51 {
+	pcf8563: rtc@51 {
 		compatible = "nxp,pcf8563";
 		reg = <0x51>;
 		status = "okay";
Signature · 1 line
2.39.2
author maintainer
#76 lore raw

PATCH 76/1001 arm64: dts: amlogic: meson-axg-jethome-jethub-j1xx: fix invalid rtc node name

In reply to Greg Kroah-Hartman

From: Neil Armstrong <[email protected]>

[ Upstream commit 956f52025c5dd92c80c12e31c99c854086a6fc55 ]

Fixes:
pcf8563@51: $nodename:0: 'pcf8563@51' does not match '^rtc(@.*|-[0-9a-f])*$'

---
 arch/arm64/boot/dts/amlogic/meson-axg-jethome-jethub-j1xx.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-axg-jethome-jethub-j1xx.dtsi +1 -1
index 1916c007cba58..e1605a9b0a13f 100644
@@ -217,7 +217,7 @@ &i2c1 {
 	pinctrl-names = "default";
 
 	/* RTC */
-	pcf8563: pcf8563@51 {
+	pcf8563: rtc@51 {
 		compatible = "nxp,pcf8563";
 		reg = <0x51>;
 		status = "okay";
Signature · 1 line
2.39.2
author maintainer
#77 lore raw

PATCH 77/1001 arm64: dts: amlogic: meson-gxl: add missing unit address to eth-phy-mux node name

In reply to Greg Kroah-Hartman

From: Neil Armstrong <[email protected]>

[ Upstream commit d19189f70ba596798ea49166d2d1ef36a8df5289 ]

Fixes:
bus@c8834000: eth-phy-mux: {...} should not be valid under {'type': 'object'}

---
 arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-gxl.dtsi +1 -1
index 04e9d0f1bde0f..5905a6df09b04 100644
@@ -773,7 +773,7 @@ mux {
 		};
 	};
 
-	eth-phy-mux {
+	eth-phy-mux@55c {
 		compatible = "mdio-mux-mmioreg", "mdio-mux";
 		#address-cells = <1>;
 		#size-cells = <0>;
Signature · 1 line
2.39.2
author maintainer
#78 lore raw

PATCH 78/1001 arm64: dts: amlogic: meson-gx-libretech-pc: fix update button name

In reply to Greg Kroah-Hartman

From: Neil Armstrong <[email protected]>

[ Upstream commit 6bb506ed36968207a8832f0143ebc127f0770eef ]

Fixes:
adc-keys: 'update-button' does not match any of the regexes: '^button-', 'pinctrl-[0-9]+'

---
 arch/arm64/boot/dts/amlogic/meson-gx-libretech-pc.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-gx-libretech-pc.dtsi +1 -1
index bcdf55f48a831..4e84ab87cc7db 100644
@@ -17,7 +17,7 @@ adc-keys {
 		io-channel-names = "buttons";
 		keyup-threshold-microvolt = <1800000>;
 
-		update-button {
+		button-update {
 			label = "update";
 			linux,code = <KEY_VENDOR>;
 			press-threshold-microvolt = <1300000>;
Signature · 1 line
2.39.2
author maintainer
#79 lore raw

PATCH 79/1001 arm64: dts: amlogic: meson-sm1-bananapi-m5: fix adc keys node names

In reply to Greg Kroah-Hartman

From: Neil Armstrong <[email protected]>

[ Upstream commit d519a73332b6c3d14e15f8fd20d7c6f29ed13d41 ]

Fixes:
adc_keys: 'key' does not match any of the regexes: '^button-', 'pinctrl-[0-9]+'

Also fix the invalid "adc_keys" node name.

---
 arch/arm64/boot/dts/amlogic/meson-sm1-bananapi-m5.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/amlogic/meson-sm1-bananapi-m5.dts +2 -2
index cadba194b149b..6d0db667581fa 100644
@@ -17,13 +17,13 @@ / {
 	compatible = "bananapi,bpi-m5", "amlogic,sm1";
 	model = "Banana Pi BPI-M5";
 
-	adc_keys {
+	adc-keys {
 		compatible = "adc-keys";
 		io-channels = <&saradc 2>;
 		io-channel-names = "buttons";
 		keyup-threshold-microvolt = <1800000>;
 
-		key {
+		button-sw3 {
 			label = "SW3";
 			linux,code = <BTN_3>;
 			press-threshold-microvolt = <1700000>;
Signature · 1 line
2.39.2
author maintainer
#80 lore raw

PATCH 80/1001 arm64: dts: amlogic: meson-gxl-s905d-phicomm-n1: fix led node name

In reply to Greg Kroah-Hartman

From: Neil Armstrong <[email protected]>

[ Upstream commit eee64d8fbbdaab72bbab3e462f3a7b742d20c8c2 ]

Fixes:
leds: status: {...} is not of type 'array'

---
 arch/arm64/boot/dts/amlogic/meson-gxl-s905d-phicomm-n1.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-gxl-s905d-phicomm-n1.dts +1 -1
index 9ef210f17b4aa..393d3cb33b9ee 100644
@@ -18,7 +18,7 @@ cvbs-connector {
 	leds {
 		compatible = "gpio-leds";
 
-		status {
+		led {
 			label = "n1:white:status";
 			gpios = <&gpio_ao GPIOAO_9 GPIO_ACTIVE_HIGH>;
 			default-state = "on";
Signature · 1 line
2.39.2
author maintainer
#81 lore raw

PATCH 81/1001 arm64: dts: amlogic: meson-gxbb-kii-pro: fix led node name

In reply to Greg Kroah-Hartman

From: Neil Armstrong <[email protected]>

[ Upstream commit afdef3b188c934f79ad4b0a7bd8c692742f9b5af ]

Fixes:
leds: status: {...} is not of type 'array'

---
 arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts +1 -1
index 6d8cc00fedc7f..5f2d4317ecfbf 100644
@@ -16,7 +16,7 @@ / {
 
 	leds {
 		compatible = "gpio-leds";
-		status {
+		led {
 			gpios = <&gpio_ao GPIOAO_13 GPIO_ACTIVE_LOW>;
 			default-state = "off";
 			color = <LED_COLOR_ID_RED>;
Signature · 1 line
2.39.2
author maintainer
#82 lore raw

PATCH 82/1001 arm64: dts: amlogic: meson-g12b-odroid-go-ultra: fix rk818 pmic properties

In reply to Greg Kroah-Hartman

From: Neil Armstrong <[email protected]>

[ Upstream commit ce9999722656f2433af9029571bc2b99448dda74 ]

Fixes:
pmic@1c: '#clock-cells' is a required property
pmic@1c: 'switch-supply' does not match any of the regexes: 'pinctrl-[0-9]+'

The switch supply is described by vcc9-supply per bindings documentation.

---
 arch/arm64/boot/dts/amlogic/meson-g12b-odroid-go-ultra.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-g12b-odroid-go-ultra.dts +1 -1
index 1e40709610c52..c8e5a0a42b898 100644
@@ -381,6 +381,7 @@ rk818: pmic@1c {
 		reg = <0x1c>;
 		interrupt-parent = <&gpio_intc>;
 		interrupts = <7 IRQ_TYPE_LEVEL_LOW>; /* GPIOAO_7 */
+		#clock-cells = <1>;
 
 		vcc1-supply = <&vdd_sys>;
 		vcc2-supply = <&vdd_sys>;
@@ -391,7 +392,6 @@ rk818: pmic@1c {
 		vcc8-supply = <&vcc_2v3>;
 		vcc9-supply = <&vddao_3v3>;
 		boost-supply = <&vdd_sys>;
-		switch-supply = <&vdd_sys>;
 
 		regulators {
 			vddcpu_a: DCDC_REG1 {
Signature · 1 line
2.39.2
author maintainer
#83 lore raw

PATCH 83/1001 arm64: dts: amlogic: meson-sm1-odroid-hc4: fix active fan thermal trip

In reply to Greg Kroah-Hartman

From: Neil Armstrong <[email protected]>

[ Upstream commit 1d2f14117aa7773efff50f832b85fc7779e586e0 ]

Add an active trip tied to the on-board fan cooling device, which is better than describing it along the passive cooling maps.

Fixes 33b14f663df8 ("arm64: dts: meson: add initial device-tree for ODROID-HC4")
[narmstrong: added Ricardo's tested-by from off-list chat]
---
 arch/arm64/boot/dts/amlogic/meson-sm1-odroid-hc4.dts | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-sm1-odroid-hc4.dts +9 -1
index a1f0c38ccadda..74088e7280fee 100644
@@ -76,9 +76,17 @@ sound {
 };
 
 &cpu_thermal {
+	trips {
+		cpu_active: cpu-active {
+			temperature = <60000>; /* millicelsius */
+			hysteresis = <2000>; /* millicelsius */
+			type = "active";
+		};
+	};
+
 	cooling-maps {
 		map {
-			trip = <&cpu_passive>;
+			trip = <&cpu_active>;
 			cooling-device = <&fan0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
 		};
 	};
Signature · 1 line
2.39.2
author maintainer
#84 lore raw

PATCH 84/1001 locking/rwsem: Disable preemption in all down_read*() and up_read() code paths

In reply to Greg Kroah-Hartman

From: Waiman Long <[email protected]>

[ Upstream commit 3f5245538a1964ae186ab7e1636020a41aa63143 ]

Commit:

91d2a812dfb9 ("locking/rwsem: Make handoff writer optimistically spin on owner")

... assumes that when the owner field is changed to NULL, the lock will become free soon. But commit:

48dfb5d2560d ("locking/rwsem: Disable preemption while trying for rwsem lock")

... disabled preemption when acquiring rwsem for write.

However, preemption has not yet been disabled when acquiring a read lock on a rwsem. So a reader can add a RWSEM_READER_BIAS to count without setting owner to signal a reader, got preempted out by a RT task which then spins in the writer slowpath as owner remains NULL leading to live lock.

One easy way to fix this problem is to disable preemption at all the down_read*() and up_read() code paths as implemented in this patch.

Fixes 91d2a812dfb9 ("locking/rwsem: Make handoff writer optimistically spin on owner")
---
 kernel/locking/rwsem.c | 30 ++++++++++++++++++++++++------
 1 file changed, 24 insertions(+), 6 deletions(-)
kernel/locking/rwsem.c +24 -6
index 44873594de031..324fc370b6a68 100644
@@ -1092,7 +1092,7 @@ rwsem_down_read_slowpath(struct rw_semaphore *sem, long count, unsigned int stat
 			/* Ordered by sem->wait_lock against rwsem_mark_wake(). */
 			break;
 		}
-		schedule();
+		schedule_preempt_disabled();
 		lockevent_inc(rwsem_sleep_reader);
 	}
 
@@ -1254,14 +1254,20 @@ static struct rw_semaphore *rwsem_downgrade_wake(struct rw_semaphore *sem)
  */
 static inline int __down_read_common(struct rw_semaphore *sem, int state)
 {
+	int ret = 0;
 	long count;
 
+	preempt_disable();
 	if (!rwsem_read_trylock(sem, &count)) {
-		if (IS_ERR(rwsem_down_read_slowpath(sem, count, state)))
-			return -EINTR;
+		if (IS_ERR(rwsem_down_read_slowpath(sem, count, state))) {
+			ret = -EINTR;
+			goto out;
+		}
 		DEBUG_RWSEMS_WARN_ON(!is_rwsem_reader_owned(sem), sem);
 	}
-	return 0;
+out:
+	preempt_enable();
+	return ret;
 }
 
 static inline void __down_read(struct rw_semaphore *sem)
@@ -1281,19 +1287,23 @@ static inline int __down_read_killable(struct rw_semaphore *sem)
 
 static inline int __down_read_trylock(struct rw_semaphore *sem)
 {
+	int ret = 0;
 	long tmp;
 
 	DEBUG_RWSEMS_WARN_ON(sem->magic != sem, sem);
 
+	preempt_disable();
 	tmp = atomic_long_read(&sem->count);
 	while (!(tmp & RWSEM_READ_FAILED_MASK)) {
 		if (atomic_long_try_cmpxchg_acquire(&sem->count, &tmp,
 						    tmp + RWSEM_READER_BIAS)) {
 			rwsem_set_reader_owned(sem);
-			return 1;
+			ret = 1;
+			break;
 		}
 	}
-	return 0;
+	preempt_enable();
+	return ret;
 }
 
 /*
@@ -1335,6 +1345,7 @@ static inline void __up_read(struct rw_semaphore *sem)
 	DEBUG_RWSEMS_WARN_ON(sem->magic != sem, sem);
 	DEBUG_RWSEMS_WARN_ON(!is_rwsem_reader_owned(sem), sem);
 
+	preempt_disable();
 	rwsem_clear_reader_owned(sem);
 	tmp = atomic_long_add_return_release(-RWSEM_READER_BIAS, &sem->count);
 	DEBUG_RWSEMS_WARN_ON(tmp < 0, sem);
@@ -1343,6 +1354,7 @@ static inline void __up_read(struct rw_semaphore *sem)
 		clear_nonspinnable(sem);
 		rwsem_wake(sem);
 	}
+	preempt_enable();
 }
 
 /*
@@ -1662,6 +1674,12 @@ void down_read_non_owner(struct rw_semaphore *sem)
 {
 	might_sleep();
 	__down_read(sem);
+	/*
+	 * The owner value for a reader-owned lock is mostly for debugging
+	 * purpose only and is not critical to the correct functioning of
+	 * rwsem. So it is perfectly fine to set it in a preempt-enabled
+	 * context here.
+	 */
 	__rwsem_set_reader_owned(sem, NULL);
 }
 EXPORT_SYMBOL(down_read_non_owner);
Signature · 1 line
2.39.2
author maintainer
#58 lore raw

PATCH 58/1001 arm64: dts: qcom: ipq8074: correct Gen2 PCIe ranges

In reply to Greg Kroah-Hartman

From: Robert Marko <[email protected]>

[ Upstream commit 2055cb7dccea16bafa3adf9c5e3216949512c34a ]

Current ranges property set in Gen2 PCIe node is incorrect, replace it with the downstream 5.4 QCA kernel value.

Fixes 33057e1672fe ("ARM: dts: ipq8074: Add pcie nodes")
---
 arch/arm64/boot/dts/qcom/ipq8074.dtsi | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm64/boot/dts/qcom/ipq8074.dtsi +3 -3
index f099785facf39..df16ef5a90bb5 100644
@@ -773,9 +773,9 @@ pcie1: pci@10000000 {
 			phy-names = "pciephy";
 
 			ranges = <0x81000000 0 0x10200000 0x10200000
-				  0 0x100000   /* downstream I/O */
-				  0x82000000 0 0x10300000 0x10300000
-				  0 0xd00000>; /* non-prefetchable memory */
+				  0 0x10000>,   /* downstream I/O */
+				 <0x82000000 0 0x10220000 0x10220000
+				  0 0xfde0000>; /* non-prefetchable memory */
 
 			interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
 			interrupt-names = "msi";
Signature · 1 line
2.39.2
author maintainer
#85 lore raw

PATCH 85/1001 arm64: tegra: Bump #address-cells and #size-cells

In reply to Greg Kroah-Hartman

From: Thierry Reding <[email protected]>

[ Upstream commit 2838cfddbc1c4e12dacf8219efb481ab11c114a4 ]

The #address-cells and #size-cells properties for the top-level bus were set to 1 because that was enough to represent the register ranges of all the IP blocks on that bus. However, most of these devices can do DMA to a larger address space, so translation of DMA addresses needs to happen in a 64-bit address space.

Partially this was already done by the memory controller increasing that address space by setting #address-cells and #size-cells to 2, but a full DMA address translation would still cause truncation when traversing to the top-level bus.

Fix this by setting #address-cells = <2> and #size-cells = <2> on the top-level bus and adjusting all "reg" and "ranges" properties of its children.

While at it, also move the PCI and GPU nodes back under the top-level bus where they belong. The were put outside of it to work around this same problem.

Stable-dep-of: 361238cdc525 ("arm64: tegra: Mark host1x as dma-coherent on Tegra194/234")

---
 .../boot/dts/nvidia/tegra194-p2972-0000.dts   |   84 +-
 .../boot/dts/nvidia/tegra194-p3509-0000.dtsi  |   54 +-
 arch/arm64/boot/dts/nvidia/tegra194.dtsi      | 1128 ++++++------
 .../nvidia/tegra234-p3737-0000+p3701-0000.dts |  102 +-
 arch/arm64/boot/dts/nvidia/tegra234.dtsi      | 1530 +++++++++--------
 5 files changed, 1453 insertions(+), 1445 deletions(-)
arch/arm64/boot/dts/nvidia/tegra194-p2972-0000.dts +42 -42
index bc1041d11f6dc..f018fc4c0f707 100644
@@ -2184,67 +2184,67 @@ sor@15b80000 {
 							 GPIO_ACTIVE_LOW>;
 			};
 		};
-	};
 
-	pcie@14100000 {
-		status = "okay";
+		pcie@14100000 {
+			status = "okay";
 
-		vddio-pex-ctl-supply = <&vdd_1v8ao>;
+			vddio-pex-ctl-supply = <&vdd_1v8ao>;
 
-		phys = <&p2u_hsio_0>;
-		phy-names = "p2u-0";
-	};
+			phys = <&p2u_hsio_0>;
+			phy-names = "p2u-0";
+		};
 
-	pcie@14140000 {
-		status = "okay";
+		pcie@14140000 {
+			status = "okay";
 
-		vddio-pex-ctl-supply = <&vdd_1v8ao>;
+			vddio-pex-ctl-supply = <&vdd_1v8ao>;
 
-		phys = <&p2u_hsio_7>;
-		phy-names = "p2u-0";
-	};
+			phys = <&p2u_hsio_7>;
+			phy-names = "p2u-0";
+		};
 
-	pcie@14180000 {
-		status = "okay";
+		pcie@14180000 {
+			status = "okay";
 
-		vddio-pex-ctl-supply = <&vdd_1v8ao>;
+			vddio-pex-ctl-supply = <&vdd_1v8ao>;
 
-		phys = <&p2u_hsio_2>, <&p2u_hsio_3>, <&p2u_hsio_4>,
-		       <&p2u_hsio_5>;
-		phy-names = "p2u-0", "p2u-1", "p2u-2", "p2u-3";
-	};
+			phys = <&p2u_hsio_2>, <&p2u_hsio_3>, <&p2u_hsio_4>,
+			       <&p2u_hsio_5>;
+			phy-names = "p2u-0", "p2u-1", "p2u-2", "p2u-3";
+		};
 
-	pcie@141a0000 {
-		status = "okay";
+		pcie@141a0000 {
+			status = "okay";
 
-		vddio-pex-ctl-supply = <&vdd_1v8ao>;
-		vpcie3v3-supply = <&vdd_3v3_pcie>;
-		vpcie12v-supply = <&vdd_12v_pcie>;
+			vddio-pex-ctl-supply = <&vdd_1v8ao>;
+			vpcie3v3-supply = <&vdd_3v3_pcie>;
+			vpcie12v-supply = <&vdd_12v_pcie>;
 
-		phys = <&p2u_nvhs_0>, <&p2u_nvhs_1>, <&p2u_nvhs_2>,
-		       <&p2u_nvhs_3>, <&p2u_nvhs_4>, <&p2u_nvhs_5>,
-		       <&p2u_nvhs_6>, <&p2u_nvhs_7>;
+			phys = <&p2u_nvhs_0>, <&p2u_nvhs_1>, <&p2u_nvhs_2>,
+			       <&p2u_nvhs_3>, <&p2u_nvhs_4>, <&p2u_nvhs_5>,
+			       <&p2u_nvhs_6>, <&p2u_nvhs_7>;
 
-		phy-names = "p2u-0", "p2u-1", "p2u-2", "p2u-3", "p2u-4",
-			    "p2u-5", "p2u-6", "p2u-7";
-	};
+			phy-names = "p2u-0", "p2u-1", "p2u-2", "p2u-3", "p2u-4",
+				    "p2u-5", "p2u-6", "p2u-7";
+		};
 
-	pcie-ep@141a0000 {
-		status = "disabled";
+		pcie-ep@141a0000 {
+			status = "disabled";
 
-		vddio-pex-ctl-supply = <&vdd_1v8ao>;
+			vddio-pex-ctl-supply = <&vdd_1v8ao>;
 
-		reset-gpios = <&gpio TEGRA194_MAIN_GPIO(GG, 1) GPIO_ACTIVE_LOW>;
+			reset-gpios = <&gpio TEGRA194_MAIN_GPIO(GG, 1) GPIO_ACTIVE_LOW>;
 
-		nvidia,refclk-select-gpios = <&gpio_aon TEGRA194_AON_GPIO(AA, 5)
-					      GPIO_ACTIVE_HIGH>;
+			nvidia,refclk-select-gpios = <&gpio_aon TEGRA194_AON_GPIO(AA, 5)
+						      GPIO_ACTIVE_HIGH>;
 
-		phys = <&p2u_nvhs_0>, <&p2u_nvhs_1>, <&p2u_nvhs_2>,
-		       <&p2u_nvhs_3>, <&p2u_nvhs_4>, <&p2u_nvhs_5>,
-		       <&p2u_nvhs_6>, <&p2u_nvhs_7>;
+			phys = <&p2u_nvhs_0>, <&p2u_nvhs_1>, <&p2u_nvhs_2>,
+			       <&p2u_nvhs_3>, <&p2u_nvhs_4>, <&p2u_nvhs_5>,
+			       <&p2u_nvhs_6>, <&p2u_nvhs_7>;
 
-		phy-names = "p2u-0", "p2u-1", "p2u-2", "p2u-3", "p2u-4",
-			    "p2u-5", "p2u-6", "p2u-7";
+			phy-names = "p2u-0", "p2u-1", "p2u-2", "p2u-3", "p2u-4",
+				    "p2u-5", "p2u-6", "p2u-7";
+		};
 	};
 
 	fan: pwm-fan {
arch/arm64/boot/dts/nvidia/tegra194-p3509-0000.dtsi +27 -27

73 lines not on this page · raw message

arch/arm64/boot/dts/nvidia/tegra194.dtsi +566 -562

2,079 lines not on this page · raw message

arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts +51 -51

114 lines not on this page · raw message

arch/arm64/boot/dts/nvidia/tegra234.dtsi +767 -763

625 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.39.2

Part of the diff is not shown here. View the raw message.

author maintainer
#86 lore raw

PATCH 86/1001 arm64: tegra: Sort nodes by unit-address, then alphabetically

In reply to Greg Kroah-Hartman

From: Thierry Reding <[email protected]>

[ Upstream commit 79ed18d9ece474c15a2578e1cc5bfb4fce7a8eb7 ]

Nodes in device tree should be sorted by unit-address, followed by nodes without a unit-address, sorted alphabetically. Some exceptions are the top-level aliases, chosen, firmware, memory and reserved-memory nodes, which are expected to come first.

These rules apply recursively with some exceptions, such as pinmux nodes or regulator nodes, which often follow more complicated ordering (often by "importance").

While at it, change the name of some of the nodes to follow standard naming conventions, which helps with the sorting order and reduces the amount of warnings from the DT validation tools.

Stable-dep-of: 361238cdc525 ("arm64: tegra: Mark host1x as dma-coherent on Tegra194/234")

---
 .../arm64/boot/dts/nvidia/tegra132-norrin.dts |   16 +-
 arch/arm64/boot/dts/nvidia/tegra132.dtsi      |  232 +-
 .../boot/dts/nvidia/tegra186-p2771-0000.dts   | 2564 ++++++++---------
 .../arm64/boot/dts/nvidia/tegra186-p3310.dtsi |   86 +-
 .../nvidia/tegra186-p3509-0000+p3636-0001.dts | 1730 +++++------
 arch/arm64/boot/dts/nvidia/tegra186.dtsi      |  470 +--
 .../arm64/boot/dts/nvidia/tegra194-p2888.dtsi |   36 +-
 .../boot/dts/nvidia/tegra194-p2972-0000.dts   | 2322 +++++++--------
 .../boot/dts/nvidia/tegra194-p3509-0000.dtsi  | 2435 ++++++++--------
 .../arm64/boot/dts/nvidia/tegra194-p3668.dtsi |   36 +-
 arch/arm64/boot/dts/nvidia/tegra194.dtsi      |  519 ++--
 .../arm64/boot/dts/nvidia/tegra210-p2180.dtsi |   66 +-
 .../boot/dts/nvidia/tegra210-p2371-2180.dts   |  278 +-
 .../arm64/boot/dts/nvidia/tegra210-p2595.dtsi |    3 +
 .../arm64/boot/dts/nvidia/tegra210-p2597.dtsi |    3 +
 .../arm64/boot/dts/nvidia/tegra210-p2894.dtsi |   86 +-
 .../boot/dts/nvidia/tegra210-p3450-0000.dts   |  384 +--
 arch/arm64/boot/dts/nvidia/tegra210-smaug.dts |   66 +-
 arch/arm64/boot/dts/nvidia/tegra210.dtsi      |  310 +-
 .../boot/dts/nvidia/tegra234-p3701-0000.dtsi  |   70 +-
 .../nvidia/tegra234-p3737-0000+p3701-0000.dts | 2486 ++++++++--------
 arch/arm64/boot/dts/nvidia/tegra234.dtsi      |  390 +--
 22 files changed, 7297 insertions(+), 7291 deletions(-)
arch/arm64/boot/dts/nvidia/tegra132-norrin.dts +8 -8
index 3e8dee85d55f2..d4c034ac12447 100644
@@ -1030,6 +1030,14 @@ clk32k_in: clock-32k {
 	gpio-keys {
 		compatible = "gpio-keys";
 
+		key-power {
+			label = "Power";
+			gpios = <&gpio TEGRA_GPIO(Q, 0) GPIO_ACTIVE_LOW>;
+			linux,code = <KEY_POWER>;
+			debounce-interval = <10>;
+			wakeup-source;
+		};
+
 		switch-lid {
 			label = "Lid";
 			gpios = <&gpio TEGRA_GPIO(R, 4) GPIO_ACTIVE_LOW>;
@@ -1038,14 +1046,6 @@ switch-lid {
 			debounce-interval = <1>;
 			wakeup-source;
 		};
-
-		key-power {
-			label = "Power";
-			gpios = <&gpio TEGRA_GPIO(Q, 0) GPIO_ACTIVE_LOW>;
-			linux,code = <KEY_POWER>;
-			debounce-interval = <10>;
-			wakeup-source;
-		};
 	};
 
 	panel: panel {
arch/arm64/boot/dts/nvidia/tegra132.dtsi +116 -116

244 lines not on this page · raw message

arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts +1282 -1282

2,728 lines not on this page · raw message

arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi +43 -43

86 lines not on this page · raw message

arch/arm64/boot/dts/nvidia/tegra186-p3509-0000+p3636-0001.dts +865 -865

1,730 lines not on this page · raw message

arch/arm64/boot/dts/nvidia/tegra186.dtsi +235 -235

470 lines not on this page · raw message

arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi +18 -18
index cd272d407e012..5b59c1986e9b5 100644

Lines of this file are not shown. View the raw message.

arch/arm64/boot/dts/nvidia/tegra194-p2972-0000.dts +1161 -1161

2,322 lines not on this page · raw message

arch/arm64/boot/dts/nvidia/tegra194-p3509-0000.dtsi +1218 -1217

2,435 lines not on this page · raw message

arch/arm64/boot/dts/nvidia/tegra194-p3668.dtsi +18 -18
index 0751edddf7d59..58f190b0f8687 100644

Lines of this file are not shown. View the raw message.

arch/arm64/boot/dts/nvidia/tegra194.dtsi +260 -259

519 lines not on this page · raw message

arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi +33 -33

66 lines not on this page · raw message

arch/arm64/boot/dts/nvidia/tegra210-p2371-2180.dts +139 -139

278 lines not on this page · raw message

arch/arm64/boot/dts/nvidia/tegra210-p2595.dtsi +3 -0
index 6ae292da72949..65181da730fa6 100644

Lines of this file are not shown. View the raw message.

arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi +3 -0
index a87e103f3828d..b4a1108c2dd74 100644

Lines of this file are not shown. View the raw message.

arch/arm64/boot/dts/nvidia/tegra210-p2894.dtsi +43 -43

86 lines not on this page · raw message

arch/arm64/boot/dts/nvidia/tegra210-p3450-0000.dts +192 -192

384 lines not on this page · raw message

arch/arm64/boot/dts/nvidia/tegra210-smaug.dts +33 -33

66 lines not on this page · raw message

arch/arm64/boot/dts/nvidia/tegra210.dtsi +155 -155

310 lines not on this page · raw message

arch/arm64/boot/dts/nvidia/tegra234-p3701-0000.dtsi +35 -35

70 lines not on this page · raw message

arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts +1242 -1244

2,486 lines not on this page · raw message

arch/arm64/boot/dts/nvidia/tegra234.dtsi +195 -195

390 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.39.2

Part of the diff is not shown here. View the raw message.

author maintainer
#59 lore raw

PATCH 59/1001 arm64: dts: qcom: ipq8074: fix Gen3 PCIe node

In reply to Greg Kroah-Hartman

From: Robert Marko <[email protected]>

[ Upstream commit 3e83a9c41ab0244a45a4a2800b9adb8de0d15f82 ]

IPQ8074 comes in 2 silicon versions:
* v1 with 2x Gen2 PCIe ports and QMP PHY-s
* v2 with 1x Gen3 and 1x Gen2 PCIe ports and QMP PHY-s

v2 is the final and production version that is actually supported by the kernel, however it looks like PCIe related nodes were added for the v1 SoC.

Finish the PCIe fixup by using the correct compatible, adding missing ATU register space, declaring max-link-speed, use correct ranges, add missing clocks and resets.

Fixes 33057e1672fe ("ARM: dts: ipq8074: Add pcie nodes")
---
 arch/arm64/boot/dts/qcom/ipq8074.dtsi | 30 +++++++++++++++------------
 1 file changed, 17 insertions(+), 13 deletions(-)
arch/arm64/boot/dts/qcom/ipq8074.dtsi +17 -13
index df16ef5a90bb5..e38aa76e54096 100644
@@ -818,16 +818,18 @@ IRQ_TYPE_LEVEL_HIGH>, /* int_c */
 		};
 
 		pcie0: pci@20000000 {
-			compatible = "qcom,pcie-ipq8074";
+			compatible = "qcom,pcie-ipq8074-gen3";
 			reg = <0x20000000 0xf1d>,
 			      <0x20000f20 0xa8>,
-			      <0x00080000 0x2000>,
+			      <0x20001000 0x1000>,
+			      <0x00080000 0x4000>,
 			      <0x20100000 0x1000>;
-			reg-names = "dbi", "elbi", "parf", "config";
+			reg-names = "dbi", "elbi", "atu", "parf", "config";
 			device_type = "pci";
 			linux,pci-domain = <0>;
 			bus-range = <0x00 0xff>;
 			num-lanes = <1>;
+			max-link-speed = <3>;
 			#address-cells = <3>;
 			#size-cells = <2>;
 
@@ -835,9 +837,9 @@ pcie0: pci@20000000 {
 			phy-names = "pciephy";
 
 			ranges = <0x81000000 0 0x20200000 0x20200000
-				  0 0x100000   /* downstream I/O */
-				  0x82000000 0 0x20300000 0x20300000
-				  0 0xd00000>; /* non-prefetchable memory */
+				  0 0x10000>, /* downstream I/O */
+				 <0x82000000 0 0x20220000 0x20220000
+				  0 0xfde0000>; /* non-prefetchable memory */
 
 			interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
 			interrupt-names = "msi";
@@ -855,28 +857,30 @@ IRQ_TYPE_LEVEL_HIGH>, /* int_c */
 			clocks = <&gcc GCC_SYS_NOC_PCIE0_AXI_CLK>,
 				 <&gcc GCC_PCIE0_AXI_M_CLK>,
 				 <&gcc GCC_PCIE0_AXI_S_CLK>,
-				 <&gcc GCC_PCIE0_AHB_CLK>,
-				 <&gcc GCC_PCIE0_AUX_CLK>;
-
+				 <&gcc GCC_PCIE0_AXI_S_BRIDGE_CLK>,
+				 <&gcc GCC_PCIE0_RCHNG_CLK>;
 			clock-names = "iface",
 				      "axi_m",
 				      "axi_s",
-				      "ahb",
-				      "aux";
+				      "axi_bridge",
+				      "rchng";
+
 			resets = <&gcc GCC_PCIE0_PIPE_ARES>,
 				 <&gcc GCC_PCIE0_SLEEP_ARES>,
 				 <&gcc GCC_PCIE0_CORE_STICKY_ARES>,
 				 <&gcc GCC_PCIE0_AXI_MASTER_ARES>,
 				 <&gcc GCC_PCIE0_AXI_SLAVE_ARES>,
 				 <&gcc GCC_PCIE0_AHB_ARES>,
-				 <&gcc GCC_PCIE0_AXI_MASTER_STICKY_ARES>;
+				 <&gcc GCC_PCIE0_AXI_MASTER_STICKY_ARES>,
+				 <&gcc GCC_PCIE0_AXI_SLAVE_STICKY_ARES>;
 			reset-names = "pipe",
 				      "sleep",
 				      "sticky",
 				      "axi_m",
 				      "axi_s",
 				      "ahb",
-				      "axi_m_sticky";
+				      "axi_m_sticky",
+				      "axi_s_sticky";
 			status = "disabled";
 		};
 	};
Signature · 1 line
2.39.2
author maintainer
#60 lore raw

PATCH 60/1001 arm64: dts: qcom: ipq8074: correct PCIe QMP PHY output clock names

In reply to Greg Kroah-Hartman

From: Robert Marko <[email protected]>

[ Upstream commit 0e8b90c0256cf9c9589e2cee517dedc987a34355 ]

Current PCIe QMP PHY output name were changed in ("arm64: dts: qcom: Fix IPQ8074 PCIe PHY nodes") however it did not account for the fact that GCC driver is relying on the old names to match them as they are being used as the parent for the gcc_pcie0_pipe_clk and gcc_pcie1_pipe_clk.

This broke parenting as GCC could not find the parent clock, so fix it by changing to the names that driver is expecting.

Fixes 942bcd33ed45 ("arm64: dts: qcom: Fix IPQ8074 PCIe PHY nodes")
---
 arch/arm64/boot/dts/qcom/ipq8074.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/qcom/ipq8074.dtsi +2 -2
index e38aa76e54096..4294beeb494fd 100644
@@ -222,7 +222,7 @@ pcie_phy0: phy@84200 {
 				#clock-cells = <0>;
 				clocks = <&gcc GCC_PCIE0_PIPE_CLK>;
 				clock-names = "pipe0";
-				clock-output-names = "pcie_0_pipe_clk";
+				clock-output-names = "pcie20_phy0_pipe_clk";
 			};
 		};
 
@@ -250,7 +250,7 @@ pcie_phy1: phy@8e200 {
 				#clock-cells = <0>;
 				clocks = <&gcc GCC_PCIE1_PIPE_CLK>;
 				clock-names = "pipe0";
-				clock-output-names = "pcie_1_pipe_clk";
+				clock-output-names = "pcie20_phy1_pipe_clk";
 			};
 		};
 
Signature · 1 line
2.39.2
author maintainer
#61 lore raw

PATCH 61/1001 arm64: dts: meson: remove CPU opps below 1GHz for G12A boards

In reply to Greg Kroah-Hartman

From: Christian Hewitt <[email protected]>

[ Upstream commit 3cbd431c2b34d84605d358c8c57654193fd661fb ]

Amlogic G12A devices experience CPU stalls and random board wedges when the system idles and CPU cores clock down to lower opp points. Recent vendor kernels include a change to remove 100-250MHz and other distro sources also remove the 500/667MHz points. Unless all 100-667Mhz opps are removed or the CPU governor forced to performance stalls are still observed, so let's remove them to improve stability and uptime.

Fixes b190056fa9ee ("arm64: dts: meson-g12a: add cpus OPP table")
---
 arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 20 --------------------
 1 file changed, 20 deletions(-)
arch/arm64/boot/dts/amlogic/meson-g12a.dtsi +0 -20
index 7677764eeee6e..f58fd2a6fe61c 100644
@@ -58,26 +58,6 @@ cpu_opp_table: opp-table {
 		compatible = "operating-points-v2";
 		opp-shared;
 
-		opp-100000000 {
-			opp-hz = /bits/ 64 <100000000>;
-			opp-microvolt = <731000>;
-		};
-
-		opp-250000000 {
-			opp-hz = /bits/ 64 <250000000>;
-			opp-microvolt = <731000>;
-		};
-
-		opp-500000000 {
-			opp-hz = /bits/ 64 <500000000>;
-			opp-microvolt = <731000>;
-		};
-
-		opp-667000000 {
-			opp-hz = /bits/ 64 <666666666>;
-			opp-microvolt = <731000>;
-		};
-
 		opp-1000000000 {
 			opp-hz = /bits/ 64 <1000000000>;
 			opp-microvolt = <731000>;
Signature · 1 line
2.39.2
author maintainer
#62 lore raw

PATCH 62/1001 ARM: OMAP1: call platform_device_put() in error case in omap1_dm_timer_init()

In reply to Greg Kroah-Hartman

From: Yang Yingliang <[email protected]>

[ Upstream commit 0414a100d6ab32721efa70ab55524540fdfe0ede ]

If platform_device_add() is not called or failed, it should call platform_device_put() in error case.

Fixes 97933d6ced60 ("ARM: OMAP1: dmtimer: conversion to platform devices")

Message-Id: <[email protected]>

---
 arch/arm/mach-omap1/timer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-omap1/timer.c +1 -1
index f5cd4bbf7566d..81a912c1145a9 100644
@@ -158,7 +158,7 @@ static int __init omap1_dm_timer_init(void)
 	kfree(pdata);
 
 err_free_pdev:
-	platform_device_unregister(pdev);
+	platform_device_put(pdev);
 
 	return ret;
 }
Signature · 1 line
2.39.2
author maintainer
#63 lore raw

PATCH 63/1001 arm64: dts: mediatek: mt8192: Mark scp_adsp clock as broken

In reply to Greg Kroah-Hartman

From: Chen-Yu Tsai <[email protected]>

[ Upstream commit 089cd717e6ef03cf9cf7865777d67775de41339b ]

The scp_adsp clock controller is under the SCP_ADSP power domain. This power domain is currently not supported nor defined.

Mark the clock controller as broken for now, to avoid the system from trying to access it, and causing the CPU or bus to stall.

---
 arch/arm64/boot/dts/mediatek/mt8192.dtsi | 2 ++
 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/mediatek/mt8192.dtsi +2 -0
index 0d43a32734a37..46a1e457fab45 100644
@@ -586,6 +586,8 @@ scp_adsp: clock-controller@10720000 {
 			compatible = "mediatek,mt8192-scp_adsp";
 			reg = <0 0x10720000 0 0x1000>;
 			#clock-cells = <1>;
+			/* power domain dependency not upstreamed */
+			status = "fail";
 		};
 
 		uart0: serial@11002000 {
Signature · 1 line
2.39.2
author maintainer
#64 lore raw

PATCH 64/1001 ARM: bcm2835_defconfig: Enable the framebuffer

In reply to Greg Kroah-Hartman

From: Stefan Wahren <[email protected]>

[ Upstream commit afc8dd99840b7fb7190e769a893cda673bc3a907 ]

Booting Linux on a Raspberry Pi based on bcm2835_defconfig there is no display activity.

Enable CONFIG_FB which is nowadays required for CONFIG_FB_SIMPLE and CONFIG_FRAMEBUFFER_CONSOLE.

Fixes f611b1e7624c ("drm: Avoid circular dependencies for CONFIG_FB")
---
 arch/arm/configs/bcm2835_defconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm/configs/bcm2835_defconfig +1 -0
index a51babd178c26..be0c984a66947 100644
@@ -107,6 +107,7 @@ CONFIG_MEDIA_CAMERA_SUPPORT=y
 CONFIG_DRM=y
 CONFIG_DRM_V3D=y
 CONFIG_DRM_VC4=y
+CONFIG_FB=y
 CONFIG_FB_SIMPLE=y
 CONFIG_FRAMEBUFFER_CONSOLE=y
 CONFIG_SOUND=y
Signature · 1 line
2.39.2
author maintainer
#55 lore raw

PATCH 55/1001 arm64: dts: qcom: ipq8074: correct USB3 QMP PHY-s clock output names

In reply to Greg Kroah-Hartman

From: Robert Marko <[email protected]>

[ Upstream commit 877cff3568c0f54511d77918ae16b2d6e9a0dfce ]

It seems that clock-output-names for the USB3 QMP PHY-s where set without actually checking what is the GCC clock driver expecting, so clock core could never actually find the parents for usb0_pipe_clk_src and usb1_pipe_clk_src clocks in the GCC driver.

So, correct the names to be what the driver expects so that parenting works.

Before:

gcc_usb0_pipe_clk_src                0        0        0   125000000          0     0  50000         Y
gcc_usb1_pipe_clk_src                0        0        0   125000000          0     0  50000         Y

After:

 usb3phy_0_cc_pipe_clk                1        1        0   125000000          0     0  50000         Y
    usb0_pipe_clk_src                 1        1        0   125000000          0     0  50000         Y
       gcc_usb0_pipe_clk              1        1        0   125000000          0     0  50000         Y
 usb3phy_1_cc_pipe_clk                1        1        0   125000000          0     0  50000         Y
    usb1_pipe_clk_src                 1        1        0   125000000          0     0  50000         Y
       gcc_usb1_pipe_clk              1        1        0   125000000          0     0  50000         Y
---
 arch/arm64/boot/dts/qcom/ipq8074.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/qcom/ipq8074.dtsi +2 -2
index 4e51d8e3df043..9dcb48ebc4661 100644
@@ -137,7 +137,7 @@ usb1_ssphy: phy@58200 {
 				#clock-cells = <0>;
 				clocks = <&gcc GCC_USB1_PIPE_CLK>;
 				clock-names = "pipe0";
-				clock-output-names = "gcc_usb1_pipe_clk_src";
+				clock-output-names = "usb3phy_1_cc_pipe_clk";
 			};
 		};
 
@@ -180,7 +180,7 @@ usb0_ssphy: phy@78200 {
 				#clock-cells = <0>;
 				clocks = <&gcc GCC_USB0_PIPE_CLK>;
 				clock-names = "pipe0";
-				clock-output-names = "gcc_usb0_pipe_clk_src";
+				clock-output-names = "usb3phy_0_cc_pipe_clk";
 			};
 		};
 
Signature · 1 line
2.39.2
author maintainer
#88 lore raw

PATCH 88/1001 arm64: dts: renesas: beacon-renesom: Fix gpio expander reference

In reply to Greg Kroah-Hartman

From: Adam Ford <[email protected]>

[ Upstream commit d7f9492dfc03153ac56ab59066a196558748f575 ]

The board used to originally introduce the Beacon Embedded RZ/G2[M/N/H] boards had a GPIO expander with address 20, but this was changed when the final board went to production.

The production boards changed both the part itself and the address. With the incorrect address, the LCD cannot come up. If the LCD fails, the rcar-du driver fails to come up, and that also breaks HDMI.

Pre-release board were not shipped to the general public, so it should be safe to push this as a fix. Anyone with a production board would have video fail due to this GPIO expander change.

Fixes a1d8a344f1ca ("arm64: dts: renesas: Introduce r8a774a1-beacon-rzg2m-kit")
---
 .../dts/renesas/beacon-renesom-baseboard.dtsi | 24 ++++++++-----------
 1 file changed, 10 insertions(+), 14 deletions(-)
arch/arm64/boot/dts/renesas/beacon-renesom-baseboard.dtsi +10 -14
index 8166e3c1ff4e5..cafde91b4721b 100644
@@ -437,20 +437,6 @@ wm8962_endpoint: endpoint {
 		};
 	};
 
-	/* 0 - lcd_reset */
-	/* 1 - lcd_pwr */
-	/* 2 - lcd_select */
-	/* 3 - backlight-enable */
-	/* 4 - Touch_shdwn */
-	/* 5 - LCD_H_pol */
-	/* 6 - lcd_V_pol */
-	gpio_exp1: gpio@20 {
-		compatible = "onnn,pca9654";
-		reg = <0x20>;
-		gpio-controller;
-		#gpio-cells = <2>;
-	};
-
 	touchscreen@26 {
 		compatible = "ilitek,ili2117";
 		reg = <0x26>;
@@ -482,6 +468,16 @@ hd3ss3220_out_ep: endpoint {
 			};
 		};
 	};
+
+	gpio_exp1: gpio@70 {
+		compatible = "nxp,pca9538";
+		reg = <0x70>;
+		gpio-controller;
+		#gpio-cells = <2>;
+		gpio-line-names = "lcd_reset", "lcd_pwr", "lcd_select",
+				  "backlight-enable", "Touch_shdwn",
+				  "LCD_H_pol", "lcd_V_pol";
+	};
 };
 
 &lvds0 {
Signature · 1 line
2.39.2
author maintainer
#97 lore raw

PATCH 97/1001 arm64: dts: mt8195: Fix CPU map for single-cluster SoC

In reply to Greg Kroah-Hartman

From: AngeloGioacchino Del Regno <[email protected]>

[ Upstream commit cc4f0b13a887b483faa45084616998a21b63889d ]

MT8195 features the ARM DynamIQ technology and combines both four Cortex-A78 (big) and four Cortex-A55 (LITTLE) CPUs in one cluster:
fix the CPU map to reflect that.

Fixes 37f2582883be ("arm64: dts: Add mediatek SoC mt8195 and evaluation board")
---
 arch/arm64/boot/dts/mediatek/mt8195.dtsi | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)
arch/arm64/boot/dts/mediatek/mt8195.dtsi +4 -6
index d8d846a57d97f..f0bd5754d19d0 100644
@@ -151,22 +151,20 @@ core2 {
 				core3 {
 					cpu = <&cpu3>;
 				};
-			};
 
-			cluster1 {
-				core0 {
+				core4 {
 					cpu = <&cpu4>;
 				};
 
-				core1 {
+				core5 {
 					cpu = <&cpu5>;
 				};
 
-				core2 {
+				core6 {
 					cpu = <&cpu6>;
 				};
 
-				core3 {
+				core7 {
 					cpu = <&cpu7>;
 				};
 			};
Signature · 1 line
2.39.2
author maintainer
#98 lore raw

PATCH 98/1001 arm64: dts: mt8192: Fix CPU map for single-cluster SoC

In reply to Greg Kroah-Hartman

From: AngeloGioacchino Del Regno <[email protected]>

[ Upstream commit 160ce54d635455ffb5e9b42c5ba9cb9aaa98cdb2 ]

MT8192 features the ARM DynamIQ technology and combines both four Cortex-A76 (big) and four Cortex-A55 (LITTLE) CPUs in one cluster:
fix the CPU map to reflect that.

Fixes 48489980e27e ("arm64: dts: Add Mediatek SoC MT8192 and evaluation board dts and Makefile")
---
 arch/arm64/boot/dts/mediatek/mt8192.dtsi | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)
arch/arm64/boot/dts/mediatek/mt8192.dtsi +4 -7
index 46a1e457fab45..627e3bf1c544b 100644
@@ -158,19 +158,16 @@ core2 {
 				core3 {
 					cpu = <&cpu3>;
 				};
-			};
-
-			cluster1 {
-				core0 {
+				core4 {
 					cpu = <&cpu4>;
 				};
-				core1 {
+				core5 {
 					cpu = <&cpu5>;
 				};
-				core2 {
+				core6 {
 					cpu = <&cpu6>;
 				};
-				core3 {
+				core7 {
 					cpu = <&cpu7>;
 				};
 			};
Signature · 1 line
2.39.2
author maintainer
#99 lore raw

PATCH 99/1001 arm64: dts: mt8186: Fix CPU map for single-cluster SoC

In reply to Greg Kroah-Hartman

From: AngeloGioacchino Del Regno <[email protected]>

[ Upstream commit 1c473804b0c8a68c6ef2cf519b38ec6725ca4aa5 ]

MT8186 features the ARM DynamIQ technology and combines both two Cortex-A76 (big) and six Cortex-A55 (LITTLE) CPUs in one cluster:
fix the CPU map to reflect that.

Fixes 2e78620b1350 ("arm64: dts: Add MediaTek MT8186 dts and evaluation board and Makefile")
---
 arch/arm64/boot/dts/mediatek/mt8186.dtsi | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
arch/arm64/boot/dts/mediatek/mt8186.dtsi +2 -4
index 857b0c22422f4..0d8d2799d86d1 100644
@@ -47,14 +47,12 @@ core4 {
 				core5 {
 					cpu = <&cpu5>;
 				};
-			};
 
-			cluster1 {
-				core0 {
+				core6 {
 					cpu = <&cpu6>;
 				};
 
-				core1 {
+				core7 {
 					cpu = <&cpu7>;
 				};
 			};
Signature · 1 line
2.39.2
author maintainer
#100 lore raw

PATCH 100/1001 arm64: dts: mediatek: mt7622: Add missing pwm-cells to pwm node

In reply to Greg Kroah-Hartman

From: AngeloGioacchino Del Regno <[email protected]>

[ Upstream commit 22925af785fa3470efdf566339616d801119d348 ]

Specify #pwm-cells on pwm@11006000 to make it actually usable.

Fixes ae457b7679c4 ("arm64: dts: mt7622: add SoC and peripheral related device nodes")
---
 arch/arm64/boot/dts/mediatek/mt7622.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/mediatek/mt7622.dtsi +1 -0
index 146e18b5b1f46..7bb316922a3a9 100644
@@ -435,6 +435,7 @@ uart3: serial@11005000 {
 	pwm: pwm@11006000 {
 		compatible = "mediatek,mt7622-pwm";
 		reg = <0 0x11006000 0 0x1000>;
+		#pwm-cells = <2>;
 		interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_LOW>;
 		clocks = <&topckgen CLK_TOP_PWM_SEL>,
 			 <&pericfg CLK_PERI_PWM_PD>,
Signature · 1 line
2.39.2
author maintainer
#101 lore raw

PATCH 101/1001 arm64: dts: mediatek: mt8186: Fix watchdog compatible

In reply to Greg Kroah-Hartman

From: AngeloGioacchino Del Regno <[email protected]>

[ Upstream commit e5e961628d696237ddc3d53d9d5ac11f43e0bf67 ]

MT8186's watchdog embeds a reset controller and needs only the mediatek,mt8186-wdt compatible string as the MT6589 one is there for watchdogs that don't have any reset controller capability.

---
 arch/arm64/boot/dts/mediatek/mt8186.dtsi | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
arch/arm64/boot/dts/mediatek/mt8186.dtsi +1 -2
index 0d8d2799d86d1..a02bf4ab1504d 100644
@@ -333,8 +333,7 @@ pio: pinctrl@10005000 {
 		};
 
 		watchdog: watchdog@10007000 {
-			compatible = "mediatek,mt8186-wdt",
-				     "mediatek,mt6589-wdt";
+			compatible = "mediatek,mt8186-wdt";
 			mediatek,disable-extrst;
 			reg = <0 0x10007000 0 0x1000>;
 			#reset-cells = <1>;
Signature · 1 line
2.39.2
author maintainer
#102 lore raw

PATCH 102/1001 arm64: dts: mediatek: mt8195: Fix watchdog compatible

In reply to Greg Kroah-Hartman

From: AngeloGioacchino Del Regno <[email protected]>

[ Upstream commit 02938f460cde0d360dde48056c4d1c0a4bd49230 ]

MT8195's watchdog embeds a reset controller and needs only the mediatek,mt8195-wdt compatible string as the MT6589 one is there for watchdogs that don't have any reset controller capability.

---
 arch/arm64/boot/dts/mediatek/mt8195.dtsi | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
arch/arm64/boot/dts/mediatek/mt8195.dtsi +1 -2
index f0bd5754d19d0..c5b8abc0c5854 100644
@@ -694,8 +694,7 @@ power-domain@MT8195_POWER_DOMAIN_AUDIO {
 		};
 
 		watchdog: watchdog@10007000 {
-			compatible = "mediatek,mt8195-wdt",
-				     "mediatek,mt6589-wdt";
+			compatible = "mediatek,mt8195-wdt";
 			mediatek,disable-extrst;
 			reg = <0 0x10007000 0 0x100>;
 			#reset-cells = <1>;
Signature · 1 line
2.39.2
author maintainer
#103 lore raw

PATCH 103/1001 arm64: dts: mediatek: mt7986: Fix watchdog compatible

In reply to Greg Kroah-Hartman

From: Allen-KH Cheng <[email protected]>

[ Upstream commit 70d24df30d06e5c822ba94751166ef55d0e28a89 ]

MT7986's watchdog embeds a reset controller and needs only the mediatek,mt7986-wdt compatible string as the MT6589 one is there for watchdogs that don't have any reset controller capability.

---
 arch/arm64/boot/dts/mediatek/mt7986a.dtsi | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
arch/arm64/boot/dts/mediatek/mt7986a.dtsi +1 -2
index 0e9406fc63e2d..0ed5e067928b5 100644
@@ -167,8 +167,7 @@ topckgen: topckgen@1001b000 {
 		};
 
 		watchdog: watchdog@1001c000 {
-			compatible = "mediatek,mt7986-wdt",
-				     "mediatek,mt6589-wdt";
+			compatible = "mediatek,mt7986-wdt";
 			reg = <0 0x1001c000 0 0x1000>;
 			interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
 			#reset-cells = <1>;
Signature · 1 line
2.39.2
author maintainer
#104 lore raw

PATCH 104/1001 ARM: dts: stm32: Update part number NVMEM description on stm32mp131

In reply to Greg Kroah-Hartman

From: Patrick Delaunay <[email protected]>

[ Upstream commit 366384e495511bea8583e44173629a3012d62db0 ]

The STM32MP13x Device Part Number (also named RPN in reference manual) only uses the first 12 bits in OTP4, all the other bit are reserved and they can be different of zero; they must be masked in NVMEM result, so the number of bits must be defined in the nvmem cell description.

Fixes 1da8779c0029 ("ARM: dts: stm32: add STM32MP13 SoCs support")
---
 arch/arm/boot/dts/stm32mp131.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm/boot/dts/stm32mp131.dtsi +1 -0
index accc3824f7e98..99d88096959eb 100644
@@ -527,6 +527,7 @@ bsec: efuse@5c005000 {
 
 			part_number_otp: part_number_otp@4 {
 				reg = <0x4 0x2>;
+				bits = <0 12>;
 			};
 			ts_cal1: calib@5c {
 				reg = <0x5c 0x2>;
Signature · 1 line
2.39.2
author maintainer
#105 lore raw

PATCH 105/1001 arm64: dts: qcom: sm8450-nagara: Correct firmware paths

In reply to Greg Kroah-Hartman

From: Konrad Dybcio <[email protected]>

[ Upstream commit e27f38e6255306527e32af85592d805f3360ff94 ]

Nagara is definitely not SM8350, fix it!

Fixes c53532f7825c ("arm64: dts: qcom: pdx223: correct firmware paths")
---
 arch/arm64/boot/dts/qcom/sm8450-sony-xperia-nagara.dtsi | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm64/boot/dts/qcom/sm8450-sony-xperia-nagara.dtsi +3 -3
index 38256226d2297..e437e9a12069f 100644
@@ -534,17 +534,17 @@ &pcie0_phy {
 };
 
 &remoteproc_adsp {
-	firmware-name = "qcom/sm8350/Sony/nagara/adsp.mbn";
+	firmware-name = "qcom/sm8450/Sony/nagara/adsp.mbn";
 	status = "okay";
 };
 
 &remoteproc_cdsp {
-	firmware-name = "qcom/sm8350/Sony/nagara/cdsp.mbn";
+	firmware-name = "qcom/sm8450/Sony/nagara/cdsp.mbn";
 	status = "okay";
 };
 
 &remoteproc_slpi {
-	firmware-name = "qcom/sm8350/Sony/nagara/slpi.mbn";
+	firmware-name = "qcom/sm8450/Sony/nagara/slpi.mbn";
 	status = "okay";
 };
 
Signature · 1 line
2.39.2
author maintainer
#106 lore raw

PATCH 106/1001 blk-mq: avoid sleep in blk_mq_alloc_request_hctx

In reply to Greg Kroah-Hartman

From: Kemeng Shi <[email protected]>

[ Upstream commit 6ee858a3d3270a68902d66bb47c151a83622535c ]

Commit 1f5bd336b9150 ("blk-mq: add blk_mq_alloc_request_hctx") add blk_mq_alloc_request_hctx to send commands to a specific queue. If BLK_MQ_REQ_NOWAIT is not set in tag allocation, we may change to different hctx after sleep and get tag from unexpected hctx. So BLK_MQ_REQ_NOWAIT must be set in flags for blk_mq_alloc_request_hctx.
After commit 600c3b0cea784 ("blk-mq: open code __blk_mq_alloc_request in blk_mq_alloc_request_hctx"), blk_mq_alloc_request_hctx return -EINVAL if both BLK_MQ_REQ_NOWAIT and BLK_MQ_REQ_RESERVED are not set instead of if BLK_MQ_REQ_NOWAIT is not set. So if BLK_MQ_REQ_NOWAIT is not set and BLK_MQ_REQ_RESERVED is set, blk_mq_alloc_request_hctx could alloc tag from unexpected hctx. I guess what we need here is that return -EINVAL if either BLK_MQ_REQ_NOWAIT or BLK_MQ_REQ_RESERVED is not set.

Currently both BLK_MQ_REQ_NOWAIT and BLK_MQ_REQ_RESERVED will be set if specific hctx is needed in nvme_auth_submit, nvmf_connect_io_queue and nvmf_connect_admin_queue. Fix the potential BLK_MQ_REQ_NOWAIT missed case in future.

Fixes 600c3b0cea78 ("blk-mq: open code __blk_mq_alloc_request in blk_mq_alloc_request_hctx")
---
 block/blk-mq.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
block/blk-mq.c +2 -1
index 9c8dc70020bc9..dc29a7c82bb82 100644
@@ -658,7 +658,8 @@ struct request *blk_mq_alloc_request_hctx(struct request_queue *q,
 	 * allocator for this for the rare use case of a command tied to
 	 * a specific queue.
 	 */
-	if (WARN_ON_ONCE(!(flags & (BLK_MQ_REQ_NOWAIT | BLK_MQ_REQ_RESERVED))))
+	if (WARN_ON_ONCE(!(flags & BLK_MQ_REQ_NOWAIT)) ||
+	    WARN_ON_ONCE(!(flags & BLK_MQ_REQ_RESERVED)))
 		return ERR_PTR(-EINVAL);
 
 	if (hctx_idx >= q->nr_hw_queues)
Signature · 1 line
2.39.2
author maintainer
#89 lore raw

PATCH 89/1001 arm64: dts: meson: radxa-zero: allow usb otg mode

In reply to Greg Kroah-Hartman

From: Christian Hewitt <[email protected]>

[ Upstream commit ce43ea00b927805c1fd0450ccc9b4b6069e292c5 ]

Setting dr_mode to "host" prevents otg which can be useful on a board with limited connectivity options. So don't force host mode.

---
 arch/arm64/boot/dts/amlogic/meson-g12a-radxa-zero.dts | 1 -
 1 file changed, 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-g12a-radxa-zero.dts +0 -1
index e3bb6df42ff3e..cf0a9be83fc47 100644
@@ -401,5 +401,4 @@ &uart_AO {
 
 &usb {
 	status = "okay";
-	dr_mode = "host";
 };
Signature · 1 line
2.39.2
author maintainer
#107 lore raw

PATCH 107/1001 blk-mq: remove stale comment for blk_mq_sched_mark_restart_hctx

In reply to Greg Kroah-Hartman

From: Kemeng Shi <[email protected]>

[ Upstream commit c31e76bcc379182fe67a82c618493b7b8868c672 ]

Commit 97889f9ac24f8 ("blk-mq: remove synchronize_rcu() from blk_mq_del_queue_tag_set()") remove handle of TAG_SHARED in restart, then shared_hctx_restart counted for how many hardware queues are marked for restart is removed too.
Remove the stale comment that we still count hardware queues need restart.

Fixes 97889f9ac24f ("blk-mq: remove synchronize_rcu() from blk_mq_del_queue_tag_set()")
---
 block/blk-mq-sched.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
block/blk-mq-sched.c +1 -2
index 23d1a90fec427..ae40cdb7a383c 100644
@@ -19,8 +19,7 @@
 #include "blk-wbt.h"
 
 /*
- * Mark a hardware queue as needing a restart. For shared queues, maintain
- * a count of how many hardware queues are marked for restart.
+ * Mark a hardware queue as needing a restart.
  */
 void blk_mq_sched_mark_restart_hctx(struct blk_mq_hw_ctx *hctx)
 {
Signature · 1 line
2.39.2
author maintainer
#108 lore raw

PATCH 108/1001 blk-mq: wait on correct sbitmap_queue in blk_mq_mark_tag_wait

In reply to Greg Kroah-Hartman

From: Kemeng Shi <[email protected]>

[ Upstream commit 98b99e9412d0cde8c7b442bf5efb09528a2ede8b ]

For shared queues case, we will only wait on bitmap_tags if we fail to get driver tag. However, rq could be from breserved_tags, then two problems will occur:
1. io hung if no tag is currently allocated from bitmap_tags.
2. unnecessary wakeup when tag is freed to bitmap_tags while no tag is freed to breserved_tags.
Wait on the bitmap which rq from to fix this.

Fixes f906a6a0f426 ("blk-mq: improve tag waiting setup for non-shared tags")
---
 block/blk-mq.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
block/blk-mq.c +5 -1
index dc29a7c82bb82..8bc6778454e10 100644
@@ -1826,7 +1826,7 @@ static int blk_mq_dispatch_wake(wait_queue_entry_t *wait, unsigned mode,
 static bool blk_mq_mark_tag_wait(struct blk_mq_hw_ctx *hctx,
 				 struct request *rq)
 {
-	struct sbitmap_queue *sbq = &hctx->tags->bitmap_tags;
+	struct sbitmap_queue *sbq;
 	struct wait_queue_head *wq;
 	wait_queue_entry_t *wait;
 	bool ret;
@@ -1849,6 +1849,10 @@ static bool blk_mq_mark_tag_wait(struct blk_mq_hw_ctx *hctx,
 	if (!list_empty_careful(&wait->entry))
 		return false;
 
+	if (blk_mq_tag_is_reserved(rq->mq_hctx->sched_tags, rq->internal_tag))
+		sbq = &hctx->tags->breserved_tags;
+	else
+		sbq = &hctx->tags->bitmap_tags;
 	wq = &bt_wait_ptr(sbq, hctx)->wait;
 
 	spin_lock_irq(&wq->lock);
Signature · 1 line
2.39.2
author maintainer
#109 lore raw

PATCH 109/1001 blk-mq: Fix potential io hung for shared sbitmap per tagset

In reply to Greg Kroah-Hartman

From: Kemeng Shi <[email protected]>

[ Upstream commit 47df9ce95cd568d3f84218c4f65e9fbd4dfeda55 ]

Commit f906a6a0f4268 ("blk-mq: improve tag waiting setup for non-shared tags") mark restart for unshared tags for improvement. At that time, tags is only shared betweens queues and we can check if tags is shared by test BLK_MQ_F_TAG_SHARED.
Afterwards, commit 32bc15afed04b ("blk-mq: Facilitate a shared sbitmap per tagset") enabled tags share betweens hctxs inside a queue. We only mark restart for shared hctxs inside a queue and may cause io hung if there is no tag currently allocated by hctxs going to be marked restart. Wait on sbitmap_queue instead of mark restart for shared hctxs case to fix this.

Fixes 32bc15afed04 ("blk-mq: Facilitate a shared sbitmap per tagset")
---
 block/blk-mq.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
block/blk-mq.c +4 -2
index 8bc6778454e10..b9e3b558367f1 100644
@@ -1831,7 +1831,8 @@ static bool blk_mq_mark_tag_wait(struct blk_mq_hw_ctx *hctx,
 	wait_queue_entry_t *wait;
 	bool ret;
 
-	if (!(hctx->flags & BLK_MQ_F_TAG_QUEUE_SHARED)) {
+	if (!(hctx->flags & BLK_MQ_F_TAG_QUEUE_SHARED) &&
+	    !(blk_mq_is_shared_tags(hctx->flags))) {
 		blk_mq_sched_mark_restart_hctx(hctx);
 
 		/*
@@ -2101,7 +2102,8 @@ bool blk_mq_dispatch_rq_list(struct blk_mq_hw_ctx *hctx, struct list_head *list,
 		bool needs_restart;
 		/* For non-shared tags, the RESTART check will suffice */
 		bool no_tag = prep == PREP_DISPATCH_NO_TAG &&
-			(hctx->flags & BLK_MQ_F_TAG_QUEUE_SHARED);
+			((hctx->flags & BLK_MQ_F_TAG_QUEUE_SHARED) ||
+			blk_mq_is_shared_tags(hctx->flags));
 
 		if (nr_budgets)
 			blk_mq_release_budgets(q, list);
Signature · 1 line
2.39.2
author maintainer
#110 lore raw

PATCH 110/1001 blk-mq: correct stale comment of .get_budget

In reply to Greg Kroah-Hartman

From: Kemeng Shi <[email protected]>

[ Upstream commit 01542f651a9f58a9b176c3d3dc3eefbacee53b78 ]

Commit 88022d7201e96 ("blk-mq: don't handle failure in .get_budget") remove BLK_STS_RESOURCE return value and we only check if we can get the budget from .get_budget() now.
Correct stale comment that ".get_budget() returns BLK_STS_NO_RESOURCE" to ".get_budget() fails to get the budget".

Fixes 88022d7201e9 ("blk-mq: don't handle failure in .get_budget")
---
 block/blk-mq-sched.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
block/blk-mq-sched.c +2 -2
index ae40cdb7a383c..06b312c691143 100644
@@ -81,7 +81,7 @@ static bool blk_mq_dispatch_hctx_list(struct list_head *rq_list)
 /*
  * Only SCSI implements .get_budget and .put_budget, and SCSI restarts
  * its queue by itself in its completion handler, so we don't need to
- * restart queue if .get_budget() returns BLK_STS_NO_RESOURCE.
+ * restart queue if .get_budget() fails to get the budget.
  *
  * Returns -EAGAIN if hctx->dispatch was found non-empty and run_work has to
  * be run again.  This is necessary to avoid starving flushes.
@@ -209,7 +209,7 @@ static struct blk_mq_ctx *blk_mq_next_ctx(struct blk_mq_hw_ctx *hctx,
 /*
  * Only SCSI implements .get_budget and .put_budget, and SCSI restarts
  * its queue by itself in its completion handler, so we don't need to
- * restart queue if .get_budget() returns BLK_STS_NO_RESOURCE.
+ * restart queue if .get_budget() fails to get the budget.
  *
  * Returns -EAGAIN if hctx->dispatch was found non-empty and run_work has to
  * be run again.  This is necessary to avoid starving flushes.
Signature · 1 line
2.39.2
author maintainer
#111 lore raw

PATCH 111/1001 arm64: dts: qcom: msm8996: support using GPLL0 as kryocc input

In reply to Greg Kroah-Hartman

From: Dmitry Baryshkov <[email protected]>

[ Upstream commit ac0d84d4556cecf81ba0b1631d25d9a395235a5c ]

In some cases the driver might need using GPLL0 to drive CPU clocks. Bring it in through the sys_apcs_aux clock.

Stable-dep-of: 8ae72166c2b7 ("arm64: dts: qcom: msm8996 switch from RPM_SMD_BB_CLK1 to RPM_SMD_XO_CLK_SRC")

---
 arch/arm64/boot/dts/qcom/msm8996.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/qcom/msm8996.dtsi +2 -2
index d31464204f696..286f7b44057dd 100644
@@ -2940,8 +2940,8 @@ kryocc: clock-controller@6400000 {
 			compatible = "qcom,msm8996-apcc";
 			reg = <0x06400000 0x90000>;
 
-			clock-names = "xo";
-			clocks = <&rpmcc RPM_SMD_BB_CLK1>;
+			clock-names = "xo", "sys_apcs_aux";
+			clocks = <&rpmcc RPM_SMD_BB_CLK1>, <&apcs_glb>;
 
 			#clock-cells = <1>;
 		};
Signature · 1 line
2.39.2
author maintainer
#112 lore raw

PATCH 112/1001 arm64: dts: qcom: msm8996 switch from RPM_SMD_BB_CLK1 to RPM_SMD_XO_CLK_SRC

In reply to Greg Kroah-Hartman

From: Dmitry Baryshkov <[email protected]>

[ Upstream commit 8ae72166c2b73b0f2ce498ea15d4feceb9fef50e ]

The vendor kernel uses RPM_SMD_XO_CLK_SRC clock as an CXO clock rather than using the RPM_SMD_BB_CLK1 directly. Follow this example and switch msm8996.dtsi to use RPM_SMD_XO_CLK_SRC clock instead of RPM_SMB_BB_CLK1.

Fixes 2b8c9c77c268 ("arm64: dts: qcom: msm8996: convert xo_board to RPM_SMD_BB_CLK1")
---
 arch/arm64/boot/dts/qcom/msm8996.dtsi | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
arch/arm64/boot/dts/qcom/msm8996.dtsi +7 -7
index 286f7b44057dd..a444d9b531228 100644
@@ -713,7 +713,7 @@ gcc: clock-controller@300000 {
 			#power-domain-cells = <1>;
 			reg = <0x00300000 0x90000>;
 
-			clocks = <&rpmcc RPM_SMD_BB_CLK1>,
+			clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
 				 <&rpmcc RPM_SMD_LN_BB_CLK>,
 				 <&sleep_clk>,
 				 <&pciephy_0>,
@@ -1050,7 +1050,7 @@ dsi0_phy: phy@994400 {
 				#clock-cells = <1>;
 				#phy-cells = <0>;
 
-				clocks = <&mmcc MDSS_AHB_CLK>, <&rpmcc RPM_SMD_BB_CLK1>;
+				clocks = <&mmcc MDSS_AHB_CLK>, <&rpmcc RPM_SMD_XO_CLK_SRC>;
 				clock-names = "iface", "ref";
 				status = "disabled";
 			};
@@ -1117,7 +1117,7 @@ dsi1_phy: phy@996400 {
 				#clock-cells = <1>;
 				#phy-cells = <0>;
 
-				clocks = <&mmcc MDSS_AHB_CLK>, <&rpmcc RPM_SMD_BB_CLK1>;
+				clocks = <&mmcc MDSS_AHB_CLK>, <&rpmcc RPM_SMD_XO_CLK_SRC>;
 				clock-names = "iface", "ref";
 				status = "disabled";
 			};
@@ -2941,7 +2941,7 @@ kryocc: clock-controller@6400000 {
 			reg = <0x06400000 0x90000>;
 
 			clock-names = "xo", "sys_apcs_aux";
-			clocks = <&rpmcc RPM_SMD_BB_CLK1>, <&apcs_glb>;
+			clocks = <&rpmcc RPM_SMD_XO_A_CLK_SRC>, <&apcs_glb>;
 
 			#clock-cells = <1>;
 		};
@@ -3060,7 +3060,7 @@ sdhc1: mmc@7464900 {
 			clock-names = "iface", "core", "xo";
 			clocks = <&gcc GCC_SDCC1_AHB_CLK>,
 				<&gcc GCC_SDCC1_APPS_CLK>,
-				<&rpmcc RPM_SMD_BB_CLK1>;
+				<&rpmcc RPM_SMD_XO_CLK_SRC>;
 			resets = <&gcc GCC_SDCC1_BCR>;
 
 			pinctrl-names = "default", "sleep";
@@ -3084,7 +3084,7 @@ sdhc2: mmc@74a4900 {
 			clock-names = "iface", "core", "xo";
 			clocks = <&gcc GCC_SDCC2_AHB_CLK>,
 				<&gcc GCC_SDCC2_APPS_CLK>,
-				<&rpmcc RPM_SMD_BB_CLK1>;
+				<&rpmcc RPM_SMD_XO_CLK_SRC>;
 			resets = <&gcc GCC_SDCC2_BCR>;
 
 			pinctrl-names = "default", "sleep";
@@ -3406,7 +3406,7 @@ adsp_pil: remoteproc@9300000 {
 			interrupt-names = "wdog", "fatal", "ready",
 					  "handover", "stop-ack";
 
-			clocks = <&rpmcc RPM_SMD_BB_CLK1>;
+			clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>;
 			clock-names = "xo";
 
 			memory-region = <&adsp_mem>;
Signature · 1 line
2.39.2
author maintainer
#113 lore raw

PATCH 113/1001 arm64: dts: qcom: sm8350: drop incorrect cells from serial

In reply to Greg Kroah-Hartman

From: Krzysztof Kozlowski <[email protected]>

[ Upstream commit 6027331e6eae9eb957d1b73a7e3255f4151d6163 ]

The serial/UART device node does not have children with unit addresses, so address/size cells are not correct.

---
 arch/arm64/boot/dts/qcom/sm8350.dtsi | 2 --
 1 file changed, 2 deletions(-)
arch/arm64/boot/dts/qcom/sm8350.dtsi +0 -2
index fb3cd20a82b5e..646c64f0d1e28 100644
@@ -1043,8 +1043,6 @@ uart2: serial@98c000 {
 				interrupts = <GIC_SPI 604 IRQ_TYPE_LEVEL_HIGH>;
 				power-domains = <&rpmhpd SM8350_CX>;
 				operating-points-v2 = <&qup_opp_table_100mhz>;
-				#address-cells = <1>;
-				#size-cells = <0>;
 				status = "disabled";
 			};
 
Signature · 1 line
2.39.2
author maintainer
#114 lore raw

PATCH 114/1001 arm64: dts: qcom: sm8450: drop incorrect cells from serial

In reply to Greg Kroah-Hartman

From: Krzysztof Kozlowski <[email protected]>

[ Upstream commit 60d2da2c916956535cf37b7bf1ae8fefbf432e55 ]

The serial/UART device node does not have children with unit addresses, so address/size cells are not correct.

Fixes f5837418479a ("arm64: dts: qcom: sm8450: add uart20 node")
Fixes 5188049c9b36 ("arm64: dts: qcom: Add base SM8450 DTSI")
---
 arch/arm64/boot/dts/qcom/sm8450.dtsi | 4 ----
 1 file changed, 4 deletions(-)
arch/arm64/boot/dts/qcom/sm8450.dtsi +0 -4
index eb3318516243c..f57980a32b433 100644
@@ -997,8 +997,6 @@ uart20: serial@894000 {
 				pinctrl-names = "default";
 				pinctrl-0 = <&qup_uart20_default>;
 				interrupts = <GIC_SPI 587 IRQ_TYPE_LEVEL_HIGH>;
-				#address-cells = <1>;
-				#size-cells = <0>;
 				status = "disabled";
 			};
 
@@ -1391,8 +1389,6 @@ uart7: serial@99c000 {
 				pinctrl-names = "default";
 				pinctrl-0 = <&qup_uart7_tx>, <&qup_uart7_rx>;
 				interrupts = <GIC_SPI 608 IRQ_TYPE_LEVEL_HIGH>;
-				#address-cells = <1>;
-				#size-cells = <0>;
 				status = "disabled";
 			};
 		};
Signature · 1 line
2.39.2
author maintainer
#115 lore raw

PATCH 115/1001 arm64: dts: qcom: msm8992-lg-bullhead: Correct memory overlaps with the SMEM and MPSS memory regions

In reply to Greg Kroah-Hartman

From: Jamie Douglass <[email protected]>

[ Upstream commit d44106883d74992343710f18c4aaae937c7cefab ]

The memory region reserved by a previous commit (see fixes tag below) overlaps with the SMEM and MPSS memory regions, causing error messages in dmesg:

	OF: reserved mem: OVERLAP DETECTED!
	reserved@5000000 (0x0000000005000000--0x0000000007200000)
	overlaps with smem_region@6a00000
	(0x0000000006a00000--0x0000000006c00000)

	OF: reserved mem: OVERLAP DETECTED!
	reserved@6c00000 (0x0000000006c00000--0x0000000007200000)
	overlaps with memory@7000000
	(0x0000000007000000--0x000000000ca00000)

This patch resolves both of these by splitting the previously reserved memory region into two sections either side of the SMEM region and by cutting off the second memory region to 0x7000000.

---
 arch/arm64/boot/dts/qcom/msm8992-lg-bullhead.dtsi | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/qcom/msm8992-lg-bullhead.dtsi +7 -2
index 4bceb362a5c02..cdd796040703c 100644
@@ -56,8 +56,13 @@ cont_splash_mem: memory@3400000 {
 			no-map;
 		};
 
-		removed_region: reserved@5000000 {
-			reg = <0 0x05000000 0 0x2200000>;
+		reserved@5000000 {
+			reg = <0x0 0x05000000 0x0 0x1a00000>;
+			no-map;
+		};
+
+		reserved@6c00000 {
+			reg = <0x0 0x06c00000 0x0 0x400000>;
 			no-map;
 		};
 	};
Signature · 1 line
2.39.2
author maintainer
#116 lore raw

PATCH 116/1001 arm64: dts: qcom: msm8953: correct TLMM gpio-ranges

In reply to Greg Kroah-Hartman

From: Krzysztof Kozlowski <[email protected]>

[ Upstream commit a4fb71497df23cb0d02d70fa2b8f8786328e325d ]

Correct the number of GPIOs in TLMM pin controller.

---
 arch/arm64/boot/dts/qcom/msm8953.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/qcom/msm8953.dtsi +1 -1
index 32349174c4bd9..70f033656b555 100644
@@ -455,7 +455,7 @@ tlmm: pinctrl@1000000 {
 			reg = <0x1000000 0x300000>;
 			interrupts = <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>;
 			gpio-controller;
-			gpio-ranges = <&tlmm 0 0 155>;
+			gpio-ranges = <&tlmm 0 0 142>;
 			#gpio-cells = <2>;
 			interrupt-controller;
 			#interrupt-cells = <2>;
Signature · 1 line
2.39.2
author maintainer
#90 lore raw

PATCH 90/1001 arm64: dts: meson: bananapi-m5: switch VDDIO_C pin to OPEN_DRAIN

In reply to Greg Kroah-Hartman

From: Christian Hewitt <[email protected]>

[ Upstream commit 856968e066bd77b113965f1a355ec7401edff65f ]

For proper warm (re)boot from SD card the BPI-M5 board requires TFLASH_VDD_EN and VDDIO_C pins to be switched to high impedance mode. This can be achieved using OPEN_DRAIN instead of ACTIVE_HIGH to leave the GPIO pins in input mode and retain high state (pin has the pull-up).

This change is inspired by meson-sm1-odroid.dtsi where OPEN_DRAIN has been used to resolve similar problems with the Odroid C4 board (TF_IO in the C4 dts is the equivalent regulator).

---
 arch/arm64/boot/dts/amlogic/meson-sm1-bananapi-m5.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/amlogic/meson-sm1-bananapi-m5.dts +1 -1
index 6d0db667581fa..38ebe98ba9c6b 100644
@@ -123,7 +123,7 @@ vddio_c: regulator-vddio_c {
 		regulator-min-microvolt = <1800000>;
 		regulator-max-microvolt = <3300000>;
 
-		enable-gpio = <&gpio_ao GPIOE_2 GPIO_ACTIVE_HIGH>;
+		enable-gpio = <&gpio_ao GPIOE_2 GPIO_OPEN_DRAIN>;
 		enable-active-high;
 		regulator-always-on;
 
Signature · 1 line
2.39.2
author maintainer
#117 lore raw

PATCH 117/1001 arm64: dts: qcom: sm6115: correct TLMM gpio-ranges

In reply to Greg Kroah-Hartman

From: Krzysztof Kozlowski <[email protected]>

[ Upstream commit 272fc52431611d779de132c4e03de6e0c1199731 ]

Correct the number of GPIOs in TLMM pin controller.

---
 arch/arm64/boot/dts/qcom/sm6115.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/qcom/sm6115.dtsi +1 -1
index 81523ab7ff602..9de56365703cf 100644
@@ -363,7 +363,7 @@ tlmm: pinctrl@500000 {
 			reg-names = "west", "south", "east";
 			interrupts = <GIC_SPI 227 IRQ_TYPE_LEVEL_HIGH>;
 			gpio-controller;
-			gpio-ranges = <&tlmm 0 0 121>;
+			gpio-ranges = <&tlmm 0 0 114>; /* GPIOs + ufs_reset */
 			#gpio-cells = <2>;
 			interrupt-controller;
 			#interrupt-cells = <2>;
Signature · 1 line
2.39.2
author maintainer
#118 lore raw

PATCH 118/1001 arm64: dts: qcom: msm8992-lg-bullhead: Enable regulators

In reply to Greg Kroah-Hartman

From: Petr Vorel <[email protected]>

[ Upstream commit 2866527093ddbc6356bb31f560f0b4b4decf3e2e ]

Enable pm8994_s1, pm8994_l{26,29,30,32} regulators. Use values from downstream kernel on bullhead rev 1.01.

NOTE: downstream kernel on angler rev 1.01 differences:
* pm8994_l29: regulator-min-microvolt = <2700000>
* pm8994_l{20,28,31}: use regulator-boot-on

Verification:

[    1.832460] s1: Bringing 0uV into 1025000-1025000uV
...
[    2.057667] l26: Bringing 0uV into 987500-987500uV
...
[    2.075722] l29: Bringing 0uV into 2800000-2800000uV
[    2.076604] l30: Bringing 0uV into 1800000-1800000uV
[    2.082431] l31: Bringing 0uV into 1262500-1262500uV
[    2.095767] l32: Bringing 0uV into 1800000-1800000uV
---
 .../boot/dts/qcom/msm8992-lg-bullhead.dtsi    | 32 ++++++-------------
 1 file changed, 10 insertions(+), 22 deletions(-)
arch/arm64/boot/dts/qcom/msm8992-lg-bullhead.dtsi +10 -22
index cdd796040703c..cd77dcb558722 100644
@@ -94,8 +94,8 @@ pm8994_regulators: regulators-0 {
 		/* S1, S2, S6 and S12 are managed by RPMPD */
 
 		pm8994_s1: s1 {
-			regulator-min-microvolt = <800000>;
-			regulator-max-microvolt = <800000>;
+			regulator-min-microvolt = <1025000>;
+			regulator-max-microvolt = <1025000>;
 		};
 
 		pm8994_s2: s2 {
@@ -251,11 +251,8 @@ pm8994_l25: l25 {
 		};
 
 		pm8994_l26: l26 {
-			/*
-			 * TODO: value from downstream
-			 * regulator-min-microvolt = <987500>;
-			 * fails to apply
-			 */
+			regulator-min-microvolt = <987500>;
+			regulator-max-microvolt = <987500>;
 		};
 
 		pm8994_l27: l27 {
@@ -269,19 +266,13 @@ pm8994_l28: l28 {
 		};
 
 		pm8994_l29: l29 {
-			/*
-			 * TODO: Unsupported voltage range.
-			 * regulator-min-microvolt = <2800000>;
-			 * regulator-max-microvolt = <2800000>;
-			 */
+			regulator-min-microvolt = <2800000>;
+			regulator-max-microvolt = <2800000>;
 		};
 
 		pm8994_l30: l30 {
-			/*
-			 * TODO: get this verified
-			 * regulator-min-microvolt = <1800000>;
-			 * regulator-max-microvolt = <1800000>;
-			 */
+			regulator-min-microvolt = <1800000>;
+			regulator-max-microvolt = <1800000>;
 		};
 
 		pm8994_l31: l31 {
@@ -290,11 +281,8 @@ pm8994_l31: l31 {
 		};
 
 		pm8994_l32: l32 {
-			/*
-			 * TODO: get this verified
-			 * regulator-min-microvolt = <1800000>;
-			 * regulator-max-microvolt = <1800000>;
-			 */
+			regulator-min-microvolt = <1800000>;
+			regulator-max-microvolt = <1800000>;
 		};
 	};
 
Signature · 1 line
2.39.2
author maintainer
#91 lore raw

PATCH 91/1001 ARM: dts: sun8i: nanopi-duo2: Fix regulator GPIO reference

In reply to Greg Kroah-Hartman

From: Samuel Holland <[email protected]>

[ Upstream commit 2177d4ae971f79b4a9a3c411f2fb8ae6113d1430 ]

The property named in the schema is 'enable-gpios', not 'enable-gpio'. This makes no difference at runtime, because the regulator is marked as always-on, but it breaks validation.

---
 arch/arm/boot/dts/sun8i-h3-nanopi-duo2.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/sun8i-h3-nanopi-duo2.dts +1 -1
index 43641cb82398f..343b02b971555 100644
@@ -57,7 +57,7 @@ reg_vdd_cpux: vdd-cpux-regulator {
 		regulator-ramp-delay = <50>; /* 4ms */
 
 		enable-active-high;
-		enable-gpio = <&r_pio 0 8 GPIO_ACTIVE_HIGH>; /* PL8 */
+		enable-gpios = <&r_pio 0 8 GPIO_ACTIVE_HIGH>; /* PL8 */
 		gpios = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; /* PL6 */
 		gpios-states = <0x1>;
 		states = <1100000 0>, <1300000 1>;
Signature · 1 line
2.39.2
author maintainer
#92 lore raw

PATCH 92/1001 ublk_drv: remove nr_aborted_queues from ublk_device

In reply to Greg Kroah-Hartman

From: Ming Lei <[email protected]>

[ Upstream commit ed878d1c1c641c4a6bd366658fc8e6bc842b80d1 ]

No one uses 'nr_aborted_queues' any more, so remove it.

Stable-dep-of: 73a166d97492 ("ublk_drv: don't probe partitions if the ubq daemon isn't trusted")

---
 drivers/block/ublk_drv.c | 1 -
 1 file changed, 1 deletion(-)
drivers/block/ublk_drv.c +0 -1
index 6368b56eacf11..f44b9467720c9 100644
@@ -159,7 +159,6 @@ struct ublk_device {
 
 	struct completion	completion;
 	unsigned int		nr_queues_ready;
-	atomic_t		nr_aborted_queues;
 
 	/*
 	 * Our ubq->daemon may be killed without any notification, so
Signature · 1 line
2.39.2
author maintainer
#93 lore raw

PATCH 93/1001 ublk_drv: dont probe partitions if the ubq daemon isnt trusted

In reply to Greg Kroah-Hartman

From: Ming Lei <[email protected]>

[ Upstream commit 73a166d9749230d598320fdae3b687cdc0e2e205 ]

If any ubq daemon is unprivileged, the ublk char device is allowed for unprivileged user actually, and we can't trust the current user, so not probe partitions.

Fixes 71f28f3136af ("ublk_drv: add io_uring based userspace block driver")
---
 drivers/block/ublk_drv.c | 9 +++++++++
 1 file changed, 9 insertions(+)
drivers/block/ublk_drv.c +9 -0
index f44b9467720c9..450bd54fd0061 100644
@@ -159,6 +159,7 @@ struct ublk_device {
 
 	struct completion	completion;
 	unsigned int		nr_queues_ready;
+	unsigned int		nr_privileged_daemon;
 
 	/*
 	 * Our ubq->daemon may be killed without any notification, so
@@ -1178,6 +1179,9 @@ static void ublk_mark_io_ready(struct ublk_device *ub, struct ublk_queue *ubq)
 		ubq->ubq_daemon = current;
 		get_task_struct(ubq->ubq_daemon);
 		ub->nr_queues_ready++;
+
+		if (capable(CAP_SYS_ADMIN))
+			ub->nr_privileged_daemon++;
 	}
 	if (ub->nr_queues_ready == ub->dev_info.nr_hw_queues)
 		complete_all(&ub->completion);
@@ -1534,6 +1538,10 @@ static int ublk_ctrl_start_dev(struct io_uring_cmd *cmd)
 	if (ret)
 		goto out_put_disk;
 
+	/* don't probe partitions if any one ubq daemon is un-trusted */
+	if (ub->nr_privileged_daemon != ub->nr_queues_ready)
+		set_bit(GD_SUPPRESS_PART_SCAN, &disk->state);
+
 	get_device(&ub->cdev_dev);
 	ret = add_disk(disk);
 	if (ret) {
@@ -1935,6 +1943,7 @@ static int ublk_ctrl_start_recovery(struct io_uring_cmd *cmd)
 	/* set to NULL, otherwise new ubq_daemon cannot mmap the io_cmd_buf */
 	ub->mm = NULL;
 	ub->nr_queues_ready = 0;
+	ub->nr_privileged_daemon = 0;
 	init_completion(&ub->completion);
 	ret = 0;
  out_unlock:
Signature · 1 line
2.39.2
author maintainer
#94 lore raw

PATCH 94/1001 ARM: dts: imx7s: correct iomuxc gpr mux controller cells

In reply to Greg Kroah-Hartman

From: Peng Fan <[email protected]>

[ Upstream commit 0e3e1946606a2919b1dda9967ab2e1c5af2fedd6 ]

Per binding doc reg-mux.yaml, the #mux-control-cells should be 1

Fixes 94a905a79f2c ("ARM: dts: imx7s: add multiplexer controls")
---
 arch/arm/boot/dts/imx7s.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/imx7s.dtsi +1 -1
index 0fc9e6b8b05dc..11b9321badc51 100644
@@ -513,7 +513,7 @@ gpr: iomuxc-gpr@30340000 {
 
 				mux: mux-controller {
 					compatible = "mmio-mux";
-					#mux-control-cells = <0>;
+					#mux-control-cells = <1>;
 					mux-reg-masks = <0x14 0x00000010>;
 				};
 
Signature · 1 line
2.39.2
author maintainer
#95 lore raw

PATCH 95/1001 sbitmap: remove redundant check in __sbitmap_queue_get_batch

In reply to Greg Kroah-Hartman

From: Kemeng Shi <[email protected]>

[ Upstream commit 903e86f3a64d9573352bbab2f211fdbbaa5772b7 ]

Commit fbb564a557809 ("lib/sbitmap: Fix invalid loop in __sbitmap_queue_get_batch()") mentioned that "Checking free bits when setting the target bits. Otherwise, it may reuse the busying bits." This commit add check to make sure all masked bits in word before cmpxchg is zero. Then the existing check after cmpxchg to check any zero bit is existing in masked bits in word is redundant.

Actually, old value of word before cmpxchg is stored in val and we will filter out busy bits in val by "(get_mask & ~val)" after cmpxchg. So we will not reuse busy bits methioned in commit fbb564a557809 ("lib/sbitmap: Fix invalid loop in __sbitmap_queue_get_batch()"). Revert new-added check to remove redundant check.

Fixes fbb564a55780 ("lib/sbitmap: Fix invalid loop in __sbitmap_queue_get_batch()")
---
 lib/sbitmap.c | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
lib/sbitmap.c +3 -5
index 1fcede228fa25..2281fbb49d5c6 100644
@@ -521,11 +521,9 @@ unsigned long __sbitmap_queue_get_batch(struct sbitmap_queue *sbq, int nr_tags,
 
 			get_mask = ((1UL << nr_tags) - 1) << nr;
 			val = READ_ONCE(map->word);
-			do {
-				if ((val & ~get_mask) != val)
-					goto next;
-			} while (!atomic_long_try_cmpxchg(ptr, &val,
-							  get_mask | val));
+			while (!atomic_long_try_cmpxchg(ptr, &val,
+							  get_mask | val))
+				;
 			get_mask = (get_mask & ~val) >> nr;
 			if (get_mask) {
 				*offset = nr + (index << sb->shift);
Signature · 1 line
2.39.2
author maintainer
#96 lore raw

PATCH 96/1001 sbitmap: correct wake_batch recalculation to avoid potential IO hung

In reply to Greg Kroah-Hartman

From: Kemeng Shi <[email protected]>

[ Upstream commit b5fcf7871acb7f9a3a8ed341a68bd86aba3e254a ]

Commit 180dccb0dba4f ("blk-mq: fix tag_get wait task can't be awakened") mentioned that in case of shared tags, there could be just one real active hctx(queue) because of lazy detection of tag idle. Then driver tag allocation may wait forever on this real active hctx(queue) if wake_batch is > hctx_max_depth where hctx_max_depth is available tags depth for the actve hctx(queue). However, the condition wake_batch > hctx_max_depth is not strong enough to avoid IO hung as the sbitmap_queue_wake_up will only wake up one wait queue for each wake_batch even though there is only one waiter in the woken wait queue. After this, there is only one tag to free and wake_batch may not be reached anymore. Commit 180dccb0dba4f ("blk-mq:
fix tag_get wait task can't be awakened") methioned that driver tag allocation may wait forever. Actually, the inactive hctx(queue) will be truely idle after at most 30 seconds and will call blk_mq_tag_wakeup_all to wake one waiter per wait queue to break the hung. But IO hung for 30 seconds is also not acceptable. Set batch size to small enough that depth of the shared hctx(queue) is enough to wake up all of the queues like sbq_calc_wake_batch do to fix this potential IO hung.

Although hctx_max_depth will be clamped to at least 4 while wake_batch recalculation does not do the clamp, the wake_batch will be always recalculated to 1 when hctx_max_depth <= 4.

Fixes 180dccb0dba4 ("blk-mq: fix tag_get wait task can't be awakened")
---
 lib/sbitmap.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
lib/sbitmap.c +1 -4
index 2281fbb49d5c6..888c51235bd3c 100644
@@ -464,13 +464,10 @@ void sbitmap_queue_recalculate_wake_batch(struct sbitmap_queue *sbq,
 					    unsigned int users)
 {
 	unsigned int wake_batch;
-	unsigned int min_batch;
 	unsigned int depth = (sbq->sb.depth + users - 1) / users;
 
-	min_batch = sbq->sb.depth >= (4 * SBQ_WAIT_QUEUES) ? 4 : 1;
-
 	wake_batch = clamp_val(depth / SBQ_WAIT_QUEUES,
-			min_batch, SBQ_WAKE_BATCH);
+			1, SBQ_WAKE_BATCH);
 
 	WRITE_ONCE(sbq->wake_batch, wake_batch);
 }
Signature · 1 line
2.39.2
author maintainer
#87 lore raw

PATCH 87/1001 arm64: tegra: Mark host1x as dma-coherent on Tegra194/234

In reply to Greg Kroah-Hartman

From: Mikko Perttunen <[email protected]>

[ Upstream commit 361238cdc52523fd7b1f3aa447c0579f42448b00 ]

Ensure appropriate configuration is done to make the host1x device and context devices DMA coherent by adding the dma-coherent flag.

Fixes b35f5b53a87b ("arm64: tegra: Add context isolation domains on Tegra234")
---
 arch/arm64/boot/dts/nvidia/tegra194.dtsi | 1 +
 arch/arm64/boot/dts/nvidia/tegra234.dtsi | 1 +
 2 files changed, 2 insertions(+)
arch/arm64/boot/dts/nvidia/tegra194.dtsi +1 -0
index 45a204d753b1b..76c672d2196be 100644
@@ -1922,6 +1922,7 @@ host1x@13e00000 {
 			interconnects = <&mc TEGRA194_MEMORY_CLIENT_HOST1XDMAR &emc>;
 			interconnect-names = "dma-mem";
 			iommus = <&smmu TEGRA194_SID_HOST1X>;
+			dma-coherent;
 
 			/* Context isolation domains */
 			iommu-map = <0 &smmu TEGRA194_SID_HOST1X_CTX0 1>,
arch/arm64/boot/dts/nvidia/tegra234.dtsi +1 -0
index 7a3112c82cdc7..cee86dcb68712 100644
@@ -1967,6 +1967,7 @@ host1x@13e00000 {
 			interconnects = <&mc TEGRA234_MEMORY_CLIENT_HOST1XDMAR &emc>;
 			interconnect-names = "dma-mem";
 			iommus = <&smmu_niso1 TEGRA234_SID_HOST1X>;
+			dma-coherent;
 
 			/* Context isolation domains */
 			iommu-map = <0 &smmu_niso0 TEGRA234_SID_HOST1X_CTX0 1>,
Signature · 1 line
2.39.2
author maintainer
#120 lore raw

PATCH 120/1001 io_uring,audit: dont log IORING_OP_MADVISE

In reply to Greg Kroah-Hartman

From: Richard Guy Briggs <[email protected]>

[ Upstream commit fbe870a72fd1ddc5e08c23764e23e5766f54aa87 ]

fadvise and madvise both provide hints for caching or access pattern for file and memory respectively. Skip them.

---
 io_uring/opdef.c | 1 +
 1 file changed, 1 insertion(+)
io_uring/opdef.c +1 -0
index 3aa0d65c50e34..be45b76649a08 100644
@@ -313,6 +313,7 @@ const struct io_op_def io_op_defs[] = {
 	},
 	[IORING_OP_MADVISE] = {
 		.name			= "MADVISE",
+		.audit_skip		= 1,
 		.prep			= io_madvise_prep,
 		.issue			= io_madvise,
 	},
Signature · 1 line
2.39.2
author maintainer
#129 lore raw

PATCH 129/1001 block: Fix io statistics for cgroup in throttle path

In reply to Greg Kroah-Hartman

From: Jinke Han <[email protected]>

[ Upstream commit 0f7c8f0f7934c389b0f9fa1f151e753d8de6348f ]

In the current code, io statistics are missing for cgroup when bio was throttled by blk-throttle. Fix it by moving the unreaching code to submit_bio_noacct_nocheck.

---
 block/blk-core.c | 23 ++++++++++++-----------
 1 file changed, 12 insertions(+), 11 deletions(-)
block/blk-core.c +12 -11
index b5098355d8b27..0a55844dfde27 100644
@@ -684,6 +684,18 @@ static void __submit_bio_noacct_mq(struct bio *bio)
 
 void submit_bio_noacct_nocheck(struct bio *bio)
 {
+	blk_cgroup_bio_start(bio);
+	blkcg_bio_issue_init(bio);
+
+	if (!bio_flagged(bio, BIO_TRACE_COMPLETION)) {
+		trace_block_bio_queue(bio);
+		/*
+		 * Now that enqueuing has been traced, we need to trace
+		 * completion as well.
+		 */
+		bio_set_flag(bio, BIO_TRACE_COMPLETION);
+	}
+
 	/*
 	 * We only want one ->submit_bio to be active at a time, else stack
 	 * usage with stacked devices could be a problem.  Use current->bio_list
@@ -788,17 +800,6 @@ void submit_bio_noacct(struct bio *bio)
 
 	if (blk_throtl_bio(bio))
 		return;
-
-	blk_cgroup_bio_start(bio);
-	blkcg_bio_issue_init(bio);
-
-	if (!bio_flagged(bio, BIO_TRACE_COMPLETION)) {
-		trace_block_bio_queue(bio);
-		/* Now that enqueuing has been traced, we need to trace
-		 * completion as well.
-		 */
-		bio_set_flag(bio, BIO_TRACE_COMPLETION);
-	}
 	submit_bio_noacct_nocheck(bio);
 	return;
 
Signature · 1 line
2.39.2
author maintainer
#130 lore raw

PATCH 130/1001 block: bio-integrity: Copy flags when bio_integrity_payload is cloned

In reply to Greg Kroah-Hartman

From: Martin K. Petersen <[email protected]>

[ Upstream commit b6a4bdcda430e3ca43bbb9cb1d4d4d34ebe15c40 ]

Make sure to copy the flags when a bio_integrity_payload is cloned. Otherwise per-I/O properties such as IP checksum flag will not be passed down to the HBA driver. Since the integrity buffer is owned by the original bio, the BIP_BLOCK_INTEGRITY flag needs to be masked off to avoid a double free in the completion path.

Fixes aae7df50190a ("block: Integrity checksum flag")
Fixes b1f01388574c ("block: Relocate bio integrity flags")
---
 block/bio-integrity.c | 1 +
 1 file changed, 1 insertion(+)
block/bio-integrity.c +1 -0
index 3f5685c00e360..91ffee6fc8cb4 100644
@@ -418,6 +418,7 @@ int bio_integrity_clone(struct bio *bio, struct bio *bio_src,
 
 	bip->bip_vcnt = bip_src->bip_vcnt;
 	bip->bip_iter = bip_src->bip_iter;
+	bip->bip_flags = bip_src->bip_flags & ~BIP_BLOCK_INTEGRITY;
 
 	return 0;
 }
Signature · 1 line
2.39.2
author maintainer
#131 lore raw

PATCH 131/1001 block: use proper return value from bio_failfast()

In reply to Greg Kroah-Hartman

From: Jens Axboe <[email protected]>

[ Upstream commit f3ca73862453ac1e64fc6968a14bf66d839cd2d8 ]

kernel test robot complains about a type mismatch:

block/blk-merge.c:984:42: sparse: expected restricted blk_opf_t const [usertype] ff
block/blk-merge.c:984:42: sparse: got unsigned int
block/blk-merge.c:1010:42: sparse: sparse: incorrect type in initializer (different base types) @@ expected restricted blk_opf_t const [usertype] ff @@ got unsigned int @@
block/blk-merge.c:1010:42: sparse: expected restricted blk_opf_t const [usertype] ff
block/blk-merge.c:1010:42: sparse: got unsigned int

because bio_failfast() is return an unsigned int rather than the appropriate blk_opt_f type. Fix it up.

Fixes 3ce6a115980c ("block: sync mixed merged request's failfast with 1st bio's")
---
 block/blk-merge.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
block/blk-merge.c +1 -1
index 30e4a99c2276b..808b58129d3e4 100644
@@ -757,7 +757,7 @@ void blk_rq_set_mixed_merge(struct request *rq)
 	rq->rq_flags |= RQF_MIXED_MERGE;
 }
 
-static inline unsigned int bio_failfast(const struct bio *bio)
+static inline blk_opf_t bio_failfast(const struct bio *bio)
 {
 	if (bio->bi_opf & REQ_RAHEAD)
 		return REQ_FAILFAST_MASK;
Signature · 1 line
2.39.2
author maintainer
#132 lore raw

PATCH 132/1001 wifi: mt76: mt7915: add missing of_node_put()

In reply to Greg Kroah-Hartman

From: Wang Yufen <[email protected]>

[ Upstream commit 18425d7d74c5be88b13b970a21e52e2498abf4ba ]

Add missing of_node_put() after of_reserved_mem_lookup()

Fixes 99ad32a4ca3a ("mt76: mt7915: add support for MT7986")
---
 drivers/net/wireless/mediatek/mt76/mt7915/soc.c | 1 +
 1 file changed, 1 insertion(+)
drivers/net/wireless/mediatek/mt76/mt7915/soc.c +1 -0
index c06c56a0270d6..686c9bbd59293 100644
@@ -278,6 +278,7 @@ static int mt7986_wmac_coninfra_setup(struct mt7915_dev *dev)
 		return -EINVAL;
 
 	rmem = of_reserved_mem_lookup(np);
+	of_node_put(np);
 	if (!rmem)
 		return -EINVAL;
 
Signature · 1 line
2.39.2
author maintainer
#133 lore raw

PATCH 133/1001 wifi: mt76: mt7921s: fix slab-out-of-bounds access in sdio host

In reply to Greg Kroah-Hartman

From: Deren Wu <[email protected]>

[ Upstream commit aec4cf2ea0797e28f18f8dbe01943a56d987fe56 ]

SDIO may need addtional 511 bytes to align bus operation. If the tailroom of this skb is not big enough, we would access invalid memory region. For low level operation, increase skb size to keep valid memory access in SDIO host.

Error message:

[69.951] BUG: KASAN: slab-out-of-bounds in sg_copy_buffer+0xe9/0x1a0
[69.951] Read of size 64 at addr ffff88811c9cf000 by task kworker/u16:7/451
[69.951] CPU: 4 PID: 451 Comm: kworker/u16:7 Tainted: G W  OE  6.1.0-rc5 #1
[69.951] Workqueue: kvub300c vub300_cmndwork_thread [vub300]
[69.951] Call Trace:
[69.951]  <TASK>
[69.952]  dump_stack_lvl+0x49/0x63
[69.952]  print_report+0x171/0x4a8
[69.952]  kasan_report+0xb4/0x130
[69.952]  kasan_check_range+0x149/0x1e0
[69.952]  memcpy+0x24/0x70
[69.952]  sg_copy_buffer+0xe9/0x1a0
[69.952]  sg_copy_to_buffer+0x12/0x20
[69.952]  __command_write_data.isra.0+0x23c/0xbf0 [vub300]
[69.952]  vub300_cmndwork_thread+0x17f3/0x58b0 [vub300]
[69.952]  process_one_work+0x7ee/0x1320
[69.952]  worker_thread+0x53c/0x1240
[69.952]  kthread+0x2b8/0x370
[69.952]  ret_from_fork+0x1f/0x30
[69.952]  </TASK>
[69.952] Allocated by task 854:
[69.952]  kasan_save_stack+0x26/0x50
[69.952]  kasan_set_track+0x25/0x30
[69.952]  kasan_save_alloc_info+0x1b/0x30
[69.952]  __kasan_kmalloc+0x87/0xa0
[69.952]  __kmalloc_node_track_caller+0x63/0x150
[69.952]  kmalloc_reserve+0x31/0xd0
[69.952]  __alloc_skb+0xfc/0x2b0
[69.952]  __mt76_mcu_msg_alloc+0xbf/0x230 [mt76]
[69.952]  mt76_mcu_send_and_get_msg+0xab/0x110 [mt76]
[69.952]  __mt76_mcu_send_firmware.cold+0x94/0x15d [mt76]
[69.952]  mt76_connac_mcu_send_ram_firmware+0x415/0x54d [mt76_connac_lib]
[69.952]  mt76_connac2_load_ram.cold+0x118/0x4bc [mt76_connac_lib]
[69.952]  mt7921_run_firmware.cold+0x2e9/0x405 [mt7921_common]
[69.952]  mt7921s_mcu_init+0x45/0x80 [mt7921s]
[69.953]  mt7921_init_work+0xe1/0x2a0 [mt7921_common]
[69.953]  process_one_work+0x7ee/0x1320
[69.953]  worker_thread+0x53c/0x1240
[69.953]  kthread+0x2b8/0x370
[69.953]  ret_from_fork+0x1f/0x30
[69.953] The buggy address belongs to the object at ffff88811c9ce800
             which belongs to the cache kmalloc-2k of size 2048
[69.953] The buggy address is located 0 bytes to the right of
             2048-byte region [ffff88811c9ce800, ffff88811c9cf000)
[69.953] Memory state around the buggy address:
[69.953]  ffff88811c9cef00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[69.953]  ffff88811c9cef80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[69.953] >ffff88811c9cf000: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[69.953]                    ^
[69.953]  ffff88811c9cf080: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
[69.953]  ffff88811c9cf100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
Fixes 764dee47e2c1 ("mt76: sdio: move common code in mt76_sdio module")
---
 drivers/net/wireless/mediatek/mt76/sdio_txrx.c | 4 ++++
 1 file changed, 4 insertions(+)
drivers/net/wireless/mediatek/mt76/sdio_txrx.c +4 -0
index bfc4de50a4d23..ddd8c0cc744df 100644
@@ -254,6 +254,10 @@ static int mt76s_tx_run_queue(struct mt76_dev *dev, struct mt76_queue *q)
 
 		if (!test_bit(MT76_STATE_MCU_RUNNING, &dev->phy.state)) {
 			__skb_put_zero(e->skb, 4);
+			err = __skb_grow(e->skb, roundup(e->skb->len,
+							 sdio->func->cur_blksize));
+			if (err)
+				return err;
 			err = __mt76s_xmit_queue(dev, e->skb->data,
 						 e->skb->len);
 			if (err)
Signature · 1 line
2.39.2
author maintainer
#134 lore raw

PATCH 134/1001 wifi: mt76: mt7915: fix mt7915_rate_txpower_get() resource leaks

In reply to Greg Kroah-Hartman

From: Ryder Lee <[email protected]>

[ Upstream commit 8b25301af01566f4b5a301fc1ad7c5d2b1788d7f ]

Coverity message: variable "buf" going out of scope leaks the storage.

Addresses-Coverity-ID: 1527799 ("Resource leaks")

Fixes e3296759f347 ("wifi: mt76: mt7915: enable per bandwidth power limit support")
---
 drivers/net/wireless/mediatek/mt76/mt7915/debugfs.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/net/wireless/mediatek/mt76/mt7915/debugfs.c +3 -1
index fb46c2c1784f2..a7fdcd1f3d988 100644
@@ -996,7 +996,7 @@ mt7915_rate_txpower_get(struct file *file, char __user *user_buf,
 
 	ret = mt7915_mcu_get_txpower_sku(phy, txpwr, sizeof(txpwr));
 	if (ret)
-		return ret;
+		goto out;
 
 	/* Txpower propagation path: TMAC -> TXV -> BBP */
 	len += scnprintf(buf + len, sz - len,
@@ -1047,6 +1047,8 @@ mt7915_rate_txpower_get(struct file *file, char __user *user_buf,
 			 mt76_get_field(dev, reg, MT_WF_PHY_TPC_POWER));
 
 	ret = simple_read_from_buffer(user_buf, count, ppos, buf, len);
+
+out:
 	kfree(buf);
 	return ret;
 }
Signature · 1 line
2.39.2
author maintainer
#135 lore raw

PATCH 135/1001 wifi: mt76: mt7996: fix insecure data handling of mt7996_mcu_ie_countdown()

In reply to Greg Kroah-Hartman

From: Ryder Lee <[email protected]>

[ Upstream commit 5202b983f9894d31110e49c4ec6b57955b5eaa1a ]

Coverity message:
using tainted "hdr->band" variable as an index into an array "(*dev).mt76.phys".

Addresses-Coverity-ID: 1527797 ("Insecure data handling")

Fixes 98686cd21624 ("wifi: mt76: mt7996: add driver for MediaTek Wi-Fi 7 (802.11be) devices")
---
 drivers/net/wireless/mediatek/mt76/mt7996/mcu.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/net/wireless/mediatek/mt76/mt7996/mcu.c +3 -0
index 04e1d10bbd21e..a90b7ca2df63c 100644
@@ -412,6 +412,9 @@ mt7996_mcu_ie_countdown(struct mt7996_dev *dev, struct sk_buff *skb)
 	struct header *hdr = (struct header *)data;
 	struct tlv *tlv = (struct tlv *)(data + 4);
 
+	if (hdr->band >= ARRAY_SIZE(dev->mt76.phys))
+		return;
+
 	if (hdr->band && dev->mt76.phys[hdr->band])
 		mphy = dev->mt76.phys[hdr->band];
 
Signature · 1 line
2.39.2
author maintainer
#136 lore raw

PATCH 136/1001 wifi: mt76: mt7996: fix insecure data handling of mt7996_mcu_rx_radar_detected()

In reply to Greg Kroah-Hartman

From: Ryder Lee <[email protected]>

[ Upstream commit f37c6e5c75029443bc72c45acf92b2f2de2945be ]

Coverity message:
using tainted "r->band_idx" variable as an index into an array "(*dev).mt76.phys".

Addresses-Coverity-ID: 1527812 ("Insecure data handling")

Fixes 98686cd21624 ("wifi: mt76: mt7996: add driver for MediaTek Wi-Fi 7 (802.11be) devices")
---
 drivers/net/wireless/mediatek/mt76/mt7996/mcu.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/net/wireless/mediatek/mt76/mt7996/mcu.c +3 -0
index a90b7ca2df63c..efb245c8ac840 100644
@@ -335,6 +335,9 @@ mt7996_mcu_rx_radar_detected(struct mt7996_dev *dev, struct sk_buff *skb)
 
 	r = (struct mt7996_mcu_rdd_report *)skb->data;
 
+	if (r->band_idx >= ARRAY_SIZE(dev->mt76.phys))
+		return;
+
 	mphy = dev->mt76.phys[r->band_idx];
 	if (!mphy)
 		return;
Signature · 1 line
2.39.2
author maintainer
#137 lore raw

PATCH 137/1001 wifi: mt76: mt7996: fix integer handling issue of mt7996_rf_regval_set()

In reply to Greg Kroah-Hartman

From: Ryder Lee <[email protected]>

[ Upstream commit aab169ad3a7aa8678aed90d7fdbc243e3d4b32a6 ]

This code is supposed to set a u32 value, but casting will not work on big endian systems.

Addresses-Coverity-ID: 1527816 ("Integer handling issues")

Fixes 98686cd21624 ("wifi: mt76: mt7996: add driver for MediaTek Wi-Fi 7 (802.11be) devices")
---
 drivers/net/wireless/mediatek/mt76/mt7996/debugfs.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/net/wireless/mediatek/mt76/mt7996/debugfs.c +2 -1
index 2e4a8909b9e80..99b23aef53a50 100644
@@ -653,8 +653,9 @@ static int
 mt7996_rf_regval_set(void *data, u64 val)
 {
 	struct mt7996_dev *dev = data;
+	u32 val32 = val;
 
-	return mt7996_mcu_rf_regval(dev, dev->mt76.debugfs_reg, (u32 *)&val, true);
+	return mt7996_mcu_rf_regval(dev, dev->mt76.debugfs_reg, &val32, true);
 }
 
 DEFINE_DEBUGFS_ATTRIBUTE(fops_rf_regval, mt7996_rf_regval_get,
Signature · 1 line
2.39.2
author maintainer
#138 lore raw

PATCH 138/1001 wifi: mt76: mt7915: check return value before accessing free_block_num

In reply to Greg Kroah-Hartman

From: Ryder Lee <[email protected]>

[ Upstream commit 59b27a7d472f100ac8998e15a63c47a03cced12a ]

Check return value of mt7915_mcu_get_eeprom_free_block() first before accessing free_block_num.

Fixes bbc1d4154ec1 ("mt76: mt7915: add default calibrated data support")
---
 .../wireless/mediatek/mt76/mt7915/eeprom.c    | 19 ++++++++++++-------
 .../net/wireless/mediatek/mt76/mt7915/mcu.c   | 10 ++++++----
 2 files changed, 18 insertions(+), 11 deletions(-)
drivers/net/wireless/mediatek/mt76/mt7915/eeprom.c +12 -7
index 59069fb864147..24efa280dd868 100644
@@ -110,18 +110,23 @@ static int mt7915_eeprom_load(struct mt7915_dev *dev)
 	} else {
 		u8 free_block_num;
 		u32 block_num, i;
+		u32 eeprom_blk_size = MT7915_EEPROM_BLOCK_SIZE;
 
-		mt7915_mcu_get_eeprom_free_block(dev, &free_block_num);
-		/* efuse info not enough */
+		ret = mt7915_mcu_get_eeprom_free_block(dev, &free_block_num);
+		if (ret < 0)
+			return ret;
+
+		/* efuse info isn't enough */
 		if (free_block_num >= 29)
 			return -EINVAL;
 
 		/* read eeprom data from efuse */
-		block_num = DIV_ROUND_UP(eeprom_size,
-					 MT7915_EEPROM_BLOCK_SIZE);
-		for (i = 0; i < block_num; i++)
-			mt7915_mcu_get_eeprom(dev,
-					      i * MT7915_EEPROM_BLOCK_SIZE);
+		block_num = DIV_ROUND_UP(eeprom_size, eeprom_blk_size);
+		for (i = 0; i < block_num; i++) {
+			ret = mt7915_mcu_get_eeprom(dev, i * eeprom_blk_size);
+			if (ret < 0)
+				return ret;
+		}
 	}
 
 	return mt7915_check_eeprom(dev);
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c +6 -4
index b2652de082baa..d9d6846ba8e02 100644
@@ -2792,8 +2792,9 @@ int mt7915_mcu_get_eeprom(struct mt7915_dev *dev, u32 offset)
 	int ret;
 	u8 *buf;
 
-	ret = mt76_mcu_send_and_get_msg(&dev->mt76, MCU_EXT_QUERY(EFUSE_ACCESS), &req,
-				sizeof(req), true, &skb);
+	ret = mt76_mcu_send_and_get_msg(&dev->mt76,
+					MCU_EXT_QUERY(EFUSE_ACCESS),
+					&req, sizeof(req), true, &skb);
 	if (ret)
 		return ret;
 
@@ -2818,8 +2819,9 @@ int mt7915_mcu_get_eeprom_free_block(struct mt7915_dev *dev, u8 *block_num)
 	struct sk_buff *skb;
 	int ret;
 
-	ret = mt76_mcu_send_and_get_msg(&dev->mt76, MCU_EXT_QUERY(EFUSE_FREE_BLOCK), &req,
-					sizeof(req), true, &skb);
+	ret = mt76_mcu_send_and_get_msg(&dev->mt76,
+					MCU_EXT_QUERY(EFUSE_FREE_BLOCK),
+					&req, sizeof(req), true, &skb);
 	if (ret)
 		return ret;
 
Signature · 1 line
2.39.2
author maintainer
#121 lore raw

PATCH 121/1001 sched/rt: pick_next_rt_entity(): check list_entry

In reply to Greg Kroah-Hartman

From: Pietro Borrello <[email protected]>

[ Upstream commit 7c4a5b89a0b5a57a64b601775b296abf77a9fe97 ]

Commit 326587b84078 ("sched: fix goto retry in pick_next_task_rt()") removed any path which could make pick_next_rt_entity() return NULL. However, BUG_ON(!rt_se) in _pick_next_task_rt() (the only caller of pick_next_rt_entity()) still checks the error condition, which can never happen, since list_entry() never returns NULL. Remove the BUG_ON check, and instead emit a warning in the only possible error condition here: the queue being empty which should never happen.

---
 kernel/sched/rt.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
kernel/sched/rt.c +4 -1
index ed2a47e4ddaec..0a11f44adee57 100644
@@ -1777,6 +1777,8 @@ static struct sched_rt_entity *pick_next_rt_entity(struct rt_rq *rt_rq)
 	BUG_ON(idx >= MAX_RT_PRIO);
 
 	queue = array->queue + idx;
+	if (SCHED_WARN_ON(list_empty(queue)))
+		return NULL;
 	next = list_entry(queue->next, struct sched_rt_entity, run_list);
 
 	return next;
@@ -1789,7 +1791,8 @@ static struct task_struct *_pick_next_task_rt(struct rq *rq)
 
 	do {
 		rt_se = pick_next_rt_entity(rt_rq);
-		BUG_ON(!rt_se);
+		if (unlikely(!rt_se))
+			return NULL;
 		rt_rq = group_rt_rq(rt_se);
 	} while (rt_rq);
 
Signature · 1 line
2.39.2
author maintainer
#139 lore raw

PATCH 139/1001 wifi: mt76: mt7996: check return value before accessing free_block_num

In reply to Greg Kroah-Hartman

From: Ryder Lee <[email protected]>

[ Upstream commit 783ef7da7a53c7ab98471f47fbabab6cf6f45c8f ]

Check return value of mt7996_mcu_get_eeprom_free_block() first before accessing free_block_num.

Fixes 98686cd21624 ("wifi: mt76: mt7996: add driver for MediaTek Wi-Fi 7 (802.11be) devices")
---
 .../net/wireless/mediatek/mt76/mt7996/eeprom.c | 18 ++++++++++++------
 .../net/wireless/mediatek/mt76/mt7996/mcu.c    |  5 +++--
 2 files changed, 15 insertions(+), 8 deletions(-)
drivers/net/wireless/mediatek/mt76/mt7996/eeprom.c +12 -6
index b9f62bedbc485..5d8e0353627e1 100644
@@ -65,17 +65,23 @@ static int mt7996_eeprom_load(struct mt7996_dev *dev)
 	} else {
 		u8 free_block_num;
 		u32 block_num, i;
+		u32 eeprom_blk_size = MT7996_EEPROM_BLOCK_SIZE;
 
-		/* TODO: check free block event */
-		mt7996_mcu_get_eeprom_free_block(dev, &free_block_num);
-		/* efuse info not enough */
+		ret = mt7996_mcu_get_eeprom_free_block(dev, &free_block_num);
+		if (ret < 0)
+			return ret;
+
+		/* efuse info isn't enough */
 		if (free_block_num >= 59)
 			return -EINVAL;
 
 		/* read eeprom data from efuse */
-		block_num = DIV_ROUND_UP(MT7996_EEPROM_SIZE, MT7996_EEPROM_BLOCK_SIZE);
-		for (i = 0; i < block_num; i++)
-			mt7996_mcu_get_eeprom(dev, i * MT7996_EEPROM_BLOCK_SIZE);
+		block_num = DIV_ROUND_UP(MT7996_EEPROM_SIZE, eeprom_blk_size);
+		for (i = 0; i < block_num; i++) {
+			ret = mt7996_mcu_get_eeprom(dev, i * eeprom_blk_size);
+			if (ret < 0)
+				return ret;
+		}
 	}
 
 	return mt7996_check_eeprom(dev);
drivers/net/wireless/mediatek/mt76/mt7996/mcu.c +3 -2
index efb245c8ac840..da72684e43083 100644
@@ -2927,8 +2927,9 @@ int mt7996_mcu_get_eeprom(struct mt7996_dev *dev, u32 offset)
 	bool valid;
 	int ret;
 
-	ret = mt76_mcu_send_and_get_msg(&dev->mt76, MCU_WM_UNI_CMD_QUERY(EFUSE_CTRL), &req,
-					sizeof(req), true, &skb);
+	ret = mt76_mcu_send_and_get_msg(&dev->mt76,
+					MCU_WM_UNI_CMD_QUERY(EFUSE_CTRL),
+					&req, sizeof(req), true, &skb);
 	if (ret)
 		return ret;
 
Signature · 1 line
2.39.2