Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp289622pxj; Fri, 14 May 2021 03:36:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwajwKU5lstdniNpjaA9b7X1cvBFtJ3CZRM8jjch0wSdxMdKmqVhZCyVf7ciGJ26vUvdmxg X-Received: by 2002:a50:f385:: with SMTP id g5mr18121794edm.222.1620988561901; Fri, 14 May 2021 03:36:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620988561; cv=none; d=google.com; s=arc-20160816; b=Brdei6en55xuFaxGo3HS43vwi09edCQNC6uVZwtDqsQnEOJK6YJZbJ6/fXge/g02Fh H18hxcCg79ELjnAICJFHPyYvxmeT8osPqmKKOppyxXtqGT4n8QtLV4wSzVtySmEBdq1x Hcshtu8vlmlKp7L2nrmCUMSZV/ujPPQIuqHfDEtDqbz+GmOvfu4DWTLh/E2m2bULTaDU U9LThaauGzQIuB9I0tyAHPjCNfleqX/GTRUrG5IvrqcqoFsYvRFzCvhx2hKv4TdVDd/F VxiSDUOWtQRXdXbqo989F3Hxw/ubnNOlR0mKqNV9BpvdVe6z+6zSKEzqDm+KFm8gjNLw BlZA== 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=MVHcBYr7e7EaJ0KEY1axvWNvMVDHpYPcs6J5zxKhDdc=; b=UwgLjHlu5mzTCJIzVlmybrUK513FjSiplnHlFeywqtC0my5kE8E2Gf9Wfy52V2iqqk xEa/elNueP5zxBAhociZ+VnLRNq5iQroW6mmEXirSm3z1Qg/5cYLqi/jrv+WGVcQw5EI eeCMieT53EKNnwJcJtJnug1im0dYXjYkBbKN6EFkTwiZnMFZerMpOMYwkcMXq4Nxaly2 vVpsHCy17sJAojUYjycGFABpiY6TYgXU6/0/fL0+GRCbBfuWNBM0Agiu7WTuIxOEx+LZ W0ECr4eJj+FVTHmsWAVOUXWsDsBab16pDhoc+R8vNaIyVMSxehCXQQ7EBOKUe5ucg0Fz ce5g== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id rs6si3652384ejb.266.2021.05.14.03.35.38; Fri, 14 May 2021 03:36:01 -0700 (PDT) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231249AbhENJCx (ORCPT + 99 others); Fri, 14 May 2021 05:02:53 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:49121 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229544AbhENJCw (ORCPT ); Fri, 14 May 2021 05:02:52 -0400 Received: from mail-wr1-f46.google.com ([209.85.221.46]) by mrelayeu.kundenserver.de (mreue009 [213.165.67.97]) with ESMTPSA (Nemesis) id 1N1wdd-1lWuzd2Wxl-012KIx; Fri, 14 May 2021 11:01:40 +0200 Received: by mail-wr1-f46.google.com with SMTP id q5so9880073wrs.4; Fri, 14 May 2021 02:01:40 -0700 (PDT) X-Gm-Message-State: AOAM531WJ6ocJGOWRd6zQP2eLShEJPKrCGBfIKcIL0zRCJjAcBvZo7eZ jSPnw/J5uUtkjXqhWDIXgtft+QWwfFnzeJ/Rx2M= X-Received: by 2002:adf:fe04:: with SMTP id n4mr433994wrr.361.1620982900203; Fri, 14 May 2021 02:01:40 -0700 (PDT) MIME-Version: 1.0 References: <20210513110040.2268-1-maciej.kwapulinski@linux.intel.com> In-Reply-To: From: Arnd Bergmann Date: Fri, 14 May 2021 11:00:38 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 00/14] Driver of Intel(R) Gaussian & Neural Accelerator To: Greg Kroah-Hartman Cc: Maciej Kwapulinski , Jonathan Corbet , Derek Kiernan , Dragan Cvetic , Andy Shevchenko , Linux Kernel Mailing List , "open list:DOCUMENTATION" Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:TZYJvnLo3oPdqLhaYe7eUU7lGFrSxHlgB1OmPXFlYg8wHxIiotb 8uXKIWvggNw+WY2MkYq0a5G7HNpbKf2HDoEWsFCcnHs8ZwVKQCcKnINH+M0xq06W6X8z/S7 38UTpvlDnza4ljTo1ODuFKgjmRPbY77pEjbCDAxoco8WwuzdXplUeE0J5JNaXmZRueAf3yE oDQH95zL0q/kRdro1XDug== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:mlSdnVNAovA=:GWpmC+mYR8tjjhuCD9Jzyr CTi1c376xdcaQ7EAiJ2tzTXJAUycnPJrQ1sCqMWSIrq8kFqBg0uw5mBVAzQNhygQ9XyJhr0sn xqF7KKsttpMmZ+ppoIBbGXriifvpydaNLNn/Ab2Xgy9qAdEukhwHTZe43UNiVg+JXUCWoq4Dm f82rAf9DmDvrbP9YJR3or+85wYCzJI+UwCz4F5ew29nTHGWV2xLqZDqOrDjEvD5RRChZ74l6d A9/KPDYD6exSCuh2pp02FTl02KPrOPS6M7jZGtBMnoeuyCzPCg4/rZheJUw+ajJQRNDzb2+MR bq2RxaHl1C9RqD8fISMxAppuhc59jDtrxsenKk/T+ZdKCBYhuCn7X04o1kjDt56LNbpY+H1LJ SRtQFowy2A2YDfB5lqhK+frWt6i7uzlQlIE3GvPXSUcmWTM0Et1hsJpAmnZq/MDAoEUR7tLHJ qg5UuxlcHgFrX3Vn/W8G81yZ1sEKdPryKjiJ0kOy6HuJzH4tzv/SDuZwuD2UJjbUl1KEVifdI DW/cPQbIqxXq9DZJQ/xm0k= Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 14, 2021 at 10:34 AM Greg Kroah-Hartman wrote: > On Thu, May 13, 2021 at 01:00:26PM +0200, Maciej Kwapulinski wrote: > > Dear kernel maintainers, > > > > This submission is a kernel driver to support Intel(R) Gaussian & Neural > > Accelerator (Intel(R) GNA). Intel(R) GNA is a PCI-based neural co-processor > > available on multiple Intel platforms. AI developers and users can offload > > continuous inference workloads to an Intel(R) GNA device in order to free > > processor resources and save power. Noise reduction and speech recognition > > are the examples of the workloads Intel(R) GNA deals with while its usage > > is not limited to the two. > > How does this compare with the "nnpi" driver being proposed here: > https://lore.kernel.org/r/20210513085725.45528-1-guy.zadicario@intel.com > > Please work with those developers to share code and userspace api and > tools. Having the community review two totally different apis and > drivers for the same type of functionality from the same company is > totally wasteful of our time and energy. Agreed, but I think we should go further than this and work towards a subsystem across companies for machine learning and neural networks accelerators for both inferencing and training. We have support for Intel habanalabs hardware in drivers/misc, and there are countless hardware solutions out of tree that would hopefully go the same way with an upstream submission and open source user space, including - Intel/Mobileye EyeQ - Intel/Movidius Keembay - Nvidia NVDLA - Gyrfalcon Lightspeeur - Apple Neural Engine - Google TPU - Arm Ethos plus many more that are somewhat less likely to gain fully open source driver stacks. Arnd