Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp1017522imn; Tue, 26 Jul 2022 16:04:19 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uVV4bVBWboPIKH8TD7Jkh5EgcZcGo/C0mfFJxHtLOI3xS501NkAmSrIShOu96D1gPLZ3AY X-Received: by 2002:a05:6402:5388:b0:435:71b:5d44 with SMTP id ew8-20020a056402538800b00435071b5d44mr19855254edb.364.1658876659096; Tue, 26 Jul 2022 16:04:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658876659; cv=none; d=google.com; s=arc-20160816; b=YNKSnY2SB7tAA6XxZtK7/6IyW7vZnAUG322rROvi+wl9aV217SxERCaUqorlAHYQ4L hyADKcAcdec5qpTuTs5/NlfCS1NdPGh5e7iWe/gqS44fHqyrWAYTskH3ZWFv/eMU3ruA ipAwchFYWMAU6UfcxM1en8EavWjz3dFTyActPFFnBazeoXXfhOd7Va1sj2Y+B4tviVfA GlzdBk7WkwgMgbhQQtdmGbzVFcCVOlY+yG8dEYwjp03z0N6RS/QvKZDNrxC7zQpBMkFH ZDNALLBzB154v/HlHvAs3imMqCdXSDbZUkNfksr9JYabXQyp6EDk0NQ1xpTmt9HqFo66 uBng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=B56acRBGin81wh2x+sEvlEAo65kTlKC01tz6nTMloDk=; b=jjWNKf9r36bG91LsL0317Xl3P+lHEuSEY+8i+qMfcfnB2PqPYUwFtuZikk5iy491pF xI/u2EmsiJJh8B/ZEksr1fzoM85nVD+HtEMRBK+wCSoD2uwPYI1LuHs9snNChK6JeBdN EVWJHL3+Y79EpBACeOOHP4hqzNirvcTvPZs7gw49XUvqdSAtlvw7Mwzq6F0a95H1mta2 hJUio+ZjQFJNFw9RZWmaEtUvAv+U2sFpcBX1QKlKj5/8pqMIZCzNHyHXGi0D+tBRRdmM 88+3aC7ckiXzAL99Jc5BgnwSlfzZLXIeejwj3zxtqSEhOcdo/aOLBF+bRl2XBAFr5Rob uENg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=YpP7Td5v; 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ch11-20020a0564021bcb00b0043a6efbaaa4si15644023edb.301.2022.07.26.16.03.05; Tue, 26 Jul 2022 16:04:19 -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=@intel.com header.s=Intel header.b=YpP7Td5v; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239207AbiGZXBw (ORCPT + 99 others); Tue, 26 Jul 2022 19:01:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53012 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230147AbiGZXBw (ORCPT ); Tue, 26 Jul 2022 19:01:52 -0400 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7232AE0FB for ; Tue, 26 Jul 2022 16:01:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1658876511; x=1690412511; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=irAMA1GuAIW25qkyo8RRFrBF0dDVSTg+onkzW7iLbNk=; b=YpP7Td5v8qJ3ASF82Fzf11Uvlt5iwpprjvQudKiDu76G382LUf6juFpS JY25YAJ7HJW5OyX/AL4prtbCUeHYrIWwDvpo4lvKJ1ws0/+sLEgzO6VYy f69KO2mGx7Z8K5AAwgHW5pRi2BUtD075pc8hg8JvSRZrS96B59kDN1W2V OAuUQ4MDwZUig3N6os2P3MooKQ5n60InJ2Xebeug9Z/shnyCH+vo/+/cv 0T7RYQKKFP9hGfibAqYbiXjIy2EJEuAGL08Bxjc8k2kUFubfu2Y+at8o5 mBOqJlUGCdWxhxJ5Uk4aDWufLMzIkojxTRAgrC/9WtG442fQEovZxZFG/ w==; X-IronPort-AV: E=McAfee;i="6400,9594,10420"; a="274965136" X-IronPort-AV: E=Sophos;i="5.93,194,1654585200"; d="scan'208";a="274965136" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Jul 2022 16:01:50 -0700 X-IronPort-AV: E=Sophos;i="5.93,194,1654585200"; d="scan'208";a="668098972" Received: from srezaei-mobl.amr.corp.intel.com (HELO bgi1-mobl2.amr.corp.intel.com) ([10.212.5.115]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Jul 2022 16:01:48 -0700 From: Brian Gix To: linux-bluetooth@vger.kernel.org Cc: marcel@holtmann.org, luiz.dentz@gmail.com, brian.gix@intel.com Subject: [PATCH v3 0/4] Clean-up stale/unused hci_request.c code Date: Tue, 26 Jul 2022 16:01:36 -0700 Message-Id: <20220726230140.205481-1-brian.gix@intel.com> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE 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 This will be a growing patch-set of conversions and dead-code removal towards the goal of retiring hci_request.c The patch sets will be split amoung the work queues and delayed work queues as initialized in hci_request_setup(), with the ultimate goal of eliminating hci_request.c entirely. v2: Published v3: Continuing work. This does include one conversion (SCO configure_datapath) that has been tested with mgmt-tester and sco-tester, but has not been tested with a controller with an off-loadable codec. Brian Gix (4): Bluetooth: Convert le_scan_disable timeout to hci_sync Bluetooth: Rework le_scan_restart for hci_sync Bluetooth: Delete unused hci_req_stop_discovery() Bluetooth: Convert SCO configure_datapath to hci_sync net/bluetooth/hci_conn.c | 85 +++++++++-- net/bluetooth/hci_request.c | 282 +----------------------------------- net/bluetooth/hci_request.h | 4 - net/bluetooth/hci_sync.c | 148 +++++++++++++++++++ 4 files changed, 223 insertions(+), 296 deletions(-) -- 2.37.1