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, 26 Sep 2019 16:51:00 +0000
From:   "Schmauss, Erik" <erik.schmauss@...el.com>
To:     "Shevchenko, Andriy" <andriy.shevchenko@...el.com>
CC:     Nikolaus Voss <nikolaus.voss@...wensteinmedical.de>,
        "Rafael J. Wysocki" <rjw@...ysocki.net>,
        "Moore, Robert" <robert.moore@...el.com>,
        Len Brown <lenb@...nel.org>,
        Jacek Anaszewski <jacek.anaszewski@...il.com>,
        "Pavel Machek" <pavel@....cz>, Dan Murphy <dmurphy@...com>,
        "linux-acpi@...r.kernel.org" <linux-acpi@...r.kernel.org>,
        "devel@...ica.org" <devel@...ica.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        "nv@...n.de" <nv@...n.de>
Subject: RE: [PATCH] ACPICA: make acpi_load_table() return table index



> -----Original Message-----
> From: linux-acpi-owner@...r.kernel.org <linux-acpi-owner@...r.kernel.org>
> On Behalf Of Shevchenko, Andriy
> Sent: Thursday, September 26, 2019 9:35 AM
> To: Schmauss, Erik <erik.schmauss@...el.com>
> Cc: Nikolaus Voss <nikolaus.voss@...wensteinmedical.de>; Rafael J. Wysocki
> <rjw@...ysocki.net>; Moore, Robert <robert.moore@...el.com>; Len Brown
> <lenb@...nel.org>; Jacek Anaszewski <jacek.anaszewski@...il.com>; Pavel
> Machek <pavel@....cz>; Dan Murphy <dmurphy@...com>; linux-
> acpi@...r.kernel.org; devel@...ica.org; linux-kernel@...r.kernel.org;
> nv@...n.de
> Subject: Re: [PATCH] ACPICA: make acpi_load_table() return table index
> 
> On Thu, Sep 26, 2019 at 07:09:05PM +0300, Schmauss, Erik wrote:
> > > -----Original Message-----
> > > From: Nikolaus Voss <nikolaus.voss@...wensteinmedical.de>
> > > Sent: Thursday, September 12, 2019 1:08 AM
> > > To: Shevchenko, Andriy <andriy.shevchenko@...el.com>; Schmauss, Erik
> > > <erik.schmauss@...el.com>; Rafael J. Wysocki <rjw@...ysocki.net>;
> > > Moore, Robert <robert.moore@...el.com>
> > > Cc: Len Brown <lenb@...nel.org>; Jacek Anaszewski
> > > <jacek.anaszewski@...il.com>; Pavel Machek <pavel@....cz>; Dan
> > > Murphy <dmurphy@...com>; linux-acpi@...r.kernel.org;
> > > devel@...ica.org; linux- kernel@...r.kernel.org; nv@...n.de;
> > > Nikolaus Voss <nikolaus.voss@...wensteinmedical.de>
> > > Subject: [PATCH] ACPICA: make acpi_load_table() return table index
> > >
> > Hi Nikolaus,
> >
> > > For unloading an ACPI table, it is necessary to provide the index of the table.
> > > The method intended for dynamically loading or hotplug addition of
> > > tables, acpi_load_table(), should provide this information via an
> > > optional pointer to the loaded table index.
> >
> > We'll take this patch for ACPICA upstream
> 
> Erik,
> 
Hi Andy,

> how about to have also counterpart to acpi_load_table() which will do what it's
> done now in acpi_configfs.c via acpi_tb_*() API?

I should have given more details. We decided to add this extra parameter in AcpiLoadTable and
we're going to create an AcpiUnloadTable function that will take table index to unload the table (basically the acpi_tb_unload..).
Once we do this, you can use table indices with AcpiUnloadTable and AcpiLoadTable.

Erik
> 
> Because it's kinda strange to call acpi_load_table*() and acpi_tb_*() in the
> same module.
> 
> --
> With Best Regards,
> Andy Shevchenko
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ