From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from flow-a3-smtp.messagingengine.com (flow-a3-smtp.messagingengine.com [103.168.172.138]) (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 C3E383C199B for ; Thu, 20 Aug 2026 07:15:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=103.168.172.138 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787210141; cv=none; b=A9A882KhVrMPm/SG95s32cmGopgGZrd+otgHwphXf+T//F+zLXTkZlZ+KM5JKc8HQUcT7F8xJZKsTHZhJsOFSeUky1avjJEP1nHCtYcUij5sjH8cwpTDd6Z1Xw4fF/P2dz+Pjk7SaDHwg4WguqgKu0V2FvCcqTynYpGMU6/kvfQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787210141; c=relaxed/simple; bh=Ph9nUhb/M6wE9TbJU12BY17nxBQRwHv3/cymsUQdOyQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=CKcpc9mr0LVhLVcjIiZLxf96CySYYMZuhOjUWx4DNz6cvu39RpVrMPWE/nx0mcjDI4yXCdX0G9H7cwSOEItyhVDilVDckaUXluK7ID5e+UG/jlXjSvqYdiymPVd1FVbmmj9rVwu5WQyIEAdE6owN6PhSdrnJU31+5HZfOzG7SG0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gahingwoo.com; spf=pass smtp.mailfrom=gahingwoo.com; dkim=pass (2048-bit key) header.d=gahingwoo.com header.i=@gahingwoo.com header.b=K0jFb4/d; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=Ww8v8yvG; arc=none smtp.client-ip=103.168.172.138 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gahingwoo.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gahingwoo.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gahingwoo.com header.i=@gahingwoo.com header.b="K0jFb4/d"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="Ww8v8yvG" Received: from phl-compute-03.internal (phl-compute-03.internal [10.202.2.43]) by mailflow.phl.internal (Postfix) with ESMTP id EDC6813801CC; Thu, 20 Aug 2026 03:15:38 -0400 (EDT) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-03.internal (MEProxy); Thu, 20 Aug 2026 03:15:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gahingwoo.com; h=cc:cc:content-transfer-encoding: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=1787210138; x= 1787213738; bh=NbeURsaZwGloOgSd78K2HWYyPVGuc0pVvEWglrxrqL8=; b=K 0jFb4/d1CpcKo1HX/8VfKwW6Hx1vZvvXrEyP/5yrN6/x855ZAo0b0CtteyxtSwwC bmQ9H4h/AVW58NuqwBy0Gp6o2bgImawTVG7Do572SnOmJZ5cAr3pOAX52RrX91ly eWHsX+aeIaz1gzGsPoEQOxPD8UYiP1jjh6kxvaFN6jaO5ejaFqIKqLOTN5DtUJOI 89440oOHstaRlBBZvej8MWe+gxu+4L0gNd5SA6YAlLtcG/qNPkBGCXg7QYrOQoIZ 0RBiCo95XGrWDo/5cqraU7yfWVQy2GbzieBcOuPtEDtc1Z/W0OS6G4duwYM7iUWN YWCCmI72D03M5jrlQZp0g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :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=fm3; t=1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lzfkAn2ZUrCXoXKDhlDtNeC2KkrEDeO2CTqFdqZhvjvW1zSI7LOyQhTOw X-ME-Proxy: Feedback-ID: i7a5e4b5f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 20 Aug 2026 03:15:34 -0400 (EDT) From: Jiaxing Hu To: royalnet026@gmail.com Cc: tomeu@tomeuvizoso.net, heiko@sntech.de, chaoyi.chen@rock-chips.com, alchark@flipper.net, dri-devel@lists.freedesktop.org, linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v7 08/10] accel/rocket: add RK3576 NPU (RKNN) support Date: Thu, 20 Aug 2026 22:07:15 +1200 Message-ID: <20260820100715.750660-1-gahing@gahingwoo.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260819184838.6723-1-royalnet026@gmail.com> References: <20260819184838.6723-1-royalnet026@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hi Igor, and the list, The single field sweep I owed, and said on the 19th was late. It is run. Each of the five fields where my 0x4050 differs from upstream's 0x124 was moved to upstream's value on its own, with the other four left alone. Two shapes, a 5x5 convolution at 128 output channels and a pointwise at 88, three baselines across the log with no drift between them. field, mine to upstream output completion RGP_CNTER 8 to 0 wrong, 0 of 128 and no hang 14 of 88, maxdiff 255 RESERVED_0 34 to 0 matches the baseline times out SIZE_E_1 0 to 1 matches the baseline no hang SIZE_E_0 4 to 1 wrong times out OW_SRC 1 to 0 wrong times out upstream's whole 0x124 wrong times out So four of the five are load bearing on RK3576, and they fail in three different ways. RGP_CNTER is purely arithmetic, it computes the wrong answer and finishes. RESERVED_0 is purely a completion field, the output is identical to the baseline on both shapes and the job still hangs. SIZE_E_0 and OW_SRC do both. Two things to read carefully rather than take at face value. RESERVED_0's score prints after its timeout, so the hang is the result there and the number beside it is colour. And every timeout landed inside the entry that set the value, with a health check passing after each, so none of it is a hang leaking from the entry before. SIZE_E_1 is the one that does nothing. I have left it at 0 rather than moving it to upstream's 1, because two shapes is not every shape, and written into the comment that it was measured not to matter. If you would rather I match upstream there and shrink the diff by a field, say so and I will. The merge request now carries this table in the comment above the register. https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/43804 And something I should have said two mails ago. Thank you for the v8 Tested-by on 1/12 and 2/12. A differential base on the same machine in the same session was more than I asked for, and the row that matters is the one where the two kernels agree, 12 and 8 induced resets against 12 and 13, all clean, 48 of 48 both passes on either. I have written to you twice since without acknowledging it, which was careless. Where it lands, and I would rather be exact than generous to myself. 1/13 is unchanged in v9 and your tag carries. 2/13 is not the patch you tested, since it folds in the interrupt mask you raised, so I have left your tag off it. When v9 posts I will say so on the thread rather than quietly carry it across. Have a good trip. Regards, Jiaxing