Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5120876rwr; Sun, 23 Apr 2023 22:01:04 -0700 (PDT) X-Google-Smtp-Source: AKy350b/655WL8zw7SwEiG9ed3RVegc671UtG0x6mkOCH2aB5Tzs0LNL2TvTtT0l/W/5xXixtYMr X-Received: by 2002:a17:903:2344:b0:1a9:72d7:785 with SMTP id c4-20020a170903234400b001a972d70785mr3684913plh.10.1682312464703; Sun, 23 Apr 2023 22:01:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682312464; cv=none; d=google.com; s=arc-20160816; b=FN+BvPbzLbxZGjujHZH2IpQJBQxxD4SgTr5fvtqOBx+Xn/RasdnImbl21iuu66uG0+ 9w50kZnlPydcvaDODQ4+WHGXcws+0J1/s1kMuG5xHsHpSCE4uCw8+prbmocwFTC/uXo+ qaITkhLHhmse8WfV9vZd+WT8UZa0QSk/yNN9kpScCo5BtFOVNzyzQL+9Ld5ho3xDmiub D089FTWtnnaOap+soRaLHHqfrZZFUj6KPtjzWjqqqbT1IPsrLQtX7MfAMQ5TJysm99Yg FL/81pB0NY12tBOaZZIg0UeI3bCEAfH+DlOz/Lj1bemNLexdN750JeR3BDwBl2bUptqC fuXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=Zondc/9jY2CF+37zTQASZIWD+8uSRK9XqCcTk57rB9k=; b=TcZc9tDJ6FJsOqwctKGSx8oGW9V5gJJqNHG3v3PYOY4uA6YgVHjSCNPkd8aoAledIk r2dXH0gmkvVsob1d1OdZbBlhJLFm3OUdvR+TDn5kQbtIOWKHDayueeezEiok6TLoA+jz FKkSkynna9jG7++F4hJN913+tEIlnN6WUBvg+Ofmow8c8vEWeI/eiwMApP+sTedmC9WU vAdhncCS4wMZYD+pAjnONKts0hfqh7VQoci+fRmMPSznXpjfc3uv/WAqfyzrEddXIKrN Bs62o3sTNtOkD0iSx+poHyiGn6TBIvYf7IbaAaJed8BV6BaBWn/DoHwvl0+4A2PJNz40 SPTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YH0FUgQh; 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 k13-20020a170902c40d00b001a679c04970si12211086plk.251.2023.04.23.22.00.28; Sun, 23 Apr 2023 22:01:04 -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=YH0FUgQh; 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 S230426AbjDXEkW (ORCPT + 99 others); Mon, 24 Apr 2023 00:40:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56294 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229507AbjDXEkV (ORCPT ); Mon, 24 Apr 2023 00:40:21 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C56D81BD8 for ; Sun, 23 Apr 2023 21:40:20 -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 5D0A561509 for ; Mon, 24 Apr 2023 04:40:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id B5124C4339B; Mon, 24 Apr 2023 04:40:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1682311219; bh=L2BIHIluCdr1CtMCBmuGQ02J5pzcSWJppCLRj6E9iLk=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=YH0FUgQhZZvSj+DtTmFwZt/b1drZGmY0lJmemmL4+UUp85CkGn48RFExfFssqKwxx CczZiXPkAsM0ql95r0wQzD0u7DY2IPETq4CUd4MOtRdIyNyXL/DM4pQ3mc/yfuY0x/ sYD7gP5Yudkpcwc/fplB0SgUof1HsgqLsVbvElFu4qNQkai1qv2vSiPrs5YapUaOXH 5Uv2pQCt6U7e2o9KOGh4/nsWPq3btaX+CuYf7kZtNLG2H2iD9FmVqVWrTonKa17Q1e AVIcD8IHdnDe1em6m8B+ZFKHLauW3zla1PrcoTDY5w7UgHAccnefrD6dnm16K2WKjW Or0qrU9w6ZMQA== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 9087DC395C5; Mon, 24 Apr 2023 04:40:19 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] Bluetooth: hci_sync: Only allow hci_cmd_sync_queue if running From: patchwork-bot+bluetooth@kernel.org Message-Id: <168231121958.29245.17899768984592604260.git-patchwork-notify@kernel.org> Date: Mon, 24 Apr 2023 04:40:19 +0000 References: <20230421184716.2846319-1-luiz.dentz@gmail.com> In-Reply-To: <20230421184716.2846319-1-luiz.dentz@gmail.com> To: Luiz Augusto von Dentz Cc: linux-bluetooth@vger.kernel.org X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 Hello: This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz : On Fri, 21 Apr 2023 11:47:16 -0700 you wrote: > From: Luiz Augusto von Dentz > > This makes sure hci_cmd_sync_queue only queue new work if HCI_RUNNING > has been set otherwise there is a risk of commands being sent while > turning off. > > Because hci_cmd_sync_queue can no longer queue work while HCI_RUNNING is > not set it cannot be used to power on adapters so instead > hci_cmd_sync_submit is introduced which bypass the HCI_RUNNING check, so > it behaves like the old implementation. > > [...] Here is the summary with links: - Bluetooth: hci_sync: Only allow hci_cmd_sync_queue if running https://git.kernel.org/bluetooth/bluetooth-next/c/54f33d124f3e You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html