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] [thread-next>] [day] [month] [year] [list]
Message-ID: <79cb209c6c5a14ae4d6a015f714c58d4.sboyd@kernel.org>
Date: Fri, 30 Aug 2024 15:27:25 -0700
From: Stephen Boyd <sboyd@...nel.org>
To: Michael Turquette <mturquette@...libre.com>, Nikita Shubin <nikita.shubin@...uefel.me>, Nikita Shubin via B4 Relay <devnull+nikita.shubin.maquefel.me@...nel.org>
Cc: linux-kernel@...r.kernel.org, linux-clk@...r.kernel.org
Subject: Re: [PATCH v11 03/38] clk: ep93xx: add DT support for Cirrus EP93xx

Quoting Nikita Shubin (2024-08-30 02:23:12)
> Hello Stephen!
> 
> On Wed, 2024-08-28 at 13:44 -0700, Stephen Boyd wrote:
> > Quoting Nikita Shubin via B4 Relay (2024-07-15 01:38:07)
> > > diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig
> > > index 3e9099504fad..234b0a8b7650 100644
> > > --- a/drivers/clk/Kconfig
> > > +++ b/drivers/clk/Kconfig
> > > @@ -218,6 +218,14 @@ config COMMON_CLK_EN7523
> > >           This driver provides the fixed clocks and gates present
> > > on Airoha
> > >           ARM silicon.
> > >  
> > > +config COMMON_CLK_EP93XX
> > > +       bool "Clock driver for Cirrus Logic ep93xx SoC"
> > 
> > tristate?
> > 
> > > +       depends on ARCH_EP93XX || COMPILE_TEST
> > > +       select MFD_SYSCON
> > 
> > Why is this selecting syscon?
> > 
> > > +       select REGMAP
> > 
> > Is this needed either?
> 
> Indeed REGMAP is selected by COMMON_CLK, MFD_SYSCON not required, but
> it needs AUXILIARY_BUS.

I don't see REGMAP selected by COMMON_CLK. Did I miss something?

> 
> > > +#define devm_ep93xx_clk_hw_register_fixed_rate_parent_data(dev,
> > > name, parent_data, flags, fixed_rate)  \
> > > +       __clk_hw_register_fixed_rate((dev), NULL, (name), NULL,
> > > NULL, \
> > > +                                    (parent_data), (flags),
> > > (fixed_rate), 0, 0, true)
> > 
> > Is this to workaround a missing
> > devm_clk_hw_register_fixed_rate_parent_data() macro?
> 
> Yes, if it's okay - i'll fire next revision, all other comments are
> acknowledged.
> 

Can you add the macro so others can use it in another patch?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ