From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796538107; b=Dy5Abe2zVS2d2WJWKqQyZka4RxvH5ecuDew8lmqoJnZH5FFeq0Tv7OAUh9C2HgPx3Yvk oHIy1abDPLID+XlA7ps1D5jycywLtgWF/tkTLxfxmXRcJW70+Ef18jIn+3UfG7EloK1BC l4OQ5URIqfSXmtH4etLAaqYNe304PECuBJuxZqd3YB4JV0GchYmJDMx9nBqlbansF0yP4 94iBcG152T3+eX/lfq2A8N8Ab/xfv8nhdjZsW4LuPF9O9SToT1kdcwS2EuZHN3SDj87o9 MZF4se9JuFGfDr8YcC+pBFhPhXBisv/up7ssF2Vs8Jf//JYVR8iDSJ43vbHmE+dvgfg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796538107; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=x0vjwvE0nP9sBF/1ez5p6xtr5XUue4hYc8ZObYXQOtI=; b=XbuiOJ7cfNLp2+hZtmzXvEI9qH617TtEm3Znxh0H2MxTYh1g/5/jsuEa1fIu10l0Z6eL fZ5LsXsqIygzzFWILUDdF/S8ZjlzoBLfnIFOsHFMxucQMwzR6t10stK7ccq3kYeb3bV7a d1MjhQoobjCGZgdQnREBptEKKvnozAoNcoZNT/h582hX3c5NMQy8qPWP0l0X0ife7l0mQ TNP1qCXsrhzq7pJiN9sBNRxoUc+jRKge6Us60pQ0mcfVYMTYapxaR8H4g/T0FJgqQAFLe pLQtsz66GymYHFIwEQsPuaXpC+lU/K/DCnoGOSk5qCU8eP5QY5c7HZX6YX1ApTEwsfg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=eLjcpUtE; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 50B7C606A31F for ; Sun, 6 Dec 2026 06:21:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=eLjcpUtE Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6A7E21F0092B; Sun, 6 Dec 2026 06:21:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796538107; bh=x0vjwvE0nP9sBF/1ez5p6xtr5XUue4hYc8ZObYXQOtI=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=eLjcpUtEf6LQ/vetzo9VOfHA1DUj6IvwSq4NxthSBtWtTnOMl1BDIn1vjXkvNsLgg pON2+s7MHFcdyRnX7c0+47sh0Qr50ZkKGtOu/tE9mGh/uMUKEb2flIT63oqhmpeiDj tG/fPLW8AsarFUEZ+AEUsoVaYXJ9qjujDwLSwjipYqzh7mDDl/RKUTw1R83kOnv6SW j2j/vesUffpvFij21Y/g1+Po6pxrAMMk9J3R6TfmscLQHsXOQ44qPbkRpiJ4691wJ2 +C+2nymMYwiTLuTmPjb4F15SVbFY4TNiIO87ypHh9ojbO+UVB3P1jmcFclWSr7OJRf WooMnUbYKdqZw== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v4 14/18] arm64: dts: rockchip: Add the reset lines of the RK3588 AV1 IOMMU Reply-To: sashiko-reviews@lists.linux.dev To: "Arun Iyengar" Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org, media-ci@linuxtv.org In-Reply-To: <20261206-hantro-robust-v4-14-b99d33a5ec6d@gmail.com> References: <20261206-hantro-robust-v4-0-b99d33a5ec6d@gmail.com> <20261206-hantro-robust-v4-14-b99d33a5ec6d@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Sun, 06 Dec 2026 06:21:40 +0000 X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Medium] arm64: dts: rockchip: shared AV1 resets race without EBUSY deferral in probe -- commit 3f6ec41e4fd112ee4560a8e6441836d00641d43d Author: Arun Iyengar arm64: dts: rockchip: Add the reset lines of the RK3588 AV1 IOMMU This commit adds the four shared AV1 reset lines to the RK3588 AV1 IOMMU device tree node. > diff --git a/arch/arm64/boot/dts/rockchip/rk3588-base.dtsi b/arch/arm64/b= oot/dts/rockchip/rk3588-base.dtsi > index 227465d446a29..96898fefe8401 100644 > --- a/arch/arm64/boot/dts/rockchip/rk3588-base.dtsi > +++ b/arch/arm64/boot/dts/rockchip/rk3588-base.dtsi > @@ -1491,6 +1491,8 @@ av1d_mmu: iommu@fdca0000 { > clock-names =3D "core", "iface"; > #iommu-cells =3D <0>; > power-domains =3D <&power RK3588_PD_AV1>; > + resets =3D <&cru SRST_A_AV1>, <&cru SRST_A_AV1_BIU>, > + <&cru SRST_P_AV1>, <&cru SRST_P_AV1_BIU>; > }; > =20 > vicap: video-capture@fdce0000 { [Severity: Medium] Can sharing these four AV1 resets between av1d_mmu and av1d cause vsi_iommu_probe() or hantro_probe() to fail permanently with -EBUSY? Because of_supplier_bindings marks iommus as an optional fw_devlink supplier, no device link orders av1d behind av1d_mmu by default. Once deferred_probe_timeout expires (or is 0), of_dma_configure_id() ignores -ETIMEDOUT from of_iommu_configure() and lets both probes run together: CPU0 CPU1 vsi_iommu_probe() hantro_probe() reset_control_acquire(resets) reset_control_acquire(vpu->resets) <-- returns -EBUSY, probe fails reset_control_release(resets) reset_control_acquire() returns -EBUSY immediately when another consumer holds the reset, and neither probe retries or returns -EPROBE_DEFER. A failed av1d_mmu probe also cannot be rebound via sysfs because rockchip_vsi_iommu_driver sets suppress_bind_attrs. Should vsi_iommu_probe() and hantro_probe() convert -EBUSY from reset_control_acquire() to -EPROBE_DEFER (or retry)? --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261206-hantro-rob= ust-v4-0-b99d33a5ec6d@gmail.com?part=3D14