πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #18019

Re: [PATCH 6/9] soc: rockchip: grf: Restore the RK3588 PHP StreamIDs after system suspend

#18019
From: netdev-bot+sashiko
Date: Tue, 17 Nov 2026 17:35
51 lines
10091 bytes
Thank you for your contribution! Sashiko AI review found more severe
issue(s) in other patches of this series. This mail is only an FYI, in case
you want to address the nit picks below when you respin.

Low priority / nit picks for your consideration:

- [Low] The concern: the commit message says that 'The SMMU aborts a
  master whose StreamID was lost', but at this commit mmu600_php is…

--

soc: rockchip: grf: Restore the RK3588 PHP StreamIDs after system suspend

This commit keeps the RK3588 PHP GRF StreamID table after init. It also
registers a syscore resume op that rewrites any StreamIDs lost when PD_PHP
is powered off during system suspend. The op is only registered when the
GRF node has a clocks property.

> The PHP GRF is in PD_PHP, which firmware may power off in system
> suspend. The SMMU aborts a master whose StreamID was lost.

[Severity: Low]
Is this description accurate for the tree at this commit?

In arch/arm64/boot/dts/rockchip/rk3588-base.dtsi the mmu600_php node is
still disabled at this point:

    mmu600_php: ...
        ...
        status = "disabled";

None of usb3otg2, gmac0/1 or sata0-2 point at it with an iommus property
yet. That means the SMMU abort described above can't happen in-tree with
this patch alone, and rockchip_grf_resume() has no visible effect yet.

Two later patches in the series fix that:

  "arm64: dts: rockchip: Attach the masters of the RK3588 PHP SMMU"
  adds iommus = <&mmu600_php N> to the six masters.

  "arm64: dts: rockchip: Enable the RK3588 PHP SMMU" removes the
  status = "disabled" line.

So by the end of the series the restore does take effect.

Could the commit message say that this patch prepares for those later DTS
changes? Or could the patch be moved after them in the series?

-- 
Sashiko AI review Β· https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20261113-mmu600-php-v1-0-231196049a3b%40gmail.com
Technical Details
Message-ID: <179493691692.3136.5141582035448551878@kernel.org>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-365499-linux-kernel-netdev=dewy.ru
References: <20261113-mmu600-php-v1-6-231196049a3b@gmail.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-365499-linux-kernel-netdev=dewy.ru
From: netdev-bot+sashiko@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH 6/9] soc: rockchip: grf: Restore the RK3588 PHP StreamIDs
 after system suspend
Date: Tue, 17 Nov 2026 17:35:16 +0000
Organization: Usenet Network
Message-ID: <179493691692.3136.5141582035448551878@kernel.org>
References: <20261113-mmu600-php-v1-6-231196049a3b@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="2389652"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:UqKAd6tgA038O7kRN54g4Yb9FoI= sha256:l8Uq6k6q56D9TjYYcUHa29FunkrkljTjq/8mHfltErI=
	sha1:yt3JVTCFytyZyM2ddsYAEaOvty8= sha256:vve6HgoOI+HC8BaD2CFmg3k8brdQkbdm1oTDUW1JCw4=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 12D1A115019; Tue, 17 Nov 2026 20:36:53 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -2.301
X-Spam-Status: No, score=-2.301 tagged_above=-9999 required=6.31
	tests=[DCC_CHECK=1.1, DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001,
	DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
	DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3,
	SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=kernel.org
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id smpsIa3vRQSz;
	Tue, 17 Nov 2026 20:36:49 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-365499-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 3AA40114FFF; Tue, 17 Nov 2026 20:36:41 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id CDCBB41BD1; Tue, 17 Nov 2026 17:35:33 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1794936925;
	b=181TNdkxLJUgAttVncFKvJ3b78NtnZwN85GhpH7weYm5CUfQulmrLOH19a1OPdIardqX
	 9MNbezJ3UVz/E68w0kTWY/NB/1LSLuVMxTVLVEtYmvRcMbStjjPoT324wrmIOJcK5bGcV
	 Epy0/5cY6koVtcJjrNkpoXNX8nRTdtu1KHaqkPfZOoZs0b1D8roMyfcRNkBSfr2SB1ext
	 kzZnqSuvJtmxW4ZPeZNlHRwgedrrZjEshtVwx8qlYK09+jo/mE4as0h+YfzEifmLL0AyB
	 YZKWIRl5myei3GhHDMCh6njTQYPzWPi12Vl44KyDCvAHw8WN51no3HCFCk565OMG9rA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794936925;
	h=X-Original-To:Received:Received:DKIM-Signature:Subject:From:To:Cc:
	 Date:Message-ID:In-Reply-To:References:X-sashiko-severity:
	 Content-Type:Content-Transfer-Encoding:X-Mailing-List:List-Id:
	 List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner:
	 Precedence:MIME-Version;
	bh=xdxs12743NDoNJxbnDGKAhLTeXv90Ow3q001NJmFiRo=;
	b=DpEnrQMewJozMq/GV1711n7ClX9LLNQ4qJoUiBMjxOI2QqgmxC7vfB6Jsh+nNvJxr/QS
	 iGdIufhDOqa65M/u9mkeEHdHRh32nTg4dz12VuK7/rI7JkKB9586pzo92Csqc7Qi7h+C4
	 l5JWOtEJbg8Zk3KqtXos1S4iZYrTcdwvS4J+UFCS2pefw5HKFEGyPeEbQ2hqGwCN7vYNY
	 UG2MiOwzsLdUBlOnDM5B4Cu32ACyCqOGNANVmaZZspgYNQrVeQYKCaDhfar/ehqxeIbvc
	 pXCc4PAaG0qgTzVkz9hi/OzHoaGwYTJC2oQ3nOt3x7b4X+z7gZijMlZuIUhRGDkcwWA==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=iY0cVogF;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id F1C6E606A8BB;
	Tue, 17 Nov 2026 17:35:24 +0000 (UTC)
X-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=iY0cVogF
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1794936919;
	b=NKCirCqRLu+5N+MdYnPZxrLTFCGBFAVaH/2jcz7To9gpO97jD8/3Ip1QWbQQWETTkq3t
	 p5ilF7Mrk4MnZB+KG6HRrO7ISGMb3VbRQOx5hRO0uaq5hSXQoUbRQhuGFkpJjvUudPWyS
	 zYSsHte7hsR6FgYG4uUDh7GaTZvX8uPeNnwz88mpAhCviixrG+CWAbcGmFpYorL5BxKpE
	 +IWVhuemF9TX1YGtVl4C8LvMY2T36koc9mtkZXabVT4sez8XGAMmRYf1EvcLIOkhJ1D1F
	 kldHiq3F0aBmOaVJB8O5CXA/64P/CZg74ZzT4w4zEy/NWMkczLT1vhIDfYEiZIo7N1g==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794936919;
	h=Received:DKIM-Signature:Subject:From:To:Cc:Date:Message-ID:
	 In-Reply-To:References:X-sashiko-severity:Content-Type:
	 Content-Transfer-Encoding:MIME-Version;
	bh=xdxs12743NDoNJxbnDGKAhLTeXv90Ow3q001NJmFiRo=;
	b=WnJGq3S9tckLug8osN0gkkWrws5lK0+glUUtgLtBKECTihIJi3gqBnvnVaoLNagaEDoI
	 sBhzkAWfXWH3SzRJ7ZeT3DnzOrArrFqFz52sl6Dj2tL1khfWKSZJzo7ve5JyxMZPHqg3n
	 InuQojdWxg1MFJxL9yTz3dRIDR6HU9Acsar66DRNr2A8mUGddmHgm7Qwsnw+RnaAmdnJX
	 DfA+G9+gMVyQ95c8nW+2KaPOSlG1FQnImQ3PhUaMX5IGcNtjvSpcc6mFphGasWbA2lgdB
	 fHQgLFVZTdsVH3Ct/ahkPrg9T9wwvSBqVd2sVDWasMKXex3g7P+NZ6KksOHlqLUpNJQ==
X-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=iY0cVogF;
	arc=none smtp.remote-ip=100.103.45.18
X-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 1DDD8606A8A8;
	Tue, 17 Nov 2026 17:35:18 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5D83F1F000D1;
	Tue, 17 Nov 2026 17:35:17 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1794936918;
	bh=xdxs12743NDoNJxbnDGKAhLTeXv90Ow3q001NJmFiRo=;
	h=Subject:From:To:Cc:Date:In-Reply-To:References;
	b=iY0cVogFK/z7QGVoaMgG1ymZmRQqjTfWjlHGqoCcByQxgAvsVAZ7t5hqehI6aIttK
	 HN6yNEXIeFfeP7d31+Ez6PRir/PwO1eGDDZfZ4/yLTuk7PbZyQK5GwT3i0RLvefNHQ
	 NYoj68Q9/p/Wihb7mjz0Z+A+XLBt7p6ITbtSQQajvohhh1GTprobAJLtVMlYTD7LkJ
	 BT5Ryo8OSIOX+KIds3Hxljd8OMS7SFHIRmcJgoVRIj5+5yRh2cKtJpha2PJXeSAbXw
	 JKX2F6ns4aVnI6NuVe0s7IX4lolK29oe5rxex/zIVt2XO0WExtllhcpKiB2oXC2A7P
	 944yyN522tkfQ==
X-Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, heiko@sntech.de,
 andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org,
 kuba@kernel.org, pabeni@redhat.com, david.wu@rock-chips.com,
 dlemoal@kernel.org, cassel@kernel.org, fancer.lancer@gmail.com,
 netdev@vger.kernel.org, devicetree@vger.kernel.org,
 linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org,
 linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org, praan@google.com,
 will@kernel.org, robin.murphy@arm.com, iommu@lists.linux.dev,
 shawn.lin@rock-chips.com, sebastian.reichel@collabora.com
X-In-Reply-To: <20261113-mmu600-php-v1-6-231196049a3b@gmail.com>
X-sashiko-severity: Low
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list