Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1128865pxb; Thu, 4 Mar 2021 04:11:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJz6F15GL8XzoRlXIpKC4cc2iOBt+bHTSOzLZMh+Hh28E9sAm6eLZiSYvDOzQpAGCU+zNg+S X-Received: by 2002:a50:fe89:: with SMTP id d9mr4003474edt.57.1614859883259; Thu, 04 Mar 2021 04:11:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614859883; cv=none; d=google.com; s=arc-20160816; b=Xpk8vsfkoBzICJBf5KTlIr+SXZjUbfx+kfFKGTzcvWlXd6GyVU78RajpHRt7cFC9Po DpDproHcd3yAcXn/dPNtW12jDP3d/E6hq6tp4BEsZN45Pga2b0LeR0mVS8Q4tylj6Uuz E5tfk8AlxdI89tPitombRxOMKv/KTtJqR3I46mFb4lCjl6XM8ydaRo6M0pUel9QtjwvC 3biIIp+vLJTRGLgl7h+JFTbrxg3BwQwLcgE0cTsjwDpyxGYJOjGjWumAiZmO9N3xkuuy MhguAd6+nCv2SL2JMOAfI8zXdBcrM5K/RZWe8Ql1YxrV/XE3TdWcpPywcb7jXWZhrfn7 spVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:references:cc :to:from:subject; bh=vhuLTKO47kJ2tKnRzKMg2SWCnAFYRMmUOw/gfZ/zjv0=; b=dyht6ZGiBn2maoJeTNZjhtIRnhoUmZZT2OC7EemxFdSGIVGszLkERv1Px+EYD+xXet lNKqNzc2mDv3l7zGbSWijbITgev0821L/AKjTVEnabpwXNzEPHI/db8KOAEBDzLe2kAL 4ZkGO0E6Q1voJMcphkLXVRruGZk5AT5qeHB+04f9/RM0IX280oGn2Q3UrrHceSLJLCzO KKBCFJh6hXJWUtseQ04AIQYkwR+kYId9a6FpovJrK6ly7OlJkacfYVt/k2vJULYYrmy2 sJi41g7RWdPtwZTGerVEdDmR3UEzvPIHcpvcTsM+Xs8sAeHzekh2/1TKdBxWbpHak3TM amEw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z5si17028616edp.552.2021.03.04.04.11.00; Thu, 04 Mar 2021 04:11:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1579890AbhCCScc (ORCPT + 99 others); Wed, 3 Mar 2021 13:32:32 -0500 Received: from mail-ed1-f52.google.com ([209.85.208.52]:34022 "EHLO mail-ed1-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1452894AbhCCQvQ (ORCPT ); Wed, 3 Mar 2021 11:51:16 -0500 Received: by mail-ed1-f52.google.com with SMTP id b13so21704475edx.1; Wed, 03 Mar 2021 08:50:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=vhuLTKO47kJ2tKnRzKMg2SWCnAFYRMmUOw/gfZ/zjv0=; b=DuTz4KE3Qb9ZBEYwg8IxfsAq8HFZxNxqis2YH+iezXMsR0bi7w72NnTMNnGpJD8b2H DbUD/T1pKX8tXOTUV7ywoS/UENACAJV6q52HcNhQmc3JnZTmdKlG97EKzdGnr2KEgdWc 8AAddVDSzbwHOO0LDdFx0SNHWP/FukAfkLcqFluuLkpFIHFQk3NvzNYUT8uRXjqJN5jH qhm6JIOTZWULsdxr1ApPq+e84Kj/wXbvuND/oguIEZeS336aEkaEaJVLxH9Dvdqr3S2i N4Jm9lva2RRCk1Z6p3BNfHKzpqtG2RuqocYEKfhfZrGYQUQabUdK5m0pEOI7jPgvfzfu NG6A== X-Gm-Message-State: AOAM533gr11DNy9AOjK+SxkVVFsiPHTsSQGhdA5KGj3FoF/drAFKYcgd LZrjh7xy9P5eN6LZEZ0Rist/YtXRXkc= X-Received: by 2002:a50:fe06:: with SMTP id f6mr120819edt.349.1614790232444; Wed, 03 Mar 2021 08:50:32 -0800 (PST) Received: from [192.168.1.116] (adsl-84-226-167-205.adslplus.ch. [84.226.167.205]) by smtp.googlemail.com with ESMTPSA id cb17sm12975794edb.10.2021.03.03.08.50.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 03 Mar 2021 08:50:31 -0800 (PST) Subject: Re: [PATCH] usb: dwc3: make USB_DWC3_EXYNOS independent From: Krzysztof Kozlowski To: Greg Kroah-Hartman , Arnd Bergmann Cc: Guenter Roeck , taehyun cho , Felipe Balbi , USB list , "linux-kernel@vger.kernel.org" References: <20210303022628.6540-1-taehyun.cho@samsung.com> <20210303103839.it7grj3vtrdmngbd@kozik-lap> <6e9d6831-f88e-477f-6256-7ab155bfa7ac@kernel.org> Message-ID: <159d72a6-e200-913f-6ec1-4668db797a04@kernel.org> Date: Wed, 3 Mar 2021 17:50:31 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/03/2021 17:49, Krzysztof Kozlowski wrote: >> And "new drivers" are almost always not really "new" as everyone uses >> much the same IP blocks.  As proof of this patch where the DWC3 IP block >> is being used by multiple SoC vendors.  To handle that, you split out >> the SoC-specific portions into sub-drivers, so that you can build a >> single image of the driver that works on multiple platforms.  Nothing >> new, we've been doing this for years, it's just that out-of-mainline SoC >> trees that think they can touch "core IP block code" break this all the >> time, which is what I am pushing back on. > > I am perfectly fine with (and like it!) putting dwc3 exynos back into > base/main dwc3  and getting rid of USB_DWC3_EXYNOS entirely. But this > was not part of this patch... > >> >> Anyway, this is just me as a driver subsystem maintainer being grumpy to >> see ARCH_ dependancies on tiny little things like SoC-portions for >> generic IP drivers.  Or on individual drivers (i.e. Samsung serial port >> driver), where they don't belong at all. > > At least with Samsung serial driver we see adding new SoC - Apple M1. > > Here, the guys in Samsung want to tweak several kernel parts to work > with their out-of-tree code without contributing this code back. It's > not a community-friendly approach. The upstream kernel should be tweaked > to the out-of-tree unknown, hidden and uncontrollable code. Eh, obviously I wanted to say: The upstream kernel should *not* be tweaked to the out-of-tree unknown, hidden and uncontrollable code. > > Instead I expect from Samsung to contribute the basic Exynos9 support to > the upstream. Best regards, Krzysztof