Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp246811lqo; Thu, 9 May 2024 20:24:08 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWx37+gXuG0twEdkELGw9Eccl7MrIKzPW0JvcqZXkaE6OEUeg0v+nj9aTLmZT8IaHtTTx0xqzwaZ9FERHZjLP7GXbVLm86wIBxbfe5eKA== X-Google-Smtp-Source: AGHT+IGzya7Gr4WvyjTQaGm3Zrkczc+RJrd2b72fxjYKiZTbnx6kYVCZzFfNtqe1S6ZuHeP2QFFJ X-Received: by 2002:a17:902:8681:b0:1e4:fd4:48d4 with SMTP id d9443c01a7336-1ef43d2eb2dmr14199155ad.32.1715311447926; Thu, 09 May 2024 20:24:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715311447; cv=pass; d=google.com; s=arc-20160816; b=Pd0Sno2ll+a6GQxfX4B6B8yJqo3XndhsC+c/TKU95O8xF4Ycx19CFs9W411g4NL0wz BoWiyq8cljhqT/rugsF3NvkIjEyCjpyrTgDBB3oxdYjmI97LbWE3IyE1MvYjme1fh1JL TaSM1aHoZUgf2n+VV4B73tD95DiL+zzG83Ewflp5xTPgm/Qx/JZ6f9qkcSesOX2Lw6yp oKr9Ukyzvh4PV54Bgtw+nC0J72cr3Bu9ApH7MQIOhTAXiyG5gkHSUu7kE9rMbKzx9eiD G/EY+ZPlr7U8ppcWS1D+NQkIzO4xeQ3NZ1AkxTFzDvk/iohoy0zQDQVFNVOO9Id8yoY6 vj1g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=MgDYZNcJX2S0eHDSQlNoDYEEa1rReIBlSoX/W3aAVAA=; fh=kUdkgx/ZTpNAPEKmIl8UomhVhCzl/dRNEkURwfnpjLA=; b=eLvKMWf4iizKRwl4NAfe/GXUuq5C+hQ35TLkJ2W4d1YtE08q5hxJdrvHY8rLQvdOuD 1JD7ZApgfG1JZJzSiM6aj2tzzS7x8Lm2wK/FBq5+z8Y1m+Jp8g7lN+Ca5dh8nqb+arJ6 FZhO/4cOxXd46csAOAgEvgx6B7iCZeHgbelbEHHk5iKbVcaitQoNk2jiV/EbJB4UDllf iP3xUBybcDzEzf9fVuDf5FxUzN1GHkj7BHTMNb56+urTOWqseCpu8cSczbGfLHyz6rCS YE+Ltq/EZhh5vp3dNIX17PwiVzLi7Wtb8/CYVAaFUqQX8C5Ru3nBPVcCHr2KGYGIBg45 GnfQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@marcan.st header.s=default header.b=DmuRKjTn; arc=pass (i=1 spf=pass spfdomain=marcan.st dkim=pass dkdomain=marcan.st dmarc=pass fromdomain=marcan.st); spf=pass (google.com: domain of linux-bluetooth+bounces-4443-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-4443-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=marcan.st Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d9443c01a7336-1ef0b9cf98esi27735145ad.42.2024.05.09.20.24.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 May 2024 20:24:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-4443-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@marcan.st header.s=default header.b=DmuRKjTn; arc=pass (i=1 spf=pass spfdomain=marcan.st dkim=pass dkdomain=marcan.st dmarc=pass fromdomain=marcan.st); spf=pass (google.com: domain of linux-bluetooth+bounces-4443-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-4443-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=marcan.st 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id A5027B22707 for ; Fri, 10 May 2024 03:23:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 730EC148FFA; Fri, 10 May 2024 03:23:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=marcan.st header.i=@marcan.st header.b="DmuRKjTn" X-Original-To: linux-bluetooth@vger.kernel.org Received: from mail.marcansoft.com (marcansoft.com [212.63.210.85]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A2E9A13BAC8 for ; Fri, 10 May 2024 03:23:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=212.63.210.85 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715311387; cv=none; b=PIjRR9hRD5g0AQfcDA0liR9//1iUBLsl5PuJaYsfFfisMGUZVS1PE0Xo3/2/x1li6jUPRmc2SZuowpSrHgcQXgygQRiTrOCOX+8AXIxXEpxyZkz+A0ZkpIwh8ILxgoMM/THpyMnKU9nO9Mfa+FbHp7+uSmaSFL5q33w6B5WC9Hg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715311387; c=relaxed/simple; bh=P3E9viqimfxaTvLtWRQTpfuvWfLKLLLdRLX+IkpS6oI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=mkIKzI4eRV+6PKPHOrPpWJjm+ndEFM5nGGeyOPgWSdCggyQ/7cfIFJppFzcff+yX8n9n8zGkeF48gt9T4GzGu7TJIEnGDgVR89oLkuWDIrUxDe3reMzqJLr/xhSBwrbVy9fNSHmFxzThLUwlBIhwORL4n3Jj5ALNpVo1giZkAF0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=marcan.st; spf=pass smtp.mailfrom=marcan.st; dkim=pass (2048-bit key) header.d=marcan.st header.i=@marcan.st header.b=DmuRKjTn; arc=none smtp.client-ip=212.63.210.85 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=marcan.st Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=marcan.st Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: marcan@marcan.st) by mail.marcansoft.com (Postfix) with ESMTPSA id CE8EE45034; Fri, 10 May 2024 03:13:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=marcan.st; s=default; t=1715310817; bh=P3E9viqimfxaTvLtWRQTpfuvWfLKLLLdRLX+IkpS6oI=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=DmuRKjTn5gHrFu2h3Fa2qyNQEogt+Clc1H02kHBgpjOySzdPMrn4iCgohc20vEb08 Rvg/4w/3XrcjQIatkMHFbAwOpmealSN11d5vApHnJjfwN+63fHf3uhikVbQb/ksjU1 dAP11G8htk8FKqIgimiSJwZOIBR5tfTF1/wnbAZPXhjc8MDo1q7t6IiytKZpyOayEg gSFsBFcbG/FqnpSeMzRsbD9nDYHH9LLQknqpYYDXEkzVLSm4uDo+p7Wa5b8BYKrWy7 Bj8C7X+4PtxLhX7ctY0WpUz2NFmRwCw8xTEtD3M0vdYpZ1thZwKk8lfVXySUozVOFD 9IU2VkrRoswZw== Message-ID: <70078624-d766-4db6-8ddb-511251baf0f2@marcan.st> Date: Fri, 10 May 2024 12:13:30 +0900 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] Bluetooth: hci_sync: Use advertised PHYs on hci_le_ext_create_conn_sync To: Luiz Augusto von Dentz , Janne Grunau Cc: linux-bluetooth@vger.kernel.org, regressions@lists.linux.dev, asahi@lists.linux.dev References: <20240405204037.3451091-1-luiz.dentz@gmail.com> Content-Language: en-US From: Hector Martin In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi, On 2024/05/10 7:41, Luiz Augusto von Dentz wrote: > If I print the actual value then we got: > > Primary PHY: Reserved (0x81) > > I guess one needs to disregard the reserved range, well until they are > no longer reserved then it will no longer work. Perhaps we should talk > to broadcom to know what is up with using reserved values and if that > is an apple thing then perhaps we could ask them to provide firmware > that acts according to the spec. Apple and Broadcom do not support Linux on this platform. The kernel has to work with the existing firmware (which is the firmware macOS uses), we don't get to request changes. If the firmware has quirks the kernel has to deal with it, that's how it goes. It would be great if we had vendor support, but that is not something we can control. This is common (Linux is full of quirks to support noncompliant hardware/firmware). - Hector