Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1262306imm; Wed, 17 Oct 2018 16:43:08 -0700 (PDT) X-Google-Smtp-Source: ACcGV62zM3j2g90AcPzkufI45551k4zS0cgPj3f7cBPjat9LvjrfzIgQsC6texzRm+A3AXuVCckS X-Received: by 2002:a17:902:76cb:: with SMTP id j11-v6mr27582965plt.258.1539819788492; Wed, 17 Oct 2018 16:43:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539819788; cv=none; d=google.com; s=arc-20160816; b=Q8mHpWPMKWCV2mcj0skz4KsE2RdS4dendFLOWD4gXKLx+E24tv5pFDIzwS+0LqBZn+ PrEa6LlLC0rkO1Fpb1BWG2uHPtUD5jIQeWCMQSWzAg7JaJwAIJk1w/etg94ej9G1qqEo BXll6Pr+GfZxz+N8DSFPfEIa5wQGa9Wskk+NkGZTLQEyaV4PUFQvBq59yBB5x4Pye+/4 QASDN5qwdvSiCEbW2CwH9gwnV8/k2FRo58LfGfK+++k/YioSp1zi/KI4fF4EkOlAnAGh eBROOXRy2aBPks/pSbYghQHttLNW62jMlUn6YYur6E7DedcaCldI3HnjBFo/jcYkx+oX H+mg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:organization:message-id:date:subject:cc:to :from:dkim-signature; bh=SzAw1zuG8sj2eh4RWGHAdK47VD6oeTbA1BjiojqiaN4=; b=NY8C/qdFDIuyPFfA7L8tYC3EhFQ+IgIw2D1QOBaM51ZMhWn2SfpmoJmnE2hyyStc5q GMuwQ9VMSIFnejcqXSKWkqG5ku/KL2e673kghVyZXOARGkvq9hgWj3oqHjypLSm97sSK +T76oVlQFhsR5oV0fYqUZSzovG9swBLoCk6BFk71eVD35sIH/BeIHOa3qYiizKMLVgLy 0q57E+P4sKa8mPg+WCkbBGrWAXVW/Enzie60e3a3j8esT+Zt6DD8hpqteCkqAXp0DPGa 2LlnECJCuSt8lGftPNKo7DgAalk/05RJfvQ1R3z5f3+V3Lkkd4Q9qUx7nv0bvoyDPOMU MJJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=KI3uKj3d; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l14-v6si18922081pgi.34.2018.10.17.16.42.51; Wed, 17 Oct 2018 16:43:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=KI3uKj3d; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727351AbeJRHk1 (ORCPT + 99 others); Thu, 18 Oct 2018 03:40:27 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:41470 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727262AbeJRHk0 (ORCPT ); Thu, 18 Oct 2018 03:40:26 -0400 Received: from avalon.localnet (dfj612ybrt5fhg77mgycy-3.rev.dnainternet.fi [IPv6:2001:14ba:21f5:5b00:2e86:4862:ef6a:2804]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 6450B113F; Thu, 18 Oct 2018 01:42:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1539819739; bh=zY3LNPcRV+PrbhusAwTJIRfdZxqO6BpcyK/ef7xTL2g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KI3uKj3dtUDuRqs7J5KcDMKJNl/Pt9REA02BYoTkdjtrl1C/BBouASfdEsjw1nKH3 hqlJ1litkxqjq3TIiWndAztrhbvzrjk5efyT2To85iN6e8EuLWhez+CaxNDZG2MlwO n9EihkHZfx9QdIMu3sw8tcPKyyHy8ToSRlBdIWi4= From: Laurent Pinchart To: Bin Liu Cc: Paul Elder , kieran.bingham@ideasonboard.com, gregkh@linuxfoundation.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, balbi@kernel.org, stern@rowland.harvard.edu, rogerq@ti.com Subject: Re: [PATCH 0/6] usb: gadget: add mechanism to asynchronously validate data stage of ctrl out request Date: Thu, 18 Oct 2018 02:42:29 +0300 Message-ID: <1944130.9sTDClXDAS@avalon> Organization: Ideas on Board Oy In-Reply-To: <20181011193142.GC8763@uda0271908> References: <20181010024903.1633-1-paul.elder@ideasonboard.com> <20181011193142.GC8763@uda0271908> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Bin, On Thursday, 11 October 2018 22:31:42 EEST Bin Liu wrote: > On Tue, Oct 09, 2018 at 10:48:57PM -0400, Paul Elder wrote: > > This patch series adds a mechanism to allow asynchronously validating > > the data stage of a control out request, and for stalling or suceeding > > the request accordingly. This mechanism is implemented for MUSB, and is > > used by UVC. At the same time, UVC packages the setup stage and data > > Why is this for MUSB only? Other UDC such as DWC3 doesn't need this? Unfortunately, the asynchronous control request data stage validation mechanism must be implemented by every UDC. This patch series only addresses MUSB as this is Paul's main test platform. Once the core patches get reviewed and the API accepted (possibly in a modified form), we plan to update the DWC2 and DWC3. -- Regards, Laurent Pinchart