Return-Path: Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:58047 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752090AbeBTR7f (ORCPT ); Tue, 20 Feb 2018 12:59:35 -0500 Message-ID: <1519149555.2617.164.camel@decadent.org.uk> Subject: Re: [PATCH v4.4.x] ALSA: seq: Fix regression by incorrect ioctl_mutex usages From: Ben Hutchings To: Takashi Iwai , Greg Kroah-Hartman Cc: Andres Bertens , stable@vger.kernel.org Date: Tue, 20 Feb 2018 18:59:15 +0100 In-Reply-To: <20180219161601.24110-1-tiwai@suse.de> References: <20180219161601.24110-1-tiwai@suse.de> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-IBsqP14zPEr9qIvChJv2" Mime-Version: 1.0 Sender: stable-owner@vger.kernel.org List-ID: --=-IBsqP14zPEr9qIvChJv2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, 2018-02-19 at 17:16 +0100, Takashi Iwai wrote: > This is the revised backport of the upstream commit > b3defb791b26ea0683a93a4f49c77ec45ec96f10 >=20 > We had another backport (e.g. 623e5c8ae32b in 4.4.115), but it applies > the new mutex also to the code paths that are invoked via faked > kernel-to-kernel ioctls. As reported recently, this leads to a > deadlock at suspend (or other scenarios triggering the kernel > sequencer client). >=20 > This patch addresses the issue by taking the mutex only in the code > paths invoked by user-space, just like the original fix patch does. >=20 > Reported-and-tested-by: Andres Bertens > Signed-off-by: Takashi Iwai > --- >=20 > Tagged as 4.4.x, but should be applied to other older kernels, too. [...] Thanks, I've queued this up for 3.2 and 3.16. Ben. --=20 Ben Hutchings If you seem to know what you are doing, you'll be given more to do. --=-IBsqP14zPEr9qIvChJv2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEErCspvTSmr92z9o8157/I7JWGEQkFAlqMYfMACgkQ57/I7JWG EQmWSw//UwZgDVyA+F7q9RyF3dzKZQg35V9zto1IgOscjf+1oALtU93Wdyjz5EXn 7WjPLt8jHtssynatF6AGG0dUaX0bSwbhrrjB8u0ftKmLmRQx6/X1lCwB+60L/rp9 o8YVnkXsskns2gkMnVZfn5WFKW0MQ8MIXUoiofCTDCEXUo958VgMHab23ebEAqvw XZ1yWueNlKCFgcAML0GtAzZPPbQ6zV64ZFNWbMCJPCTVBKsgGGHRG3FTuiqyqa5W lI8y1ugcT0f8ai+1PQ1JtJMDJd6AjvdFg2y2O9mHIzkojieD0+PPdSRAS3yhR6yy o770+xODpenIcLh+WDpZE9Jvs02kLOPbSsBKUOlSDutW+uMRMacWBTzejIn8zGxv l1htPNImcC/Sq4T950t5Hqx1j7xEIqkaYW7hSZYQl42R1Wao7HARurDuVKJKR74T CMvrqWcTlvibbRVJarSRi4DG+l95yhiBCA28btOzCKva6gUWxVRCBuOX44YETUgZ yTK5tSMz5+Eo4WManb5JtuXElcN2F+ququ5cP8rNzUGx7UqBLbhxAWjtFUTwZ7xN IE3Qj/UDJl2vp/rj9I354YU8DT1gOsMvfEOf+K5Dnh2EaaKcvABrlq97+OuwTKB8 pj/0dbnlX5Y9AXu5MPmA30N5fGqoxv2CW6wMvWYcUeV6Fc4SlLU= =BZZr -----END PGP SIGNATURE----- --=-IBsqP14zPEr9qIvChJv2--