Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp1677668lqz; Mon, 1 Apr 2024 13:39:23 -0700 (PDT) X-Forwarded-Encrypted: i=4; AJvYcCWHku4AlOQL5/ZObxvpjjUTGoz3/aDPR0bXw/Z+ybUT2pf/t1qDeA7s1sntMsi3l8QsgGjQm8PIXkHyP6TlQgbXrMdbzzdmxOOT4a4gzQ== X-Google-Smtp-Source: AGHT+IFn18LeIExRxLHBvvSn2TtA1yNjC+dHfzP2yqigAAzD+Y0p0i6SumfBQctCK0XXwSS/w05w X-Received: by 2002:a2e:830b:0:b0:2d4:7870:3b50 with SMTP id a11-20020a2e830b000000b002d478703b50mr5239757ljh.24.1712003962860; Mon, 01 Apr 2024 13:39:22 -0700 (PDT) ARC-Seal: i=3; a=rsa-sha256; t=1712003962; cv=pass; d=google.com; s=arc-20160816; b=q9JZZ0wAnoV2GOko6pYeRPigeEPDGIqfZPwG2KsflGb+9RLkB+zcKfZhw1GpYH0J5M q+69HYRAyNhGPcaZfhUgwAG9KJKjvg3Xi3oEQuA91EQ0dYebZjN8+qmWjwRtOrmCj5z4 RyIJ3PEjoqFSs4g10e7HGu+UqNmAS2subcdMNS6lGRmjra/aJANPBftE7WKnuJcvDgLE aqlqbhZtQ85zgwqfHEcb9CdR9C8PtHn3yM5lrNQ614RhX2SlgPaoyzJb1YBGhe4WHbSA L3Jm2AmlAr3F9wPQOxRsbuAV8GY4aIOVln05/xl+2ViMWdrVbpNU3z48AHj97OxwP1tE JwjA== ARC-Message-Signature: i=3; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:autocrypt:references :in-reply-to:date:cc:to:from:subject:message-id:dkim-signature; bh=p+ffdm98Zd/RYcRzCmqzEES9oVZO0M5ut9quXFU5cBk=; fh=v4Z3N2Htbr8NtGqMLkQjkIE/EbeUcf6lhEWEAm07n3g=; b=ii2RCHB6nfx+18ZEGj2WM42anuJOHRatM+YXyjGDETEyJ+uN2NPblQ5vmM/3+Am5xx KTRGlJqp5c2c2tn2aE5RPVcx6UD4olQn9QSX5Dq23lBu2qD1i8bIIeRzn/xl0J+TzBgZ 7rLsIwve5IzaBsfi7gN0VUjav9sVUCM1MZHqsA/1gHTdIXPu34PCX6LFcYNUZTPYolk6 7/YCn0JNRGQvOF3oDxU/nepQShIpUz6k+BNAmRNFAY9G+3zTkR3jma9kUPTTkQEboxNA zlOOwUJqTdFBWsV0Oo79At8b5Vcm0oQOEnuh+HQYQ+lqQ3Xr9h5Yjs4OxbouPzkaNQbm VMFQ==; dara=google.com ARC-Authentication-Results: i=3; mx.google.com; dkim=pass header.i=@iki.fi header.s=lahtoruutu header.b=KlpksF9Y; arc=pass (i=2 spf=pass spfdomain=iki.fi dkim=pass dkdomain=iki.fi); spf=pass (google.com: domain of linux-bluetooth+bounces-3058-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-3058-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 a6-20020a05640213c600b00568939b9f82si4887656edx.104.2024.04.01.13.39.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Apr 2024 13:39:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-3058-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=@iki.fi header.s=lahtoruutu header.b=KlpksF9Y; arc=pass (i=2 spf=pass spfdomain=iki.fi dkim=pass dkdomain=iki.fi); spf=pass (google.com: domain of linux-bluetooth+bounces-3058-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-3058-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 6ABE61F21EBE for ; Mon, 1 Apr 2024 20:39:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A84F62E3EB; Mon, 1 Apr 2024 20:39:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=iki.fi header.i=@iki.fi header.b="KlpksF9Y" X-Original-To: linux-bluetooth@vger.kernel.org Received: from lahtoruutu.iki.fi (lahtoruutu.iki.fi [185.185.170.37]) (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 F0DFC20DE7 for ; Mon, 1 Apr 2024 20:39:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=pass smtp.client-ip=185.185.170.37 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712003955; cv=pass; b=SsCYZ1vk4YL9c3+p7kCZsgvSlpnsbHAdrHjMYBWto52nBGiXL1uRdE3pvEuVPzhV+y0mWriN6CuwFej90qey1N6CJvFqjVn8EPEQiSqCOV6rOMJI0nEXBxpwHGgvPAKkDPJNAoHClL3HYTbmpFSseLEKr8nQqiLwpAPqUsl01l8= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712003955; c=relaxed/simple; bh=juENqjduFNW/3Ki2UqMcZT040ITYXTMrQV/kh2fjB04=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=Sb9wpCejN/hGccy8TR4kzciDM3UDZXPifukf4BoSsX6N/PyKr86K7HFI2n1itKK8m4c5FyZ2vyPn498vP5YBDMh5umPdhbWUlz+tTwqZTxTdpKKRBWTv+siF0jqpPFbgjL2Rtadwrm0IexUeA3htx4LWdGagKpmGFo9rlNMwPIs= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=iki.fi; spf=pass smtp.mailfrom=iki.fi; dkim=pass (2048-bit key) header.d=iki.fi header.i=@iki.fi header.b=KlpksF9Y; arc=pass smtp.client-ip=185.185.170.37 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=iki.fi Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=iki.fi Received: from [192.168.1.195] (unknown [IPv6:2a02:ed04:3581:4::d001]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: pav@iki.fi) by lahtoruutu.iki.fi (Postfix) with ESMTPSA id 4V7jXt0LP1z49Ptk; Mon, 1 Apr 2024 23:39:09 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1712003950; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=p+ffdm98Zd/RYcRzCmqzEES9oVZO0M5ut9quXFU5cBk=; b=KlpksF9Y19brK5s7psgFD8DP8+zPnt+ouIn4rt+Hklm2Ir5PnHcqN7/5CbSmk6u0COBVUv LWzfaNKJd348i+nILetV0z44QI6VUke/iC1/iUVuriUbe+8JCFGXUz+Fk/HfreDZ9yDJpH pYY/1grzyvilXO5qadgVcF6ClxPFuo2uvwLEUF49tnlBBfgor/PIWJt8HkEtWLl6iUD8Nt jPBG+Z5oUMyMc+Ig4eC6fkA8H1PF1l6HLwaDHaY7F3a7ixI4C601vwK9qnmptJnA36QQqq 7b3bGI9rr+uzEPIEUGDkS8MqRCzPr2qvikS6l9vCvis4C5Tc5ts/rNxAELfRsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1712003950; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=p+ffdm98Zd/RYcRzCmqzEES9oVZO0M5ut9quXFU5cBk=; b=iarpA9tICnQgvPYjzujhMjBK8Hh3pOw5fDds4cjZehbwwNVFteI85Nxa2vC0Zu071aDPY5 +iBI2sNr0uXu20qNQWhuYQs7UfWG7BXbg51O0cSlXHFPWZcsKYigKco909HWnozX8HNrpb QJW7GCo/6Lz644IHKwZKr2hIAfzE0Cb4oFbXOaJJYc1RLyVMLNafh325YiDp3lkxprkc7Y HMbKAXiF/P/nhZ74Pqt9XWybcP+anpAkgqtY7IkVZURGj/GtxtpXxzV5hU7I+O3Vcq3lrm RY5nPoCHQuQR5E50zS4cJfhTDoW5LfQaL64uGGlIG9MFUlCpNFczNRSGOFczKg== ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=pav@iki.fi smtp.mailfrom=pav@iki.fi ARC-Seal: i=1; s=lahtoruutu; d=iki.fi; t=1712003950; a=rsa-sha256; cv=none; b=n9ztCCpOCSzU/Of8qks1GoILp1dINDyIM8u7JY5zejGU0BQYd4bQJUNojft6Bvczn/3GUh w5b4D4mT3eVLf7934XCIxhJcX4zpZwKKfHz8ylJ64N45oX0cGfKlkteFEDQ08zqV4J54NE ZcHrSyiYE4X8AI4AE4NRyUBaEMBFHPZPv07a8k3eZ8TUvDkJMAHO00halS06HhkEaMdrOt vkWRgK1Lo5UxXiRGnifRoUXgvlt0IiS5XCPlhXWm7bOoMilSuuFhOFnCldEnlovCjKwUup jdudsmoaBqMSHrvg4NED3YjPxBy5Z63RVlyzkKTkScuXoUo6r+TrMBUe/RImeA== Message-ID: Subject: Re: [PATCH v2 0/5] Bluetooth: add TX timestamping for ISO/SCO/L2CAP From: Pauli Virtanen To: Luiz Augusto von Dentz Cc: linux-bluetooth@vger.kernel.org Date: Mon, 01 Apr 2024 23:39:07 +0300 In-Reply-To: References: <171200163859.25745.12369452892917865813.git-patchwork-notify@kernel.org> Autocrypt: addr=pav@iki.fi; prefer-encrypt=mutual; keydata=mQINBGX+qmEBEACt7O4iYRbX80B2OV+LbX06Mj1Wd67SVWwq2sAlI+6fK1YWbFu5jOWFyShFCRGmwyzNvkVpK7cu/XOOhwt2URcy6DY3zhmd5gChz/t/NDHGBTezCh8rSO9DsIl1w9nNEbghUlcYmEvIhQjHH3vv2HCOKxSZES/6NXkskByXtkPVP8prHPNl1FHIO0JVVL7/psmWFP/eeB66eAcwIgdaUeWsA9+/AwcjqJV2pa1kblWjfZZw4TxrBgCB72dC7FAYs94ebUmNg3dyv8PQq63EnC8TAUTyph+McnQiCPz6chp7XHVQdeaxSfcCEsOJaHlS+CtdUHiGYxN4mewPm5JwM1C7PW6QBPIpx6XFvtvMfG+Ny+AZ/jZtXxHmrGEJ5sz5YfqucDV8bMcNgnbFzFWxvVklafpP80O/4VkEZ8Og09kvDBdB6MAhr71b3On+dE0S83rEiJs4v64/CG8FQ8B9K2p9HE55Iu3AyovR6jKajAi/iMKR/x4KoSq9Jgj9ZI3g86voWxM4735WC8h7vnhFSA8qKRhsbvlNlMplPjq0f9kVLg9cyNzRQBVrNcH6zGMhkMqbSvCTR5I1kY4SfU4fQqRF1Ai5f9Q9D8ExKb6fy7ct8aDUZ69Ms9N+XmqEL8C3+AAYod1XaXk9/hdTQ1Dhb51VPXAMWTICBdXi5z7be6KALQARAQABtCZQYXVsaSBWaXJ0YW5lbiA8cGF1bGkudmlydGFuZW5AaWtpLmZpPokCWgQTAQgARAIbAwUJEswDAAULCQgHAgIiAgYVCgkICwIEFgIDAQIeBwIXgBYhBGrOSfUCZNEJOswAnOSaCbhLO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OjdZHUP1XMdTE1uqfk8QMdbCMHuCYAAYEC+0Bxk6DGo8IRuKFyf9ZCH/X8Sn76uawiSY2rrLB2qQ4LbckDVKwr3AGV1yACfcw6A6blI/wkAEQEAAYkCPAQYAQgAJhYhBGrOSfUCZNEJOswAnOSaCbhLOrBPBQJl/qphAhsMBQkSzAMAAAoJEOSaCbhLOrBPwm8QAKRGljnvoHBM3RRtA8LLewt2OpD73HdgBaGmgAwbjIl4zSAUj90jp9L2Df+kpL0MoeIgv/4Z1DzTJUm0YS1GyXfUiKQYV2zmRu5tiFJzjT+z5aEe+g+j/UionaMOEufOgkIHrdaQbE1qbV8KE7lvqy7ne4PfMFmx28gsFkJ9NUkDOj7epmilkOU96sWBi9SDmVW09f3WfkituEYGxoo4Ytvwvbj3Fwv32x0I+7s7mMjUrb/5/P+22KJLT9T0B1oDValnoN7W/mLgjzGH3x119iCuWr8q4HgwAxYXQy3D3rBKY/WGuecRxCJlmmUECi4Fm5Pl5+W3jUuUahLMAWDfvBaVapmYiX3c/oyaVV6/sbzGFzlkaPuhV91pVBLqCLcYXBbiybSP9F1xBWqOJABaAHRVEmA6DxCVnxphZ87BAL4HdZ1KIOahD6Heaz5RiABFFX6dg4siBILt4b2pjUzMLiTfiBbHuGcydkHSDWZAFLe1VJjTVRR1XY/L70sFUs9L9woo5LHtO16LVVfic7IUHBs25cI+/jhP0tJQU5SaT/52HyNoDmmDtaWkk3S6J8X+fUJjpIh5hY5P2D/YXA5NVkuXPLNFrtbqDLR6oou2jhJKkSQRpkdjoJmSiRbmqeToyUpMq75pkiPJQ7e4EL+PI/kVynsG6JohaedRxX6Gbivk Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.4 (3.50.4-1.fc39) Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Hi Luiz, ma, 2024-04-01 kello 16:05 -0400, Luiz Augusto von Dentz kirjoitti: > Hi Pauli, >=20 > On Mon, Apr 1, 2024 at 4:00=E2=80=AFPM wrote: > >=20 > > Hello: > >=20 > > This series was applied to bluetooth/bluetooth-next.git (master) > > by Luiz Augusto von Dentz : > >=20 > > On Thu, 14 Mar 2024 20:20:16 +0200 you wrote: > > > Add support for TX timestamping in ISO/SCO/L2CAP sockets. > > >=20 > > > These patches allow fixing / working around controller(?) issue where > > > two ISO streams in same group get desynchronized. It also gives user > > > applications the best latency information as available to kernel. > > >=20 > > > Also add sockopt BT_NO_ERRQUEUE_POLL to optionally disable POLLERR > > > wakeup on TX timestamp arrival, which is mainly a nuisance in the use > > > case here. The alternative to this seems be to deal with the POLLERR > > > wakeups in BlueZ side, but this seems hard as it's always enabled in > > > poll() flags so not clear if anything else than polling at regular > > > intervals can be done there. > > >=20 > > > [...] > >=20 > > Here is the summary with links: > > - [v2,1/5] Bluetooth: add support for skb TX timestamping > > https://git.kernel.org/bluetooth/bluetooth-next/c/0368e609d090 > > - [v2,2/5] Bluetooth: ISO: add TX timestamping > > https://git.kernel.org/bluetooth/bluetooth-next/c/3067d73e114f > > - [v2,3/5] Bluetooth: L2CAP: add TX timestamping > > https://git.kernel.org/bluetooth/bluetooth-next/c/e22f35ed23a7 > > - [v2,4/5] Bluetooth: SCO: add TX timestamping > > https://git.kernel.org/bluetooth/bluetooth-next/c/b7adccd0e8b6 > > - [v2,5/5] Bluetooth: add BT_NO_ERRQUEUE_POLL socket option > > (no matching commit) >=20 > Ive left 5/5 out on purpose, let's have it behind an experimental flag > so we can later rework it if necessary, I know it is a little annoying > to have to do extra setup in order to test it but we are not supposed > to introduce something like this without some safeguards that we can > later rework if necessary. Thanks, I'll add the experimental flag to 5/5 and resend. --=20 Pauli Virtanen