From nobody Wed Apr 1 09:45:14 2026 Received: from courrier.aliel.fr (courrier.aliel.fr [65.21.61.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3B2733F23A0; Tue, 31 Mar 2026 14:25:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=65.21.61.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774967104; cv=none; b=OlGH17dj7h5UhgKWEqtomSRtr7caezoAkUJOZRibxGNfWRPQurFjQX9zzQWLPauZl6TlDvaD5XcS24ZViT5rgbIV7Mf3y/pVdvi8LuViuGmam0SiBAE6FaEs7mIpmrLjV0H+1IS1xw7NyRD6HvsSg4g6Y1IoO4J4mQU+D4SDVjw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774967104; c=relaxed/simple; bh=GOlKayIfpiCQcbj9a8oH1jhKbUMrxZqheip0PnNf7HQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=A03f5XIUSDuiVnb8kGlyo9TyBWLXIKhoLh6lfoFpo6eMLkk7JtzkM3S1+74/vv98vJuHggDgfsnXfj+rdbtV3FPshZ1K55Y8O+KPHvYozHtuTgdV/ok1sISJOak8+m5JpeJjhSsIeheaIWcjsphvtDQj+hFJ+fnnq2u3hE6ZxFo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=aliel.fr; spf=pass smtp.mailfrom=aliel.fr; dkim=pass (1024-bit key) header.d=aliel.fr header.i=@aliel.fr header.b=DjyaRurN; arc=none smtp.client-ip=65.21.61.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=aliel.fr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=aliel.fr Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=aliel.fr header.i=@aliel.fr header.b="DjyaRurN" From: Ronald Claveau DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aliel.fr; s=courrier-s1; t=1774967094; bh=GOlKayIfpiCQcbj9a8oH1jhKbUMrxZqheip0PnNf7HQ=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=DjyaRurNKDYmZ4fe9ZPUwOVIe3Uj91gDLzPeptrW5WRl4NFUP48AW17h8BGjfCk44 8KgG+UCktBVpZSwYZvrd56LxcfgzxxEI6DVHgtZButLE0O1aOoJfuvTS2X2ryd6lbb 0oFv/1yy+gse+inDss/V/VOoS+XM/KzAzI8kes6w= Date: Tue, 31 Mar 2026 16:24:04 +0200 Subject: [PATCH 1/2] reset: amlogic: t7: Fix null reset ops Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260331-fix-aml-t7-null-reset-v1-1-eb95b625234c@aliel.fr> References: <20260331-fix-aml-t7-null-reset-v1-0-eb95b625234c@aliel.fr> In-Reply-To: <20260331-fix-aml-t7-null-reset-v1-0-eb95b625234c@aliel.fr> To: Philipp Zabel , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Ronald Claveau X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=openssh-sha256; t=1774967093; l=734; i=linux-kernel-dev@aliel.fr; s=id_ed25519; h=from:subject:message-id; bh=GOlKayIfpiCQcbj9a8oH1jhKbUMrxZqheip0PnNf7HQ=; b=U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgMGec55oxeeisqykQiUedekMYyOnR9 BG9E/7rDWyqdNoAAAAGcGF0YXR0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5AAAA QP872jP+le9oZQM63fOc8yNc3HeX8VBIpWZXvK7i0uhJZYsCtqYHh2YKRmsDO/P+ussk4lRZSid T5aYFgmO2Wwo= X-Developer-Key: i=linux-kernel-dev@aliel.fr; a=openssh; fpr=SHA256:kch4osYZ6A1BrPps5AUs6KnfdE2wm4ocMtyTc8TmZMs Fix missing reset ops causing kernel null pointer dereference. This SOC's reset is currently not used yet. Signed-off-by: Ronald Claveau Reviewed-by: Philipp Zabel --- drivers/reset/amlogic/reset-meson.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/reset/amlogic/reset-meson.c b/drivers/reset/amlogic/re= set-meson.c index 84610365a823c..c303e8590dd68 100644 --- a/drivers/reset/amlogic/reset-meson.c +++ b/drivers/reset/amlogic/reset-meson.c @@ -42,6 +42,7 @@ static const struct meson_reset_param meson_s4_param =3D { }; =20 static const struct meson_reset_param t7_param =3D { + .reset_ops =3D &meson_reset_ops, .reset_num =3D 224, .reset_offset =3D 0x0, .level_offset =3D 0x40, --=20 2.49.0 From nobody Wed Apr 1 09:45:14 2026 Received: from courrier.aliel.fr (courrier.aliel.fr [65.21.61.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 400013FB055; Tue, 31 Mar 2026 14:25:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=65.21.61.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774967105; cv=none; b=p73keSCY9BzJmrVafpSf8VW+zW3iTOig0SBixpuYYfGUdbl9i92B+HFHleO1gImi4SqsSWYqUgX9jdbx+t2Rv15KusMdj6CYRTLJbTFxMh56w2hMRYD1lf7vlk0wErXmNC2LermUYHPOZxA0IC53BscJc7aC0OcDwswNFoXZ8R8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774967105; c=relaxed/simple; bh=qxFJoJrGjwGTRee41XbDZD3ZEy53tTIFlBC7/ii6Ca4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=or7j/pgoDu+JFNzMXjZGhdXtdsCaUEdToFuVyiyvDRYdLy2NMpQhzv6nRFkB2tIuKeZaIMAW3yQ079tEnjktd1UFNwq9nz3u/R+xX5V5iSq7RPenxYfJrt6xJEdRjcZOGTyZKB/9GQAqtDELTeQ9qNDuLgBdqD5snstuXaaIIq8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=aliel.fr; spf=pass smtp.mailfrom=aliel.fr; dkim=pass (1024-bit key) header.d=aliel.fr header.i=@aliel.fr header.b=a0bZEJnp; arc=none smtp.client-ip=65.21.61.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=aliel.fr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=aliel.fr Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=aliel.fr header.i=@aliel.fr header.b="a0bZEJnp" From: Ronald Claveau DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aliel.fr; s=courrier-s1; t=1774967095; bh=qxFJoJrGjwGTRee41XbDZD3ZEy53tTIFlBC7/ii6Ca4=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=a0bZEJnpqeyKwOWOkSPeSi4pxe5mTrY6EpukajDGCWdWkauJy8OSI4v+YdYIXvEtQ feBpiHZPWWNP2FO6XJYZINfn99xKEa1dF3BRDut9OPHd2aOWarrujIP5UZZg9cplVx PLcUpscbF0nSC8MiFyR2DEGphqBmk8TUi1OZ0btU= Date: Tue, 31 Mar 2026 16:24:05 +0200 Subject: [PATCH 2/2] arm64: dts: amlogic: t7: Fix missing required reset property Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260331-fix-aml-t7-null-reset-v1-2-eb95b625234c@aliel.fr> References: <20260331-fix-aml-t7-null-reset-v1-0-eb95b625234c@aliel.fr> In-Reply-To: <20260331-fix-aml-t7-null-reset-v1-0-eb95b625234c@aliel.fr> To: Philipp Zabel , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Ronald Claveau X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=openssh-sha256; t=1774967093; l=1561; i=linux-kernel-dev@aliel.fr; s=id_ed25519; h=from:subject:message-id; bh=qxFJoJrGjwGTRee41XbDZD3ZEy53tTIFlBC7/ii6Ca4=; b=U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgMGec55oxeeisqykQiUedekMYyOnR9 BG9E/7rDWyqdNoAAAAGcGF0YXR0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5AAAA QCU4/Wz8ZteqVRTInB1DatMXwUnzpYxTf+Mh7GPkDkaMVHRrsViO/qJt3PtEoSYeXtPCurOZydp xH1XiXwnXfAo= X-Developer-Key: i=linux-kernel-dev@aliel.fr; a=openssh; fpr=SHA256:kch4osYZ6A1BrPps5AUs6KnfdE2wm4ocMtyTc8TmZMs CHECK_DTBS shows missing reset required property in T7 DTBS. A new CHECK_DTBS with this patch does not show this anymore. Signed-off-by: Ronald Claveau --- arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi b/arch/arm64/boot/= dts/amlogic/amlogic-t7.dtsi index 02a303d4ec39d..5069f29d2fbb7 100644 --- a/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi +++ b/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi @@ -582,6 +582,7 @@ sd_emmc_a: mmc@88000 { <&clkc_periphs CLKID_SD_EMMC_A>, <&scmi_clk CLKID_FCLK_DIV2>; clock-names =3D "core", "clkin0", "clkin1"; + resets =3D <&reset RESET_SD_EMMC_A>; assigned-clocks =3D <&clkc_periphs CLKID_SD_EMMC_A_SEL>; assigned-clock-parents =3D <&xtal>; status =3D "disabled"; @@ -595,6 +596,7 @@ sd_emmc_b: mmc@8a000 { <&clkc_periphs CLKID_SD_EMMC_B>, <&scmi_clk CLKID_FCLK_DIV2>; clock-names =3D "core", "clkin0", "clkin1"; + resets =3D <&reset RESET_SD_EMMC_B>; assigned-clocks =3D <&clkc_periphs CLKID_SD_EMMC_B_SEL>; assigned-clock-parents =3D <&xtal>; status =3D "disabled"; @@ -608,6 +610,7 @@ sd_emmc_c: mmc@8c000 { <&clkc_periphs CLKID_SD_EMMC_C>, <&scmi_clk CLKID_FCLK_DIV2>; clock-names =3D "core", "clkin0", "clkin1"; + resets =3D <&reset RESET_SD_EMMC_C>; assigned-clocks =3D <&clkc_periphs CLKID_SD_EMMC_C_SEL>; assigned-clock-parents =3D <&xtal>; status =3D "disabled"; --=20 2.49.0