From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.128.43 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795004903; b=kAQgsDLdOz7/MRsipKvQddbnxkHrAEqUYGh4qq4u0njZF3GY0qfoN46gTe0fHkz52ybx XU+Sw0svVzNbtbDXxCzDa6wO19j8fx+bMmcNC34gx4t82ONYVd/nxunck3cziFut7ZzJa 5fkR00ctnulYA8Z3Pwq/kGA5EBNAtRVS7RE/G4Cef9YPSN5P37raAka7UyzjmwevFJFQY V+QSJ1cn7Y8PuSvTVE3Oq/jUub6Pq6J2cQy5BJXHdbXeNtFeO7CthiPN1RMr3LlpSy0i6 fEAaedFPwb0iw9jF5wQGGDeWA2fUYlIPxBNGoi8fU/XsN8HtJTw5S71ODiOKELgaMYQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795004903; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: Message-ID:Date:MIME-Version:User-Agent:From:Subject:To:Cc:References: Content-Language:In-Reply-To:Content-Type:Content-Transfer-Encoding; bh=qZqAnvrKTsVRZ3k+qpJ8SHuObdEj1UWG4cr1fECpUNs=; b=Fjpu1qDMZETGQ8H9vBxAr52r0cWYA0kz2kcRj5FrALAfZkUvkvvix3mnqiR5sderAadj vw1hgSMemyp03EFdTsRiyUzg+UqONuD2AEJ6Vq6PKhBnyEh88irEq+KEHHte0KY3D19uS flHqLXpxxNic7345uoxVlsQw8Q0gW3XkztlyZhG2QhvwMvUGo1rKVkuFLkuWixlDGoqLN BFlXGA/Z7DMCo9hrcP402XjjVa2aS8NXab0s8w67A0H8zDSON0Oleb2VV6Z+7gJUkIB1r TOppYlz1xeqK4DuqYJjWNqvbE7XnPGyQtepgzj2QeS6l69+2bCZrCHZmMXxNy3vEs3g== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass header.d=baylibre.com header.i=@baylibre.com header.a=rsa-sha256 header.s=google header.b=DwJTdQXa; arc=none smtp.remote-ip=209.85.128.43 Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 40275606A32C for ; Wed, 18 Nov 2026 12:28:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 40275606A32C Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre.com header.i=@baylibre.com header.a=rsa-sha256 header.s=google header.b=DwJTdQXa Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-4a1fbd52ab6so7025575e9.0 for ; Wed, 18 Nov 2026 04:28:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1795004902; x=1795609702; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:content-language :references:cc:to:subject:from:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to:content-type; bh=qZqAnvrKTsVRZ3k+qpJ8SHuObdEj1UWG4cr1fECpUNs=; b=DwJTdQXa/iSzaeeOAEmRihuTWLJZ/OoP86mPO9H0wCzLqDckv3ZdhPOPpPmwTt2ft3 xMBYsYGOKfBs2BlDoZoiCFMTOTOjrToZCzR1iyUtpoWNSofl9DzSTVOqZR86mnA0gqJU zS5tJld9p0mJ/3BvBKiinJIBiO5C2jAOuxrzMpEE7dPprF0o7wRzM+q1LYe7ZX7K7dRL Mkqn6/8p+mkDpH/5rM5/HxVol3KezCHmsJUOBubrVS+8jtb8WoetUODA33NkVB1rg7va 3988PppSIfhAgb2JEIBvJ28xe/dgl/ok+xcU2jS/9SQdHsyb9xDbX1obloDFWL5pprGg NlUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795004902; x=1795609702; h=content-transfer-encoding:content-type:in-reply-to:content-language :references:cc:to:subject:from:user-agent:mime-version:date :message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=qZqAnvrKTsVRZ3k+qpJ8SHuObdEj1UWG4cr1fECpUNs=; b=AdBzcBn1O92bZ7Z2EHmQPf6BpoIcB9LKvhG/WceG66LqDLStvMsMu5TRJ1SI8/OkkB Kgvup4n7PDEJXlDZyZDWhE3PaAmqWqkW8wEcy0dOv/xdYJBiM8lnEw51bkiq5KzhrONu gog/gZNZF377gWj3j49dSXWTnCBis0MwUCl8qXqo6zJ2pBK+F5w1pxRjk/9NMTXFq1+r bwteLJ0EvXrpM5vBuZ1tfDj4kX1y3zeboE9RAcrwWVeKiI8/ksZBKJll2XkZYykhSzYT Xgx4PaHNH66bXxy7osTXiNEZhrOoXMa2sX0z97BO1QK/LBtAT7LWTeZv2L0+1DN23Enc HKYA== X-Forwarded-Encrypted: i=1; AL+hErF+1G4ciN1i9yNhiMhMyPtRmEBENAY7mbAtYb/1Rm+4ssn7rQLYXE/MXY2SCwKfegg55FdORsDsdActzKk=@vger.kernel.org X-Gm-Message-State: APuU4Z8aFDQluFvqPbUVc/VaYePfz8vhaY0Cbv8rKX1qm5qlr3y5wil2 U5XDSFlPOdc5Wz567lmIKGvueKc367gjgTGeChBMDnGMw6xTQs2S08em8xcjyKFN20A= X-Gm-Gg: AYBFou2W1UB3ojymBkY4DrCX8DrT0Jp0Magrz76BVeDJo1IqGHwguUK8JpIU1+qLmgN i1F8PZDfcVRj+2ePys2X4XZjNGcj6evNVWHVQDCDDrU7zLYqTfrw7PmuTt7OyGP/OgBDRPvSDDd 0bWaYnaq3qkkz4iq3NttGSeO1bLRJRcPgVh14Uf+y1PTwJb41ubFH/UdzMWB0A/+9sh9qkj5m/4 7cjC1TKHek/NGp9QVeF6soF+N6UgL8GT7bTfoB5lXPku9riB12wPbFNATN07TQhxIyVlp5F/t/5 lqbGrEGPrRJ2QQcfAcNhTW6PuZlzj6Sey4VBBwkMGgXBWfikX3PUxkDCYMNfkVMhke0nKTDU4Y4 Kins2dLY2+dW/xHE9GxoH9ATF5MWhLW6E7Rb7Cy4oXYCoh7UdOSIyFJL8onqYTxWOGXN/6+/6du hp25nwoPdfgO2/HzAWmikHXvSr40EwF5G6UoV3zVngTj2hSdEyvCQ/jOUvLyJXGdnso14dqk81q w0U6P8sWluHEtKIPp4k+uZtC+6jUPJ0EIxDSsBO8f6FZaUl3ZYpC2xuQvwBRR1M8vKbBktYfYxK 01Qm8Dl1Chvom05wuWMdXzO7rVuqlOscJUv7DN2avhYUkLFAVS+WVqIzxqzt/WEprpx6qK/IUfj Z0w== X-Received: by 2002:a05:600c:34d2:b0:4a1:6992:f861 with SMTP id 5b1f17b1804b1-4bb7d6d1f21mr46698525e9.1.1795004901817; Wed, 18 Nov 2026 04:28:21 -0800 (PST) Received: from ?IPV6:2001:8a0:d6cd:9000:86f4:4e71:9fc8:3183? ([2001:8a0:d6cd:9000:86f4:4e71:9fc8:3183]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4bb7d2abfc4sm64858355e9.7.2026.11.18.04.28.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 18 Nov 2026 04:28:21 -0800 (PST) Message-ID: <49a9337f-6808-4f30-b826-9a280849a51c@baylibre.com> Date: Wed, 18 Nov 2026 12:28:19 +0000 X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Daniel Drake Subject: Re: [PATCH v17 11/12] arm64: dts: rockchip: add NPU (RKNN) nodes to rk3576 To: Jiaxing Hu , tomeu@tomeuvizoso.net, heiko@sntech.de, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, joro@8bytes.org, will@kernel.org, robin.murphy@arm.com, p.zabel@pengutronix.de, ogabbay@kernel.org, zhangqing@rock-chips.com Cc: royalnet026@gmail.com, ulf.hansson@oss.qualcomm.com, abel.vesa@oss.qualcomm.com, sebastian.reichel@collabora.com, sidong.yang@furiosa.ai, u.kleine-koenig@baylibre.com, chaoyi.chen@rock-chips.com, shawn.lin@rock-chips.com, finley.xiao@rock-chips.com, diederik@cknow-tech.com, alchark@flipper.net, leonard@lausen.nl, vlwwwwww@gmail.com, jeff.hugo@oss.qualcomm.com, rfoss@kernel.org, dri-devel@lists.freedesktop.org, linux-rockchip@lists.infradead.org, iommu@lists.linux.dev, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi, On 14/11/2026 03:05, Jiaxing Hu wrote: > Each core is on its own power domain only: core 0 on PD_NPU0, core 1 on > PD_NPU1. Measured with both cores running, the results are correct, and > the nputop and npu domains above them are powered through the domain > hierarchy. No need to include lab notes; we assume you tested this work and found it to be working before submission. > Label PD_NPU so a board can connect the NPU supply. The IOMMUs use four > clocks. > > Also set CLK_RKNN_DSU0 to 594 MHz. Mainline sets neither its rate nor the > NPU voltage. On the ROCK 4D the DSU runs at 786 MHz by default and the > rail boots at 750 mV; with both cores running, each pass of the 5400-row > test has 11 to 25 wrong words. At 594 MHz the test is all correct. In the > vendor OPP table, the 500 MHz and 600 MHz steps both need 725 mV. I found this wording a bit confusing. I think you're saying, the system boots into Linux with 786MHz & 750mV, and that configuration gives bad results. I'm not clear why you picked 594 Hz then. What does the vendor kernel do, are you matching that behaviour?