Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp689035ybt; Mon, 6 Jul 2020 20:36:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwtOBAiKYVjfiHyJQlbWrNpD/SIa/jsTwbFIMqxsR/vdAosI+r+LH6Yhs/sI04M+maEBt4N X-Received: by 2002:aa7:d457:: with SMTP id q23mr54855626edr.376.1594092970037; Mon, 06 Jul 2020 20:36:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594092970; cv=none; d=google.com; s=arc-20160816; b=dYpF2v6+FMvI1GdjoZjjei9Z3jjyRk7DugW0NboLW2oySJHcLgT5DsgN6Qyn5oFPWS 2lPEZb+hdgii6f8Dos5gPmx/JKi0tnsx+y1cjTCoZz+HdFkY8aTZGb0tFYMZvAJQGxIb 5DEm0vyfe3NlIwetAYGgBgJIKqkRytrCj2Ifrrzi5skYa/IS0n8JXytkcWIHcPysnSOj TeTgsVHMtN4E8cJq4g8CwYSeQ0rgc1DEjZ78ac6JkmNWsmSdtEiXu2QK1dux48yS/A+N HBbEjj2Y2BTTcxeuhuPanZSnRc8NwHtWLOY+iJ4XJg7qjGDpJN8Jnem/fJjnjghpVjUz FPew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=vl6KXRcrocPNDZrmREX3V5N1vmHQHID4t2FGejDxCgc=; b=V+HG5BEHAPx/hiAChz4O9HiJL+1FYZbBRiJ3m5FGiFIz5ukAnZVDz+q0EjdQun5tmW 31aUogVOdbMP6SzYd7K4lGuWoJE5tUcOyyhARsGC/j2DtaQk+lvYU2zkyPaAsLB+Ug4d 5AG8CAaId9/Cwt6aitCsaUWJwOixiy+mfZ+YXdIF1J+pu5ACnerPYRDxxx55icAyqREC rzWKwhjl/zhK2sVfLy2+9T8E95PMsWJvn3Nk5rvYRfXCH58dM4Gedm2oQFu6G2EmDgBL d6Sivb7gyqSp6WmTr/eSbD2lI7IrIMEreENLiy/rjr8rkZ2+KBqkTeGboYMCy/tkOw8P sY+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=NvJeHCRq; 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 v6si15265596ejr.238.2020.07.06.20.35.44; Mon, 06 Jul 2020 20:36:10 -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; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=NvJeHCRq; 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 S1727981AbgGGDdI (ORCPT + 99 others); Mon, 6 Jul 2020 23:33:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727044AbgGGDdH (ORCPT ); Mon, 6 Jul 2020 23:33:07 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0867C061755; Mon, 6 Jul 2020 20:33:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description; bh=vl6KXRcrocPNDZrmREX3V5N1vmHQHID4t2FGejDxCgc=; b=NvJeHCRqtpSeaNJDRjVwBsJm5Q jySkdyljWzRDEmZVioCs/H6AEKMxaiOXD+fPzH713D2kdSGRL9GEwxQO4whMc8GQN4U9QcQpR8sgj sRYmBbP/NwhbqzDKcT/GNcz90QAzYYy7OvOk7Ix8Tk0Lz3joEj8jtbMV0Z5x+Vl94YyWyKhI+qcZA uL2quRo7w3XZ7uODPl93BGahhMyReZQvgGlKqWLsmaKM+KDS/o524yiXG4doBLxpb4gvc3KLKnHI6 z/iUTk0R9xoA7jlC8WNWcn2c1OxP29Ul8pltJoU45wTae4JIX6AqXvSLb7xObhCchW8WBdvMhVbGI alL5m0zA==; Received: from [2601:1c0:6280:3f0:897c:6038:c71d:ecac] by casper.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jseLt-0003lY-1z; Tue, 07 Jul 2020 03:33:02 +0000 Subject: Re: [PATCH 2/2] soc: mediatek: devapc: add devapc-mt6779 driver To: Neal Liu Cc: Rob Herring , Matthias Brugger , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, lkml , linux-mediatek@lists.infradead.org, wsd_upstream@mediatek.com References: <1594027693-19530-1-git-send-email-neal.liu@mediatek.com> <1594027693-19530-3-git-send-email-neal.liu@mediatek.com> <1594092631.20820.4.camel@mtkswgap22> From: Randy Dunlap Message-ID: Date: Mon, 6 Jul 2020 20:32:57 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: <1594092631.20820.4.camel@mtkswgap22> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/6/20 8:30 PM, Neal Liu wrote: > Hi Randy, > > Thanks for your review. > > On Mon, 2020-07-06 at 09:13 -0700, Randy Dunlap wrote: >> On 7/6/20 2:28 AM, Neal Liu wrote: >>> diff --git a/drivers/soc/mediatek/devapc/Kconfig b/drivers/soc/mediatek/devapc/Kconfig >>> new file mode 100644 >>> index 0000000..b0f7d0e >>> --- /dev/null >>> +++ b/drivers/soc/mediatek/devapc/Kconfig >>> @@ -0,0 +1,17 @@ >>> +config MTK_DEVAPC >>> + tristate "Mediatek Device APC Support" >>> + help >>> + Device APC is a HW IP controlling internal device security. >> >> preferably: s/HW/hardware/ >> >>> + MediaTek bus frabric provides TrustZone security support and data >> >> fabric >> >>> + protection to prevent slaves from being accessed by unexpected >>> + bus masters. >>> + Device APC prevents malicious access to internal devices. >>> + >>> +config DEVAPC_MT6779 >>> + tristate "Mediatek MT6779 Device APC driver" >>> + select MTK_DEVAPC >>> + help >>> + Say yes here to enable support Mediatek MT6779 Device APC driver. >> >> support for Mediatek >> >>> + This driver mainly used to handle the violation with 1 DEVAPC AO/PDs. >> >> This driver is mainly used ^^^^^^^^^^^^^^^^ >> >> What is that meaningless string of chars? ^^^^^^^ > > I did not see any meaningless string of chars from my original patch. > Is there something wrong? To someone who is reading the Kconfig help text but is unfamiliar with this device, I would say that "1 DEVAPC AO/PDs" is not helpful at all. > [1] https://lkml.org/lkml/2020/7/6/168 > >> >>> + The violation information are logged for further analysis or >> >> is >> >>> + countermeasures. >> >> thanks. > thanks. -- ~Randy