Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp3102428pxy; Wed, 4 Aug 2021 02:19:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxDs/BS8+VL4Js6iYgAZ87lg+bomMWXn18zG0/NF4e2sc4qjsXDi9TKNHdnyOB2V0ANY3Aq X-Received: by 2002:a6b:7a04:: with SMTP id h4mr830506iom.149.1628068790247; Wed, 04 Aug 2021 02:19:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628068790; cv=none; d=google.com; s=arc-20160816; b=DF95RDp9vFDH33DsivGwToNgMIwLnfMu5Ll6KzdD5piWn6vW4Z/CM4XakzbwIMjHP5 f5FTe7cfvsnFo36rX9iAJ0WybKAeLuWJ/4xloK+hyJj7CBd4dRFNKO/3uOjLaXdlzajR RRv/qlZ+JO2AY2WqnlMOmblmGYrbsdDQjzxZ+WK+1ioUrAtgFqY+6jPxzRq2SMnaFleF gaEJRggphn4HXZDWKyyrqfztv3hNgKQbT6/+lozgbU/2B6nmo+CY1YkNIRi1nbAKD4pC RCgTXYLQ764LqglafD1gyscGL9fFw1KI8Z7Nz5jT36D/4pU5WfnjoExzRz5tX6VO/S7v pQhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=ERxGjTnVSuIZTf5hCA6fluEnQbd1+pzbrDxzV3eCuE4=; b=GjYk9D4h+Gv2haXC3WGq4bLp2Mp/ER/j0XICaGMEokE0L52c2PaCbKobBU/DJRcqa6 c3qqJrCmxCBKLisJQQkedahNiLP8M29K4g16QyZLGkMe1IoDknROfqzfG73xcItZcWqN V+oKHzfgbXT+PDgvIehSRNfCoc9RNxjF7dNTNfpEvrXM8OcXcDky5aD2TTldFcwUjVhZ bqvDh1Z7AMRY4p8ZF6o/Mit5IM2xiBWQlUOe8OuQuB8haAIgTpMNHaCW6tz8PC4Evu1A /01Pu/A9rc3OzKT1WjgAn538puadwrqEKSUjVXXlmqCS+iphaT+T3wY+CHilqvWcPGLz TuIg== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 13si1916916ilt.16.2021.08.04.02.19.33; Wed, 04 Aug 2021 02:19:50 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236074AbhHDIFr (ORCPT + 99 others); Wed, 4 Aug 2021 04:05:47 -0400 Received: from szxga02-in.huawei.com ([45.249.212.188]:7920 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236045AbhHDIFq (ORCPT ); Wed, 4 Aug 2021 04:05:46 -0400 Received: from dggemv704-chm.china.huawei.com (unknown [172.30.72.54]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4Gfkj12P05z83qs; Wed, 4 Aug 2021 16:01:41 +0800 (CST) Received: from dggema757-chm.china.huawei.com (10.1.198.199) by dggemv704-chm.china.huawei.com (10.3.19.47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2176.2; Wed, 4 Aug 2021 16:05:32 +0800 Received: from [127.0.0.1] (10.69.38.203) by dggema757-chm.china.huawei.com (10.1.198.199) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Wed, 4 Aug 2021 16:05:31 +0800 Subject: Re: [PATCH 0/2] coresight: ultrasoc: Add support for System Memory Buffer device To: Linuxarm , , , CC: , , References: <20210719111737.47891-1-liuqi115@huawei.com> From: "liuqi (BA)" Message-ID: <41661d60-d8ef-9d50-57eb-8964c6f6eef8@huawei.com> Date: Wed, 4 Aug 2021 16:05:31 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <20210719111737.47891-1-liuqi115@huawei.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Originating-IP: [10.69.38.203] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To dggema757-chm.china.huawei.com (10.1.198.199) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Gentle ping... Hi Mathieu and Suzuki, can you have a look at this patchset? thanks. On 2021/7/19 19:17, Qi Liu wrote: > This patchset add support for SMB(System Memory Buffer) device, SMB > obtains CPU instructions from Coresight ETM device and stores these > messages in system memory. > SMB is developed by Ultrasoc technology, which is acquired by Siemens, > and we still use "Ultrasoc" to name document and driver. > > Change since RFC: > - Move ultrasoc driver to drivers/hwtracing/coresight. > - Remove ultrasoc-axi-com.c, as AXI-COM doesn't need to be configured in > basic tracing function. > - Remove ultrasoc.c as SMB does not need to register with the ultrasoc core. > - Address the comments from Mathieu and Suzuki. > - Link: https://lists.linaro.org/pipermail/coresight/2021-June/006535.html > > Qi Liu (2): > Documentation: tracing: Documentation for ultrasoc SMB drivers > coresight: ultrasoc: Add System Memory Buffer driver > > .../trace/coresight/ultrasoc-trace.rst | 193 +++++ > MAINTAINERS | 7 + > drivers/hwtracing/coresight/Kconfig | 3 + > drivers/hwtracing/coresight/Makefile | 2 + > drivers/hwtracing/coresight/ultrasoc/Kconfig | 12 + > drivers/hwtracing/coresight/ultrasoc/Makefile | 6 + > .../coresight/ultrasoc/ultrasoc-smb.c | 722 ++++++++++++++++++ > .../coresight/ultrasoc/ultrasoc-smb.h | 142 ++++ > 8 files changed, 1087 insertions(+) > create mode 100644 Documentation/trace/coresight/ultrasoc-trace.rst > create mode 100644 drivers/hwtracing/coresight/ultrasoc/Kconfig > create mode 100644 drivers/hwtracing/coresight/ultrasoc/Makefile > create mode 100644 drivers/hwtracing/coresight/ultrasoc/ultrasoc-smb.c > create mode 100644 drivers/hwtracing/coresight/ultrasoc/ultrasoc-smb.h >