Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp289849lqt; Thu, 18 Apr 2024 15:39:08 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXGIaMnsGal8PXVaoL98Pre588pRRpzhx2z/pYLbR5ds9ByUETTKspFC1itNnm2tinx6jyFeOE0k/g0KgDzSu5vjmV+Jth1KzW+zBLliw== X-Google-Smtp-Source: AGHT+IGh0z0tpnWU4v5e1xGXvKceElgpG7uwAVzgvfnwICP1L9y90kbFf+wZtab0pSN/hbiXqDfh X-Received: by 2002:a05:6214:14e9:b0:69b:6bc0:7d35 with SMTP id k9-20020a05621414e900b0069b6bc07d35mr408439qvw.2.1713479948448; Thu, 18 Apr 2024 15:39:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713479948; cv=pass; d=google.com; s=arc-20160816; b=LBXUoZq0JtFIXz6TH7koKhqO7T7qVaMCJ7ccp0ve0Ed4/uX+XryG9A525wtmDUOsRR zS6c43iCIYEZnnGCeeYEoJIZP3PyHLVCEMFdC1JUDWfo0HnBQQmA2stWqCQxsoI7xgFf jk9anNoUxtQwV0Q9q6Xzp4rhatWFzO12dzUzARsRFZc54ZWz9vqLrIKyyVFoSOod+Cgi hQYaa9pp73BcbilrMBIFkr7oc/UzOuucYsMFB9OHLXRPITVEVeqAnebgTfNnzhS/09yG S48fgujVeP1qlVzQH/JscltFF0g0URDcH+JQmNZqSi92liVH2WX1Hr32DPsUvmWj8/RN ESQw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=/CaaYhsHibNmZjCaI6WNk5oyBesA65IGh0YLyF0f8Kc=; fh=x0AI9Hyjruznt0fUAc0WB51HNFserLNLuqVc+2GUFHY=; b=GVRgFGxV8rZ9quNj7RkKQ+UMk/LTeaCUxIhxowBH2+C2BOnniaI+wIFm6v8uSb07MU STLu/iwdciT2f4zWNGmAoL3Z9ZO0x0/sjzbpDHDtcTwHh3/nhlseMurQHbwOKDtTa12W QXr5sYPqpxN7t7Qfs3j2giksDtqmxMJj4eDErYaNNioAZCL3G5wXnRw9l+PbH9+pJpgd DtQC4GlOu5y86eS6sdL/ROorTVfuPOm1zIXoHP5++PX2gssLmmLf52VlRfRJipe9FguX 40vfYkRdkxP9JVfxgeEQptmkGeA2Vp6hVbAQL0X3UurFbE3/2Xz/LTgkaAlW0XfVs8W7 pQpw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Rxqjnzu+; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-bluetooth+bounces-3747-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-3747-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id o10-20020a0562140e4a00b0069b7dfbb4b0si2530185qvc.275.2024.04.18.15.39.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 15:39:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-3747-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Rxqjnzu+; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-bluetooth+bounces-3747-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-3747-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 16FC41C20E2B for ; Thu, 18 Apr 2024 22:39:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1E309200BA; Thu, 18 Apr 2024 22:39:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Rxqjnzu+" X-Original-To: linux-bluetooth@vger.kernel.org Received: from mail-oa1-f44.google.com (mail-oa1-f44.google.com [209.85.160.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DB37DF503 for ; Thu, 18 Apr 2024 22:39:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713479942; cv=none; b=Dk8Bqo7WGkO0hBKyCpAz7T+XUOdVS9TmkA5lJWepqPt1/CjjrPUEseN6t6UGbfRXYk7Fa/lmFG86ycBgp5b6xc3Q6qcu9A+Oghj3w/Yu2FpwxsQVHQcuX91cGGhH7jSDt2gEes0gZwTdwG5lSvNE3y4qdtkQZlZoP3Oq7rXKBtQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713479942; c=relaxed/simple; bh=0CEqri00Y/Tbh4mljzkBH30QJWk49FSrZ2cDHISjXtE=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=KOR5HsTefhIOsGRddnf5+f5Pv8/E3duwWsKnBAfGX7t1OJNjSCP2tzInA4Mq3I41Hk+xkkh1LAV30KXpNgPz39/HzkXrWfHYndpmh49EygLT/wpVjZtA/rWq6Aip0lH5yUS2Q9x0Z05whCLlB+Gg+kSrWNynNlqCNjGdA4kUhao= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=Rxqjnzu+; arc=none smtp.client-ip=209.85.160.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-oa1-f44.google.com with SMTP id 586e51a60fabf-23935d89261so220156fac.1 for ; Thu, 18 Apr 2024 15:39:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713479940; x=1714084740; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=/CaaYhsHibNmZjCaI6WNk5oyBesA65IGh0YLyF0f8Kc=; b=Rxqjnzu+x2u0RNvciT/PsrMDLfFtFTJZaz5UUvToTf7BPg1odE4R0w8u5Q3POWvPAW PmYsCZmi1KeH9cUJBftBSXb/I+RgdyMaRx6ZIBfDfeWd6SWI2xS1TV0cW+5+kHUC/EHL Mg5mBNHzG9GDtYgAhNg+vzkKK23xT0Ee5fdZcSb0ZUE8IZlEH5Yr0gZUbxx3feIvtX0w Eu8zMvjVxrXLWldjdTdW0GE5P/8b4M4BsIj3TcUp3qNsLMt5Gj9Ctw1g8A3BsO+tdc7h NcG0fO+zo/7OQUbFHRE+fwmDh1kja6DBZeISdL5vVGjtvsGmLSCo6jYJSMD6IE4j9CXi kbKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713479940; x=1714084740; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=/CaaYhsHibNmZjCaI6WNk5oyBesA65IGh0YLyF0f8Kc=; b=Yh0ismqwtc3l4ZFBqED7rGy+JCVbw5pGFiLKnvacU4W2cggZ1iMDlXSWZL9AyUqrpC JT1CFjzf21kEOwcjBYKMiUmvgsSlUF4igQkxFNQHQs7zdQuSAUZXbikmcMBO8q2V02Mj 0oNj3A6fQihFy1GS9oCb4tENQNwpGB3iF7hUUM+29r/k+Vj7SNr/zwkSogD8cqctoHqz gu2mzo8rXVZmd/bg+r5xN5TUUtiktJXOd9JGq/vqMJLUpKe+TyCfdJ4uhpdwytwwMM0E mUgr5CThi0u0bq6aTL8WEP04TwK30d54XUEsVKlaURKLz68Pt62D5gM7r6yRbU1TYwUy B3Uw== X-Gm-Message-State: AOJu0Yw0WrWb4XZamuncY+gyFWzgn/dOpBgbynAHb8RXR2wPYBhuH/We AepfIuyMaZgRyiiHUQxtl+7Eh6FpXovwmqEcOziFvK127khYcaLV5XnsG+x6F6XrUo6U6kijV3g Qofk= X-Received: by 2002:a05:6870:2114:b0:22e:ca59:8faa with SMTP id f20-20020a056870211400b0022eca598faamr475428oae.34.1713479939867; Thu, 18 Apr 2024 15:38:59 -0700 (PDT) Received: from [10.36.51.174] ([24.75.208.147]) by smtp.gmail.com with ESMTPSA id d19-20020a63ed13000000b005f76107db2dsm1919861pgi.17.2024.04.18.15.38.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 18 Apr 2024 15:38:59 -0700 (PDT) Message-ID: Date: Fri, 19 Apr 2024 00:38:58 +0200 Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1 2/2] Bluetooth: qca: Fix BT enable failure for QCA_QCA6390 after disable then warm reboot To: quic_zijuhu , luiz.dentz@gmail.com, luiz.von.dentz@intel.com, marcel@holtmann.org Cc: linux-bluetooth@vger.kernel.org, wt@penguintechs.org, bartosz.golaszewski@linaro.org References: <1713449192-25926-1-git-send-email-quic_zijuhu@quicinc.com> <1713449192-25926-3-git-send-email-quic_zijuhu@quicinc.com> <7cd6f395-1f1b-4a73-840f-d70fff5da220@linaro.org> <8751981b-3063-4228-bbec-f36bd544e0fb@quicinc.com> <93af3308-d70f-4423-a911-0f437f882462@linaro.org> Content-Language: en-US From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2An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JggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 19/04/2024 00:05, quic_zijuhu wrote: > On 4/19/2024 4:58 AM, Krzysztof Kozlowski wrote: >> On 18/04/2024 22:34, quic_zijuhu wrote: >>> On 4/19/2024 12:48 AM, Krzysztof Kozlowski wrote: >>>> On 18/04/2024 16:06, Zijun Hu wrote: >>>>> From: Zijun Hu >>>>> >>>>> Commit 272970be3dab ("Bluetooth: hci_qca: Fix driver shutdown on closed >>>>> serdev") will cause regression issue for QCA_QCA6390 if BT reset pin is >>>>> not configured by DT or ACPI, the regression issue is that BT can't be >>>>> enabled after disable then warm reboot, fixed by correcting conditions >>>>> for sending the VSC reset controller within qca_serdev_shutdown(). >>>> >>>> I have trouble understanding what is the bug. Can you rephrase it? >>>> >>> Think about below sequences: >>> cold reboot(power off then power on) -> Enable BT -> Disable BT -> Warm reboot -> Enable BT again ... >>> BT is failed to be enabled after warm reboot. >> >> Still not. Please get someone to help you rephrase it. One long sentence >> is not good approach. Describe the problem, how it can be reproduced and >> then come with brief explanation how you fixed it (because it is not >> obvious to me). >> > thanks for your suggestions. will optimize commit message based on your suggestions. >>>>> >>>>> Fixes: 272970be3dab ("Bluetooth: hci_qca: Fix driver shutdown on closed serdev") >>>>> Reported-by: Wren Turkal >>>>> Closes: https://bugzilla.kernel.org/show_bug.cgi?id=218726 >>>>> Signed-off-by: Zijun Hu >>>>> Tested-by: Wren Turkal >>>>> --- >>>>> drivers/bluetooth/hci_qca.c | 12 +++++++++--- >>>>> 1 file changed, 9 insertions(+), 3 deletions(-) >>>>> >>>>> diff --git a/drivers/bluetooth/hci_qca.c b/drivers/bluetooth/hci_qca.c >>>>> index 160175a23a49..2a47a60ecc25 100644 >>>>> --- a/drivers/bluetooth/hci_qca.c >>>>> +++ b/drivers/bluetooth/hci_qca.c >>>>> @@ -2437,15 +2437,21 @@ static void qca_serdev_shutdown(struct device *dev) >>>>> struct qca_serdev *qcadev = serdev_device_get_drvdata(serdev); >>>>> struct hci_uart *hu = &qcadev->serdev_hu; >>>>> struct hci_dev *hdev = hu->hdev; >>>>> - struct qca_data *qca = hu->priv; >>>>> const u8 ibs_wake_cmd[] = { 0xFD }; >>>>> const u8 edl_reset_soc_cmd[] = { 0x01, 0x00, 0xFC, 0x01, 0x05 }; >>>>> >>>>> if (qcadev->btsoc_type == QCA_QCA6390) { >>>>> - if (test_bit(QCA_BT_OFF, &qca->flags) || >>>>> - !test_bit(HCI_RUNNING, &hdev->flags)) >>>>> + if (test_bit(HCI_QUIRK_NON_PERSISTENT_SETUP, &hdev->quirks)) { >>>>> + BT_INFO("QCA do not need to send EDL_RESET_REQ"); >>>>> return; >>>>> + } >>>>> + >>>>> + if (hci_dev_test_flag(hdev, HCI_SETUP)) { >>>> >>>> Commit msg does not help me at all to understand why you are changing >>>> the test bits. >>> it is test bits not changing bits. >> >> Previously we tested bits for BT off and HCI running. Now not, so you >> changed the logic. Maybe it is correct, maybe not, I don't understand why. >> > if HCI_QUIRK_NON_PERSISTENT_SETUP is set, it means we can and need to do initialization > by calling hdev->setup() for every BT enable, so we don't need to send VSC to reset controller > here. > > if HCI_QUIRK_NON_PERSISTENT_SETUP is cleared. it means we only can or need to do initialization > for the first BT enable operation. if HCI_SETUP is set, that means we don't do any BT enable yet > and the initialization operations are never performed. so we also don't need to send VSC any more. > > otherwise, we need to send VSC to reset controller since initialization have been Done regardless of > BT state. for this case the serdev have still be opened. so it also don't meet the crash the 272970be3dab > fixed. Please read again what I request here: your change is not obvious and is not explained in commit msg. Best regards, Krzysztof