Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3962489rwb; Tue, 16 Aug 2022 11:45:45 -0700 (PDT) X-Google-Smtp-Source: AA6agR77Cfdn/nUQ/3fXjwQwUNP3zIvq5MS2LHm/vXyKhNeuMFy1mzQSU/V0F7s0lyU+9poptx9x X-Received: by 2002:a17:902:dac2:b0:172:5f2a:f30 with SMTP id q2-20020a170902dac200b001725f2a0f30mr15821886plx.167.1660675544911; Tue, 16 Aug 2022 11:45:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660675544; cv=none; d=google.com; s=arc-20160816; b=IuuJ8tGOvgB79dKOTL5Oobk8b0oFp6iYIVPgh0iqbequXtcDzY7hpk9XLQ6u+3foDQ +Kv33JeDk6fSYRYgCLB163JZBX7LiJ6lMACXMEDOPcK7hcj7bNjJm12ekES3NGot1vFb 9M3vrgQoCSTfcGjHgrnwPto7D2LD2AKBEHdEMWJEm8lMJkaM+tLZJFzaqZow02qvILxa MRa7xsEgUk7XJl0zhfJI45t3TRtqoSBsdgwial5hL7iMZIMpPqX2vBpT0frn12Mzn0Hm DZmHScvEisBbMh/9VpnWkIcN4kz/cqFL4Xl2gxhhvK6/7MG+E6BMegOXN9bRpfQ0DnYp v1Ww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=mUeMEEoPpuSOhmM19gXypq+f5Dbt5Qm5CVzcZ+ucRFs=; b=mq4oQed2rC2Fnbtv0eLIpO0vpyoHOoJexyH8a6N1erCTSAXMINo1+PTThANhcgp2TY /EXwxpBw0PXLZTOw9jtHL2jeHU3h2Wve1b2ja6eG92flJKKTh1bXNIslIiRxQY5Ouizp ioYyVWk1m9jeQnAC5ZPkRmjkzjEu/GSDCqEjKQ27wphJiqOQlETE13thua1TfR+mrgtD MNO6S4NgRtLPBY5X7smxEddI4g1Z55GV6kNxN5t8PlxfZI/BX28B0FbQBO/gEENobs3g PmSzWYShOSUpoibL//37wjhuhvcBKibEcDOAKVQ6W10S3oRiHWdFqpHk9+tOdJkZikGR eenA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=Ugkfd59Z; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y1-20020a056a00190100b0052f65759ad5si6383441pfi.143.2022.08.16.11.45.33; Tue, 16 Aug 2022 11:45:44 -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=@infradead.org header.s=bombadil.20210309 header.b=Ugkfd59Z; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236572AbiHPSAQ (ORCPT + 99 others); Tue, 16 Aug 2022 14:00:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58308 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236369AbiHPSAO (ORCPT ); Tue, 16 Aug 2022 14:00:14 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 456B2832EE for ; Tue, 16 Aug 2022 11:00:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=mUeMEEoPpuSOhmM19gXypq+f5Dbt5Qm5CVzcZ+ucRFs=; b=Ugkfd59ZNGHLCjQPzc4I1XhTto u2/T+Dbc0fAzP/pAB8ljx5Fs8SpCmThUrrC8bay7DKKu3VZ6RRT2jo53HitRrt7U1PbR2G+Qvo/78 q92CkEnsRCbk+fgbnRN3poPQ8R2jv/LtUK5R09xPG2teTEwhIajnMlBVtBm650UExQPF+YJi3871A ewWqoDqqbLnf4vdzZZsQr0v1U0zpJF704BISNgNGt3nsNMEm2Xc5DGln16i8Ce+z254r2n0BL4qOk 2YUCSNcHInEmgtSowl6qvwxjmDnrP6jSgzen6veHGc1uZgDJnbDWWr+Sf3guC0wnpre+p+rqjN8C6 48lykPiQ==; Received: from [2601:1c0:6280:3f0::a6b3] by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1oO0rC-005XEX-IB; Tue, 16 Aug 2022 18:00:02 +0000 Message-ID: <071ecdab-98a8-1f3b-a442-26668b2da446@infradead.org> Date: Tue, 16 Aug 2022 11:00:01 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH v8 1/2] drivers/coresight: Add UltraSoc System Memory Buffer driver Content-Language: en-US To: Junhao He , mathieu.poirier@linaro.org, suzuki.poulose@arm.com, mike.leach@linaro.org, leo.yan@linaro.org Cc: coresight@lists.linaro.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxarm@huawei.com, liuqi115@huawei.com, f.fangjian@huawei.com, prime.zeng@hisilicon.com References: <20220816131634.38195-1-hejunhao3@huawei.com> <20220816131634.38195-2-hejunhao3@huawei.com> From: Randy Dunlap In-Reply-To: <20220816131634.38195-2-hejunhao3@huawei.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE 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 Hi-- On 8/16/22 06:16, Junhao He wrote: > diff --git a/drivers/hwtracing/coresight/Kconfig b/drivers/hwtracing/coresight/Kconfig > index 514a9b8086e3..4380eb1a0a73 100644 > --- a/drivers/hwtracing/coresight/Kconfig > +++ b/drivers/hwtracing/coresight/Kconfig > @@ -201,4 +201,14 @@ config CORESIGHT_TRBE > > To compile this driver as a module, choose M here: the module will be > called coresight-trbe. Please insert a blank line here like it is done elsewhere. > +config ULTRASOC_SMB > + tristate "Ultrasoc system memory buffer drivers" > + depends on ACPI && ARM64 && CORESIGHT_LINKS_AND_SINKS > + help > + This driver provides support for the Ultrasoc system memory buffer (SMB). > + SMB is responsible for receiving the trace data from Coresight ETM devices > + and storing them to a system buffer. > + > + To compile this driver as a module, choose M here: the module will be > + called ultrasoc-smb. > endif thanks. -- ~Randy