Received: by 2002:a05:622a:1442:b0:3a5:28ea:c4b9 with SMTP id v2csp828104qtx; Mon, 31 Oct 2022 15:06:15 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6sw22+DIaCeCIwM8lR3xkbhSU1EC+4hqJ9LgYnRNoxdmZMpXTEhUwYHtAch3B8Qjsayz2y X-Received: by 2002:a17:903:2cf:b0:186:61b8:84d3 with SMTP id s15-20020a17090302cf00b0018661b884d3mr16574687plk.34.1667253974858; Mon, 31 Oct 2022 15:06:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667253974; cv=none; d=google.com; s=arc-20160816; b=fEpLt+0SHQhaV2oZarsjOp00S52G97zXPBwmCcq37ZtTCC7w48oe1u3yHBxuffG7Ha h3yDvgtza+i5w00bN5bB1NbFnQVna8iIQV/4gtRZbt4+GEqqM63I19ycBihLOJaKhDFq wwqEAaPTaWKrqxHWS1zDViPlLP2K/i9L6zlTBqpq+UkZde8DwcQ6qwIuHeJW7d+8JwwT h9ChHlL4v75oiPayeA2/0p+QKDDaI2Ud0o3fDiwbrBPx6eWzrMYF2A/PU+n9HFwCgJQT jotRtB3h2lsJAZbtyGb07WiGNQ4KJvA+VyyKAEXvWpR8nmmd8CWGdCK8xh7vpBwuTT4N Wi0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=1KcDlAJydwsD6iBxe2zLcIj/QaQqPMYu3avBARGdTDE=; b=yFyO4A5nO/SoEKMi0Ma5/qY9wnIkjU4wc6QI4hVLdOKOAiOKxrPC03Hl7XHvF9Be2c EzJcpoumGFIeolulggmPCj03aOMvU2YhiVLYUrMay3oh3HEQYCTVyc1fvQYuc5S/+4RV B3CciHwGHVVJZU3V5xp/NG/Gc8MrdAdXtIt3zrZJLQfTZeKI8k+jHKaN/PV4C9mPfLxP 9Cke7S246VkpeUtWE4GQoM41jkCTKVmj0PA44HhNXTooXZRRpDi/ioS0D5BKGlIOR7AA ZwAsN0ndKmPCQR26Ix/j5Lpk/u16HCc6As+QDsviGbVu/2f4pgojouzdcKi+rtA3oH8B shcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@o2.pl header.s=1024a header.b=ml+ldyWh; 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=pass (p=NONE sp=NONE dis=NONE) header.from=o2.pl Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g190-20020a636bc7000000b004349119ea7bsi10387215pgc.401.2022.10.31.15.05.55; Mon, 31 Oct 2022 15:06:14 -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=pass (test mode) header.i=@o2.pl header.s=1024a header.b=ml+ldyWh; 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=pass (p=NONE sp=NONE dis=NONE) header.from=o2.pl Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229894AbiJaV63 (ORCPT + 99 others); Mon, 31 Oct 2022 17:58:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52152 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229628AbiJaV61 (ORCPT ); Mon, 31 Oct 2022 17:58:27 -0400 Received: from mx-out.tlen.pl (mx-out.tlen.pl [193.222.135.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DAE3D634D for ; Mon, 31 Oct 2022 14:58:22 -0700 (PDT) Received: (wp-smtpd smtp.tlen.pl 11469 invoked from network); 31 Oct 2022 22:58:18 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=o2.pl; s=1024a; t=1667253498; bh=1KcDlAJydwsD6iBxe2zLcIj/QaQqPMYu3avBARGdTDE=; h=Subject:To:Cc:From; b=ml+ldyWhxTB2iNZmeR7Iq+R1NcEIQUPpwnz+1HnyqjMfs/X2Ek9XzC4h8F/779xg4 c1qr9v/HpclUStvbjDTCY9RHj+cLy0CxloIEofcx5pRZGwOjadqs2szgK56x3/h4+j ugI2dv/C2PkGp+PUTbQUBHpyobiL3qO3hi7K/cUM= Received: from aaew218.neoplus.adsl.tpnet.pl (HELO [192.168.1.22]) (mat.jonczyk@o2.pl@[83.4.126.218]) (envelope-sender ) by smtp.tlen.pl (WP-SMTPD) with ECDHE-RSA-AES256-GCM-SHA384 encrypted SMTP for ; 31 Oct 2022 22:58:18 +0100 Message-ID: <58ab7693-b98a-6714-d6cf-f8e188bae254@o2.pl> Date: Mon, 31 Oct 2022 22:58:17 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.1 Subject: Re: "Bluetooth: hci0: HCI_REQ-0xfcf0" errors in dmesg Content-Language: en-GB To: "Gix, Brian" , "luiz.dentz@gmail.com" Cc: "Von Dentz, Luiz" , "johan.hedberg@gmail.com" , "linux-kernel@vger.kernel.org" , "linux-bluetooth@vger.kernel.org" , "marcel@holtmann.org" References: From: =?UTF-8?Q?Mateusz_Jo=c5=84czyk?= In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-WP-MailID: 78f8c89d63433d3137dcbe83300b425f X-WP-AV: skaner antywirusowy Poczty o2 X-WP-SPAM: NO 0000000 [QVN0] X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS 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 W dniu 31.10.2022 o 22:08, Gix, Brian pisze: > On Mon, 2022-10-31 at 13:37 -0700, Luiz Augusto von Dentz wrote: >> On Mon, Oct 31, 2022 at 1:15 PM Mateusz Jończyk >> wrote: >>> On 6.1.0-rc3, I have been seeing this error message in dmesg: >>> >>>         Bluetooth: hci0: HCI_REQ-0xfcf0 >>> >>> It is printed on every boot, resume from suspend and rfkill unblock >>> of the Bluetooth device. >>> The device seems to be functioning normally though (but I have done >>> limited testing only). >>> >>> After some investigation, it turned out to be caused by >>>         commit dd50a864ffae ("Bluetooth: Delete unreferenced >>> hci_request code") >>> which modified hci_req_add() in net/bluetooth/hci_request.c to >>> always print an error message >>> when that function is executed. [...] > This, I suspect, will be an ongoing issue, particularily with Vender > Opcodes, which we don't have much direct visability and testing > capabilities. The error gets logged because it is using a deprecated > (but still working) mechanism to issue HCI opcodes. > > If I can get the source code path of the call as it is being > contructed, I can try making you a patch Mateusz... But you will > probably need to do the testing/verification for me. Sure, what info would you like me to provide? The MSFT Vendor Opcode 0xFCF0 is defined in drivers/bluetooth/btrtl.c, line 725. I'm not sure if I have any additional Bluetooth LE devices around, unfortunately. Additionally, I think that the error message is a bit cryptic, and perhaps could be changed and/or demoted to a notice for kernel 6.1. Greetings, Mateusz