Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4079901rdb; Thu, 14 Sep 2023 11:06:09 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHujy3Mnx7wCZ1RSmhFIa90qgkokiuRV/vnEdJHeoLnYbVNz6O5EHv/DXq/LWLfZjhkZ3u3 X-Received: by 2002:a17:903:278e:b0:1c3:3c91:61cc with SMTP id jw14-20020a170903278e00b001c33c9161ccmr5488919plb.13.1694714768672; Thu, 14 Sep 2023 11:06:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694714768; cv=none; d=google.com; s=arc-20160816; b=HLbxh3KFyU6DVnHMdIbE6qELbiEhkNSz9ItjtTGdRUPlqVJxAdgdQcIzi8GWJnKCX5 C+UuaMX39KDhhcA5QOAv9vdpFHOhASLoUcQEIaLKrOy0lE2dLudXh9K8TxdZOblHsNkA 3WsNZxsDnfpheFpyzmESLPW6nnlgkyKMqv4Ej2/iCRjuGZhIsHmVCj6AKYiHCoGPFuie 6DROwRoPVeOXOWIeX13e0xXstaiJtvqNegs00gC/F2YQRVmk1aTyy/ZRobp9OTs4Hiy4 dxI1+iDD3C0cgUyhgBbqwPEE5uo3UfFsu2mdIPV8e4WIUBJK8mx2/SrC0Mhxx4kRwNuP 0lHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=KY7RxSvyKFVM2Q9cKuTZj2GNL1ddxHDWFLp3+vCl28w=; fh=31uzQsq/BIyWDz9HcqFwySTkxVINUp+6OlC4HLjY5+w=; b=amApis+wMKOQXnaioDfIWgwW1o68ogxv9NSwA6o5pyNj0QA0dBExhXAmWn7GtTF7X4 E46sg3lAuKlLYkiM1sbCnYE0FeB+hAcBTQhoQ/ttnfbYxEm0aVMgV3ZenqjnWhQzyeEF Md5m3qhCAR4117anwwIC8ZlRmtCY1C4i648UkxN+yofwMtFNbKw/Pvzcn6PWZZZKaGWJ s91aFyklgW4IRlqt9s3Mmk+kIRy3GvbQ0NHBEXS0vJsvH+ufvpzkcVVx0a8oLYhs1WEc H9YV3OjjRgC7pzLHIyQSXWpKWswIvezQc2x5+j5pAUpgMX4m3v+YcuEoz1V2452rvHjv kIGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b="KUdz/zg8"; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id i15-20020a17090332cf00b001c329a93c0fsi2302768plr.418.2023.09.14.11.06.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 11:06:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b="KUdz/zg8"; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id BC01F807616B; Thu, 14 Sep 2023 10:51:45 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231419AbjINRvq (ORCPT + 99 others); Thu, 14 Sep 2023 13:51:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239556AbjINRvq (ORCPT ); Thu, 14 Sep 2023 13:51:46 -0400 Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C85601FF5; Thu, 14 Sep 2023 10:51:41 -0700 (PDT) Received: by mail-lj1-x22c.google.com with SMTP id 38308e7fff4ca-2bb9a063f26so20312611fa.2; Thu, 14 Sep 2023 10:51:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694713900; x=1695318700; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=KY7RxSvyKFVM2Q9cKuTZj2GNL1ddxHDWFLp3+vCl28w=; b=KUdz/zg8uQqJ3Nf7zGRwWEnXxT9AvF1Z34UXifry5aGQJx3pwOdYKFj3sHrd1FlPS8 nJ9wXjZm8H1Gvf/R7y4uOTM4Z5NcNp0sl0NYy5xbH96WzUU8S32ho+pItA/qszQhnpe1 eCxud2ZyMknu5Tab0lyRv0hrVCdmDX1bMWcefLp4C8qgw3+TVQ1sCO+5P5Pr5ZwfnISt UZwGgrCdGzsPum9AmsyhIlgYcWyEGfBX2WhgTVQ1l5rafcn3H9e6S6KWZlp5ABIBhGH0 mJp0QbjZalKClp0HyeOlutT6wxUhGH8o9xIbnebR5gV+TWc6bDf6RKNJn8QmS/+KGVtH jk2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694713900; x=1695318700; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KY7RxSvyKFVM2Q9cKuTZj2GNL1ddxHDWFLp3+vCl28w=; b=BGpkSfg2f02sFjQ1B0anQTTplSwa0LSSsRu4olkOWxkJjIT68ec4HVRPfBV0k4Ujdh iUv4BDxsXSr5FmPa813cx4l8sGaeNLPcsK7cDvCMX+bfiGOmn4/6/G/SOZ3FDQzAONSF 7eR/2f/4qfvHHxFuGt3lQcUXGVFV8Si9rN6cSUVpiPzNqKMVdVeRfnNjgpjN0wyeyUCT kPYC5WaVQRWSpMndGGBFkzpB4wIj6CD3BQV9D9wTHFAVBW5SFCyYSwrfJJBAyLtga1p6 DvK9opzuAlFeDvPVNngHavK9G15y67CAelSxJ3Yi0MQQOhb0y4SviuOcPC8+WS8yIA9J xDUg== X-Gm-Message-State: AOJu0Yx7gevTeWQ+zoEWxkIDJM0ErRA4iU6D3pVmqSvzF7iVbRvkXcn9 jL/ZB/sWtbitIkXFrBipdTSdGVcMdfZ8K0SEyPW9dzKZNeHJLA== X-Received: by 2002:a2e:a281:0:b0:2bc:f1d3:b54c with SMTP id k1-20020a2ea281000000b002bcf1d3b54cmr5496422lja.20.1694713899582; Thu, 14 Sep 2023 10:51:39 -0700 (PDT) MIME-Version: 1.0 References: <20230829205936.766544-1-luiz.dentz@gmail.com> <169343402479.21564.11565149320234658166.git-patchwork-notify@kernel.org> <574ca8dd-ee97-4c8b-a154-51faf83cabdf@leemhuis.info> In-Reply-To: <574ca8dd-ee97-4c8b-a154-51faf83cabdf@leemhuis.info> From: Luiz Augusto von Dentz Date: Thu, 14 Sep 2023 10:51:27 -0700 Message-ID: Subject: Re: [PATCH] Bluetooth: hci_sync: Fix handling of HCI_QUIRK_STRICT_DUPLICATE_FILTER To: Thorsten Leemhuis Cc: Linux regressions mailing list , patchwork-bot+bluetooth@kernel.org, linux-bluetooth@vger.kernel.org, netdev , Stefan Agner Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Thu, 14 Sep 2023 10:51:46 -0700 (PDT) X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Hi Thorsten, On Wed, Sep 13, 2023 at 10:13=E2=80=AFPM Thorsten Leemhuis wrote: > > On 12.09.23 21:09, Luiz Augusto von Dentz wrote: > > On Mon, Sep 11, 2023 at 6:40=E2=80=AFAM Linux regression tracking (Thor= sten > > Leemhuis) wrote: > >> On 31.08.23 00:20, patchwork-bot+bluetooth@kernel.org wrote: > >>> This patch was applied to bluetooth/bluetooth-next.git (master) > >>> by Luiz Augusto von Dentz : > >>> On Tue, 29 Aug 2023 13:59:36 -0700 you wrote: > >>>> From: Luiz Augusto von Dentz > >>>> > >>>> When HCI_QUIRK_STRICT_DUPLICATE_FILTER is set LE scanning requires > >>>> periodic restarts of the scanning procedure as the controller would > >>>> consider device previously found as duplicated despite of RSSI chang= es, > >>>> but in order to set the scan timeout properly set le_scan_restart ne= eds > >>>> to be synchronous so it shall not use hci_cmd_sync_queue which defer= s > >>>> the command processing to cmd_sync_work. > >>>> > >>>> [...] > >>> > >>> Here is the summary with links: > >>> - Bluetooth: hci_sync: Fix handling of HCI_QUIRK_STRICT_DUPLICATE_F= ILTER > >>> https://git.kernel.org/bluetooth/bluetooth-next/c/52bf4fd43f75 > >> > >> That is (maybe among others?) a fix for a regression from 6.1, so why > >> was this merged into a "for-next" branch instead of a branch that > >> targets the current cycle? > > > > We were late for including it to 6.5, that said the regression was > > introduced in 6.4, > > 6.4? From the fixes tag it sounded like it was 6.1. Whatever, doesn't > make a difference, because: It seems I had it confused with HCI_QUIRK_BROKEN_LE_CODED, so you are right about this affecting from 6.1 onwards. > That answer doesn't answer the question afaics, as both 6.1 and 6.4 were > released in the past year -- the fix thus should not wait till the next > merge window, unless it's high risk or something. See this statement > from Linus: > https://lore.kernel.org/all/CAHk-=3Dwis_qQy4oDNynNKi5b7Qhosmxtoj1jxo5wmB6= SRUwQUBQ@mail.gmail.com/ Thanks for the feedback, I will try to push fixes to net more often. > > but I could probably have it marked for stable just > > to make sure it would get backported to affected versions. > > That would be great, too! Well now that it has already been merged via -next tree shall we still attempt to mark it as stable? Perhaps we need to check if it was not backported already based on the Fixes tag. > Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) > -- > Everything you wanna know about Linux kernel regression tracking: > https://linux-regtracking.leemhuis.info/about/#tldr > If I did something stupid, please tell me, as explained on that page. --=20 Luiz Augusto von Dentz