Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp818725pxb; Thu, 24 Mar 2022 07:33:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwpu6G+AcqyaNzBIFcsyHhzn7atQCWo3opof9aBliVawwXQbKOofbzu1Cc32MR0DvkWl5++ X-Received: by 2002:a05:6402:440d:b0:412:9e8a:5e51 with SMTP id y13-20020a056402440d00b004129e8a5e51mr7168383eda.362.1648132399865; Thu, 24 Mar 2022 07:33:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648132399; cv=none; d=google.com; s=arc-20160816; b=LDytO+mlmylrplyhg/TNAO23rbA+tQMnywKjAPGHTrtQ/OiyFLmoEkUoLKLvmNPxQu /TPE6T5P3vt+h4C2UZLyn9lp0U3J1SgldHoloy5/KxHk1DoVtzSTJFxfhFRD8C2R1lJ8 7EP2S2EJ7wylARj5hf+ZdS28hLZQA2DgXA6/JvQXGI5NeEqEbNCDI13BpeBwuQKaSAAm LkyM6i1MTTCFTFNCnbsPYoMjM3CAxgFW01VkKw4WZhi9aNWZWTIaE7X3o5qU9t/2dvHH /2kSpXM+m1v7Jrle5Z1hES9HFTZ135lS6CHkA4+S4TQiHXcUf60nfo/2GwC96D2nTgZ/ u60Q== 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:references :cc:to:content-language:subject:from:user-agent:mime-version:date :message-id; bh=xySPtePfuIUSWooZkIPbEuzptBUM5W/rtX4UbEINCw4=; b=XTlrnyZq8fh+RuYl9+62C1FU/JLItHtKwByYuCCGSA4bpbOXPI/VCbOp2iX2ms7wg1 fuAmbAdO2XDB447E4dnVtcYPNithHEXydLwm4pOa0apZm0MlkVZnLYXq7xNMTG2+fATu ljHQ/5c+6u4HLoPtY7aAybVvJexlWL2jaH6C+x4aP0x1/8urzW22G9uWoBp/us6W1YHV iVNsKZjxQvQb93H0CasLGruaH0v3baTL1p4KkfROKRhlVzW8yszo1RuotOcY9CYH2nH6 BvUiEfizp+jolFfuKcoptHbXdsfwHTtqFNR5QnORQ35htfyXmNqiQrjNj5/GnGCJnNAP KmAA== ARC-Authentication-Results: i=1; mx.google.com; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 28-20020a170906021c00b006df7df025b6si16648125ejd.19.2022.03.24.07.32.53; Thu, 24 Mar 2022 07:33:19 -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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237859AbiCWJm6 (ORCPT + 99 others); Wed, 23 Mar 2022 05:42:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35000 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243307AbiCWJmz (ORCPT ); Wed, 23 Mar 2022 05:42:55 -0400 Received: from mail-ej1-f42.google.com (mail-ej1-f42.google.com [209.85.218.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE78D7659F; Wed, 23 Mar 2022 02:41:26 -0700 (PDT) Received: by mail-ej1-f42.google.com with SMTP id bg10so1658133ejb.4; Wed, 23 Mar 2022 02:41:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:from :subject:content-language:to:cc:references:in-reply-to :content-transfer-encoding; bh=xySPtePfuIUSWooZkIPbEuzptBUM5W/rtX4UbEINCw4=; b=4umIlZpoIR7iREOpSCp+AUSPosQELa7f6X9+hCTRzbQYhzCvWKBZJ/DG1C+RffIYmy BPuJG1vBn8NmLYPGTCcKr80lQ1/TTSLKfip1ejguHeWN0oYk4N/w7pC5hQIq2ljGXKnQ VsCmVgDJRGefi6s68v9Y5RJwW05EzVs5FSO1S3QvpKvpORFXnWc/Z9xZap0zn2pnG2w0 FRucTShFmhHkqRNS2aqINAL+Mzk2qRcXSIdrBFJLQEpbCNHka7WY02Fu2vIL1T3dkttT 6vOEu1kZPpFKwJZLmwiVYpZXjquqp+b4/YZdKE9zl0q4+8GTjbQ6F/QZ6NqDwv3u+QjP U6uA== X-Gm-Message-State: AOAM532cos1axf0sJGfNZ10g/eydrNJM+gatXfLUiizynO61Ade3AnC4 qJKvON01ZkowyIwqx9Af7ZY= X-Received: by 2002:a17:907:3f17:b0:6da:68b6:7876 with SMTP id hq23-20020a1709073f1700b006da68b67876mr30117951ejc.740.1648028485079; Wed, 23 Mar 2022 02:41:25 -0700 (PDT) Received: from [192.168.0.17] (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.googlemail.com with ESMTPSA id hu8-20020a170907a08800b006dfd2056ab2sm5736908ejc.97.2022.03.23.02.41.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 23 Mar 2022 02:41:24 -0700 (PDT) Message-ID: <105eaeec-d77e-b0eb-86ad-a88c7446ca98@kernel.org> Date: Wed, 23 Mar 2022 10:41:23 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 From: Krzysztof Kozlowski Subject: Re: [PATCH v1 1/4] usb: host: export symbols for xhci hooks usage Content-Language: en-US To: Jung Daehwan Cc: Mathias Nyman , Greg Kroah-Hartman , "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 References: <1646375038-72082-1-git-send-email-dh10.jung@samsung.com> <252651381.41646375583002.JavaMail.epsvc@epcpadp4> <1983025922.01648006681661.JavaMail.epsvc@epcpadp4> In-Reply-To: <1983025922.01648006681661.JavaMail.epsvc@epcpadp4> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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 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. Best regards, Krzysztof