From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B3E10C88E53 for ; Sat, 12 Sep 2026 22:49:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=UKR7AwYirl1TWvA7k3dtbtyEMYwTJcDIQzTGNX0GrSc=; b=rdvtaEK1kkrZtV BZQjTGpMhrB/Vt01wTLR6QU7/2B1e1QwS41j0LGTtO15EwUTSUj+x4o6KD3FLO3IEr95q8OOHq45g JswwK0BmbnIqDtx1WY7BF2PNffD2p2lKuzAEcI6dCj3NO0YjlO2bKtqOvJUovIB2h9BUD46g+cPEa uuAQcwMdTh+HAcAibK6Hq4uhnZ4Mze0SiiCCa/+1awjtptkfRCXyGjxtI9RBrEpr169zZhFfMIY7n 8JRqHVx5q202G1MmzSszNGdB9m6retxvnhv36VNSItIXaFJ3vLeSAIqEfD2boVGQu3rjQz8dxtwzv 2Z0Jt6K8+olbeRCuw0hA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1x5WWn-00000001GUY-2Qtz; Sat, 12 Sep 2026 22:48:57 +0000 Received: from flow-b7-smtp.messagingengine.com ([202.12.124.142]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1x5WWk-00000001GU8-3TLE for linux-rockchip@lists.infradead.org; Sat, 12 Sep 2026 22:48:56 +0000 Received: from phl-compute-06.internal (phl-compute-06.internal [10.202.2.46]) by mailflow.stl.internal (Postfix) with ESMTP id 418E1130018E; Sat, 12 Sep 2026 18:48:51 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-06.internal (MEProxy); Sat, 12 Sep 2026 18:48:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gahingwoo.com; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=fm2; t=1789253331; x=1789260531; bh=u5dfeX5ow+93ybPmJekOrvP+a0/Wlwh9 Ypost/1YCcY=; b=agLK272u15g39JFhQoLzVwxfh7hNTca2Jsf0SQH9DDi+2sDa A7GR1C9Yq7I5n5KcLQy+yeqVo7FLaqhZ+KWG/LTpCCKNJKPnqJ6HnO5HaVeguLBf fwXrtqp8HDRs2XkyAFWJczBwvQg6Cl286SLMJX2jNe5iEe0PNucby3nh+vQZQVfG 0lAyFzIcaXCpeI6Fa+g+W051dEJsSXjfRBUsJvk5GwtDLtszZsK8fiMxhcmLPnQB /caMUoxiORz4rpd9WgcdAaisd8NzDvg9/X4Dok0Gcph+TyBSPGnffNyVRdFUZRDd I1Cq44+H3nzyvmsbElotDXyALW6wLilcgFfhkg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1789253331; x= 1789260531; bh=u5dfeX5ow+93ybPmJekOrvP+a0/Wlwh9Ypost/1YCcY=; b=e EsWtaBywYtxbrjQSmAaK342Gx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4b5f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 12 Sep 2026 18:48:49 -0400 (EDT) From: Jiaxing Hu To: royalnet026@gmail.com Cc: tomeu@tomeuvizoso.net, linux-rockchip@lists.infradead.org, dri-devel@lists.freedesktop.org Subject: Re: [PATCH v12 03/14] accel/rocket: wait for a running IRQ handler before resetting a core Date: Sun, 13 Sep 2026 10:48:44 +1200 Message-ID: <20260912224844.1614558-1-gahing@gahingwoo.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260912113717.6819-1-royalnet026@gmail.com> References: <20260912065053.1519165-1-gahing@gahingwoo.com> <20260912065053.1519165-4-gahing@gahingwoo.com> <20260912113717.6819-1-royalnet026@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260912_154855_039903_AE35DB68 X-CRM114-Status: UNSURE ( 9.19 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Hi Igor, Taken. The two paragraphs go. 3/14 loses the one beginning "Igor also ran a differential on RK3588" and the one beginning "His own bound on it is the right one". Your summary replaces them, as you wrote it: 45 induced resets on 19 August, 102 on 25 August and 74 today, every reset recovered, no MMU faults, no lockdep report from rocket or the scheduler in the runs where lockdep was still armed, and of the 420 inferences scored, 384 matched the CPU reference within 1 on all 48 output channels while 36 returned the all-0x80 buffer of a job the reset had cancelled. You list "bounds and does not prove" among what stands, so I keep that one sentence out of the removed text. Say if you would rather it went with the rest. Both Link: lines stay, with your message as a third. One thing in your text to settle before it goes in: "74 today" has no referent in a commit message. I would write the date, unless you would rather phrase it yourself. The tags: 2/14 # RK3588, three cores -> # RK3588, three cores, induced reset, JOB_TIMEOUT_MS=2 3/14 # RK3588, three cores, induced reset, differential base, JOB_TIMEOUT_MS=2 -> # RK3588, three cores, induced reset, JOB_TIMEOUT_MS=2 4/14 unchanged All three then read the same, which is your point. None of this touches what 3/14 rests on. The argument is the code path: the wait is on desc->wait_for_threads rather than on a lock, so it would have hung with no lockdep report. Your runs bounded that; they never established it. The 0x80 signature holds on RK3576 too, for the reason you name. A fresh shmem BO is zeroed and teflon's readback adds 0x80, so an output buffer nobody wrote comes back a uniform 128 and cannot be told from a computed constant at the tflite level. That trap already cost us one retraction of our own. Your kprobe run is the part neither of us had before: two cancellations, two 0x80 files, matched to 2 ms against a 280 ms round period. The uAPI question is Tomeu's. What I can say from here is that the blind spot is not yours. PREP_BO cannot tell a cancelled job from one that ran, so your protocol, mine and the mesa one all read the same buffer, and none of us can close it from userspace. v13 with these changes, and nothing else to 2/14, 3/14 or 4/14. Thanks for going back through twenty runs of your own data. It would have stood unchallenged in the commit message. Jiaxing _______________________________________________ Linux-rockchip mailing list Linux-rockchip@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-rockchip