Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4595433rwd; Tue, 30 May 2023 07:29:51 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6FyJYohe0iPPvaYuMJXkG9iNGKLr2dMgu43cpsFQUnNkdvwpt4JNJpZhK5yz3kt+EaFTrU X-Received: by 2002:a05:6a00:21d2:b0:64d:7002:8316 with SMTP id t18-20020a056a0021d200b0064d70028316mr2224312pfj.9.1685456990798; Tue, 30 May 2023 07:29:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685456990; cv=none; d=google.com; s=arc-20160816; b=tQvV1gn8P4oBVN69bDMQre6swjsMsbOed9cLITgpA/gwRxpc1HCUQ6r+lgLEF7j6Xi N1D0E/HeICsFNDp96fGcg6lyNzU5vZo9fFJ1dU6GmzXcPm8mCPuOd0pNhQVEC65ACSFx 2sVierjpS9x2WzArRtJUXo8nf8d8Z//GS71TTguma3bx+1piWNdSAeR6O++L8t2MZMoy R22gx7Bfb01AcW49T40PUnc12OVNhf+PR8LlbItdizGTOZrrWSbc/EU8eu8xDVDSRgZv mzUisWcdmnlQJqAyVFyxX/R+Tf1MA8QKTg8uum2J9ig81ur5qHXkO2szMif4kig8gQ+g NmBg== 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=v13w6rkAytR0+WwssZNTDgqOoLgxx5UjNvvS2hNP0CM=; b=0vU7NIyip6esiY2ZhnfT3LedpKDLDlCX7RGGOf+Nh0cLG4pxdnmTNUHCzokR6z1BqN NkuLeGiCkE2TgWeEpo9L8oLrmdG7xX6bSXB/EpByqqCb8pEBO/7+XXlsJD/808ZXcY/v RpbNu06993enziSNL38dbe6xcTb+27Bfe0jL6WPLcTx02C44CSotoRBSr7I3SlX6T2UO f+7PRVyTeSUHAixYg1oKgU+PToDZ5F3mYuzfBH0N+xsaMAgq6lUOK7aIkrJDQLq6HEVc k/jh5f9LVzY/TFgM3XTduyEb5CUngSY8Jwoq8RtV5lO3bjtv4jgjlsYAS54j3ykB+yjH dTJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="f/juyAhc"; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c7-20020a624e07000000b0064dc66287cfsi1434511pfb.279.2023.05.30.07.29.36; Tue, 30 May 2023 07:29: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=pass header.i=@kernel.org header.s=k20201202 header.b="f/juyAhc"; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229524AbjE3O0o (ORCPT + 99 others); Tue, 30 May 2023 10:26:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232486AbjE3O0W (ORCPT ); Tue, 30 May 2023 10:26:22 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D9C7210DE; Tue, 30 May 2023 07:25:26 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 352E862927; Tue, 30 May 2023 14:25:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8FA3EC433EF; Tue, 30 May 2023 14:25:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1685456707; bh=+SYa9bhZBDTkyURy2GHBB/vLDr+xUSjpSqvR1WZibas=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=f/juyAhcdNjjQ8aklB2nIws+qDmE0bsjg9H0H0+PjK5dDKw5piNsQu0LQFnle03Yl pcEdusnAxxj9dHlTeNkV+iC98Vu5M74hvEWApcEMA+QTNmPyUZIbyQNfrc7e+xci+E jWaEaqX0Nlrj7xc4/zFfss978JpHu7PUqK/OtbzKKIDg63TFtKyAGkSDzBY2haeDQP jSf8irbEX8RfwIQAKd+HVI01bv762Tm27eBTHgv3KZIdZI+xepKeblQg24dCrvM9ar s5SSwE/2T9R0JdfV+kzwUBrZ5UMu7+F3t/CWanLmj/4trn6WjhaqR6/OR7FFPM5Wwy ITn/31eU7zXRQ== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1q40Hd-0007sX-3Z; Tue, 30 May 2023 16:25:09 +0200 Date: Tue, 30 May 2023 16:25:09 +0200 From: Johan Hovold To: Marcel Holtmann , Johan Hedberg , Luiz Augusto von Dentz Cc: Matthias Kaehlcke , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Johan Hovold Subject: Re: [PATCH 0/2] Bluetooth: fix bdaddr quirks Message-ID: References: <20230424133542.14383-1-johan+linaro@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230424133542.14383-1-johan+linaro@kernel.org> X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 On Mon, Apr 24, 2023 at 03:35:40PM +0200, Johan Hovold wrote: > These patches fixes a couple of issues with the two bdaddr quirks: > > The first one allows HCI_QUIRK_INVALID_BDADDR to be used with > HCI_QUIRK_NON_PERSISTENT_SETUP. > > The second patch restores the original semantics of the > HCI_QUIRK_USE_BDADDR_PROPERTY so that the controller is marked as > unconfigured when no device address is specified in the devicetree (as > the quirk is documented to work). > > This specifically makes sure that Qualcomm HCI controllers such as > wcn6855 found on the Lenovo X13s are marked as unconfigured until user > space has provided a valid address. > > Long term, the HCI_QUIRK_USE_BDADDR_PROPERTY should probably be dropped > in favour of HCI_QUIRK_INVALID_BDADDR and always checking the devicetree > property. > Johan Hovold (2): > Bluetooth: fix invalid-bdaddr quirk for non-persistent setup > Bluetooth: fix use-bdaddr-property quirk > > net/bluetooth/hci_sync.c | 30 +++++++++++------------------- > 1 file changed, 11 insertions(+), 19 deletions(-) Any further comments to this series, or can this one be merged for 6.5 now? Johan