Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp741093ybe; Wed, 4 Sep 2019 07:07:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqyMR27HwPct0SEq58fJaoydMnT/MEAykC2Za3eyS1VZhyyDlm8ysbnPdg6byMmjgOmJTeRS X-Received: by 2002:a62:6489:: with SMTP id y131mr45366589pfb.124.1567606044006; Wed, 04 Sep 2019 07:07:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567606043; cv=none; d=google.com; s=arc-20160816; b=YOT8ARh4/sKxa/H54ax+PjmY7NSSIYphlkhU7wj70RfvYJ3GSu6L8u/tXlzkMdsm8H FLzGRnrH/KajZNbXMtvatJ3bJ1yvyh2OhE4mol09H8SShKTKR2RnPcR+UDT179fKWdOB kt7JErYlFxkS0sGX13KAt4IwnCFsrz+1Es38cWozUXpWAOgrKd2AI13QpbdV6z0YuITf p4h0MhNySg6/y2tEUCaYb2s5dklgyIkK9l/Z/+xn06RyRPV0ZSGfkOtqi+rpVSAyg3NG FXbd6MHSsCxSiBhhlPKX6IdlfXLsMa3fbM+O/PacpVSOdxzhyqdafQFJalMYKaCj6uwr Vbzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version; bh=9SvtIncpqED5RJc26SU9lgXm5HS6p2iuKZydRvlAB7g=; b=VQvfJ70JNcYp6vUugH0FzQ1PWVv1BpGtba3inhMljqzXr9p3Xe3yZXPOR9ebzNdlAf mptX2OPomn3TUry42qAxuj+QTF6XVA1JC8cNU1LENkLYeHSBIYzLsis5IJhsRIxGGTzG gfUjLkHfLlmmyuzwWvHnKqgpnc9pIdpEWAizBccBkZlJcwhS/N7/GPDKOu7DTHDS0C/J RtQ0mPRhju/JkD7rHCblmyrnGaHDBVFZoepRj7TTDYYXZeWnO5s9yBSAGX+E3LU9pLSD tSZgjaFCkwEx1Fm/MkzqrQxPCRAEatryOyeUcIliRCoDoC3yAbMUegHJTVvKPWmxZqFD yq4Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 77si17572831pge.315.2019.09.04.07.07.08; Wed, 04 Sep 2019 07:07:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730214AbfIDOG4 (ORCPT + 99 others); Wed, 4 Sep 2019 10:06:56 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:34727 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727156AbfIDOG4 (ORCPT ); Wed, 4 Sep 2019 10:06:56 -0400 Received: from marcel-macbook.fritz.box (p4FEFC197.dip0.t-ipconnect.de [79.239.193.151]) by mail.holtmann.org (Postfix) with ESMTPSA id E3037CEC82; Wed, 4 Sep 2019 16:15:41 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: [PATCH v1] bluetooth: hci_qca: disable irqs when spinlock is acquired From: Marcel Holtmann In-Reply-To: <1567571656-32403-1-git-send-email-c-hbandi@codeaurora.org> Date: Wed, 4 Sep 2019 16:06:53 +0200 Cc: Johan Hedberg , mka@chromium.org, linux-kernel@vger.kernel.org, linux-bluetooth@vger.kernel.org, hemantg@codeaurora.org, linux-arm-msm@vger.kernel.org, bgodavar@codeaurora.org, anubhavg@codeaurora.org Content-Transfer-Encoding: 7bit Message-Id: <6F34A9CD-7C8F-4E5D-9A22-9F05CC2CF9BC@holtmann.org> References: <1567571656-32403-1-git-send-email-c-hbandi@codeaurora.org> To: Harish Bandi X-Mailer: Apple Mail (2.3445.104.11) Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Harish, > Looks like Deadlock is observed in hci_qca while performing > stress and stability tests. Since same lock is getting > acquired from qca_wq_awake_rx and hci_ibs_tx_idle_timeout > seeing spinlock recursion, irqs should be disable while > acquiring the spinlock always. > > Signed-off-by: Harish Bandi > --- > drivers/bluetooth/hci_qca.c | 10 ++++++---- > 1 file changed, 6 insertions(+), 4 deletions(-) patch has been applied to bluetooth-stable tree. Regards Marcel