Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1194299pxb; Fri, 26 Feb 2021 05:07:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJwfXecmoIxUlHInTAMC8PRuZZmg8DNSxBlriqWcyvedTz8LFQRzuXyTj6apHtdb1jG/bcw8 X-Received: by 2002:a17:906:7d87:: with SMTP id v7mr3326696ejo.214.1614344834194; Fri, 26 Feb 2021 05:07:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614344834; cv=none; d=google.com; s=arc-20160816; b=aKReCrjjEKgCCSbDrcffowYKQoeOlZAM+eN9ePwg5coW+phpARlV6SMu4r1GoRZpu0 S3M1V+pzqAiqOkTNv2XVd2cidGeutNPQhDt7ZC2vJGZDe8+Y5ViUBv6VktVur7waIvD5 RAeuSr/qjkimcfJCDZYXtzcJ5BIE9sReBG251DsQNMbONHxT/M3orZw9L1sBxpqOIOqe 1ANZK+I3BljbLPLtUh8e0OB0awZzunusivmovL0Idhq4UTxcjAFRQhIPYYg4fKrtdxc8 sqkg9XgKvXL710jc/tvU+HZE7fqiMmiysxSuO+Qyw3/+mJ3mc3bEfPRa6mS3ScCzDQoP iVKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=8qWi5FnAF7GASTHjTsTTKcLdRQxHgBiwT1rsDjF1ePk=; b=ajH6IEB3WNfdWKgsu+gXO1SSakMTtyXiicMNkALma6YV+xmnd20Qv7F0pOtKAAlYO9 RTOvuBIyWxaOG0m/GpF/P9Uzuds7sozI/psDeSU3WNW7I4yHFl//bGxtUAuV1OCaPmEL WxB0t0eEvw+ut81aFKV/XvknXea3vB7AE8iiN4E06CENhdc0cRtNuAXaKPZveuD9sThP NaT/JP6+pgaPZFYLdVpNJFikdhIgUheMr2Io8BMLOnNYHpPdhpdkomrPMULb7szjg2I8 zinhSTRPoL+AV7xrcmYjSCTiPfNSsRz/hYe4Ov/mR1CZyRPU2LYD20aVndETcGJ6qWeh tmlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=0ml3fDh2; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bv10si3840121ejb.352.2021.02.26.05.06.49; Fri, 26 Feb 2021 05:07:14 -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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=0ml3fDh2; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230220AbhBZNEw (ORCPT + 99 others); Fri, 26 Feb 2021 08:04:52 -0500 Received: from mail.kernel.org ([198.145.29.99]:45704 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230079AbhBZNEj (ORCPT ); Fri, 26 Feb 2021 08:04:39 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 32C5F64EE2; Fri, 26 Feb 2021 13:03:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1614344639; bh=ZiJl8DpWEVCvIAtlfcxEMZ4oXLoAHaJv04eh0CYE7d0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=0ml3fDh2uFY/AjFC4lthT/HDZ5Erk4mxqDdTIeSgPurDjrs59TOBDrcccL2Jm6kpG L45u7ZKpIcpRsrKRLwvbznTMT3RGKEGZ61K83V+IXy5uCszoRL96WhwekWnqt5iZxs iEMtOPFVEno5yP8A6ssdBpAGY2IeiPl2YoiY6H3Q= Date: Fri, 26 Feb 2021 14:03:55 +0100 From: Greg Kroah-Hartman To: Maciej Kwapulinski Cc: Arnd Bergmann , Jonathan Corbet , Derek Kiernan , Dragan Cvetic , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Tomasz Jankowski , Savo Novakovic , Jianxun Zhang Subject: Re: [PATCH v1 01/12] gna: add driver module Message-ID: References: <20210216160525.5028-1-maciej.kwapulinski@linux.intel.com> <20210216160525.5028-2-maciej.kwapulinski@linux.intel.com> <85wnuvrnml.fsf@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <85wnuvrnml.fsf@linux.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 26, 2021 at 01:59:14PM +0100, Maciej Kwapulinski wrote: > > Greg Kroah-Hartman writes: > > > On Tue, Feb 16, 2021 at 05:05:14PM +0100, Maciej Kwapulinski wrote: > .... > >> --- /dev/null > >> +++ b/drivers/misc/gna/gna_driver.h > >> @@ -0,0 +1,41 @@ > >> +/* SPDX-License-Identifier: GPL-2.0-only */ > >> +/* Copyright(c) 2017-2021 Intel Corporation */ > >> + > >> +#ifndef __GNA_DRIVER_H__ > >> +#define __GNA_DRIVER_H__ > >> + > >> +#include > >> +#include > >> +#include > >> + > >> +#define GNA_DRV_NAME "gna" > > > > Way too generic, no one knows what "gna" is. > > > > "intel gna" is much more verbose in search engines. > As we do not (plan to) have more "gna" drivers, is the following ok?: > > intel-gna > > the change would imply the following: > > prompt$ lspci -s 00:00.3 -vvvv > 00:00.3 System peripheral: Intel Corporation Device 3190 (rev 03) > Subsystem: Intel Corporation Device 2072 > .... > Kernel driver in use: intel-gna > Kernel modules: gna > > is it ok? Why not intel-gna as the kernel module as well? > also, how about the interface to library (it's part of one of next patches)?: > prompt$ file /dev/gna0 > /dev/gna0: character special (235/0) > > can "gna" stay intact here? Again, I have no idea what "gna" is, so you might want to pick something more descriptive? > I'm pointing this out, because gna exists on the market for a while and > changing the above may have some impact we'd like to avoid. If it exists but Linux does not support it, how would anyone know about it? :) Please use real terms where possible. thanks, greg k-h