Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1152443pxb; Thu, 24 Mar 2022 13:53:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxWe2+GzdHMYOhh4aLQNRl8d2AmeE4GajOu0JKMTNDecT9wpAi9YuHTd+2FH8GXbsHTu4uO X-Received: by 2002:a05:6a00:1146:b0:4c9:ede0:725a with SMTP id b6-20020a056a00114600b004c9ede0725amr6730264pfm.35.1648155188413; Thu, 24 Mar 2022 13:53:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648155188; cv=none; d=google.com; s=arc-20160816; b=TACqKK6zH2lJRYl1AUkMVW7UaLvoS9C2HiqnuqgE82vPgVVkfhNOqg1TRDS3YEzINp an6QtQNI9pudeAOlVoI7Moh3xaVoOwrQmXirdD4M1+zcOup0Mz9RbqaKwuMMVXdbEng/ wqhlI2cM/kljmpcYC6EH5ZStgrR4fo+kkr2UhYcr7enASdRGKufeaHUnpGL8l+H5KLdQ qDY5/835TEmvgkM0DfBGWE3Vy0sjXHgFrlG7y6MSqi2Y0n+r0+HCKTRumLp6Z/ICFMGu lc+G9TfKA9ohqJXJkkRR+Mn90/lN7QGncsdD0bZF5mB9EL5fVOU1Ot2OfpFS9px7uXSA /Tpg== 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:to:from:date:dkim-signature; bh=tNcBKYLAUfn01GlVKt4QY50a28vscFl7jURgmzB80os=; b=JXI5cKV8OQ3aGm5T+hR+K/Tje7c0P4DH8Baf5Z5I9YUD3iuE4HA6ruRvd5QgGI+u0g IHUqBqiXNM9N/KSHtCwopDCdGo5GBymYGQTmU8dfxdxLFOSIiImIGrUYTDP3/4aWwt8F 3gs9+6c0bjbo/rSftC/gGn++mVuPU18qtTcbHi5r/vakypVSP14WAo1QNTkD7MXpZDak s8/mvntT4AVi1pwSdJR6upa1XSHp70gobCP/IMZTRLqcK9MLQTtmxpU/hhNytUb4+gLq h/gYRUilpTy1rJh607Ek0R2TJijXKttb5k1OEhFPd6QEY2I/nVRzzpJi5WR8yO7k0wAC amDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=H6e0rP9L; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hk8-20020a17090b224800b001c6715476cbsi785289pjb.31.2022.03.24.13.52.54; Thu, 24 Mar 2022 13:53:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@linuxfoundation.org header.s=korg header.b=H6e0rP9L; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243975AbiCWLpI (ORCPT + 99 others); Wed, 23 Mar 2022 07:45:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35782 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233748AbiCWLpH (ORCPT ); Wed, 23 Mar 2022 07:45:07 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 31CEC36150; Wed, 23 Mar 2022 04:43:38 -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 ams.source.kernel.org (Postfix) with ESMTPS id B3525B81E7D; Wed, 23 Mar 2022 11:43:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C6938C340E8; Wed, 23 Mar 2022 11:43:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1648035815; bh=WkV8XVmzLw63I9Fodwt+Z/8kLcUo4U+yhHdNLmmb6OM=; h=Date:From:To:Subject:References:In-Reply-To:From; b=H6e0rP9LCnJ63/4bOKhWvsfJt8D9JpW/36GSwu0akuxoBI/3EoqVOm886HE0u8cmV oWWIZZtdcBA2KALOQP8rsZhhPncqjPPdIx2fQDEcdyXnv5YD0fn0bm4ixnEbcQSKgV Uy6OtxyRh78m3ieuonTnfC3d4ksDxFZkOrFG/AJg= Date: Wed, 23 Mar 2022 12:43:32 +0100 From: Greg Kroah-Hartman To: Krzysztof Kozlowski , Jung Daehwan , Mathias Nyman , "open list:USB XHCI DRIVER" , open list , Howard Yen , Jack Pham , Puma Hsu , "J . Avila" , "chihhao . chen" , sc.suh@samsung.com, cpgs@samsung.com, cpgsproxy5@samsung.com Subject: Re: [PATCH v1 1/4] usb: host: export symbols for xhci hooks usage Message-ID: References: <1646375038-72082-1-git-send-email-dh10.jung@samsung.com> <252651381.41646375583002.JavaMail.epsvc@epcpadp4> <1983025922.01648006681661.JavaMail.epsvc@epcpadp4> <105eaeec-d77e-b0eb-86ad-a88c7446ca98@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <105eaeec-d77e-b0eb-86ad-a88c7446ca98@kernel.org> X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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-kernel@vger.kernel.org On Wed, Mar 23, 2022 at 10:41:23AM +0100, Krzysztof Kozlowski wrote: > On 23/03/2022 03:58, Jung Daehwan wrote: > > On Mon, Mar 07, 2022 at 10:59:06AM +0100, Krzysztof Kozlowski wrote: > >> On 04/03/2022 07:23, Daehwan Jung wrote: > >>> Export symbols for xhci hooks usage: > >>> xhci_ring_free > >>> - Allow xhci hook to free xhci_ring. > >> > >> Instead of copying-pasting the name of function, please explain why do > >> you need these symbols exported. > >> > >> The "Why" is actually one of most important questions, because "what is > >> this patch doing" we can easily see... > >> > >>> > >>> xhci_get_slot_ctx > >>> - Allow xhci hook to get slot_ctx from the xhci_container_ctx > >>> for getting the slot_ctx information to know which slot is > >>> offloading and compare the context in remote subsystem memory > >>> if needed. > >>> > >> > >> > >> Best regards, > >> Krzysztof > >> > > > > Hi Krzysztof > > > > xhci_ring_free has been removed from v3.. > > The reason why I want to export is for managing vendor specific ring. > > I want to alloc and free vendor specific ring on specific address. > > It's done with xhci hooks. > > It's better, but still does not explain why these have to be exported. > Please mention where are these hooks going to be. Where are they > implemented. I actually expect all of these exports to be used in your > patchset. All exports _HAVE_ to be used by the patchset. Otherwise it's an invalid submission. thanks, greg k-h