Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1215140iog; Tue, 14 Jun 2022 01:21:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwstO/Nd0dfu/YaVppxfO0acFWGoJi3IGeCulwFARv8kiB/bdJWo/DsrlKLk5n+azwG+1Cj X-Received: by 2002:a05:6402:909:b0:435:a8b:5232 with SMTP id g9-20020a056402090900b004350a8b5232mr1039229edz.240.1655194910984; Tue, 14 Jun 2022 01:21:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655194910; cv=none; d=google.com; s=arc-20160816; b=YmLYrWPT6bZQVEzbwaQ+rYQd+6tBdezsJmSAMJRMlXcX64p1kIaVrfFpt+XNVBjeFM qzaR2eCkoZxEpFgUdrRQMOF/9bp6qcYFRu8pEaqBGtfYDColqONJ/6BqHPO2To7KFJMw eqpkNAfh5TyTuR7b49Re9Xznm5l0E0GfrDRR6exqUVsEOlAbzSMWB54+07woM0BLKeLi vp8rMCbvlkNCnhthhwTU+1YYIQdbqUBYHJn7WMF8QwDRy35aiXiYBxx4Zyrp3iN/uMTO c71GUSJ+XH3M8Fy3hJZ8cD6jMoRukda82XnghPMwiMsKlUrE6aeOJa8ODQhZPz5EPFv4 WhGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=/CkNSCdOHIp/6lIf7jWyMNo+jJBfgUBqPTYOXopN56k=; b=OTtL3UJxQdJPyTRxd98VpGQHunPmmSebNf1KK4+Pri+g2bRaKDPDSOcNkhsuTR4kFa J9JJG9lhDp1ScSaj8Mt/fG7DMW2AhnmpgmdjtDsT9PzNwW3H1nPbeN/YEdnPRpgnxaVg mg6zNIn4CEBlhV4fv8cCH1vsU+ayD06MnNLMMaZ+DzEs65KqySxPQGvoUysHpdO7feOH HpfyRBiW916GvEgE8qCOT/TgwvYpfp/R8a40NufQBSXDzBGAgVVVERlqj7vhNnH1OGYZ NkGKuW5E+H4gp59l1LnanWduAPsRKn+tSJP55W4yt0YkBohlR/BDMDnuuFs9vyalAO98 ERzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kernkonzept.com header.s=mx1 header.b=mxU9jITm; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernkonzept.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l12-20020a170906794c00b006fe89c9ef8csi12006602ejo.764.2022.06.14.01.21.05; Tue, 14 Jun 2022 01:21:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@kernkonzept.com header.s=mx1 header.b=mxU9jITm; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernkonzept.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351275AbiFNICw (ORCPT + 99 others); Tue, 14 Jun 2022 04:02:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240331AbiFNICt (ORCPT ); Tue, 14 Jun 2022 04:02:49 -0400 Received: from mx.kernkonzept.com (serv1.kernkonzept.com [IPv6:2a01:4f8:1c1c:b490::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 063541B7AC; Tue, 14 Jun 2022 01:02:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kernkonzept.com; s=mx1; h=In-Reply-To:Content-Type:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=/CkNSCdOHIp/6lIf7jWyMNo+jJBfgUBqPTYOXopN56k=; b=mxU9jITm245tXQEx3hRZynonfT 4o1NNq5g5d6okkBmPkYML2tVaOuEWCX9aAgUCT//4CybmBprRK1N7xn1TfCFmZYvG2uD3i7D9bC4+ TNhoEkiEFA5WFtPd8j9aamp5HrUIm7epiXlSh4gO9fpf79lmwmVDKDM4+asmL5eExyMzTJyzouR/R 3aJW1oRq7NXL9l+CJiNNPWos1sKZxoUdtlipyjZVh6ut3lifINRdyZ1Z2VPlARgrQh5MWr3xCOmK3 rYlmiaU0HSl0KjDrmYWZsCpsZku79C8ovrufVLt/ApgI/GpJxJEoyONsytPope5XVcFmvjSewQA8c B7m82Qlg==; Received: from [10.22.3.24] (helo=kernkonzept.com) by mx.kernkonzept.com with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.94.2) id 1o11VN-0056M4-Pd; Tue, 14 Jun 2022 10:02:29 +0200 Date: Tue, 14 Jun 2022 10:02:21 +0200 From: Stephan Gerhold To: Paul Menzel Cc: Marcel Holtmann , Johan Hedberg , Luiz Augusto von Dentz , Andy Gross , Bjorn Andersson , linux-arm-msm@vger.kernel.org, linux-bluetooth@vger.kernel.org, Stephan Gerhold Subject: Re: [PATCH] Bluetooth: btqcomsmd: Fix command timeout after setting BD address Message-ID: References: <20220613110745.3778356-1-stephan.gerhold@kernkonzept.com> <9d8238ba-500e-3490-8a25-e7b72bab175f@molgen.mpg.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9d8238ba-500e-3490-8a25-e7b72bab175f@molgen.mpg.de> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Paul, On Mon, Jun 13, 2022 at 06:09:33PM +0200, Paul Menzel wrote: > Am 13.06.22 um 13:07 schrieb Stephan Gerhold: > > The Bluetooth firmware seems to become unresponsive for a while after > > Please mention the device with the problematic firmware. > Will add a comment in v2. It seems to affect pretty much all devices that make use of the "btqcomsmd" driver. > > setting the BD address. At least on recent kernel versions this often > > The commit referenced in the Fixes tag is in Linux 4.9. Can you please name > the oldest Linux kernel version you experienced the problem with. > This is quite hard to say. It definitely became more apparent in the last few months (so at least 5.17+). But since it's a timing problem it's influenced by various side effects. For example, it is less likely to happen the more hardware functionality you enable on a board (because other interrupts come in and might cause the necessary delay). I believe that the problem also exists in some form on Linux 4.9, even though it might be harder to trigger it there. Thanks, Stephan