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:   Fri, 22 Sep 2023 09:18:47 -0500
From:   Rob Herring <robh@...nel.org>
To:     Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc:     "Rafael J. Wysocki" <rafael.j.wysocki@...el.com>,
        linux-acpi@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
        linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
        Lorenzo Pieralisi <lpieralisi@...nel.org>,
        Hanjun Guo <guohanjun@...wei.com>,
        Sudeep Holla <sudeep.holla@....com>,
        "Rafael J. Wysocki" <rafael@...nel.org>,
        Len Brown <lenb@...nel.org>,
        Russell King <linux@...linux.org.uk>,
        Frank Rowand <frowand.list@...il.com>,
        Peng Fan <peng.fan@....com>
Subject: Re: [PATCH v1 1/1] amba: bus: balance firmware node reference counting

On Tue, Sep 19, 2023 at 3:02 PM Andy Shevchenko
<andriy.shevchenko@...ux.intel.com> wrote:
>
> On Tue, Sep 19, 2023 at 11:01:37PM +0300, Andy Shevchenko wrote:
> > On Thu, Aug 24, 2023 at 07:26:54PM +0300, Andy Shevchenko wrote:
> > > Currently the ACPI code doesn't bump the reference count of
> > > the firmware node, while OF counter part does. Not that it's
> > > a problem right now, since ACPI doesn't really use the reference
> > > counting for firmware nodes, it still makes sense to make code
> > > robust against any changes done there. For this,
> > >  - switch ACPI case to use device_set_node() to be unified with OF
> > >  - move reference counting to amba_device_add()
> > >  - switch to use firmware nodes instead of OF ones
> > >
> > > In the result we will have reference counting done in the same module
> > > for all callers independently on the nature of firmware node behind.
> >
> > Any comment on this? I would like to have this applied so I can do something
> > similar to the platform driver code.
>
> Ah, I see, I missed LKP run on this, I'll send a v2 perhaps later on this week.

What's the relationship/dependency with this and the other patches
dealing with refcounting? Did the AMBA one land?

Rob

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ