Messages in this thread | | | From | Alexandre Courbot <> | Date | Tue, 12 May 2015 15:37:47 +0900 | Subject | Re: [PATCH v2 00/23] gpio: sysfs: fixes and clean ups |
| |
On Tue, May 5, 2015 at 12:10 AM, Johan Hovold <johan@kernel.org> wrote: > These patches fix a number of issues with the gpio sysfs interface, > including > > - fix memory leaks and crashes on device hotplug > - straighten out the convoluted locking > - reduce sysfs-interface latencies through more fine-grained locking > - more clearly separate the sysfs-interface implementation from gpiolib > core > > The first patch is marked for stable and could go into 4.1. [ May > already have been applied but not pushed by Linus, but included in v2 > for completeness. ] > > Unfortunately we can't just kill the gpio sysfs interface, but these > patches will make it more manageable and should allow us to implement a > new user-space interface while maintaining the old one (for a while at > least) without losing our sanity. > > Note that there is still a race between chip remove and gpiod_request (and > therefore sysfs export), which needs to be fixed separately (for instance as > part of a generic solution to chip hotplugging).
Reiterating my
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
on this very nice series.
| |