Received: by 2002:a05:622a:1442:b0:3a5:28ea:c4b9 with SMTP id v2csp552324qtx; Thu, 3 Nov 2022 06:46:36 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5HKKzWDwdDy4fI1Qxh1yw8sTHMfrpRQTLwn+SmlxvDOsrYlgWwgcupkqgBBDp5gg6Q/G6q X-Received: by 2002:a17:907:3f19:b0:7a3:2317:4221 with SMTP id hq25-20020a1709073f1900b007a323174221mr28813555ejc.562.1667483196356; Thu, 03 Nov 2022 06:46:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667483196; cv=none; d=google.com; s=arc-20160816; b=s+tHQoTnjGZsZsiC5055J4ZB184m6nHQhRbPp/mnKC1l7DzxzDlGFMli/QQOGt5AWi FZqBvD1hH5PPRF7U8j9LWK2v0kYz3Jr0XGEHaBhm50N+zyfX8ktyHljfMypdkS/JdOiH 2XPLhlMHKBN7eNxe/pO7FROnAhwwcGy/TD4wP2nDxq9xknfw4XTL7EErpsRxfw+7Rin2 U3JwuoRYdco9v4D1R3mMWPxbY2uKbjFf3fRl/mZFEUXtww+QGiaYra6QclIR8Az9YXMT pkSCuB9vr15l5Eq7XG/z0v6g1ygnVnZkubJAdmRYFsKQTS7niTaDRtNIqK13uagsehPj Q4YQ== 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=NBTXHeZbzlXiMhENl3g2+LKNqylGo+gAobQsaKkbE6o=; b=cFi7gftqxX2o+rTXcwysnm3337tOtA/9wbxMXriqB7+9MQH+zE0Mh7AaiSEyB3Cyqp kIQPKx8Ox6pa6dYIBFh5c8okqRMp5pJu7zvIb/DnzJQYcIXhiIAbnpHaNZqyqvArNJ6V F+ZiWuN6ZejTlKzrgBaB9HaLmpQfOFR4BBkTdRwXXfqY4U4GujNS7xb8Cyc9TC+7mqsy jO++sV58g11ezxQmgUS/NV+xis1j+NZcwPZWNTpQ5HtoRxjcJ8Iyge0bSOsrc3BNHH6g nptAstnNawRRzCrxe4dig4lPO1qlQsXmgdYzcQlrAHharYmGFFG4FFZ0bBZxUOIGqNck uEXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hf28Sjru; 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 s10-20020a056402520a00b0045d088f4b79si1726819edd.258.2022.11.03.06.46.12; Thu, 03 Nov 2022 06:46:36 -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=hf28Sjru; 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 S230521AbiKCN3P (ORCPT + 97 others); Thu, 3 Nov 2022 09:29:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230193AbiKCN3N (ORCPT ); Thu, 3 Nov 2022 09:29:13 -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 2F1E3647C for ; Thu, 3 Nov 2022 06:29:13 -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 D99CAB827CF for ; Thu, 3 Nov 2022 13:29:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8BFB3C43148 for ; Thu, 3 Nov 2022 13:29:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1667482150; bh=NBTXHeZbzlXiMhENl3g2+LKNqylGo+gAobQsaKkbE6o=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=hf28Sjru9tT+WFULq34ld1yEfOMfG+duNWqZGGI9uZ9bVKalnd8IPC7NPcr5XgiiZ V49Wcga0W2LprvcL/DQU29KMZs4qWCC3H5Hc+9enQNTEkqxjBev4bo7D4IZmzbHbQZ BOlxXgWv4y9cT41eqnC+QPwRtVfujMsckVkXGXWlxTzqpls10wyKj9ZnsmD4PnZwaX OGW8OIsESGmfypG2+OfZKK+tV3BejccjRnhGiqc/3aVe7VCP3sr7HsJTlCya1hb3d2 CKf3xh4kWQk1GDuSFWjmn6kI61WevQ4bNrc9SHhytCttNNJUtAYYJb66T0gN8kIsC9 FS+EyNGGTUz7A== Received: by mail-yb1-f175.google.com with SMTP id j2so2199309ybb.6 for ; Thu, 03 Nov 2022 06:29:10 -0700 (PDT) X-Gm-Message-State: ACrzQf0Ok9OZJCpooJyb3G4UzkLbv00HJhzKYYnPv7B8IdNBb6mhZjwV /aEaON4cNn+15BVDS9UthDL3dduCz7Pm2+kBzUg= X-Received: by 2002:a25:a4e4:0:b0:6cb:d9ba:b0b0 with SMTP id g91-20020a25a4e4000000b006cbd9bab0b0mr16767304ybi.68.1667482149440; Thu, 03 Nov 2022 06:29:09 -0700 (PDT) MIME-Version: 1.0 References: <20221102203405.1797491-1-ogabbay@kernel.org> <20221102203405.1797491-2-ogabbay@kernel.org> <5979d266-e864-cc1c-fe2b-2c81f5223076@quicinc.com> In-Reply-To: <5979d266-e864-cc1c-fe2b-2c81f5223076@quicinc.com> From: Oded Gabbay Date: Thu, 3 Nov 2022 15:28:43 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFC PATCH v2 1/3] drivers/accel: define kconfig and register a new major To: Jeffrey Hugo Cc: David Airlie , Daniel Vetter , Arnd Bergmann , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Jason Gunthorpe , John Hubbard , Alex Deucher , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Yuji Ishikawa , Jiho Chu , Daniel Stone , Tvrtko Ursulin , Christoph Hellwig , Kevin Hilman , Jagan Teki , Jacek Lawrynowicz , Maciej Kwapulinski Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-8.1 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 Wed, Nov 2, 2022 at 11:04 PM Jeffrey Hugo wrote: > > On 11/2/2022 2:34 PM, Oded Gabbay wrote: > > diff --git a/drivers/accel/accel_drv.c b/drivers/accel/accel_drv.c > > new file mode 100644 > > index 000000000000..6132765ea054 > > --- /dev/null > > +++ b/drivers/accel/accel_drv.c > > @@ -0,0 +1,112 @@ > > +// SPDX-License-Identifier: GPL-2.0 > > + > > +/* > > + * Copyright 2022 HabanaLabs, Ltd. > > + * All Rights Reserved. > > + * > > + */ > > + > > +#include > > Alphebetical order? ok > > > +#include > > +#include > > + > > +#include > > +#include > > +#include > > + > > +static struct dentry *accel_debugfs_root; > > +struct class *accel_class; > > Static? > yes, thx.