Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5319045rwb; Sun, 4 Dec 2022 19:12:37 -0800 (PST) X-Google-Smtp-Source: AA0mqf4ra7TmuJs22Lm0FH/nfoP29+wWpSaM0Sh2rmbSPPnMfXiqxRQIlBJL+jkO1qyEjuUtuGTu X-Received: by 2002:a17:906:d10f:b0:7c0:f727:5dd2 with SMTP id b15-20020a170906d10f00b007c0f7275dd2mr1856812ejz.319.1670209957523; Sun, 04 Dec 2022 19:12:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670209957; cv=none; d=google.com; s=arc-20160816; b=HeWIP0imd5fRZSpWkEEH4fCn0LBsk3sffdys6JfuD0aFX+sMpvCGKL/UEkL92TQ9h7 OzgagQJ7CDDNBG+6heoCTTnlTbvvWDqlgRsodWbqvhrwQ5nTxgQwcTYcgYpK98RWQfV+ AvqIsBlGJayKTX8UtJL6Ocq0LpFlczg/hcoCmhMX9SsC/ZCboKmu5ozVfpq+IvelmrmA avJu97dZ98MZ7FEwuN1unhqrQWufnWj4QJhKS3PnXh4fcmXMOC6YhKzkAs5CnaA8FK4G rwUJijYCt2IgwZmG39vFDvJzsx+AZl5BHivOs+gRlh21kAO+udy3SuN5xJnjlb7t1xmg Sq3Q== 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=50UGsAw1rXD4ZgtF7vH+fy0ilu9mFDwX04c9LAe6laY=; b=DVaOGKcAPtC3sL1MZ0d4K8OXYUfxNHUDZNeaoqsv3lCHhrMzQZcPlHPmFrmpoCiJnj /hlYBBElNbZtwGlNghY8gaRePDYfvSV2pyha9r9+Hp32JHDFQNfXwDZKumOYaJjyUgSA 48XHekU9bj+z56Wcvn4zrL2CpdVbQTnw/M+50UAzkqi5Qjpx9f7U5FUlVkfe0CPRXxQi bwy8l8VJC+9u0E6ewMNbEhA5Mprhw49noYvn6S7XYZXcyndZCII/PenldzEdwstHq3eq qRj3tyyOgaM3U/1e1jdZ1G/Om9rVgCz3ePMCOH4Afv84lcq5ok30PthdmNG6kOAYdtS4 N1ZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=tI27SESl; 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=samsung.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id xe8-20020a170907318800b0078df24be362si11428601ejb.496.2022.12.04.19.12.18; Sun, 04 Dec 2022 19:12:37 -0800 (PST) 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=@samsung.com header.s=mail20170921 header.b=tI27SESl; 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=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231299AbiLECkA (ORCPT + 82 others); Sun, 4 Dec 2022 21:40:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43166 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231320AbiLECj6 (ORCPT ); Sun, 4 Dec 2022 21:39:58 -0500 Received: from mailout2.samsung.com (mailout2.samsung.com [203.254.224.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0DC8E1004D for ; Sun, 4 Dec 2022 18:39:56 -0800 (PST) Received: from epcas2p2.samsung.com (unknown [182.195.41.54]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20221205023954epoutp0255c1d104cd5cddac6ff86af8663a668a~txVJNp_sL1749317493epoutp02J for ; Mon, 5 Dec 2022 02:39:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20221205023954epoutp0255c1d104cd5cddac6ff86af8663a668a~txVJNp_sL1749317493epoutp02J DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1670207994; bh=50UGsAw1rXD4ZgtF7vH+fy0ilu9mFDwX04c9LAe6laY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=tI27SESlSoC5ZDlwdLktjtyzZRbYdpuoUTUQLgzBuNMzx7PCvjzhcI7v7mVolh+Fz PO2YrbiK6+70770yKSktu/RqLZY+qOG93WsuJembK5iD2W3iHs0ITj6n/fJC2j7RAU e/37jsg/oSrbngz2xzWKIGvkxW6Q7obMtQt/S51s= Received: from epsnrtp2.localdomain (unknown [182.195.42.163]) by epcas2p2.samsung.com (KnoxPortal) with ESMTP id 20221205023953epcas2p2d10e2d21ce85537a64aa80ac36e95458~txVIc1X-d2235322353epcas2p2I; Mon, 5 Dec 2022 02:39:53 +0000 (GMT) Received: from epsmges2p1.samsung.com (unknown [182.195.36.99]) by epsnrtp2.localdomain (Postfix) with ESMTP id 4NQSSS5RC6z4x9Q0; Mon, 5 Dec 2022 02:39:52 +0000 (GMT) Received: from epcas2p4.samsung.com ( [182.195.41.56]) by epsmges2p1.samsung.com (Symantec Messaging Gateway) with SMTP id BF.A1.10048.8F95D836; Mon, 5 Dec 2022 11:39:52 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas2p4.samsung.com (KnoxPortal) with ESMTPA id 20221205023952epcas2p4607a09793766062b4c86011934be64db~txVHTvkZM1374313743epcas2p4G; Mon, 5 Dec 2022 02:39:52 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20221205023952epsmtrp1cbb2859276792fc07f0c0143c3e16017~txVHRTRNY0055100551epsmtrp1D; Mon, 5 Dec 2022 02:39:52 +0000 (GMT) X-AuditID: b6c32a45-529ff70000002740-19-638d59f8d162 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id E1.5E.14392.7F95D836; Mon, 5 Dec 2022 11:39:51 +0900 (KST) Received: from ubuntu (unknown [10.229.95.128]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20221205023951epsmtip11660f7ee4fb7bef5f8869ee462053812~txVHArB4i1815218152epsmtip1G; Mon, 5 Dec 2022 02:39:51 +0000 (GMT) Date: Mon, 5 Dec 2022 11:34:13 +0900 From: Jung Daehwan To: Krzysztof Kozlowski Cc: Mathias Nyman , Arnd Bergmann , Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Alim Akhtar , Mathias Nyman , Linus Walleij , Colin Ian King , Artur Bujdoso , Juergen Gross , Tomer Maimon , "open list:USB SUBSYSTEM" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM/SAMSUNG S3C, S5P AND EXYNOS ARM ARCHITECTURES" , "open list:ARM/SAMSUNG S3C, S5P AND EXYNOS ARM ARCHITECTURES" , open list , sc.suh@samsung.com, taehyun.cho@samsung.com, jh0801.jung@samsung.com, eomji.oh@samsung.com Subject: Re: [RFC PATCH v1 2/2] usb: host: add xhci-exynos to support Exynos SOCs Message-ID: <20221205023413.GD54922@ubuntu> MIME-Version: 1.0 In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-Brightmail-Tracker: H4sIAAAAAAAAA02Te0xTVxzHd3rb2xYDXhDYAbeJF6aCgC3jcTTCdLBxnSSD8cfU6WpXrpRQ 2q4Phi4+hgFKQUHACEUUWrMawsAVcAIyw0OGJGuXVUDZWCBDIiAB1BmeZn2x+N/n9/7+zi+H g3mt4P6cDK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w/Co9b1WN73KKj5/FFB2vlLRTN2ucdL9q1sl/MRwXuGbYCt/b O3n7tkUuJ8S4mOzMX2fFznkx/WIo2wnpjDcFC8+82FVkGzSnLjaxwtLX5slkj9zMd72x1w7p vDw96e0ZHfFD7eHSwhPzjq2w0Nq9+R2P0Q4PBiXrWicdW2M2xqVWIhPdHO153KNvsyuxFGck GmoxFxUnAgAKUfXKVAMAAA== X-CMS-MailID: 20221205023952epcas2p4607a09793766062b4c86011934be64db X-Msg-Generator: CA Content-Type: multipart/mixed; boundary="----3fo7lev8HRxwEdfRbJiPjGY7XcYF58l8nMiK-NSEDm8eBp4M=_15483_" X-Sendblock-Type: AUTO_CONFIDENTIAL CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20221201021942epcas2p2429ed37e1f6146b6e1a5bef23141b3f7 References: <1669860811-171746-1-git-send-email-dh10.jung@samsung.com> <1669860811-171746-3-git-send-email-dh10.jung@samsung.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS 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 ------3fo7lev8HRxwEdfRbJiPjGY7XcYF58l8nMiK-NSEDm8eBp4M=_15483_ Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline On Fri, Dec 02, 2022 at 01:23:56PM +0100, Krzysztof Kozlowski wrote: > On 02/12/2022 13:22, Mathias Nyman wrote: > > On 1.12.2022 11.01, Arnd Bergmann wrote: > >> On Thu, Dec 1, 2022, at 09:06, Greg Kroah-Hartman wrote: > >>> On Thu, Dec 01, 2022 at 11:13:31AM +0900, Daehwan Jung wrote: > >>>> This driver works with xhci platform driver. It needs to override > >>>> functions of xhci_plat_hc_driver. Wakelocks are used for sleep/wakeup > >>>> scenario of system. > >>> > >>> So this means that no other platform xhci driver can be supported in the > >>> same system at the same time. > >>> > >>> Which kind of makes sense as that's not anything a normal system would > >>> have, BUT it feels very odd. This whole idea of "override the platform > >>> driver" feels fragile, why not make these just real platform drivers and > >>> have the xhci platform code be a library that the other ones can use? > >>> That way you have more control overall, right? > > > > Agree that overriding the generic platform driver xhci_hc_platform_driver > > from this exynos driver is odd. > > > > But I don't understand how this works. > > Where are the hcds created and added when this xhci-exonys driver binds to > > the device? all this driver does in probe is the overriding? > > > > Am I missing something here? > > Because it is not a driver for Exynos... it's a driver for wakelocks for > their specific Android use-cases which the manufacturer ships for their > Android devices. Due to Google GKI, they try to squeeze into upstream. > But this is huge misconception what should go to upstream and Samsung > does not want to keep discussing. They just send random patches and > disappear... > > Best regards, > Krzysztof > > No. It's driver for Exynos. Currently It only has wakelocks but I will submit one by one. Please think as the first patch of exynos not squeezed. Best Regards, Jung Daehwan ------3fo7lev8HRxwEdfRbJiPjGY7XcYF58l8nMiK-NSEDm8eBp4M=_15483_ Content-Type: text/plain; charset="utf-8" ------3fo7lev8HRxwEdfRbJiPjGY7XcYF58l8nMiK-NSEDm8eBp4M=_15483_--