lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CA+V-a8uvLbmhngzAXC5Y-onQ3UEOR9jXDYrPtT0GFMRan2bnLw@mail.gmail.com>
Date: Thu, 6 Mar 2025 14:53:13 +0000
From: "Lad, Prabhakar" <prabhakar.csengg@...il.com>
To: Geert Uytterhoeven <geert@...ux-m68k.org>
Cc: Michael Turquette <mturquette@...libre.com>, Stephen Boyd <sboyd@...nel.org>, 
	linux-renesas-soc@...r.kernel.org, linux-clk@...r.kernel.org, 
	linux-kernel@...r.kernel.org, Biju Das <biju.das.jz@...renesas.com>, 
	Fabrizio Castro <fabrizio.castro.jz@...esas.com>, 
	Lad Prabhakar <prabhakar.mahadev-lad.rj@...renesas.com>
Subject: Re: [PATCH 2/2] clk: renesas: rzv2h-cpg: Add macro for defining
 static dividers

Hi Geert,

On Thu, Mar 6, 2025 at 2:43 PM Geert Uytterhoeven <geert@...ux-m68k.org> wrote:
>
> Hi Prabhakar,
>
> On Fri, 28 Feb 2025 at 21:27, Prabhakar <prabhakar.csengg@...il.com> wrote:
> > From: Lad Prabhakar <prabhakar.mahadev-lad.rj@...renesas.com>
> >
> > Unlike dynamic dividers, static dividers do not have a monitor bit.
> > Introduce the `DEF_CSDIV()` macro for defining static dividers, ensuring
> > consistency with existing dynamic divider macros.
> >
> > Additionally, introduce the `CSDIV_NO_MON` macro to indicate the absence
> > of a monitor bit, allowing the monitoring step to be skipped when
> > `mon` is set to `CSDIV_NO_MON`.
> >
> > Note, `rzv2h_cpg_ddiv_clk_register()` will be re-used instead of generic
> > `clk_hw_register_divider_table()` for registering satic dividers
> > as some of the static dividers require RMW operations.
> >
> > Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@...renesas.com>
>
> Thanks for your patch!
>
> I understand this is in preparation of adding GBETH/XSPI clocks, and
> thus related to "[PATCH 2/4] clk: renesas: rzv2h-cpg: Add support for
> static dividers"[1]?
>
I will send out patches for GBETH clocks which will use the
DEF_CSDIV() macro. Basically DEF_CSDIV() macro will be used IPs which
require RMW operations whereas in case Biju's patch DEF_SDIV() macro
will be used IP's which do not need RMW operations.

Cheers,
Prabhakar

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ