[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJZ5v0iR4r6BFTd5fPEdoCVBv=c=HqyoV239Bd99tbO0gFihLw@mail.gmail.com>
Date: Wed, 10 Jul 2024 13:43:57 +0200
From: "Rafael J. Wysocki" <rafael@...nel.org>
To: Thomas Weißschuh <linux@...ssschuh.net>
Cc: "Rafael J. Wysocki" <rafael@...nel.org>, Len Brown <lenb@...nel.org>,
Robert Moore <robert.moore@...el.com>, Lance Ortiz <lance.ortiz@...com>, linux-acpi@...r.kernel.org,
linux-kernel@...r.kernel.org, acpica-devel@...ts.linux.dev,
stable@...r.kernel.org
Subject: Re: [PATCH v2 0/5] ACPI: sysfs: manage sysfs attributes through
device core
On Tue, Jul 9, 2024 at 10:38 PM Thomas Weißschuh <linux@...ssschuh.net> wrote:
>
> Simplify the lifecycle of the sysfs attributes by letting the device
> core manage them.
>
> Signed-off-by: Thomas Weißschuh <linux@...ssschuh.net>
> ---
> Changes in v2:
> - Add fix to validate buffer type validation (patch 1)
> - Drop usage of devm-APIs as these are unusable for unbound devices
> - Evaluate _STR on each sysfs access
> - Link to v1: https://lore.kernel.org/r/20240613-acpi-sysfs-groups-v1-0-665e0deb052a@weissschuh.net
>
> ---
> Thomas Weißschuh (5):
> ACPI: sysfs: validate return type of _STR method
> ACPI: sysfs: evaluate _STR on each sysfs access
> ACPI: sysfs: manage attributes as attribute_group
> ACPI: sysfs: manage sysfs attributes through device core
> ACPI: sysfs: remove return value of acpi_device_setup_files()
>
> drivers/acpi/device_sysfs.c | 196 +++++++++++++++++++-------------------------
> drivers/acpi/internal.h | 3 +-
> drivers/acpi/scan.c | 6 +-
> include/acpi/acpi_bus.h | 1 -
> 4 files changed, 89 insertions(+), 117 deletions(-)
> ---
If this is not urgent, and I don't think it is, I'd rather defer it to
the 6.12 cycle (that is, I'd apply it after the upcoming 6.11 merge
window).
Thanks!
Powered by blists - more mailing lists