Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2897628rdb; Fri, 22 Sep 2023 11:17:35 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGd0nxW7NSHILS7VI8r+8uxrw0DJM5f6ZSQukoV5/qrlGSCAutSt6g0mQ9sFB/HF4h8UtfU X-Received: by 2002:a05:6a20:7352:b0:151:577:32d1 with SMTP id v18-20020a056a20735200b00151057732d1mr384143pzc.22.1695406654929; Fri, 22 Sep 2023 11:17:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695406654; cv=none; d=google.com; s=arc-20160816; b=w9GGL+veyKSKdMc1lZPaHBz5+VeKBEFyRtDhctzN3WdQc6tVurCMOW/toYmOwxoAkP PM30CbTkj+uEo28TNLqqy3fcSLt4b4+u2YBYZWtTTr8fVOs389FSAF9yU8TS6HFhoXYQ TG45MHfiUgn4f3zx809KbQP7R1PonTtDd5xnjSxOIOBvum/NJMBmVIltoMTmoNn/YyCy +4BmYGfoWNdGUxSbDABdoovBlJ0jA71wEnhKtY7ToA7gu+RrTlBqMNFaeXulr5jql3dF 8tg3WYLVuSPHW/ChkiUmdQFPgKGDFkdVxet2Qa0lpPrPZSOB1H4c4IK7DaJac0RCom23 VLCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=mwNQ/CYeR/nBD7mWQbxqZyORQOanfTdsCvfUkINX8Jk=; fh=+ndGvSpRetCS2JkYfsHjPuX25uE3IEN9ZWx9uFEUnao=; b=WCPhXMlobduDHJBV08K3Wermci0db3p7TSdn07tBC6I/kzf8m61r1omOrFIdk9fNev z7Ud16Bhwskp6PhUmBwLQGySwDvsF9OFuulFWDJrec5E+yT+MQCDld0fDMw1mCBEWkAi 5zci2yUNi+3nbCTbLhSb/yZLv0xSXnzcnG9DhfSMZLphw+6E0i+VyB1A2zhZXAcxsMX5 BCxqToz6CxU7IEcMszSd+ltAaAqc/3OIqiIMlWFfjPPPPcMdfulD0GSIs2SsfcC2pfu4 DOQ7+Ni4pJ1MZg/CAzkvKPJjr13csirM9XAWfoJoJgn6M3FJJQBkAayW9zXkdEFcQzFT khhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@edgeble-ai.20230601.gappssmtp.com header.s=20230601 header.b=Fkhk+ib9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id r17-20020a632b11000000b00578a56848a2si4247295pgr.648.2023.09.22.11.17.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 11:17:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@edgeble-ai.20230601.gappssmtp.com header.s=20230601 header.b=Fkhk+ib9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id EC7748225F29; Fri, 22 Sep 2023 02:39:12 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233224AbjIVJjE (ORCPT + 99 others); Fri, 22 Sep 2023 05:39:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39542 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233195AbjIVJjC (ORCPT ); Fri, 22 Sep 2023 05:39:02 -0400 Received: from mail-yw1-x112a.google.com (mail-yw1-x112a.google.com [IPv6:2607:f8b0:4864:20::112a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 418D119D for ; Fri, 22 Sep 2023 02:38:56 -0700 (PDT) Received: by mail-yw1-x112a.google.com with SMTP id 00721157ae682-59be9a09c23so23485117b3.1 for ; Fri, 22 Sep 2023 02:38:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20230601.gappssmtp.com; s=20230601; t=1695375535; x=1695980335; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=mwNQ/CYeR/nBD7mWQbxqZyORQOanfTdsCvfUkINX8Jk=; b=Fkhk+ib9VibTK4DrHc1Cgt0qSQmw0ODMPR4ogkCHpwY9LDT1/AZFckviW7YN4/z1cG MeWQdsICfnqLZAOHIImvzYmBfAT27KZOvrDgl72R++O3inUMHN2AqCPUcvAlZe3GfGP7 zvp+4oLzesfFBafNGuLtXhRInoaVYU4zZMA8MQWc2rjFQtBv89ZkjM0q6gcZAeVd0g/f 8zKBtNTTiV4tGEs4Ts9YCwL74cU+sEH64FOKdCwVCN+yHiXdByzS2NAcpoMr7mwKblS2 7Rcn40zy4Zon9zOB2eb9J1batCw4ZeqXrdVL7khCJ54SMXESEJ7G740ShdbnPMtDDnxI c4cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695375535; x=1695980335; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mwNQ/CYeR/nBD7mWQbxqZyORQOanfTdsCvfUkINX8Jk=; b=WXd24TAkk5HPN3prKApT9n0uT+CfAr1R5NW5bRGl+w1WpqMVuSfgZ8Y4oT2stU8Qfj r0vpp7yd/+4AXdi6uTwoYC95UJLT0VjIWkNpui2ai4pLLdMu/CjRHLROz7K6VnUEKOl9 R9c92kJCjEJVrCCZaum9rIdbbqB8WEFuZgggDv2MjNIGhR2oA7ksTbN383YoJaPeopWp lZWwA+JQ4XTrIqjsv7nSZ3hKlKcMt3gvT9oBCV2v5xaMnnwYww9gKkRE40qkv5mnJ10Z C8idvPD2xn4mpL1M0GPUCcwLIeBbNHN2k6p6K0asJFcnnVyVFbvqa6JlpfakrrYMkUAr uslg== X-Gm-Message-State: AOJu0YwLzltDRhbN9BuSWevUWpcwZa3m/D3/qfGpTKn25bf0+9W/3aXy 07BHPSDFU1xiPQQUucyWTZRdHMVInoQv8LHcpjKrbQ== X-Received: by 2002:a0d:d9c8:0:b0:59b:fe73:debc with SMTP id b191-20020a0dd9c8000000b0059bfe73debcmr7879297ywe.0.1695375535376; Fri, 22 Sep 2023 02:38:55 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Jagan Teki Date: Fri, 22 Sep 2023 15:08:44 +0530 Message-ID: Subject: Re: kernel.org 6.5.4 , NPU driver, --not support (RFC) To: Cancan Chang , Oded Gabbay Cc: linux-media , linux-kernel Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Fri, 22 Sep 2023 02:39:13 -0700 (PDT) On Fri, 22 Sept 2023 at 15:04, Cancan Chang wrot= e: > > Dear Media Maintainers: > Thanks for your attention. Before describing my problem=EF=BC=8Clet = me introduce to you what I mean by NPU. > NPU is Neural Processing Unit, It is designed for deep learning acce= leration, It is also called TPU, APU .. > > The real problems: > When I was about to upstream my NPU driver codes to linux mainline,= i meet two problems: > 1. According to my research, There is no NPU module path in the = linux (base on linux 6.5.4) , I have searched all linux projects and found = no organization or comany that has submitted NPU code. Is there a path prep= ared for NPU driver currently? > 2. If there is no NPU driver path currently, I am going to put = my NPU driver code in the drivers/media/platform/amlogic/ =EF=BB=BF, becaus= e my NPU driver belongs to amlogic. and amlogic NPU is mainly used for AI v= ision applications. Is this plan suitabe for you? If I'm correct about the discussion with Oded Gabby before. I think the drivers/accel/ is proper for AI Accelerators including NPU. + Oded in case he can comment. Thanks, Jagan.