Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2283733pxp; Mon, 21 Mar 2022 15:51:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy2L7DxeekA8z9sOfvbiLejVMWoNaqKbnAc7oe+Iv1AY5dNwGENDuOEqBg8+EPLMzCDpyVp X-Received: by 2002:a17:902:a585:b0:14d:58ef:65 with SMTP id az5-20020a170902a58500b0014d58ef0065mr14887025plb.139.1647903085715; Mon, 21 Mar 2022 15:51:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647903085; cv=none; d=google.com; s=arc-20160816; b=LSRvPWq56cz9cvOeU17oEuBntyEqxGQ+8SUt9Rt4cKO69XQT1m+s5xEnbCCwHMbWOb B8qh7qgpzjpXi0WpC+g1tcc8hr4UkivrBLpzEOQbFuOCn8ste1xtaJoR3y3YpINOuVt6 PEToSyG7x3VyBW39c7yXe/6Y467HwceXoA2FnMV+VwL6babPf4bUKIPG2nBSOUadTfGS e++gyX7Kj/FOGP3DoYlJeH1IDA6FTexHBdcoeNGCcWi8E8uHv/nuJAQNkOOy6DHc1ASL MLHQ3sFp7Wuo9Te4uOmDJ5IF1E6IuDQYvXFNiSiIr+lnSWqaAareejX/nKY7r2UmpCOR pXXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=BvFRopSNSFzSqwnWb2iQ/SUaW/EfukCuMBytQY0CwPE=; b=SZnaduCRNZiXumHK47pqrslWa6KPkubfBJkGN8hiv2Z2jVDWUyz1e+9COHpOB6nLw1 kU7TqQBb3BQUVY17uzixg4uSzq3xmPQGId++tJJiWXEWHJlloZ19O8TK0ocATL3E8BOB VUApO4W3lmbaK+2iks9oGou0qsaEDHYCWZbPw9vJrJHK620Eiwx7TXYMrFJZs7fkhgaK GYmplKqc5Z8L9ELnK1n4M+lvyF5PzmbPH0FopVfN+g82DgOR+a4D0xI9yraZtdfQsCov XD1GfqLwe+AMdEkkv28H+iNhL+VAAOcn8x18B4luin7YswTGp40kU7vwzvsPZoI3Pg6m oi/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=wVpP7wlh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id 196-20020a6301cd000000b003816043ef37si14095788pgb.300.2022.03.21.15.51.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 15:51:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=wVpP7wlh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 6E9B83FD6C3; Mon, 21 Mar 2022 14:59:06 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346235AbiCUKSH (ORCPT + 99 others); Mon, 21 Mar 2022 06:18:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343986AbiCUKSE (ORCPT ); Mon, 21 Mar 2022 06:18:04 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB3E1985BA; Mon, 21 Mar 2022 03:16:39 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 6796F61312; Mon, 21 Mar 2022 10:16:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 61C15C340E8; Mon, 21 Mar 2022 10:16:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1647857798; bh=hs1j1XdHsa05pKB9tDryge7782Yts0Xm0jU6E5GUFjI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=wVpP7wlh0tnG5l/utlBmven3RHa4TNGl7gj8+PHlyjppHEssDj8f+6iLwINy+KQ0H JWKXpfKGdkBR5flmjRKV83rMbjXuTNZa0UmgKTgr0N9RxlY8ZcOlZsW3pYdOw2SBjE R9MsTdj5AINOUSSiD6Uy69uQslLz51jzexFXMSKA= Date: Mon, 21 Mar 2022 11:16:35 +0100 From: Greg Kroah-Hartman To: Jung Daehwan Cc: Mathias Nyman , "open list:USB XHCI DRIVER" , open list , Howard Yen , Jack Pham , Puma Hsu , "J . Avila" , sc.suh@samsung.com Subject: Re: [PATCH v3 0/4] support USB offload feature Message-ID: References: <1647853194-62147-1-git-send-email-dh10.jung@samsung.com> <20220321092409.GA62265@ubuntu> <20220321100631.GB62265@ubuntu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220321100631.GB62265@ubuntu> X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 21, 2022 at 07:06:31PM +0900, Jung Daehwan wrote: > On Mon, Mar 21, 2022 at 10:32:25AM +0100, Greg Kroah-Hartman wrote: > > On Mon, Mar 21, 2022 at 06:24:09PM +0900, Jung Daehwan wrote: > > > On Mon, Mar 21, 2022 at 10:14:23AM +0100, Greg Kroah-Hartman wrote: > > > > On Mon, Mar 21, 2022 at 05:59:50PM +0900, Daehwan Jung wrote: > > > > > This patchset is for USB offload feature, which makes Co-processor to use > > > > > some memories of xhci. Especially it's useful for USB Audio scenario. > > > > > Audio stream would get shortcut because Co-processor directly write/read > > > > > data in xhci memories. It could get speed-up using faster memory like SRAM. > > > > > That's why this gives vendors flexibilty of memory management. > > > > > Several pathches have been merged in AOSP kernel(android12-5.10) and I put > > > > > together and split into 3 patches. Plus let me add user(xhci-exynos) > > > > > module to see how user could use it. > > > > > > > > > > To sum up, it's for providing xhci memories to Co-Processor. > > > > > It would cover DCBAA, Device Context, Transfer Ring, Event Ring, ERST. > > > > > It needs xhci hooks and to export some xhci symbols. > > > > > > > > > > Changes in v2 : > > > > > - Fix commit message by adding Signed-off-by in each patch. > > > > > - Fix conflict on latest. > > > > > > > > > > Changes in v3 : > > > > > - Remove export symbols and xhci hooks which xhci-exynos don't need. > > > > > - Modify commit message to clarify why it needs to export symbols. > > > > > - Check compiling of xhci-exynos. > > > > > > > > As I asked for in the previous submission, you MUST have a user for > > > > these hooks, otherwise we can not accept them (nor would you WANT us to > > > > accept them). Please fix that up and add them to the next submission as > > > > we can not do anything with this one. > > > > > > > > thanks, > > > > > > > > greg k-h > > > > > > > > > > Hi greg, > > > > > > I've submitted the user(xhci-exynos) together on the last patch of the patchset. > > > You can see xhci-exynos uses these hooks and symbols. > > > > > > [PATCH v3 4/4] usb: host: add xhci-exynos driver > > > > Then this is not "offload" hooks at all. They are merely "support > > another xhci platform driver, right? > > Yes, right. > > > > > I see a lot of exports and function hooks added, are they _ALL_ used by > > the xhci driver? If so, please reword this series as it is not very > > obvious at all what you are doing. > > Yes, they are all used by the xhci driver. Is it OK for me to use "xhci-exynos" > instead of "USB offload" on series like below? > > [v3, 0/4] add xhci-exynos driver > > This patchset is for support xhci-exynos driver.... > .... > > usb: host: export symbols for xhci-exynos to use xhci hooks > usb: host: add xhci hooks for xhci-exynos > usb: host: add some to xhci overrides for xhci-exynos > usb: host: add xhci-exynos driver Yes, that makes much more sense. What would you want to see if you had to review such a series? thanks, greg k-h