From mboxrd@z Thu Jan 1 00:00:00 1970 From: Johan Hovold Subject: Re: [PATCH 0/4] serdev: fix broken lifetime assumptions Date: Wed, 17 May 2017 12:39:58 +0200 Message-ID: <20170517103958.GU3657@localhost> References: <20170411170731.4085-1-johan@kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20170411170731.4085-1-johan@kernel.org> Sender: linux-kernel-owner@vger.kernel.org To: Rob Herring , Greg Kroah-Hartman Cc: Jiri Slaby , linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold List-Id: linux-serial@vger.kernel.org On Tue, Apr 11, 2017 at 07:07:27PM +0200, Johan Hovold wrote: > This series fixes a number of issues with the new serdev code, which was > based on incorrect tty-port lifetime assumptions. > > The first patch disables serdev support by reverting the patch which > hooked into the tty layer in a broken way that leads to crashes and > leaks when deregistering devices. This one should probably go into 4.11. > > The second patch fixes a specific bug in the tty-port client > registration code, while the third patch adds a new interface for > registering serdev devices. The final patch ultimately enables serdev > again for the serial drivers. > > More details can be found in the individual commit messages. > > Johan > > > Johan Hovold (4): > Revert "tty_port: register tty ports with serdev bus" > serdev: fix tty-port client deregistration > tty/serdev: add serdev registration interface > serial: enable serdev support Rob, did you have any further comments to this series? Greg, I think these should go into 4.12-rc2, and the first patch should probably also have a stable tag now as serdev resource-management is clearly broken in 4.11. Johan