Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BDF19C433F5 for ; Wed, 24 Nov 2021 12:32:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343691AbhKXMfZ (ORCPT ); Wed, 24 Nov 2021 07:35:25 -0500 Received: from mx24.baidu.com ([111.206.215.185]:44312 "EHLO baidu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S245674AbhKXM2y (ORCPT ); Wed, 24 Nov 2021 07:28:54 -0500 Received: from BC-Mail-Ex05.internal.baidu.com (unknown [172.31.51.45]) by Forcepoint Email with ESMTPS id 0944032C172558A683E1; Wed, 24 Nov 2021 20:25:38 +0800 (CST) Received: from BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) by BC-Mail-Ex05.internal.baidu.com (172.31.51.45) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.20; Wed, 24 Nov 2021 20:25:37 +0800 Received: from localhost (172.31.63.8) by BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.20; Wed, 24 Nov 2021 20:25:37 +0800 Date: Wed, 24 Nov 2021 20:25:40 +0800 From: Cai Huoqing To: Greg Kroah-Hartman CC: Rob Herring , , , Subject: Re: [PATCH v2 1/3] staging: zynpu: Add driver support for ARM(China) ZHOUYI AI accelerator Message-ID: <20211124122540.GA761@LAPTOP-UKSR4ENP.internal.baidu.com> References: <20211124084620.628-1-caihuoqing@baidu.com> <20211124084620.628-2-caihuoqing@baidu.com> <20211124090957.GA698@LAPTOP-UKSR4ENP.internal.baidu.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20211124090957.GA698@LAPTOP-UKSR4ENP.internal.baidu.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-Originating-IP: [172.31.63.8] X-ClientProxiedBy: BC-Mail-Ex21.internal.baidu.com (172.31.51.15) To BJHW-MAIL-EX27.internal.baidu.com (10.127.64.42) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 24 11月 21 17:09:57, Cai Huoqing wrote: > On 24 11月 21 09:52:50, Greg Kroah-Hartman wrote: > > On Wed, Nov 24, 2021 at 04:46:15PM +0800, Cai Huoqing wrote: > > > ZHOUYI NPU is an AI accelerator chip which is integrated into ARM SOC, > > > such as Allwinner R329 SOC. > > > Add driver support for this AI accelerator here. > > > > > > This driver is not tandard linux style, there are some clean up works, > > > > "standard"? > will fix it > > > > > fixing code style, refactorring. > > > And it only works with a closed source usermode driver, so need to > > > reverse the libraries, and impelement it, then open source > > > the usermode driver. > > > > Who will be doing the "reversing" of the usermode driver? > I will provide the library binary, also try to implement usermode code:) > > > > We can't take this now if there's no actual users of this code that > > anyone can test. Why not just change the license of the usermode code > > now to make this simpler? > Allwinner R329 board includes this ip core, I have one to test this > driver. Add the SOC introduce here, many users. this driver can works on it https://linux-sunxi.org/R329 > The usermode code is close, I just got an library. > > Thanks > > Cai > > > > > thanks, > > > > greg k-h