Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2481964rwd; Fri, 16 Jun 2023 04:26:29 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6UsvySuKTnHpPsRQWhImayj1OyLgXXZbauXEZdcijyezed5w99Rc0ygb9o3RkIBCfpCQ6G X-Received: by 2002:a05:6808:81:b0:39a:5e92:f459 with SMTP id s1-20020a056808008100b0039a5e92f459mr1694348oic.38.1686914789447; Fri, 16 Jun 2023 04:26:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686914789; cv=none; d=google.com; s=arc-20160816; b=xboW8spZyyjzXsvkHIWTLV7qqghRSPKKcI2sDapwLv5UGgswWUXYxnq0QET0vZAEnY W3lk0YEIoQP6Rc8IZsfkodbMEjFM5iLfH7D5tMMACWKNuOj6vmJi5YROOcp+FjiN9Egl 15H+qL3SEc9AO/LAEc38bBiNoxz/dmXnUAYfIXUIq1hI4W/T0dFzBA9gnFTG/se9kpdn RsmkONq1neRq4AvC/6HOgmNaEQBqYUsUIASTEVne0BrMYAW9YuB21Cavp7DIP1TCVPjK kk+ODM2jRroxEuJLP10ji6AjXfqeAn4ZXHeb3B/lu21TZzt/fst/FMC6ogaLRNOIlGL2 yrrw== 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=gURWQOELyT9Llw4NzAGCF9rSk9+G1cc4pePyMhhuzQE=; b=HTlMzVWyk0N8qQGWUjaZ6eQeWyveI/RrrGKJOpO0HkeKSEIQCn3+sExsQ13ZbNZCl/ hntlQrO3poCMIPk57hXrsI++mSaaIT//WACaIRSEm8nQe/uXDKhcdcOl96dyFy3o8jRL 7dhy59rAtwZi0rqizo0iznrTMXSMUEHC5ESlOrdb679W0JOm0oV60cs3uNMQjnuEsUi6 FpGLRg1yX9+pOMoFy9DGvcEddsdC6KysdEJCdb3E4HQ/Ax7DqTK3D4dms8zSVXjdqhOY qEVj85Wx1xcaX1PPpm7DPuVR34yIXiaJLE9Ks0EYeZN1lxRNjhrBVTbIc9P1BjalShAI UM0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="B22vBA/Z"; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p5-20020a17090a4f0500b00255d819b632si1423861pjh.43.2023.06.16.04.26.17; Fri, 16 Jun 2023 04:26:29 -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=@linuxfoundation.org header.s=korg header.b="B22vBA/Z"; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343958AbjFPLLo (ORCPT + 99 others); Fri, 16 Jun 2023 07:11:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34248 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344641AbjFPLLf (ORCPT ); Fri, 16 Jun 2023 07:11:35 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 959D8123 for ; Fri, 16 Jun 2023 04:11:34 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 218D661901 for ; Fri, 16 Jun 2023 11:11:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0DCA0C433C9; Fri, 16 Jun 2023 11:11:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1686913893; bh=E3LSyICTfe08vvM/D5ylLdhNYeKjU8LGVjDE3PyCk+g=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=B22vBA/ZCwxWs9Y5gC7wCpYZ5DCL9Mih0/HcCZiti1e2yBTN6RTCMOhfM6tkP1mZp w+LENWICxwdQ/EgrWN9zkBCc2gNhxEfNfzEKMPl9T6k2W5s16L1i8h/WomjzYByoGm s1fsfOvnHh0HEdtr9Awjql+3aAmX+kLWBcbCzdek= Date: Fri, 16 Jun 2023 13:11:30 +0200 From: Greg KH To: Alison Wang Cc: "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Leo Li , Forrest Shi , "X.F. Ren" , Feng Guo Subject: Re: [EXT] Re: [PATCH 0/8] ethosu: Add Arm Ethos-U driver Message-ID: <2023061638-rounding-swinger-5658@gregkh> References: <20230616055913.2360-1-alison.wang@nxp.com> <2023061647-upward-petty-7695@gregkh> <2023061646-coil-broadly-9efc@gregkh> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Fri, Jun 16, 2023 at 10:47:56AM +0000, Alison Wang wrote: > On Fri, Jun 16, 2023 at 08:26:28AM +0000, Alison Wang wrote: > > > > On Fri, Jun 16, 2023 at 01:59:05PM +0800, Alison Wang wrote: > > > This series contains Arm's NPU Ethos-U driver for NXP i.MX93 platform. > > > > > > Ethos-U Linux driver is to provide an example of how a rich > > > operating system like Linux can dispatch inferences to an Arm > > > Cortex-M subsystem, consisting of an Arm Cortex-M and an Arm Ethos-U NPU. > > > > What is an "inference"? > > [Alison Wang] The inference here means machine learning inference. It > > is the process of running data points into a machine learning model to > > calculate an output such as a single numerical score. For example, we > > use this driver, user space application and Cortex-M firmware to complete an inference about image classification. > > Nice, so why isn't this under drivers/accel/ then? Does it not need that framework? > [Alison Wang] This driver doesn't need that framework. Odd quoting style... Anyway, why not use that famework? That's what that subsystem is for, so you are going to have to document why this does not fit into that model at all and you need your own interface instead. thanks, greg k-h