From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Sat, 2 Sep 2017 09:27:07 +0200 From: Mart van de Wege To: Sebastian Andrzej Siewior Cc: Marcel Holtmann , Johan Hedberg , Gustavo Padovan , linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rt-users@vger.kernel.org, tglx@linutronix.de, Peter Zijlstra Subject: Re: Possible BT deadlock due to recursive read locking (Was: Re: kernel BUG at kernel/locking/rtmutex.c:1059) Message-ID: <20170902092707.1e8800bb@mail.com> In-Reply-To: <20170901105107.753617a1@gmail.com> References: <86val4928u.fsf@gaheris.avalon.lan> <20170831145211.xlu6cvocqdkzevsl@linutronix.de> <20170901105107.753617a1@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII List-ID: On Fri, 1 Sep 2017 10:51:07 +0200 Mart van de Wege wrote: > On Thu, 31 Aug 2017 16:52:12 +0200 > Sebastian Andrzej Siewior wrote: > > > On 2017-08-30 23:25:53 [+0200], Mart van de Wege wrote: > > > Hi, > > Hi, > > > > > The issue persists up to v4.11.12-rt10 > > Does > > CONFIG_RWLOCK_RT_READER_BIASED=y > > make it go away? > > > Yes, that does make it go away. -rt8 now boots cleanly, and works > fine. Building -rt10 now to be sure. > Confirm that as of 4.11.12-rt11 the deadlock still goes away when enabling CONFIG_RWLOCK_RT_READER_BIASED Mart From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mart van de Wege (by way of Mart van de Wege ) Subject: Re: Possible BT deadlock due to recursive read locking (Was: Re: kernel BUG at kernel/locking/rtmutex.c:1059) Date: Sat, 2 Sep 2017 09:27:07 +0200 Message-ID: <20170902092707.1e8800bb@mail.com> References: <86val4928u.fsf@gaheris.avalon.lan> <20170831145211.xlu6cvocqdkzevsl@linutronix.de> <20170901105107.753617a1@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Marcel Holtmann , Johan Hedberg , Gustavo Padovan , linux-bluetooth-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-rt-users-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, tglx-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org, Peter Zijlstra To: Sebastian Andrzej Siewior Return-path: In-Reply-To: <20170901105107.753617a1-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Sender: linux-bluetooth-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-rt-users.vger.kernel.org On Fri, 1 Sep 2017 10:51:07 +0200 Mart van de Wege wrote: > On Thu, 31 Aug 2017 16:52:12 +0200 > Sebastian Andrzej Siewior wrote: > > > On 2017-08-30 23:25:53 [+0200], Mart van de Wege wrote: > > > Hi, > > Hi, > > > > > The issue persists up to v4.11.12-rt10 > > Does > > CONFIG_RWLOCK_RT_READER_BIASED=y > > make it go away? > > > Yes, that does make it go away. -rt8 now boots cleanly, and works > fine. Building -rt10 now to be sure. > Confirm that as of 4.11.12-rt11 the deadlock still goes away when enabling CONFIG_RWLOCK_RT_READER_BIASED Mart From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752726AbdIBN6O (ORCPT ); Sat, 2 Sep 2017 09:58:14 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:37328 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752441AbdIBN6M (ORCPT ); Sat, 2 Sep 2017 09:58:12 -0400 X-Google-Smtp-Source: ADKCNb4G/iHTmYe4FWsfi+yMFVRsMSKmp7ZHF6/+8y5UkECoZUQs0+4hcdNJxPIjL3dwGIHYoKA+WQ== Date: Sat, 2 Sep 2017 09:27:07 +0200 From: Mart van de Wege (by way of Mart van de Wege ) To: Sebastian Andrzej Siewior Cc: Marcel Holtmann , Johan Hedberg , Gustavo Padovan , linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rt-users@vger.kernel.org, tglx@linutronix.de, Peter Zijlstra Message-ID: <20170902092707.1e8800bb@mail.com> In-Reply-To: <20170901105107.753617a1@gmail.com> References: <86val4928u.fsf@gaheris.avalon.lan> <20170831145211.xlu6cvocqdkzevsl@linutronix.de> <20170901105107.753617a1@gmail.com> X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Possible BT deadlock due to recursive read locking (Was: Re: kernel BUG at kernel/locking/rtmutex.c:1059) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 1 Sep 2017 10:51:07 +0200 Mart van de Wege wrote: > On Thu, 31 Aug 2017 16:52:12 +0200 > Sebastian Andrzej Siewior wrote: > > > On 2017-08-30 23:25:53 [+0200], Mart van de Wege wrote: > > > Hi, > > Hi, > > > > > The issue persists up to v4.11.12-rt10 > > Does > > CONFIG_RWLOCK_RT_READER_BIASED=y > > make it go away? > > > Yes, that does make it go away. -rt8 now boots cleanly, and works > fine. Building -rt10 now to be sure. > Confirm that as of 4.11.12-rt11 the deadlock still goes away when enabling CONFIG_RWLOCK_RT_READER_BIASED Mart