Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp595400imn; Tue, 26 Jul 2022 04:34:48 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tq+boEGgB/+Z6JeI1/8UDl15XB+9CS037+ahyRo4iioRTFbCOARdNlcuuaBE7dbXY48Qdz X-Received: by 2002:a05:6402:270d:b0:43c:2e9:53ae with SMTP id y13-20020a056402270d00b0043c02e953aemr9458366edd.135.1658835288214; Tue, 26 Jul 2022 04:34:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658835288; cv=none; d=google.com; s=arc-20160816; b=tE95m9gH2GI/1U7CswSAOzHSvAqpL++P1M8eUrJZLLGd+2cxZCWuzQqCbCVxaXrl1K vHAwd0Jk4e/agWIqvdN4JnTjZAssS/gwZY/ZI4QyCJz1PGajof8v7qNT6awDCOxjdtnL Iaa2YKgKhnwnlZGqCjWJFC3l2MAx57CNSz25kN3kcQ9Erffl5E2ttsyt6sEGuqeWxxOe NY+YsRkDRDrfFy0FWKbpNQ3ER9diPN9DpJvI7CfFk3a4KKh7FJZfdhfGSiQpuyIhxcoI CODaOTVHrS8841FzueIz61sl4sgCGfthB5OZ0UD7t0rUqTlIXcGR+g03re3nVxWtVqpi K9Dg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=iuRIIHEaZpdAZYTGMeRx0GoIsSCR61XLUzlVrnjhLfQ=; b=hDk8GOSCqonqN8rH18DN2iH8FerYWcG8XntyAE34us048ma/pj8ixqakp2UeYQjRBY LZjp5UeVQMsddDJIBTzjwMVDPOwzgTwUHmw9qdoSwpUHyslnXAHGW8uhVriWwA8ztK/K ucsC/eaN5FLtJRDxsOVWXFdR1PP5AgteFIIeU/IFJzwn5OBRVEid2haCmxcAPuELGqSw qMV+VrKfi2wVZjDukHiKDnj9J6PZjk3Oy2zf4C9j9ngHbaBkh9/yV5x0qytQZzO3T073 Aze4AasfeiKSc447OafdJjnka0hnMikAgMb5qUIzlztkyVKikGA0UnZ35v7Yn8p5lKfX fXZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MJTMpfHh; 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 ji18-20020a170907981200b0072ee922047asi1335884ejc.590.2022.07.26.04.34.23; Tue, 26 Jul 2022 04:34:48 -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=@kernel.org header.s=k20201202 header.b=MJTMpfHh; 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 S238701AbiGZLYg (ORCPT + 99 others); Tue, 26 Jul 2022 07:24:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233207AbiGZLYe (ORCPT ); Tue, 26 Jul 2022 07:24:34 -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 AC9B232073 for ; Tue, 26 Jul 2022 04:24:33 -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 47125B815FC for ; Tue, 26 Jul 2022 11:24:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 035FAC341C8 for ; Tue, 26 Jul 2022 11:24:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1658834671; bh=4PdZ0rH+0fNx9Gect/caVUluiuvP8ychzpfEjwgKEKA=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=MJTMpfHhsv2czrjR/uVb9Ig2HS3GKfQU946PK+cCZ2QHnJ1Cra8rT+3bsRYjSWcGr ivzGKyUws5M9+oTssuZDhS8W9qTdbWyB+Bd9LQENIAs3HWiI6nHADRBn17OZkKkN6N K6eS3drPtrc8um9a+0PZuC6LQc5580Xh2ZjmkkVzqBE/FQomhvPKDvohMzZ3+0pTdx pRzxtL/QAsG7gjQ1o7srha1qoyjIK9MzPFWNpnI/OR0Cg/rPmVkObGCFkztbjUUIHH QWFfcVr7NWIYAyBxRRJ4g4fzqNrsOGvi33131SjgGpyf0UGqxM/OgMJqsi0plAahW+ mOKyhSYrNeKFQ== Received: by mail-yb1-f174.google.com with SMTP id d124so7346308ybb.5 for ; Tue, 26 Jul 2022 04:24:30 -0700 (PDT) X-Gm-Message-State: AJIora9CLmjuD+0zSrOoIs3EumfVQT2wQAwunORrXRoOqp90wcWAC5Ew SOoSfW6ZP8krDrQ37Peo7UYtf1ihURG3j0jLJGI= X-Received: by 2002:a25:3085:0:b0:66e:4440:f42e with SMTP id w127-20020a253085000000b0066e4440f42emr13258899ybw.403.1658834670079; Tue, 26 Jul 2022 04:24:30 -0700 (PDT) MIME-Version: 1.0 References: <20220725065308.2457024-1-jiho.chu@samsung.com> <20220726020952epcms1p59c06fabb55776e195dcbeac549c98ef7@epcms1p5> <8b69b813-d030-2666-37f1-a731b1d52f4e@linaro.org> In-Reply-To: From: Oded Gabbay Date: Tue, 26 Jul 2022 14:24:03 +0300 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 0/9] Samsung Trinity NPU device driver To: Arnd Bergmann Cc: Krzysztof Kozlowski , MyungJoo Ham , Greg KH , Jiho Chu , "Linux-Kernel@Vger. Kernel. Org" , Yelin Jeong , ALIM AKHTAR Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-7.7 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 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 Tue, Jul 26, 2022 at 10:51 AM Arnd Bergmann wrote: > > On Tue, Jul 26, 2022 at 8:59 AM Krzysztof Kozlowski > wrote: > > On 26/07/2022 04:09, MyungJoo Ham wrote: > > >> Hi, > > >> Why isn't this submitted to soc/ subsystem ? > > >> Don't you think that would be more appropriate, given that this IP is > > >> integrated into application processors ? > > >> > > >> Thanks, > > >> Oded > > > > > > This series (Trinity-V2.3, V2.4, A1, ..) is being integrated to multiple SoCs, > > > not limited to Samsung-designed chips (e.g., Exynos). > > > It's a bit weird to have them in /drivers/soc/samsung. > > > > > > CC: Krzysztof and Alim (Samsung-SoC maintainers) > > > > If it is not related to Samsung SoCs (or other designs by Samsung > > Foundry), then it should not go to drivers/soc. Based on cover letter, > > it looks this is the case. > > Agreed, and I also don't want to add any drivers with a user interface > to drivers/soc/. The things we have in there mainly fall into two categories: > > - soc_device drivers for identifying the SoC itself from userspace or > another driver > > - drivers that provide exported symbols to other kernel drivers for things > that do not have a proper subsystem abstraction (yet). > > This driver clearly does not fall into those categories. As long as there > is no subsystem for NPUs, the only sensible options are drivers/gpu > and drivers/misc/. > > Arnd Thanks for the explanation, I wasn't sure what the criteria for getting into drivers/soc is, but now it is clear. Oded