Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp4322680rwb; Tue, 16 Aug 2022 19:57:56 -0700 (PDT) X-Google-Smtp-Source: AA6agR435jjbZRJoKXfaDX2jicj1uw1NQxtwx+GwIZUPS01dK1sJthi4/vZV1ytFIZMgoFLbLWgN X-Received: by 2002:a17:90b:180b:b0:1f5:160c:a652 with SMTP id lw11-20020a17090b180b00b001f5160ca652mr1583291pjb.235.1660705076437; Tue, 16 Aug 2022 19:57:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660705076; cv=none; d=google.com; s=arc-20160816; b=qxZbXHMBva3DYJhBGacv9j90xBMAIQ18klcJRUsLTOEGXIEscmcukOdzTKnoR+J2S0 jN1YBMkU0N53/zZH5X2qIeqMLSnl9mxD76xQZ1mRaGCB0jxwn6hv8lUIJHBGa+aXLhtt DKsO4KURYbRTjeGlPfJhPyuu8pSYC0QWN9Vx7mXaRSgO20IpeE0v/AcuHrydibeR0IRN kep9HkGTp3LIPuTx2XNlwXojJzoFdhHkQJieM8Lpw43MbskunHe0jPKab2xGQMzgL//L 8tDVUvOyS9WwbMQMpkTwso8yr8BD5GapP4YbTz64RwdCc0v9SdY1L+81yjZZjHehQH9k saHw== 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 :mime-version:user-agent:date:message-id:from:cc:references:to :subject; bh=jY31s19C4hQoDkKOco0SNDQ83wbuMwGZC9nDzilgRT4=; b=De/0rWw5wl0QDQehuLHaWYxTLo9gKA+qqSORbo/eDS0Ry6fgRgdp54qeqLNWMmfK61 a112gslH2SNNNipHcNfm4PpFaMYLlvkNwBuUdzLSYm9Q2Hp+m98i39v4AWb/TvAOm7LL GEDlaQ5wFx2IuMguCNTg+GSyNtaVnn/a0oD+fXG33zPJ49Fi2P8ZoCR0SQAYdHLoVDpE n8iHfQEQ7qnVctKdv1cfSi4qw6DYvxmMAs2CjvZKRxq20kS5+X9sqZjcKKCc7jht33qW XIJ81G621BXnPm1KU0s4M7HCOTyoBSmE8I4LAQEvXG8xyOYYHZfq8pTUicZV6eoxcLpZ nCGA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id iw19-20020a170903045300b0016a24d76abasi238503plb.298.2022.08.16.19.57.45; Tue, 16 Aug 2022 19:57:56 -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; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238388AbiHQBrH (ORCPT + 99 others); Tue, 16 Aug 2022 21:47:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45520 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233644AbiHQBrF (ORCPT ); Tue, 16 Aug 2022 21:47:05 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 43D27979F6 for ; Tue, 16 Aug 2022 18:47:05 -0700 (PDT) Received: from dggpeml500023.china.huawei.com (unknown [172.30.72.57]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4M6rRm0p5wzmVqK; Wed, 17 Aug 2022 09:44:52 +0800 (CST) Received: from dggpeml500002.china.huawei.com (7.185.36.158) by dggpeml500023.china.huawei.com (7.185.36.114) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Wed, 17 Aug 2022 09:47:03 +0800 Received: from [10.67.101.90] (10.67.101.90) by dggpeml500002.china.huawei.com (7.185.36.158) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Wed, 17 Aug 2022 09:47:03 +0800 Subject: Re: [PATCH v8 1/2] drivers/coresight: Add UltraSoc System Memory Buffer driver To: Randy Dunlap , , , , References: <20220816131634.38195-1-hejunhao3@huawei.com> <20220816131634.38195-2-hejunhao3@huawei.com> <071ecdab-98a8-1f3b-a442-26668b2da446@infradead.org> CC: , , , , , , From: hejunhao Message-ID: <7607df0c-0c47-1cfc-bc8b-6490bbf9eecf@huawei.com> Date: Wed, 17 Aug 2022 09:47:02 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: <071ecdab-98a8-1f3b-a442-26668b2da446@infradead.org> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.67.101.90] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggpeml500002.china.huawei.com (7.185.36.158) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS,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 On 2022/8/17 2:00, Randy Dunlap wrote: Hi Randy, Thanks for your comments. > 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. I will fix it in the next version. Thanks. >> +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. Regards, Junhao.