Received: by 2002:ab2:1347:0:b0:1f4:ac9d:b246 with SMTP id g7csp45962lqg; Wed, 10 Apr 2024 15:00:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXltyKAnBp4+X8wggL/6w+tSY/DtHNxscfyofxI8ZEdTzkW6wQnw9P6kGcgx751F/1Rban+R/NQyKMCpXg+1XUd5cVMLEP2t2lt45AudQ== X-Google-Smtp-Source: AGHT+IEFGHW1Xn49Un4QcM1C055gT0KXvTDxDn236hDcP8fXjl5N4O49Hth1+jDF6hDrKjW4jUOl X-Received: by 2002:a50:ab5a:0:b0:56e:3571:189c with SMTP id t26-20020a50ab5a000000b0056e3571189cmr3130738edc.18.1712786433652; Wed, 10 Apr 2024 15:00:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712786433; cv=pass; d=google.com; s=arc-20160816; b=sQRGrQJrIBb9vaVQjGSlF/Ru7anPBBX3djAV4StYHemYlX6xhzGXXXrXYcp/N8IOPe IfIpCLSR7hciaTglHjpfD6cE0WhC/gk2R2ZINMVfbWGaF6r49nj25F/0tYAy/lZnIWLS W4zOyXpIItRzt64Abn5TcbLeLLEWh773RUoDhsM6PqAegsc57VxAEnh1mUYclYGOkp0n aRI94/7eJdjCQPJwt5MnRgdEo3u/v9RIlNcTCCqaxgcHpnYkVvJ+2/D+AZuAX/qhcqS6 v53GCLQAq62I6P+enJTcCN5rTygEjk6o13nB3fSHqGASwgxnUnFxpq703AF1nq2aIH3w tD9w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:from:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=xBagYfSF2VpuPkFqS5FJ8XAb1CielWua0CPGtB5IEPE=; fh=vZXfAuDSq06Kdu/0d7TxWbfPEwQTl9mIB2iSUOCwKMY=; b=mZmyAepL/jGU5Iy165zMtPFmOqy1FzQFLvYW2dxRZWjeAEWSgKf52tnLt37NZk7rKU uHCXzOZPKxdxIUtm+sniqHV23ZUpqXSS2Hn4j7VVTQesDUgsgkCVLogp32ByXAMaOnDS AMNIwreTC5dpV5ZGQI7UrR85b6RRfTj1EebBSUUghqj61TuKgM+4E+yCN1GRbNkO7zdB 4BHItmsVAv/MXh1lSS7pQxCGFLSp9dkyiuAO8edisp0K4CHlEkogpXOCRYNO2MkXrxo1 tZdu2u4DxyAiGWKUAl4jsOPxsPkUAg0T/OAPiBaNoaG2ciJCASeJ2fnDdbUP1XR3mnJF xtTw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@penguintechs.org header.s=google header.b=b93ti7JF; arc=pass (i=1 spf=pass spfdomain=penguintechs.org dkim=pass dkdomain=penguintechs.org); spf=pass (google.com: domain of linux-bluetooth+bounces-3464-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-3464-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id d2-20020a50f682000000b0056e427b97absi62980edn.471.2024.04.10.15.00.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 15:00:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-3464-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@penguintechs.org header.s=google header.b=b93ti7JF; arc=pass (i=1 spf=pass spfdomain=penguintechs.org dkim=pass dkdomain=penguintechs.org); spf=pass (google.com: domain of linux-bluetooth+bounces-3464-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-3464-linux.lists.archive=gmail.com@vger.kernel.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 23E451F23FF8 for ; Wed, 10 Apr 2024 22:00:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 57E60184119; Wed, 10 Apr 2024 22:00:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=penguintechs.org header.i=@penguintechs.org header.b="b93ti7JF" X-Original-To: linux-bluetooth@vger.kernel.org Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) (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 A022B1836E7 for ; Wed, 10 Apr 2024 22:00:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712786427; cv=none; b=n+gw1cK/rwwbAaPywKn/Eh3UIrZsoHdlMloUC/e4+T5xBJF98Vccl2u0earzcOGN0pnwItXZzQjTrx6l4CeScnW9LYsl9u1HvOkg8AdP0aiaLfDvzF5PPkPbJxeAP5laO3zAqig46G68qL/8ZmNDtO5kGHbSoB8uNwJfEnExNBo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712786427; c=relaxed/simple; bh=Zx3CCcxHs3OpXONxdTcKg4mWTKcPJHXGOtZ4a6Iow1Y=; h=Message-ID:Date:MIME-Version:Subject:From:To:Cc:References: In-Reply-To:Content-Type; b=toPmorgBDaMQd4Do0HrjUPycblZtbj340yGnespJW7HLnPPNXeW11a/KX4C7tzE1Jav8J/r6TkrjhFSQfZya1rgICGZOkYwz62/xvzVY5hu9k1LVl3aPw/OH2L9LITXzkgoJ2/2mfQhhOVW7oZzuoMxSygTYOxy3FA2v0Y89zic= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=penguintechs.org; spf=pass smtp.mailfrom=penguintechs.org; dkim=pass (1024-bit key) header.d=penguintechs.org header.i=@penguintechs.org header.b=b93ti7JF; arc=none smtp.client-ip=209.85.210.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=penguintechs.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=penguintechs.org Received: by mail-pf1-f174.google.com with SMTP id d2e1a72fcca58-6ecfeefe94cso213246b3a.0 for ; Wed, 10 Apr 2024 15:00:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=penguintechs.org; s=google; t=1712786425; x=1713391225; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:from:subject:user-agent:mime-version:date:message-id:from:to :cc:subject:date:message-id:reply-to; bh=xBagYfSF2VpuPkFqS5FJ8XAb1CielWua0CPGtB5IEPE=; b=b93ti7JFPfoefx2zPRcblCBaXHWUdLSiFE4f5mgb9lqDFGQIlrcM/NkhJN6yAVAOQO CbCvIQo7joIy7ZrWBUMg6vICPGRqqMKKC5SfBxzb104IAqCrxGyg96es2nOppZqYThtJ i7eV/wtzzCHscXMDEBBQzJ9ApSezazWCX9coQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712786425; x=1713391225; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:from:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=xBagYfSF2VpuPkFqS5FJ8XAb1CielWua0CPGtB5IEPE=; b=KFlwsWni3aPQzDPdIP99Z2vRQ9oxxXMjyTkeO0Gns/aprd4RNH0hJ2K8ZoLCN6kd+0 6rB/SJweQbooP0xCrAlPx/dfEYzabVmx7xSd8DoGHzfEaFma6LOYTIuphqi9s6GQAvo6 xdwGWvZauR8b9b29HMLgX1Xu9IztLiZl1TiecqJizk5CDQYWkn0MebFvNmtzs6n87raw 2cJmNJfUcHV4VgILWJD4zUtDLogLrAtq8tIrHFg9AkqJtSr3xR3OqFRP2qIBJxipy7bV D1KqQidiB/xZerx24GYfa5gWA3jnXq9Mp1kGDyI84t2IEAoli5ucUu4cfPJEwluZ7q4o Nq/w== X-Forwarded-Encrypted: i=1; AJvYcCU7xeZFXL54h0TcDYO1U9I6mC9K4jjTRCXDqlKHZ2NrEmO0Moxz24tMi+KPoXBzHrIbRJQBukj/OtKgpMV4Yg19fn1rb97QPtL0DDXXKNvk X-Gm-Message-State: AOJu0YzlG/rg4WYqJgSjrMIYvkkJnF13tvy350kzi5cy4VxH3jX0cL1R AUJU8Cw0qz3S25Gzniza6xOSx/465Llcn9foW5IKi4wY49UxFr7fDga2AYHWrw== X-Received: by 2002:a05:6a00:9394:b0:6ed:21d5:fbdb with SMTP id ka20-20020a056a00939400b006ed21d5fbdbmr1115316pfb.8.1712786424445; Wed, 10 Apr 2024 15:00:24 -0700 (PDT) Received: from ?IPV6:2601:646:8700:dd30:5f3e:5ba7:e0ea:9a08? ([2601:646:8700:dd30:5f3e:5ba7:e0ea:9a08]) by smtp.gmail.com with ESMTPSA id n3-20020aa78a43000000b006ed0d0307aasm131148pfa.70.2024.04.10.15.00.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 10 Apr 2024 15:00:23 -0700 (PDT) Message-ID: <02400664-2d23-42d3-b49b-0c59f606d298@penguintechs.org> Date: Wed, 10 Apr 2024 15:00:22 -0700 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: QCA6390 bluetooth doesn't work after warm boot or disable/reenable From: Wren Turkal To: Luiz Augusto von Dentz , Marcel Holtmann , Johan Hedberg Cc: ath11k@lists.infradead.org, linux-bluetooth@vger.kernel.org, Kalle Valo References: <31bb6e18-ecee-49b3-87d7-50ab53e07447@penguintechs.org> <1b3d3937-6679-491e-a5c6-818ae8ac639a@penguintechs.org> <68a31d6a-8eb8-4d78-819b-fb67367cc41d@penguintechs.org> Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit +Johan since he's a former BT drivers maintainer. On 4/9/24 1:11 PM, Wren Turkal wrote: > On 4/9/24 1:03 PM, Luiz Augusto von Dentz wrote: >> 5.19 seems a little too old, imo, or has it been broken for that long, >> did you at least tried with bluetooth-next? Try contacting the people >> who actually wrote the driver. > > Sorry, I didn't answer your question. Yes, I do think it's been broken > for longer than that, but I wanted to confirm. Okay, so I tried 6.9-rc3 and every main release 5.19-6.8. I have found the following: * older kernels (6.3 and before) seem to be far less likely to kill on a cycling the bluetooth service. * 6.8/6.9-rcs consistently destroy bluetooth when stopping and restarting the service * If I destroy the bluetooth service with a BT service restart in 6.9-rc3 and warm reboot into any release back to 5.19, bluetooth does not work * cold boot works in all cases assuming I give the laptop about 5s between power off/on So, I suspsect that the process of closing out the hardware may be leaving it in a state that the reset cannot handle (and probably never could handle). I also found that qualcomm has docs here: https://www.qualcomm.com/products/technology/wi-fi/fastconnect/fastconnect-6800#Documentation However, I am not a member of a Qualcomm verified company (mentioned in the doc links). Luiz, Marcel, or Johan, do you have any contacts that might be able to help me in getting info about the technical docs for this hardware? I would love to see if I can find any issues in how the hardware is being reset. As an independent dev, I don't even know what it takes to get that kind of access. I would welcome any help here. Hey Qualcomm, are you hiring? :P wt -- You're more amazing than you think!