Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp2716906imi; Mon, 25 Jul 2022 06:33:15 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vk+wzcKbtU68ivd1zKcT2IH0avoPEttw1Z55aAlpbnlW3WzSFBRd3N3G6vBqJSwJxe3q1r X-Received: by 2002:a17:902:fe01:b0:16d:3457:2e00 with SMTP id g1-20020a170902fe0100b0016d34572e00mr12675623plj.165.1658755995413; Mon, 25 Jul 2022 06:33:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658755995; cv=none; d=google.com; s=arc-20160816; b=Ix2yd/aGzdMqN+MtJiQTyJ0edlKJ0gp+sBODc16CnsgBBQ/dsV1n2aMonpFKgmRfwx lR6SjkiG4KZFYA9SCAaYyJ/hGTO+LHSNKO3HtQGs7dZEMGszMB/g1XlcNaHw59UMWPby 94ufRjR804SOKPW8l6yXtIZ5AJUcvrPBJh4tv9V8pNGjpcsB+fgHM0Pj1rLWOosyA5tP StGnnZ6GDMKtRmiLik8liW7KtWwRO8Scap3Whq5oEly/E66Obmgvaj7x9/8jlUP85IFq vKJUvvaH0y6LnBCEcV1lFnt39afKxYwedyG2tLeqorUvaPPO/XtVslg/HM7Y2it+JEhv LqyQ== 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=P5YCnBwafOrew2i4/nlZKCGELLoY//7G5aGXQ1ARHpI=; b=KEpj8mr29Z8mfXztqopE8LidNeZ83MBn0Y3uktq/WSXZ9jeWWcdWKd004xqCwsKRQy efQuH7cGcQFjfjW7uAAxS2VmXnT3uZleReDsRXn5Y8DtlVGi+ahZIXe+6JYuH37AFzeF zzT83b9Cr+YXwhPaQUzLJa4uxibT8yFPhfOnu7Jv7ppCwURiwb2xybm58n+KQyooQsY/ GXV3ufpHKyl59RWvUMkko9t/E4CVtqy8JE+zQWAIGoEwpbUJpQOFLrkTSGYp5vVfDsCs dyOy67Wp0bNC2BMTD/oxnb0of/t9ft8WLjiT6OeI5a4Y2He+eiMWbVfF0xeLo4uzjqxd KWFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=hUDe4HDO; 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 x189-20020a6386c6000000b0041a5a805d93si13619966pgd.25.2022.07.25.06.33.00; Mon, 25 Jul 2022 06:33:15 -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=hUDe4HDO; 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 S235253AbiGYMsX (ORCPT + 99 others); Mon, 25 Jul 2022 08:48:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234785AbiGYMsW (ORCPT ); Mon, 25 Jul 2022 08:48:22 -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 953E813F39; Mon, 25 Jul 2022 05:48:20 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 2547361050; Mon, 25 Jul 2022 12:48:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C19D0C341C8; Mon, 25 Jul 2022 12:48:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1658753299; bh=qAnVSX5x86qMP5IdsAOZd+epe/BYqA3hZHfOWKWVjGM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=hUDe4HDOY+CFXvceyY8SSSnKqJV1vBz7byKDOeHSySHrhz4N4E2MrZRLXPh5G/Fdt tRgFYl4Os306khdCifK9zq/ZHJRlmp2odPzPgyBDFP/DCfA2XTezYjh7fEwgzhPpfF d49s/awbT9tghBDe3t8SRnTu/jIZnNAJoAZXs8Bk= Date: Mon, 25 Jul 2022 14:48:15 +0200 From: Greg KH To: Yuji Ishikawa Cc: Rob Herring , Hans Verkuil , Nobuhiro Iwamatsu , Jonathan Corbet , Sumit Semwal , Christian =?iso-8859-1?Q?K=F6nig?= , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org Subject: Re: [PATCH v2 3/5] soc: visconti: Add Toshiba Visconti DNN image processing accelerator Message-ID: References: <20220722082858.17880-1-yuji2.ishikawa@toshiba.co.jp> <20220722082858.17880-4-yuji2.ishikawa@toshiba.co.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220722082858.17880-4-yuji2.ishikawa@toshiba.co.jp> X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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, Jul 22, 2022 at 05:28:56PM +0900, Yuji Ishikawa wrote: > Add support to DNN image processing accelerator on Toshiba Visconti ARM SoCs. > The accelerator is applicable to DNN inference tasks. > > Signed-off-by: Yuji Ishikawa > Reviewed-by: Nobuhiro Iwamatsu > --- > v1 -> v2: > - applied checkpatch.pl --strict > - removed unused code > --- > drivers/soc/visconti/Kconfig | 6 + > drivers/soc/visconti/Makefile | 2 + > drivers/soc/visconti/dnn/Makefile | 6 + > drivers/soc/visconti/dnn/dnn.c | 523 +++++++++++++++++++++++++ > drivers/soc/visconti/dnn/hwd_dnn.c | 183 +++++++++ > drivers/soc/visconti/dnn/hwd_dnn.h | 68 ++++ > drivers/soc/visconti/dnn/hwd_dnn_reg.h | 228 +++++++++++ > drivers/soc/visconti/uapi/dnn.h | 77 ++++ > 8 files changed, 1093 insertions(+) > create mode 100644 drivers/soc/visconti/dnn/Makefile > create mode 100644 drivers/soc/visconti/dnn/dnn.c > create mode 100644 drivers/soc/visconti/dnn/hwd_dnn.c > create mode 100644 drivers/soc/visconti/dnn/hwd_dnn.h > create mode 100644 drivers/soc/visconti/dnn/hwd_dnn_reg.h > create mode 100644 drivers/soc/visconti/uapi/dnn.h > > diff --git a/drivers/soc/visconti/Kconfig b/drivers/soc/visconti/Kconfig > index 8b1378917..a25287d0c 100644 > --- a/drivers/soc/visconti/Kconfig > +++ b/drivers/soc/visconti/Kconfig > @@ -1 +1,7 @@ > +if ARCH_VISCONTI > + > +config VISCONTI_DNN > + bool "Visconti DNN driver" > + We can't take Kconfig options with no help text at all, please provide the needed information here. And why can't this be a module?