Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp3419357rwd; Mon, 22 May 2023 13:31:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5Fad6RbwtbwJHna6IQHK7v3Za+kLnvj6IBjGWovIBCgs6uf2KD6ZFp9P7w1uG9ql7uOIE2 X-Received: by 2002:a17:902:e9d5:b0:1ac:8cd4:a82d with SMTP id 21-20020a170902e9d500b001ac8cd4a82dmr11492168plk.27.1684787493178; Mon, 22 May 2023 13:31:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684787493; cv=none; d=google.com; s=arc-20160816; b=za9wPlMwPbe7o4EhxDtB84cpslnLFRKp4hbCTCO0xLEZf5OyZZHxdISDeqhNc2IlyR gf7WaDlk0Qz3xN/666xY1WBFEF4EZFpuN7TPmCWsxVCwjdCq9ARtVI9RwkWQ6RzTZPmX XxlfMTd1p2LZpsgCNeS6szHRvzAuueKOYEO7GXdOjng+q3aknjb6OXjLUcWvjrq2LhUh AwG4EIoDulVmxC9ddzOmpyFlP1Ni2QF5sbd3zHuhOyJF+W/PYsOBAhKJufG59rmZTugI m6bxTHvfvhjsi+ye/4g2xcmnR0WmOLLi1hHMgEUXje6RSJ6GhypFfTB6Iuj8c1F73aWg 8QLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=fwl8V7kMKtXwYqWAIQt9Nxhin8Pl0m0WhMCHGNUOw8c=; b=bisXawlo9+N1gvprKwPuqLsvx9xYvBAna++ftsM28hXdMMgfTC3mHJf7IYQ+5ve5tI RMH9KUy66K/CUZ6jzi5hOIh6he/IrsV9jyjchA3mcZ7CUlP+kwAstz3C6Uey3QPo7Wot Ka6zhJ/kemDoPaabhxXyG8VIDHrCwwnNKo0aFDJboYPvaCwuga6pToS1j0Ys+8i9EVky /90j5kGa47oDogxQbKe9RaAe28r12w89UY69OveTh5dJBlOQIQDrZweJxVZzLgltdwh5 nvF+jRcc+LUjfe5tdHKgqu6/DVYXuKKwbbi0Xm5Dj/upnvgf5E+jp5CgM9sf7L2emW6o 8G/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=oU7OV+sL; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m14-20020a170902db0e00b001ac2eae0714si5236572plx.358.2023.05.22.13.31.11; Mon, 22 May 2023 13:31:33 -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=@gmail.com header.s=20221208 header.b=oU7OV+sL; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229555AbjEVU23 (ORCPT + 99 others); Mon, 22 May 2023 16:28:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37178 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233111AbjEVU2F (ORCPT ); Mon, 22 May 2023 16:28:05 -0400 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 23568C2 for ; Mon, 22 May 2023 13:28:04 -0700 (PDT) Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-4f3bb395e69so2586759e87.2 for ; Mon, 22 May 2023 13:28:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1684787282; x=1687379282; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=fwl8V7kMKtXwYqWAIQt9Nxhin8Pl0m0WhMCHGNUOw8c=; b=oU7OV+sL+e4Q3CIp0dA8v3Q/3RPKuc14UeCgbuPAhyfbvqtsLtiNh3dk2V6XnpYFUB UQ0dOqRP+/nEW+PYC5GrjRPhhvAQCaZoSyAcb0v735dU8xdFVSl7/DsT3afvgSLd3kR5 LRmjFTit9eT0AfJ67ow7erSBTKsMBRvTtcgvry3HKFQcXtWWiczicdrgDlEEHWKQW4my bWGu30Gt9gMNw4uiriSiXbvbp/B7HS1tMzT3mBWY6SYX4bDY4c25Rrq9Hipv+JzJXjfJ uhQsAMMX5zoRVuxMrBrWAOdCbORvGt+eRpuNDBD119i6tTBh77RPOg63YHBW+4WDG0cJ lfNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684787282; x=1687379282; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=fwl8V7kMKtXwYqWAIQt9Nxhin8Pl0m0WhMCHGNUOw8c=; b=ekRq94meX0tWLG/b/Be9OfrkMdPkKH8fhwZhbveGT9cCLMPWvNnpRhKHkmC4v03G3t nofxIj6COOsGDO1nmsq3haistcNO3i3lwWRaY7B1Ll334G/XniYiDGuyCFVx4m9CO7EC kDbEKqwbDdebXjzke+Xfxv2+WREKiHDbjNAS46en4ZNubqeUsoSG/xDCPt09gx/GTP8C 4xDu7AfKTlSaxDcLmfYFVs96LG4F92s4LTRxUQLT8hk7xG+19rDu8pHB1gEYpJzHw02k rDvGM5MdRywcCmLHHcjwjqAvvDRsNDueGdmxW79KDoiOsf26PXfwq7R7fDLyf6Z3ft5z yLeA== X-Gm-Message-State: AC+VfDwE6PsUa9TSMwTbK+n5WwYy2o5znnyTR3DiiNlghU5FWTDXrqkV UqpkjjaHm2fBNZlbXVGCwfbiFsgJFV+ceDIUQuE= X-Received: by 2002:a2e:8e89:0:b0:2b0:259d:f670 with SMTP id z9-20020a2e8e89000000b002b0259df670mr1258700ljk.4.1684787281967; Mon, 22 May 2023 13:28:01 -0700 (PDT) MIME-Version: 1.0 References: <024df2d86c14fc811701ba27bfa576476bc9c0d6.1684682575.git.pav@iki.fi> <168478682055.7079.605631444073463509.git-patchwork-notify@kernel.org> In-Reply-To: <168478682055.7079.605631444073463509.git-patchwork-notify@kernel.org> From: Luiz Augusto von Dentz Date: Mon, 22 May 2023 13:27:49 -0700 Message-ID: Subject: Re: [PATCH BlueZ 1/5] iso-tester: always use DEFER_SETUP for multiple CIS in same CIG To: patchwork-bot+bluetooth@kernel.org Cc: Pauli Virtanen , linux-bluetooth@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 Hi Pauli, On Mon, May 22, 2023 at 1:20=E2=80=AFPM wrote: > > Hello: > > This series was applied to bluetooth/bluez.git (master) > by Luiz Augusto von Dentz : > > On Sun, 21 May 2023 15:27:34 +0000 you wrote: > > There is a race between multiple connect() for CIS in the same CIG. > > connect() will both reconfigure the CIG and connect the CIS, but CIG > > cannot be reconfigured once one CIS has already connected. That these > > tests pass currently relies on some timing/event ordering in the > > emulator. > > > > Connecting multiple CIS in same CIG is meant to be done using > > DEFER_SETUP, so change the tests to use it, so we test the intended > > usage. > > > > [...] > > Here is the summary with links: > - [BlueZ,1/5] iso-tester: always use DEFER_SETUP for multiple CIS in sa= me CIG > https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=3Da88c74e29b6e > - [BlueZ,2/5] shared/tester: retain test failure status > https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=3D195b9abbae0e > - [BlueZ,3/5] btdev: support multiple CIG > https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=3D678265f37c28 > - [BlueZ,4/5] btdev: report right reason for local Disconnect complete > https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=3D0c32cfdf9462 > - [BlueZ,5/5] iso-tester: add tests for multiple simultaneous CIG > (no matching commit) Ive ended up making some changes to patch 5/5 so it combines AC 1 with AC 2, we can probably extend these tests to have more combinations of different AC, etc, just to make sure the code can handle them properly. --=20 Luiz Augusto von Dentz