Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1866257imm; Thu, 18 Oct 2018 05:41:02 -0700 (PDT) X-Google-Smtp-Source: ACcGV62MGE7ebS70vKUzqxio3lpl9arQ9cjykFtf66rcO2L/Q/8cRsHZPUJAw+DXtO7q1pGh62BT X-Received: by 2002:a17:902:3041:: with SMTP id u59-v6mr16577182plb.279.1539866462365; Thu, 18 Oct 2018 05:41:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539866462; cv=none; d=google.com; s=arc-20160816; b=QLR3UsClOV3jDfZJ3gIJZ4JUGvRUj1lO6CNK25dbjqvmJ5n14RDjTCAx80OjqlykIV HAmIdzqyhCNHg37n9Qtojk0gy8CbHldULh8uAUcfVIRlVr79iuNFZx4sZCNCVS6u3UTd qL9GkPasqJJfkQ0iL1FJFF0m+7Wj8AZvYJCeRc7R/hT/wJT8uR9KT5A3uYiGe0SkbNag fxINM2GC4zulp06KbxCaN3lALxVGS+z5KJdcqzR+VXupK+OW/DMBi7vGHGyBZJV3QNfs oUVmYiWXOso8+rXN2NJbflc4ZIJRv9XCqcRI6Rk2/2m0pz0WjfH0ifPWpLh5yXwHqzA1 Hr1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature; bh=oujgwrzkNCJLVjSK2ttIJhP2uzYSmJcWTwVYGHru/yw=; b=E3Ljp/oW6UCEr3fCGLEMt/KgI/oheEWiG3wjWzdzZuireY3lfiaT7cSH68pikB0wuD E2fx+dRSP8gtJ5WggKgNa7txsKH4Ga7isw1zav6JXFzQF5EXQnRKLQZOhx/ocxOJgQRu 3Y6uHmzPYGy9JxcepA9iYmaMKIpAoAt54q6Gccp6LyVYstL6rGnu9azOD8Rp99IcDMNJ wbLrXDq1rTZ2j0Pol6LIOXqkExHvo1o1BK0Ndi1RaoH9bA8qMD3bykZuZ83EzTvJVrma nmDkebsr2/V9AKTF1UI7HMO6y/sVN3vuGDDBwDka3VEdnAuxSECgZtzVSgq5Mf0AjT9t IN5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=cXSufFkr; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c81-v6si22616725pfb.153.2018.10.18.05.40.46; Thu, 18 Oct 2018 05:41:02 -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 header.i=@ti.com header.s=ti-com-17Q1 header.b=cXSufFkr; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727083AbeJRUlD (ORCPT + 99 others); Thu, 18 Oct 2018 16:41:03 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:45684 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726506AbeJRUlC (ORCPT ); Thu, 18 Oct 2018 16:41:02 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id w9ICe5rr025940; Thu, 18 Oct 2018 07:40:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1539866405; bh=oujgwrzkNCJLVjSK2ttIJhP2uzYSmJcWTwVYGHru/yw=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=cXSufFkrbZavMaxof7X1uEtj7X6wVI8smve9wYvcLg4BafHfuF+KWZ14nJZVgOVni h+QECoEHHBEie5oWBTcfXPs3HYsA5DXzYCB0rdeZN5RdAacerk46KZYhBw+T1llan8 Q2UgEoThmBEJ+3BoMtlARawAZ6M9TnX2lmSvd3F4= Received: from DLEE109.ent.ti.com (dlee109.ent.ti.com [157.170.170.41]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w9ICe4rG013947; Thu, 18 Oct 2018 07:40:05 -0500 Received: from DLEE111.ent.ti.com (157.170.170.22) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Thu, 18 Oct 2018 07:40:03 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE111.ent.ti.com (157.170.170.22) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Thu, 18 Oct 2018 07:40:03 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w9ICe3tm022687; Thu, 18 Oct 2018 07:40:03 -0500 Date: Thu, 18 Oct 2018 07:40:03 -0500 From: Bin Liu To: Laurent Pinchart CC: Paul Elder , , , , , , , Subject: Re: [PATCH 0/6] usb: gadget: add mechanism to asynchronously validate data stage of ctrl out request Message-ID: <20181018124003.GD8763@uda0271908> Mail-Followup-To: Bin Liu , Laurent Pinchart , 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 References: <20181010024903.1633-1-paul.elder@ideasonboard.com> <20181011193142.GC8763@uda0271908> <1944130.9sTDClXDAS@avalon> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <1944130.9sTDClXDAS@avalon> User-Agent: Mutt/1.5.21 (2010-09-15) X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Laurent, On Thu, Oct 18, 2018 at 02:42:29AM +0300, Laurent Pinchart wrote: > 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. Thanks for the explanation. Regards, -Bin.