CIP-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@denx.de>
To: Claudiu <claudiu.beznea@tuxon.dev>
Cc: nobuhiro1.iwamatsu@toshiba.co.jp, cip-dev@lists.cip-project.org
Subject: Re: [PATCH 5.10.y-cip 00/22] RZ/{G2L, G2LC, G2UL, G3S, Five, V2L}: Backport MSTOP support
Date: Thu, 6 Nov 2025 20:23:18 +0100	[thread overview]
Message-ID: <aQz1pgHaEQNgfdKa@duo.ucw.cz> (raw)
In-Reply-To: <20251106081218.2574950-1-claudiu.beznea.uj@bp.renesas.com>

[-- Attachment #1: Type: text/plain, Size: 1433 bytes --]

Hi!

> Series backports the MSTOP (Module Stop) support for the Renesas
> RZ/G2L, RZ/G2LC, RZ/G2UL, RZ/G3S, RZ/Five, RZ/V2L SoCs.
> 
> The purpose of MSTOP is to reduce power consumption by stopping
> unnecessary module's functions.
> 
> If any master accesses a module that has the clock stopped and the
> MSTOP bit set, a bus error will occur.
> 
> Due to this, to avoid CPU generating synchronous aborts, changes
> to PM domain specific code were needed. The changes backported in
> this series were adjusted to be executed only for the above
> mentioned Renesas SoCs.
> 
> Please share your thoughts on this approach.

This is a bit more intrusive than I'd like. dev_pm_domain_detach()
changes API and now we have to modify unrelated drivers to fix it up.

How much power does it save? Do we really need this? Could it be done
without changing semantics of existing functions?

>   driver core: platform: Drop dev_pm_domain_detach() call
>   mmc: sdio: Drop dev_pm_domain_detach() call
>   spi: Drop dev_pm_domain_detach() call
>   rpmsg: core: Drop dev_pm_domain_detach() call
>   soundwire: bus: Drop dev_pm_domain_detach() call
>   serdev: Drop dev_pm_domain_detach() call
>   i2c: core: Drop dev_pm_domain_detach() call

Thanks and best regards,

								Pavel
-- 
In cooperation with DENX Software Engineering GmbH, HRB 165235 Munich,
Office: Kirchenstr.5, D-82194 Groebenzell, Germany

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

  parent reply	other threads:[~2025-11-06 19:23 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-06  8:11 [PATCH 5.10.y-cip 00/22] RZ/{G2L, G2LC, G2UL, G3S, Five, V2L}: Backport MSTOP support Claudiu
2025-11-06  8:11 ` [PATCH 5.10.y-cip 01/22] PM: domains: Add flags to specify power on attach/detach Claudiu
2025-11-06  8:11 ` [PATCH 5.10.y-cip 02/22] of: Add of_machine_compatible_match() Claudiu
2025-11-06  8:11 ` [PATCH 5.10.y-cip 03/22] PM: domains: Add helper to check for PM domain detach on unbind cleanup Claudiu
2025-11-06  8:12 ` [PATCH 5.10.y-cip 04/22] PM: domains: Detach on device_unbind_cleanup() Claudiu
2025-11-06  8:12 ` [PATCH 5.10.y-cip 05/22] driver core: platform: Drop dev_pm_domain_detach() call Claudiu
2025-11-06  8:12 ` [PATCH 5.10.y-cip 06/22] mmc: sdio: " Claudiu
2025-11-06  8:12 ` [PATCH 5.10.y-cip 07/22] spi: " Claudiu
2025-11-06  8:12 ` [PATCH 5.10.y-cip 08/22] rpmsg: core: " Claudiu
2025-11-06  8:12 ` [PATCH 5.10.y-cip 09/22] soundwire: bus: " Claudiu
2025-11-06  8:12 ` [PATCH 5.10.y-cip 10/22] serdev: " Claudiu
2025-11-06  8:12 ` [PATCH 5.10.y-cip 11/22] i2c: core: " Claudiu
2025-11-06  8:12 ` [PATCH 5.10.y-cip 12/22] clk: renesas: rzg2l: Extend power domain support Claudiu
2025-11-06  8:12 ` [PATCH 5.10.y-cip 13/22] clk: renesas: rzg2l: Postpone updating priv->clks[] Claudiu
2025-11-06  8:12 ` [PATCH 5.10.y-cip 14/22] clk: renesas: rzg2l: Move pointers after hw member Claudiu
2025-11-06  8:12 ` [PATCH 5.10.y-cip 15/22] clk: renesas: rzg2l: Add macro to loop through module clocks Claudiu
2025-11-06  8:12 ` [PATCH 5.10.y-cip 16/22] clk: renesas: rzg2l: Add support for MSTOP in clock enable/disable API Claudiu
2025-11-06  8:12 ` [PATCH 5.10.y-cip 17/22] clk: renesas: r9a08g045: Drop power domain instantiation Claudiu
2025-11-06  8:12 ` [PATCH 5.10.y-cip 18/22] clk: renesas: r9a08g045: Add MSTOP for coupled clocks as well Claudiu
2025-11-06  8:12 ` [PATCH 5.10.y-cip 19/22] clk: renesas: r9a08g045: Add MSTOP for GPIO Claudiu
2025-11-06  8:12 ` [PATCH 5.10.y-cip 20/22] clk: renesas: r9a07g044: Add MSTOP for RZ/G2L Claudiu
2025-11-06  8:12 ` [PATCH 5.10.y-cip 21/22] clk: renesas: r9a07g043: Add MSTOP for RZ/G2UL Claudiu
2025-11-06  8:12 ` [PATCH 5.10.y-cip 22/22] clk: renesas: r9a07g04[34]: Use tabs instead of spaces Claudiu
2025-11-06 19:23 ` Pavel Machek [this message]
2025-11-07 10:06   ` [PATCH 5.10.y-cip 00/22] RZ/{G2L, G2LC, G2UL, G3S, Five, V2L}: Backport MSTOP support Claudiu Beznea
     [not found]   ` <1875B18477989308.416970@lists.cip-project.org>
2025-11-11  8:47     ` [cip-dev] " Claudiu Beznea
2025-11-21 12:47     ` Claudiu Beznea
2025-11-21 12:50       ` [PATCH] drm: renesas: Open/close devres_group on probe/remove Claudiu
2025-11-21 13:43       ` [cip-dev] [PATCH 5.10.y-cip 00/22] RZ/{G2L, G2LC, G2UL, G3S, Five, V2L}: Backport MSTOP support Pavel Machek
2025-11-21 13:55         ` Claudiu Beznea
2025-11-23  9:15           ` Biju Das
2025-11-24  8:03             ` Claudiu Beznea
2025-11-24 10:10               ` Pavel Machek
2025-11-24 13:21                 ` Claudiu Beznea
2025-11-28 12:02 ` Pavel Machek
2025-11-28 14:54   ` Claudiu Beznea

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aQz1pgHaEQNgfdKa@duo.ucw.cz \
    --to=pavel@denx.de \
    --cc=cip-dev@lists.cip-project.org \
    --cc=claudiu.beznea@tuxon.dev \
    --cc=nobuhiro1.iwamatsu@toshiba.co.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox