Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp3440087rdh; Mon, 27 Nov 2023 14:34:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IFIEypT6iEVOfJC2OZFDmK86G0j4lvWypESGmBWxto4eHjgMTOaW2/Pa04TJPReRzaxFNnq X-Received: by 2002:a05:6e02:12c3:b0:35c:aeec:93fd with SMTP id i3-20020a056e0212c300b0035caeec93fdmr8188964ilm.5.1701124457243; Mon, 27 Nov 2023 14:34:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701124457; cv=none; d=google.com; s=arc-20160816; b=c1eO8JWczyVBfj6uTFU1L7yMOY+hWQZZVfo+sSjFEpl293zbOVrOlu71592u2CdehG snwUmOjIthb2vLoRPozNx8Ef2y4OrEYYEFa0mOeWXSroXpWUbioUt29VOiJ5Fmyl9wNB s36OokRXPK9P0YUJ1anzStIiUuBJucXt70Pnmy/t4QEWTug6GJ6lYU5P3La/7ufWkWre kdyKjt1muzHQhYuN5kq4E+CCBK8Uj81pvrcEawLjGAr3tWt99RZTpAevd9t562hpTQSl K2PHfplcLsqonl94524Hvyo5bOWnJVIP8mpl7VuE7VKy/++UHhrooRt/m0OUTqHmSbjf RLFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=wRurvJBixT9EaPt149GqF23JO/Hj3FJOfl0g3s+cV30=; fh=t27Tib4UCBso065rFoXKl3c2Ol6NuJ4hG35i26bdZQ0=; b=zLFlrhaSV2N1lkejFaqcnP7SUD5PaJ94muVeFb8gPNpb3Cp70HYTKx3VvRpJ4yQ1uR nqPuCZUZVGjyptEkQvnyLpzQiiokVq9f0fASz8wr7frqkdX+W+RYg5F4nNOruiIT0PDx ZLQ778R0ul7Nv+ks57jNdD9VM4RXER5rnQK+jJr8nYcjqXCVS/j1YuR+xf8rsEaT6TbB 7V/5NV9mEc9PemKt/zBtoVrPQ/Qw8OmPDwA+m/571sK/4jlnAl7F86i/nr2fpl0KppnM KD1GU6L4gpNeKhVw+jkGQ6TQiyP/lNnvidL6yoKERmLXPqqsChPAdYBYPfJFUjgiZQOI bgDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b="d/kZFQmS"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id x7-20020a631707000000b005c5e27a88d7si563755pgl.567.2023.11.27.14.34.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 14:34:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b="d/kZFQmS"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id D03F18056A28; Mon, 27 Nov 2023 14:34:12 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233427AbjK0Wdv (ORCPT + 99 others); Mon, 27 Nov 2023 17:33:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46054 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231693AbjK0Wdr (ORCPT ); Mon, 27 Nov 2023 17:33:47 -0500 Received: from mail-io1-xd34.google.com (mail-io1-xd34.google.com [IPv6:2607:f8b0:4864:20::d34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 832421A2 for ; Mon, 27 Nov 2023 14:33:52 -0800 (PST) Received: by mail-io1-xd34.google.com with SMTP id ca18e2360f4ac-7b37846373eso34039739f.0 for ; Mon, 27 Nov 2023 14:33:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; t=1701124432; x=1701729232; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=wRurvJBixT9EaPt149GqF23JO/Hj3FJOfl0g3s+cV30=; b=d/kZFQmSqL/CVbe8x/MUYwLDMONqAUs8YcXijkfvYPIRComGmCw4fXjT3b0M2Mcpb6 Jr1ql3VL3wNfkJVVHplNgIWy/y1TrIaIaI0eg2RAFcZgKhCFpmAyAi5lLZW55OgQyOqx DGMVP6bc+Clb2lGACqMGopBdrVHyQUytYf6G4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701124432; x=1701729232; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=wRurvJBixT9EaPt149GqF23JO/Hj3FJOfl0g3s+cV30=; b=Or3+i5fcTGCSeMQ6IdYAxAb8ckTe9tNk2gh1fvDksFKH9Rk2X1rvG2nWyG6fYusJPx j3/UgWOpX0o0LeuH4iBLLRWRLR2hY4PKcNFoPYGJmg5pWH1QZcpqnT8nxdl25MsqRa6E CV7U2GEm8dFHOImFMUttUcY7V9gIPFgiBcxSfGN26O++YTQNqls7D4G9cgROi9kP76uP /aic/Tzp26wBwqLdfXtbDCI1ZjcgFs6sOjLx94hNbNAWdABf2M6WK7MSZLa8pRKWVzDj uiyJqfyowHtnT8GB4xt8mGCsMJTwkd0DtmDNePdNP64h6uRX1zBzmRpqZOL/nCr3eIOj gMrg== X-Gm-Message-State: AOJu0YwhVKQxDYhWq68V6Qd+RKxpvE65fieI8GY9b31P9BuJZSI4O7dp 59L38nkLem+LP79dWt4Cq4cH89VB9brb5eRaxFw= X-Received: by 2002:a6b:7a07:0:b0:7b3:92ea:3438 with SMTP id h7-20020a6b7a07000000b007b392ea3438mr6812083iom.2.1701124431854; Mon, 27 Nov 2023 14:33:51 -0800 (PST) Received: from [192.168.1.128] ([38.175.170.29]) by smtp.gmail.com with ESMTPSA id w30-20020a056638379e00b004665c3f56ebsm2579841jal.15.2023.11.27.14.33.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 27 Nov 2023 14:33:51 -0800 (PST) Message-ID: Date: Mon, 27 Nov 2023 15:33:50 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] usbip: Don't submit special requests twice Content-Language: en-US To: Simon Holesch , Valentina Manea , Shuah Khan , Hongren Zheng , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Shuah Khan References: <20231126234839.52434-1-simon@holesch.de> From: Shuah Khan In-Reply-To: <20231126234839.52434-1-simon@holesch.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 27 Nov 2023 14:34:13 -0800 (PST) On 11/26/23 16:48, Simon Holesch wrote: > Even though submitting those requests twice should be harmless, there > are USB devices that react poorly to some duplicated requests. > The change looks good to me. I want to see the change explained in the commit log. I see the information on why the change is needed. Please add a bit more information on the change. > One example is the ChipIdea controller implementation in U-Boot: The > second SET_CONFIURATION request makes U-Boot disable and re-enable all > endpoints. Re-enabling an endpoint in the ChipIdea controller, however, > was broken until U-Boot commit b272c8792502 ("usb: ci: Fix gadget > reinit"). > > Signed-off-by: Simon Holesch thanks, -- Shuah