From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 5047538886C for ; Sat, 12 Sep 2026 07:02:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789196572; cv=none; b=KBZCUpQpMJoq3lQl7S1v4gpBAl6UUEc+owMIf/wcusby38elIrqfKj8V1RJUPtA/tE5LNdttu8j3WIWy3ol43IuzXNg8ApjzMkesjdYGEzkplzenycNzvQWbqCKdUpQoRtDpbfUlsFlr5aJ9r4e1H0LCVYvKLZ0EShVMKyNvrdg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789196572; c=relaxed/simple; bh=w24csZahL9KaZjUiVR5Rjg6/4JU2g5Ptm3f5hlkEM20=; h=From:Subject:To:Cc:In-Reply-To:References:Content-Type:Date: Message-Id; b=PmfZe9hkwxQQZmuJx6CpM1jBskx620Oqv5tr5xaSXf49qJfmlhatN0IEGd9YpKnp9Vxns8sqRhp3RJkFIj6gPLb40J/I2zFuBB/LC3vsUfLr/P6/XbXSH2kWXsiLcejHf51ORthNuVXh8kU7mt50BauipuL2p6scdafRN0gd93A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=LxGJsAHr; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="LxGJsAHr" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8C4201F000FF; Sat, 12 Sep 2026 07:02:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1789196570; bh=LmrPmsYp6MSL7jNbxOBz/TwjFifdaJKw/HSV7epDhY4=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=LxGJsAHr/pdnpEl4b3dKvhCoRaIx3mPBOXblGI8lWUOUq0D68YuFSF0sJfEI3IUIP JYYS0mjaJOmzlZsrRw8P+CtzqCJbBeRjNOBBXeLDVvwUybi9yUWWu3Jcl5XFfhQqdf +TahE/iP1f9pMMXH/+SSAMXjyswhv7TkW2ibloIANKhtLF1XyVEAFU0WJnS8fRdFtt AZ8NrifKSvIK7x+lTgv6YkCDM+WAOmFjMwotIV987kq5OXXvkjHt77wB0FNklA7kHI zXe5EtmdYwBVce4HBIiQuhU4P1fKj9VWWWl3Wk4eLXE54bd0f/sXuHOSAJ9TXfh7Vl XfILx7fs0cPiQ== From: sashiko-bot@kernel.org Subject: Re: [PATCH v12 08/14] dt-bindings: iommu: rockchip: describe the RK3576 NPU MMU Reply-To: sashiko-reviews@lists.linux.dev To: "Jiaxing Hu" Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org, dri-devel@lists.freedesktop.org In-Reply-To: <20260912065053.1519165-9-gahing@gahingwoo.com> References: <20260912065053.1519165-1-gahing@gahingwoo.com> <20260912065053.1519165-9-gahing@gahingwoo.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Sat, 12 Sep 2026 07:02:50 +0000 Message-Id: <20260912070250.8C4201F000FF@smtp.kernel.org> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Thank you for your contribution! Sashiko AI review found 1 potential issue(= s) to consider: - [High] The `rockchip,rk3568-iommu` fallback compatible string is invalid = for `rockchip,rk3576-npu-iommu` because older OS drivers binding to the fal= lback will only enable 2 clocks, causing device failure. -- commit 0d5ec29abf5273f66b488bef225aa90e06766258 Author: Jiaxing Hu dt-bindings: iommu: rockchip: describe the RK3576 NPU MMU The RK3576 NPU MMUs are rk3568-iommu compatible but take five clocks where every other Rockchip MMU takes two, the extra three being the compute clock and the two convolution buffer clocks. > diff --git a/Documentation/devicetree/bindings/iommu/rockchip,iommu.yaml = b/Documentation/devicetree/bindings/iommu/rockchip,iommu.yaml > index 6ce41d11ff5e5..83d7e7c8e0c22 100644 > --- a/Documentation/devicetree/bindings/iommu/rockchip,iommu.yaml > +++ b/Documentation/devicetree/bindings/iommu/rockchip,iommu.yaml > @@ -26,6 +26,7 @@ properties: > - items: > - enum: > - rockchip,rk3576-iommu > + - rockchip,rk3576-npu-iommu > - rockchip,rk3588-iommu > - const: rockchip,rk3568-iommu [Severity: High] Is rockchip,rk3568-iommu a safe fallback compatible string for rockchip,rk3576-npu-iommu? If an older kernel (e.g., prior to the July 2026 driver update introducing devm_clk_bulk_get_all) boots with an updated device tree, it will bind to t= he rockchip,rk3568-iommu fallback. The older driver hardcodes requests for onl= y 2 clocks (aclk and iface) and leaves the 3 required NPU clocks disabled during register access. On Rockchip SoCs, accessing registers with disabled clocks typically causes= a bus hang or synchronous external abort, panicking the system. Does this violate device tree backward compatibility guarantees? --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20260912065053.1519= 165-1-gahing@gahingwoo.com?part=3D8