Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4601357pxj; Tue, 25 May 2021 11:40:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw8fmZE7oA0QH0zJ3R+g+krC5T3b6hUFv7+YQJ8LGK7zjSGV92k4eQSaLkak42SSS6BpV57 X-Received: by 2002:a17:906:5d0a:: with SMTP id g10mr29522521ejt.349.1621968015286; Tue, 25 May 2021 11:40:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621968015; cv=none; d=google.com; s=arc-20160816; b=VOuBHZxOCEwgySnQ9dmhdBDte5WP+V/20xFDdDTQFh423orggmNKuQqW72Q/UoepH0 JmQmq9mvrr1DcmaoTqyO4DsFdhP9k3DyQEab5+cRy2aDZ/kO9Df7ze6xuT6YGs/NhyHh leZRyAVli/kQ4NrsYOJ9ohv4NnNeEjK1L3k2UR5ni0QXg1AMvHxvw2Nq6KbfHi31dqpa rv6ACzkg7Yqmeb+88FXj+R/BFcFz74pOdxzHpyjLYket62edNpHsv3lBzuTnUEHteqCa ls711UhACSFOl9N3XIhjRfMtcOtdG9/KlxZzd2DAItAgS6RvhWODXnoCpd+B/b5O6e1k MrTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=HmyimM5cHvH2Y+w3J5MKIzLQS3i1SKw1Mrf45YMrUfY=; b=xNyNhNCqsWkyqmhtU+gzTUGtoLOpDH4KQPgeZkPiHuT5btQysWyM+kdvNIxpkxvYD9 aOgPynFtpI20U7pHBnUVTRqw14hphg5pqZ/u2HCcFByLVulpSdj9g5NSJIfIOxnqlYxV GuhRP30obKHzDs0cDtU/pOdB8/LMGoQFV/cdcO3aY7x7fAQ6+rIkQiLYADnhDL0btnBj p+IHFSteFJQBzR43UtVCcwq3DuetdBQT+9mrqLTFNyJkMp5YBIAlnfGpoc6Xu4qSw4Cc x/QhK3VdPesl1M1to3snV1PhPkfHD3a6UnICQtGUcpq9rUWey1mx3yVGkjUzSjgV+l0b FAcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=RWfDKKY4; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u5si7455765ejn.571.2021.05.25.11.39.34; Tue, 25 May 2021 11:40:15 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=RWfDKKY4; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230288AbhEYSL5 (ORCPT + 99 others); Tue, 25 May 2021 14:11:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41330 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230250AbhEYSLw (ORCPT ); Tue, 25 May 2021 14:11:52 -0400 Received: from mail-yb1-xb2b.google.com (mail-yb1-xb2b.google.com [IPv6:2607:f8b0:4864:20::b2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 423CFC061574 for ; Tue, 25 May 2021 11:10:21 -0700 (PDT) Received: by mail-yb1-xb2b.google.com with SMTP id i4so44347808ybe.2 for ; Tue, 25 May 2021 11:10:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=HmyimM5cHvH2Y+w3J5MKIzLQS3i1SKw1Mrf45YMrUfY=; b=RWfDKKY4xBLmsXpxhQb5gHYOv80efugGBCMVpe5GE+svyA4u0fhcRx9AwAJ1e0aLet 6YqUy2+UEblKQRLZrWwrPZctIqdRVev6q7yDMTVPA6cCt3b+wYkYOvEAQDwBhqAfeM9Y 1ifSfiA7eS29WNF8LDjAm/tqfjkqIzusXWqMNp6g9TcsPpQFAbPyYOM6XTnIDgHR7m9/ RWNR3BgvGs+7ln3RekpgCcL/yBuepOyn1sPIWL8qnWaBe1tzhYQIEiZK0Fu2oLDj2XxQ AjP5Hm8fpTxCRluPf7Z212OGKpxEx91JevWNk3tKXF9wCTeYtTxttG2Mi/euJw1VAgwD 0E7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=HmyimM5cHvH2Y+w3J5MKIzLQS3i1SKw1Mrf45YMrUfY=; b=dRUXP+PNcFgjUR0O91fcWFSZHOS9Kq3QHr8G0kMzOK/gwpx6+Cl5i1mP+iskUFrKLX RtSWx1eH2zd8ma0zgOxCRX1KTxphlRPOuk+4SkAnkn1L+YgxZtbII+iwsNuMhKTDDSBH rODpc6W73fxqlB5Vmc9fu8zhFn19RqdvkRCx+LzptZG6S7w8/TPwexN19zrXlMbvDUuy XK+KBItggKJ3ARlTex0SPFjVfZrbkI+tca++77gzkwRNLoM9yaXkKQg+7Nxeo877kO6q y1ZsBO4uaEpVTf6TmQYoTmmUSBiFhwht29k4ozNBbEnnVxTr4gaHPCEHiUizdn1JORtY spgQ== X-Gm-Message-State: AOAM5327Fn9QVsUH/iYZG3DXqbH4ca4EaREkDxyouyEZ2xea8UNXfT2Y b9EH6THupG0+IPFRQxlZY9tqgHbyuctEMfanD1qJCR75E3U= X-Received: by 2002:a05:6902:114c:: with SMTP id p12mr47009993ybu.282.1621966220474; Tue, 25 May 2021 11:10:20 -0700 (PDT) MIME-Version: 1.0 References: <81eddb07-f346-c12a-345b-d929fd2edb10@googlemail.com> <52914cbc-4004-8389-fa7b-6b42cf8f85e1@googlemail.com> In-Reply-To: <52914cbc-4004-8389-fa7b-6b42cf8f85e1@googlemail.com> From: Luiz Augusto von Dentz Date: Tue, 25 May 2021 11:10:09 -0700 Message-ID: Subject: Re: BT Intel: Regression loading firmware in linux-5.13-rc3 To: Chris Clayton Cc: "K, Kiran" , "linux-bluetooth@vger.kernel.org" , "Von Dentz, Luiz" , "Srivatsa, Ravishankar" , "Tumkur Narayan, Chethan" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Chris, On Tue, May 25, 2021 at 8:08 AM Chris Clayton wrote: > > Thanks for your reply, Kiran. > > Does the phrase "next release" mean linux-5.13-rc4 or the next release of linux-firmware? I just want to know what to > look out for. > > Thanks > > Chris > > > On 25/05/2021 11:14, K, Kiran wrote: > > Hi Chris, > > > > This is a known issue related to firmware and is expected to be fixed in next release. > > > > Thanks, > > Kiran > > > > > >> -----Original Message----- > >> From: Chris Clayton > >> Sent: Tuesday, May 25, 2021 3:28 PM > >> To: linux-bluetooth@vger.kernel.org; Von Dentz, Luiz > >> > >> Subject: BT Intel: Regression loading firmware in linux-5.13-rc3 > >> > >> Hi, > >> > >> I've built and installed 5.13-rc3+ (freshly pulled from Linus' tree). On booting > >> it I find that none of my bluetooth devices can connect. In the output from > >> dmesg I find: > >> > >> [ 8.170332] Bluetooth: hci0: Firmware revision 0.0 build 121 week 7 2021 > >> [ 8.171339] bluetooth hci0: Direct firmware load for intel/ibt-19-16-0.sfi > >> failed with error -2 > >> [ 8.171871] Bluetooth: hci0: Failed to load Intel firmware file intel/ibt-19-16- > >> 0.sfi (-2) > >> > >> As you can see it is looking for a non-existent firmware file intel/ibt-19-16- > >> 0.sfi. intel/ibt-19-16-4.{ddc,sfi} do exist and both 5.12.6 and 5.10.39 > >> successfully load those. > >> > >> If I create symbolic links from the ibt-19-16-4 files to ibt-19-16-0 equivalents, > >> rc3 loads them and my bluetooth devices work fine. I can't find any ibt-19-16- > >> 0 files in the lkinux-firmware tree on kernel.org (or anywhere else for that > >> matter). > >> > >> I looked at the changes introduced in 5.13 and found a couple of suspects - > >> d68903da4e220d1e6b7c6ecdb853c36144c6acc9 > >> (Bluetooth: btintel: Consolidate intel_version parsing) and its parent commit > >> 0a460d8fe2db6887169a19b048ea0c90f8bdc3b7 > >> (Bluetooth: btintel: Consolidate intel_version_tlv parsing). Both were > >> authored by Luiz Augusto von Dentz and make changes to code that > >> processes the firmware version data. I built a kernel with > >> 0a460d8fe2db6887169a19b048ea0c90f8bdc3b7 > >> checked out and that loads the installed firmware fine. > >> d68903da4e220d1e6b7c6ecdb853c36144c6acc9, however, seems to be the > >> the change that breaks things because it tries (and obviously fails) to load ibt- > >> 19-16-0.sfi. > >> > >> I can provide any additional diagnostics or test a fix, but please copy me in to > >> any email because I'm not subscribed to the list. > >> > >> In the meantime, I'll use my symlinks workaround. > >> > >> Thanks, > >> > >> Chris https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git/commit/drivers/bluetooth/btusb.c?id=183dce5a7fd3040ced6a220b0aa536c926f10cd9 That said we shall probably merge it to 5.13 before it is released. -- Luiz Augusto von Dentz