Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp508993imn; Tue, 26 Jul 2022 01:45:53 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sH5oBakzsTY25zk3fxJuVp56M9MFLI950gicSc/DnMiNgicQmMAIYYO1Davgf8enfeKGlJ X-Received: by 2002:a17:907:608f:b0:72b:7db9:4dc6 with SMTP id ht15-20020a170907608f00b0072b7db94dc6mr12782680ejc.463.1658825153471; Tue, 26 Jul 2022 01:45:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658825153; cv=none; d=google.com; s=arc-20160816; b=EkAb7igCO1SxF6jedCcHWQhZ+8mRiL14Pv3udTBtynTRkPd5HPcBuDT0ao969U1DPs X0lGvERB3KFYh6jiDAjUJxs5FzM5rfwfFkeBYZsHxtdhKuAZWYu+WfIL6lksOKVcxAft dqhDH/YO873ZqLQKTixDoQRpEcGfB9CpD2zu01J58s/SwJO8ImXYPPJnWaWKxJCQaB9Y kBXzi46hEGf+VApWdRU/I2WbrvUaG8Klb+KDwMOB8zWQlbx0X9T4irYtd0s7KBbpl5Td N0YmZw+kvhDrAJmVdDJL4e+QB3jTszKBV/J0NjT0GRZO7cAw08JFBzG4Plm71bH8SRce U2Kg== 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; bh=b/NZDYkyLkjbpWM6YBN8x6+SgllI9dp+hmoOYjEYKHs=; b=TcRtRv/yBRCAuegd1NDqRK7iWEHBl/2L1XeZDzHOf565BdIjt20O+/niAvp0HRijpc C/rOgV6D1XeSIbv1WXpRf16yGj5+saL5kTCanKDNvTlSGBcjhhVmxZ0F69mzhpHq10FH HC0AnObu6ulBvzHg4MZnevLgVOFRq6wbuH9FLegBkfXHIqXhBt1hcCLc1X6dHTXkj5VL RSjDnmVC5MvEZB7pkt8n4AcX0qtnRveZyMW2AzPb+XPHXVH6VYcQN5dY7JEQ/7BPGgI9 4CctmTzwDyno1FyeC+UPquJMh7vQnY6WQRFLSggrp+SZaGKIzeFsLlm1v0DvxWlffM0M 9atg== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cw20-20020a170906c79400b007122fe7f49csi1669745ejb.424.2022.07.26.01.45.27; Tue, 26 Jul 2022 01:45:53 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229865AbiGZHvu (ORCPT + 99 others); Tue, 26 Jul 2022 03:51:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229604AbiGZHvs (ORCPT ); Tue, 26 Jul 2022 03:51:48 -0400 Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C30D81EAFF for ; Tue, 26 Jul 2022 00:51:47 -0700 (PDT) Received: from mail-ed1-f53.google.com ([209.85.208.53]) by mrelayeu.kundenserver.de (mreue011 [213.165.67.97]) with ESMTPSA (Nemesis) id 1MeToK-1nfo8r48V2-00aXEq for ; Tue, 26 Jul 2022 09:51:46 +0200 Received: by mail-ed1-f53.google.com with SMTP id z18so4414440edb.10 for ; Tue, 26 Jul 2022 00:51:45 -0700 (PDT) X-Gm-Message-State: AJIora849xUXtoHmDzJ68Z+rJVCyeiWNagV2zQLRFtLonaT6Mn/k89MA luxKWTYuceCeoauvwX0igVaORzvZd4B3KiFgJeQ= X-Received: by 2002:a05:6402:28c4:b0:43a:cdde:e047 with SMTP id ef4-20020a05640228c400b0043acddee047mr17266227edb.368.1658821905683; Tue, 26 Jul 2022 00:51:45 -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: <8b69b813-d030-2666-37f1-a731b1d52f4e@linaro.org> From: Arnd Bergmann Date: Tue, 26 Jul 2022 09:51:29 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 0/9] Samsung Trinity NPU device driver To: Krzysztof Kozlowski Cc: MyungJoo Ham , Oded Gabbay , Greg KH , Jiho Chu , Arnd Bergmann , "Linux-Kernel@Vger. Kernel. Org" , Yelin Jeong , ALIM AKHTAR Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:XtYXEDlOlB5amvS735B4GKVK7Rsf8Ye0xwrYAWboexSgL4eZGtg 54cyWZ28MCCXsO7j9zPYGNyPDIATjB0ZoGC4yeSlPOvt1qwSkAh+sPC+K/X1aKtHtspVLl1 hNI9DH2voDXlbxUMyzdkbLiy8bv8IQxwtoN72VgH80bjGKSg36/47k1MwcM8GIOSC2KZ5UM KyzHnuuSLwmW2E6w9Wrjw== X-UI-Out-Filterresults: notjunk:1;V03:K0:T6+7c5nwmpE=:S2b8G4+ggPIcSfBunGnFfO eZdH2L510sDAFmKjMWkgcfm83BkyW5OUJ+kFhtwqV+dC41s7pgtSBVrhzXoV8ZTT/efkAT9iZ sXMgVX1BymXcWbGpexvA/njOruM8hV7zzya5PeuilDvk37WMyzNIsbhLQpu8a7kARO9fxrz54 ZFel7PuXT1A41xMOH1XGJcQst2aLw3fcJjUCrcKOrGMwbsJK0JTDl3UCGOsW81rFU0IzZOBK8 urmOnr8LO0am4XNfU4EsA9jncKI0LnuLWUutV5cImTdrMbKAd+NeV8U9HdkWQsyZZ0y0nXCjS EwMXFWxwB9r905xYEAFk+vxM9EBjVlPAsLeJG1ejRDC0j7anrhz86VXVnmuNetawhDFNuMtN0 KxqqWdnM5PCsx8m6DlMui+mjsDZGnJlLAIyYtk6uXC9aIU38qzZD1P4tZaTwFw3V8GWW1fHfG F9CclQnuA44Gp1bK6TXeKCCK+hCBGLeYGnBfDPIUzI6JPxliCfjqlW4sQ+i8CjeZSoJxZCIVy x55CKIB6ezCwHq4KJ1U91im/jJdXpOt2OwIK1//TTUi0KLbPwtKns+H0oVTsnFilUI2ZgcHA2 ifLoGhAYl8FTp6eTYFWOEUWWAzewMiF1Bi90adzLNrXQWqI5bvkiVr1aPJoICD9SxOPE2l1sX oT7o44bUKzGn+w7yTZNwXQPaD0UBno+U5dGsvYf66afvcLGWsxHATpie0xS7ps4VRteCkCYTF zcgcM6yWzQs9EjwXhJkkE5y6E0K/X14F+tqJlQ== X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE 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 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