Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp4472152ioa; Wed, 27 Apr 2022 04:44:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxxtD3MOLuPmRfS26lrfql0JOrvQR4CGPudfVhWqVTT/1wTLqW7+eafyG6Zq3ZUmFL4f9kK X-Received: by 2002:a17:903:22c7:b0:15d:3359:ca4c with SMTP id y7-20020a17090322c700b0015d3359ca4cmr9227786plg.59.1651059894649; Wed, 27 Apr 2022 04:44:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651059894; cv=none; d=google.com; s=arc-20160816; b=nHBLjtP/dMKDQ1yKIIfgpdqQ5HuXq5z0VsxHMP+sb3NDku93/kkJqeazKctSZNAUHe G20djeZxYzXXltIuQMAOjqeOi2f+/xIW42wF7MHZzZvAmeF2JfUI7/H27c71eGL8kozz NTgrDsIjqdRXusPlLUobDNydUh6SzGwqgyGTs1ONflEB56jbnw5Y6OESqwm1740WLU78 lwF8fxzUIJhwMey+cysLXymNvsy/cMPHkr+SdYi6ZELVIPrucxcOdsaC8czboWzNNZxa tDePBO2v37rDbPKxb9/pZhM2iLbTCRysO/oDzMzTqGHTjAMCgjOhzsutGkLBuK0IpSw9 7ecA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:dlp-filter:cms-type:user-agent :in-reply-to:mime-version:message-id:subject:cc:to:from:date :dkim-signature:dkim-filter; bh=LVrAR6U/FmmnHSDtHKemvGeAtbfv/7CTfOZEnLDa1bE=; b=FmCsaVcTLj+3ZiElgD5czNP3vbfyncj2wIIuk7HZ1m8CFvhAeuuK3CL0eQxnwiaODt 23q6jsTpYPM5INtONFSFrxFimQjxPuTSI7lxqPObEbPbzjc68S86kSUZom2fhnfWx0Kw vA2nhtWtsnod/JRIiysjTnDP7qe2IxHwQ3NOjs4rUjlHZXGngNDE8admzyuj1tC5qUlv VqCbxf5Q5PyWvbaLj4/1X8wAWMpezpOianzK5VhavLB2F9JAVWyttchDuk4Dc2v/HHfQ /HZTLRXWc59i4hPaICAEWBjeOViccz7uK9ERWs6p+hXaIAetNDLtR7YF2o6iYJ07gGUE pYwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b="IwSpYMY/"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id e6-20020a170902ef4600b00155c6577751si1409033plx.33.2022.04.27.04.44.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Apr 2022 04:44:54 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b="IwSpYMY/"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9458637A26B; Wed, 27 Apr 2022 04:02:37 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231364AbiD0LDs (ORCPT + 99 others); Wed, 27 Apr 2022 07:03:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43726 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232332AbiD0LDH (ORCPT ); Wed, 27 Apr 2022 07:03:07 -0400 Received: from mailout3.samsung.com (mailout3.samsung.com [203.254.224.33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 718B03FE7DD for ; Wed, 27 Apr 2022 03:44:27 -0700 (PDT) Received: from epcas2p4.samsung.com (unknown [182.195.41.56]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20220427092601epoutp03fcd3686dc4a0e0d4e9d59f76248e4e2d~ptqWp2huO2927229272epoutp03c for ; Wed, 27 Apr 2022 09:26:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20220427092601epoutp03fcd3686dc4a0e0d4e9d59f76248e4e2d~ptqWp2huO2927229272epoutp03c DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1651051561; bh=LVrAR6U/FmmnHSDtHKemvGeAtbfv/7CTfOZEnLDa1bE=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=IwSpYMY/ePj5Bf9opeBvQ0bCPmwn98i1h07qwkPg++ANAlFrz+hnlXebhFkiyXtgI +C96wZTqr1ceJwKfmjbDirnyw/Rkqcayd76RqwChxZmo0MXX3e4lIUfGR/RkgRQwJo bqsVWkJMpp+rFQki+0CueK/HMlnjaoSSR0FX4+mo= Received: from epsnrtp3.localdomain (unknown [182.195.42.164]) by epcas2p1.samsung.com (KnoxPortal) with ESMTP id 20220427092600epcas2p1ef72bae7579196aed349d50004b0c7b7~ptqWJcDbR0411504115epcas2p1y; Wed, 27 Apr 2022 09:26:00 +0000 (GMT) Received: from epsmges2p3.samsung.com (unknown [182.195.36.98]) by epsnrtp3.localdomain (Postfix) with ESMTP id 4KpCzV4Gx7z4x9Q2; Wed, 27 Apr 2022 09:25:58 +0000 (GMT) Received: from epcas2p1.samsung.com ( [182.195.41.53]) by epsmges2p3.samsung.com (Symantec Messaging Gateway) with SMTP id B2.69.10028.42C09626; Wed, 27 Apr 2022 18:25:56 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas2p2.samsung.com (KnoxPortal) with ESMTPA id 20220427092555epcas2p2013960eebe2e43d045e3861b381080de~ptqRdCmbh1819218192epcas2p2W; Wed, 27 Apr 2022 09:25:55 +0000 (GMT) Received: from epsmgms1p2.samsung.com (unknown [182.195.42.42]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20220427092555epsmtrp11c6c0f7315f832da43351963065ae01f~ptqRcMnWt3063430634epsmtrp1W; Wed, 27 Apr 2022 09:25:55 +0000 (GMT) X-AuditID: b6c32a47-573ff7000000272c-74-62690c247cd7 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p2.samsung.com (Symantec Messaging Gateway) with SMTP id 20.2B.08924.32C09626; Wed, 27 Apr 2022 18:25:55 +0900 (KST) Received: from ubuntu (unknown [10.229.95.128]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20220427092555epsmtip15dacd806532fd3cb35a3550ec90a69d1~ptqRT90_E2751627516epsmtip1S; Wed, 27 Apr 2022 09:25:55 +0000 (GMT) Date: Wed, 27 Apr 2022 18:24:26 +0900 From: Jung Daehwan To: Greg Kroah-Hartman Cc: Mathias Nyman , "open list:USB XHCI DRIVER" , open list , Howard Yen , Jack Pham , Puma Hsu , "J . Avila" , sc.suh@samsung.com, Krzysztof Kozlowski Subject: Re: [PATCH v4 5/5] usb: host: add xhci-exynos driver Message-ID: <20220427092426.GD145620@ubuntu> MIME-Version: 1.0 In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrPJsWRmVeSWpSXmKPExsWy7bCmqa4KT2aSwfSd/BZPjixit2hevJ7N 4vqf94wW7c8vsFlsfPuDyeLyrjlsFouWtTJbNG+awmoxc62yRdfdG4wOXB6zGnrZPC739TJ5 LNhU6rF4z0smj/1z17B79G1ZxejxeZNcAHtUtk1GamJKapFCal5yfkpmXrqtkndwvHO8qZmB oa6hpYW5kkJeYm6qrZKLT4CuW2YO0HVKCmWJOaVAoYDE4mIlfT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vrKLMWRmVeSWpSXmKPExsWy7bCSnK4yT2aSweFDEhZPjixit2hevJ7N 4vqf94wW7c8vsFlsfPuDyeLyrjlsFouWtTJbNG+awmoxc62yRdfdG4wOXB6zGnrZPC739TJ5 LNhU6rF4z0smj/1z17B79G1ZxejxeZNcAHsUl01Kak5mWWqRvl0CV8ad5llsBe/ZK9a0dLE2 MK5i62Lk5JAQMJFYeGcLSxcjF4eQwA5Gibfn/jNBJCQlls69wQ5hC0vcbznCClH0iFHi/dyn jCAJFgFViaZ7P1lAbDYBLYl7P04wg9giAsYS/WdnsYM0MAu8ZZLYNOUD2FRhAVuJX1t3gjXz CuhIzLk1hxFi6jdGieYH61kgEoISJ2c+AbOZgabe+PcSqJkDyJaWWP6PAyTMKaApsWzeRBaQ sKiAisSrg/UTGAVnIWmehaR5FkLzAkbmVYySqQXFuem5xYYFRnmp5XrFibnFpXnpesn5uZsY wTGjpbWDcc+qD3qHGJk4GA8xSnAwK4nwftmdkSTEm5JYWZValB9fVJqTWnyIUZqDRUmc90LX yXghgfTEktTs1NSC1CKYLBMHp1QDE+dP1q7cNaxWCwSO8/EKmuddmsh1uafyeKSt7fTLbL8+ ybEG+Ujkf5j3+F7ZLC6RV4e3+u7QUF1ar2m1+5aD7/8327s4PLet+jzrbGLkr7lCx4wcpfXm 8bmxnWS5PZXhq9Y1u8Mram7LmFjsvpo3l2PPi/JZQeKXzt1rkr/4MPFjSGFFziueunkHp5/Y aicpUHOt8baB4jyHV18WnG2YvLae0d05g7H5pyTHoq2/nf7OsO4KSf7eHidp8STOM+R5QMFM z49JNi9vqnx2N126wi6i8MWxe4vezrX7bMO4nvf4okktUZM6/G/fn+rUtXBSvlSm/vsJs+a5 xZ1nnRCXX6e2o/jA30mq07vzLol1rlNiKc5INNRiLipOBADj43VDCAMAAA== X-CMS-MailID: 20220427092555epcas2p2013960eebe2e43d045e3861b381080de X-Msg-Generator: CA Content-Type: multipart/mixed; boundary="----kYpNrMA5Q_pRug.oZbu8Kwk_59qkkrrEmQqQB0Vp_jfuzgSx=_26dc2_" X-Sendblock-Type: AUTO_CONFIDENTIAL CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20220426092023epcas2p32946c087135ca4b7e63b03915060c55d References: <1650964728-175347-1-git-send-email-dh10.jung@samsung.com> <1650964728-175347-6-git-send-email-dh10.jung@samsung.com> X-Spam-Status: No, score=-2.5 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 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 ------kYpNrMA5Q_pRug.oZbu8Kwk_59qkkrrEmQqQB0Vp_jfuzgSx=_26dc2_ Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline On Tue, Apr 26, 2022 at 12:21:40PM +0200, Greg Kroah-Hartman wrote: > On Tue, Apr 26, 2022 at 06:18:48PM +0900, Daehwan Jung wrote: > > +int xhci_check_trb_in_td_math(struct xhci_hcd *xhci); > > +void xhci_segment_free(struct xhci_hcd *xhci, struct xhci_segment *seg); > > +void xhci_link_segments(struct xhci_segment *prev, > > + struct xhci_segment *next, > > + enum xhci_ring_type type, bool chain_links); > > +void xhci_initialize_ring_info(struct xhci_ring *ring, > > + unsigned int cycle_state); > > +void xhci_remove_stream_mapping(struct xhci_ring *ring); > > Why does your single driver have global functions? That should not be > needed, right? > > And these are odd for a driver's namespace... > Those are exported in 1st patches. it's not good to include here as you said. Let me declare in xhci.h instead in below patch. [PATCH v4 1/5] usb: host: export symbols for xhci-exynos to use xhci hooks Best Regards, Jung Daehwan. > thanks, > > greg k-h > ------kYpNrMA5Q_pRug.oZbu8Kwk_59qkkrrEmQqQB0Vp_jfuzgSx=_26dc2_ Content-Type: text/plain; charset="utf-8" ------kYpNrMA5Q_pRug.oZbu8Kwk_59qkkrrEmQqQB0Vp_jfuzgSx=_26dc2_--