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]
Date:   Thu, 8 Apr 2021 10:06:21 +0000
From:   "Vaittinen, Matti" <Matti.Vaittinen@...rohmeurope.com>
To:     "andy.shevchenko@...il.com" <andy.shevchenko@...il.com>
CC:     "agross@...nel.org" <agross@...nel.org>,
        "broonie@...nel.org" <broonie@...nel.org>,
        "devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
        linux-power <linux-power@...rohmeurope.com>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        "linux-renesas-soc@...r.kernel.org" 
        <linux-renesas-soc@...r.kernel.org>,
        "linux-arm-msm@...r.kernel.org" <linux-arm-msm@...r.kernel.org>,
        "bjorn.andersson@...aro.org" <bjorn.andersson@...aro.org>,
        "lgirdwood@...il.com" <lgirdwood@...il.com>,
        "robh+dt@...nel.org" <robh+dt@...nel.org>
Subject: Re: [PATCH v6 3/8] regulator: IRQ based event/error notification
 helpers


On Thu, 2021-04-08 at 12:58 +0300, Andy Shevchenko wrote:
> On Thu, Apr 8, 2021 at 11:21 AM Matti Vaittinen
> <matti.vaittinen@...rohmeurope.com> wrote:
> > Hello Andy,
> > 
> > On Wed, 2021-04-07 at 16:21 +0300, Andy Shevchenko wrote:
> > > On Wed, Apr 7, 2021 at 1:04 PM Matti Vaittinen
> > > <matti.vaittinen@...rohmeurope.com> wrote:
> > > > Provide helper function for IC's implementing regulator
> > > > notifications
> > > > when an IRQ fires. The helper also works for IRQs which can not
> > > > be
> > > > acked.
> > > > Helper can be set to disable the IRQ at handler and then re-
> > > > enabling it
> > > > on delayed work later. The helper also adds
> > > > regulator_get_error_flags()
> > > > errors in cache for the duration of IRQ disabling.
> > > 
> > > Thanks for an update, my comments below. After addressing them,
> > > feel
> > > free to add
> > > Reviewed-by: Andy Shevchenko <andy.shevchenko@...il.com>
> > 
> > I (eventually) disagreed with couple of points here and haven't
> > changed
> > those. Please see list below.
> > 
> > I still do think you did a really good job reviewing this - and you
> > should get the recognition from that work. Thus I'd nevertheless
> > would
> > like to add your Reviewed-by to the next version. Please let me
> > know if
> > you think it's ok. (I have the v7 ready but I'll wait until the
> > next
> > Monday before sending it to see if this brings more discussion).
> 
> Looks OK to me.
> Just rename die_loudly() to rdev_die_loudly()

I did that. Thanks.

>  and in any way of
> conditionals with that, please mark it with __noreturn attribute, so
> if (bla bla bla)
>   rdev_die_loudly();
> 
> will be an understandable trap.

Valid point. Will do, thanks again.

Best Regards
	Matti Vaittinen

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ