Return-Path: Date: Thu, 20 Mar 2014 15:17:32 -0500 From: Felipe Balbi To: Marcel Holtmann CC: Felipe Balbi , Greg KH , , , Peter Hurley , , , Linux OMAP Mailing List , Linux Kernel Mailing List Subject: Re: [PATCH 09/11] bluetooth: hci_ldisc: fix deadlock condition Message-ID: <20140320201732.GA23113@saruman.home> Reply-To: References: <1395343807-21618-1-git-send-email-balbi@ti.com> <1395343807-21618-9-git-send-email-balbi@ti.com> <95DFF994-1668-4F93-943B-06805FD5B20B@holtmann.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="M9NhX3UHpAaciwkO" In-Reply-To: <95DFF994-1668-4F93-943B-06805FD5B20B@holtmann.org> List-ID: --M9NhX3UHpAaciwkO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 20, 2014 at 12:40:40PM -0700, Marcel Holtmann wrote: > Hi Felipe, >=20 > > LDISCs shouldn't call tty->ops->write() from within > > ->write_wakeup(). > >=20 > > ->write_wakeup() is called with port lock taken and > > IRQs disabled, tty->ops->write() will try to acquire > > the same port lock and we will deadlock. > >=20 > > Reviewed-by: Peter Hurley > > Reported-by: Huang Shijie > > Signed-off-by: Felipe Balbi > > --- > > drivers/bluetooth/hci_ldisc.c | 24 +++++++++++++++++++----- > > drivers/bluetooth/hci_uart.h | 1 + > > 2 files changed, 20 insertions(+), 5 deletions(-) >=20 > I hope these are not causing any conflicts with bluetooth-next / > linux-next. If not, then I can let Greg take it through tty-next tree. >=20 > Acked-by: Marcel Holtmann tty-next is already closed, i'll rebase (if necessary) once -rc1 is out ;-) cheers --=20 balbi --M9NhX3UHpAaciwkO Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJTK0zcAAoJEIaOsuA1yqREaYoQAKQrd/P/CKeb1ROSx0x7Bbol wjoUjUVab/tRHp5DYqJLr6xrB3Ns6FTHJ1sJNi+fou6k2FGfgjGUxRGxKqqNTSEj BUWrdENgphuZyLsXAiT057CX8NMO3q3pKHHcBNJrZpdedXY3iQYnSmEpzM1qy3Km blUzlEnlcVLPNsmurDccCM3GJQ5evfrEnZQn53hMTzKQnklJx6RC9K87h0U10jDy EzQZM7nCX5/ktJPdimVZw3ls9KsVZ4ffjBMPcNLhc6QuHSYPIouzFGPWEZk8AzLx uEq085A5dYU5wLBXODOLIzmw9spx10OzwHK9dpdVSgwkGXKl8g0cNq4RhZ0hBrln quil7WItwNROgUgZxk0gvo5966Hh8iXl3CZ+RyxjadOABrHo03gjrp30ttdzfLPC ajWzONIjufHb7+PvEIguNhQX39oNx6NvsneZu7hPcb2KHshGVVFUSDOezuHzn6Eg yYYGUhrTgmroGqi2QD3sHbv1DFehouBuP4bmNCTk0vmYGbRq23PvDWcBTxCFhRek gQ3RvVgcV8lwyAx6XZM1S6Y7WmbXmRHTsY3K1zh00BzzOmah9Dhx9dBA+qHLan8F 23GIQjxF0427lVn/IuXU5SmoCdAy2+YasZ2P9xKWX0qt48MSjYxdfNwdjROmq/aj h0Ih3Sk6WmtpVDfkpdp4 =o3Ee -----END PGP SIGNATURE----- --M9NhX3UHpAaciwkO--