Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp322391pxt; Wed, 11 Aug 2021 22:31:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy/9Vx3EHwkHgAN385M27uNrPg2K7bhcAuDPjfbXyhGP8IKLElILcz4UWEoBYzZskbeq3CW X-Received: by 2002:a5d:938a:: with SMTP id c10mr1704797iol.0.1628746268872; Wed, 11 Aug 2021 22:31:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628746268; cv=none; d=google.com; s=arc-20160816; b=0yyhSOUFwINmEIn+wlSDxXFvEgKMJ6Ph/v19X+80qnu7e3XfXUJ6qY704jr36o9FK0 2OctsKbBBRseYWsTSfxMdTr4IjoF7cHMU1pDkcHnO3EBbLc6AowuhzysbelsYTPg7RYH RcxBBP5RBNBf9RDiAzWaR5xFdjBUoqPYdw+8PKTUzCUvwWsWQOz3KuFFy7P9ZLi2XFR2 0ZyZCe4Pi72NIowy1MGXIcnjAj3zbokYSt9MDFBsaelW3rVVc0zybrFw4uB0UtJHNMe5 ZsG81dByBSgClZaRjyP3M2rp9PuZJpkx00XMmjsqTOZP7iY5smPGcStCQYgYEFhEyAOc PehQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version; bh=SFBHEvAWYEj6TCIJN/NxJ0DMaFStZ/0/47F1fnyXhiA=; b=zQ/0gIMhu8SNlNCv36xmQF36dQbrEifd6LUgYdJhS8nw/E6lmvy3xq+EEnRtHL3vwb u0HA9rmJLERheXexGDrqGTd2Nc5D/apsuSPrQKrxxb+8OJjQzngALURn2im1r0aaARf9 2+buk3IOWs6xpVVbBh6uxrcXb9FbwQIpB9NPFjO1NZIGSToTIwe/UKhVndWDtGOr2wfx VYgikYTixLoPe+nziUrB/ZZlVELGE82hQhVZSJci228/u64uWYzZwRDb5cpHzR/WfDpB WnRRTrx6H24EAebLaREt7yrLxiKsfZuZYrlq3Gm7aqGtdmHuhVnp1kbOU0pU5q3NHDtL MN3g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z12si1692247ilb.144.2021.08.11.22.30.35; Wed, 11 Aug 2021 22:31:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234287AbhHLF35 convert rfc822-to-8bit (ORCPT + 99 others); Thu, 12 Aug 2021 01:29:57 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:34894 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233763AbhHLF3x (ORCPT ); Thu, 12 Aug 2021 01:29:53 -0400 Received: from smtpclient.apple (tmo-100-163.customers.d1-online.com [80.187.100.163]) by mail.holtmann.org (Postfix) with ESMTPSA id 059AECECDD; Thu, 12 Aug 2021 07:29:22 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.100.0.2.22\)) Subject: Re: [PATCH] Bluetooth: msft: add a bluetooth parameter, msft_enable From: Marcel Holtmann In-Reply-To: <20210812042305.277642-1-koba.ko@canonical.com> Date: Thu, 12 Aug 2021 07:29:21 +0200 Cc: Johan Hedberg , Luiz Augusto von Dentz , "David S. Miller" , Jakub Kicinski , BlueZ , "open list:NETWORKING [GENERAL]" , open list , Archie Pusaka Content-Transfer-Encoding: 8BIT Message-Id: <4374EE78-86B9-43BF-B387-8C51C15CB943@holtmann.org> References: <20210812042305.277642-1-koba.ko@canonical.com> To: Koba Ko X-Mailer: Apple Mail (2.3654.100.0.2.22) Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Koba, > With Intel AC9560, follow this scenario and can't turn on bt since. > 1. turn off BT > 2. then suspend&resume multiple times > 3. turn on BT > > Get this error message after turn on bt. > [ 877.194032] Bluetooth: hci0: urb 0000000061b9a002 failed to resubmit (113) > [ 886.941327] Bluetooth: hci0: Failed to read MSFT supported features (-110) > > Remove msft from compilation would be helpful. > Turn off msft would be also helpful. > > Because msft is enabled as default and can't turn off without > compliation, > Introduce a bluetooth parameter, msft_enable, to control. > > Signed-off-by: Koba Ko > --- > include/net/bluetooth/hci_core.h | 1 + > net/bluetooth/hci_core.c | 16 ++++++++++++++++ > net/bluetooth/msft.c | 30 +++++++++++++++++++++++++++++- > 3 files changed, 46 insertions(+), 1 deletion(-) NAK. This is for the Intel guys to figure out. Otherwise I am going to disable MSFT extension for AC9560 completely. What is your hw_variant for that hardware? Regards Marcel