Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp690475rwe; Thu, 1 Sep 2022 06:20:10 -0700 (PDT) X-Google-Smtp-Source: AA6agR5jsRiw6JfD3fDYrsXQG1108IXh2z46ILVkSB9296H572YQPhQ0nWfDCgqUhZtN6Oib7u0f X-Received: by 2002:a05:6402:b15:b0:447:ee8c:7ace with SMTP id bm21-20020a0564020b1500b00447ee8c7acemr24383709edb.306.1662038410184; Thu, 01 Sep 2022 06:20:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662038410; cv=none; d=google.com; s=arc-20160816; b=YoutvyAupzL7hU9XC+h/DBBGbwosTAtVmSwOxwXdwVJLmV3alo091ko6HDqGEXxYoo PZCQAsZpyuneKVBgoXOzZXwwaDngpXbkDUDBtTq+ipensSOw6WiCWMQLc7pfUHL5fQnX gxi39t+Gie5Wty89kW5SOg1Diwd/r6tg9yj0BkTtMgwnZNRDiDMqDwfMgQEJmSxeZ67l nYVqpBk+i/9wzF80IJQLaxh7XIxVC/MbzfPy1z974FdCl5P0VCwRvWAN4A0v/mUI5sZJ TGypUE0WkWw07BlKS8GJLl7J/G8epY/7Zg8MV9Hblmjh1IW1BSM9ShRVMq7rwUAgOuqm Fmqg== 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=YerPs04jMe7udNshonGJd98UNJQdUQRlwiSE6VrLN78=; b=LTKJSbwroc7WacZdEFptbdsRG/u+Gb51TsufnSX99Vw41P1N2wUcHdL+PLcZaC/OJI sZ1apx0ZhvkRl5pQ/Fudgkroa0RG+HgCntg0QyGz5rnAYUeeig7cF4Ar5KH1a/FUzyfu FhCqJFCK9jB++dH2MbfmID+kSTLUorKylqpbxQ/ewkn+Vik2C+rtlJJUH2H0YEp2QLem MF8O6mrJkdyfwH7CqCDOi28HCJofhcbRv5qyLO4DNvUKDYdfX0byQYHuzJaiOv5ngBQV yQsw6/F8sSIMT6ruXb62Fcy3/tL4e3kPs8CDj5gd9XitxUgc83Fiy43N8blh1j+6+S6b wjyg== 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 rl24-20020a170907217800b0073d8650d612si11968208ejb.374.2022.09.01.06.19.43; Thu, 01 Sep 2022 06:20:10 -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 S234272AbiIANNj (ORCPT + 99 others); Thu, 1 Sep 2022 09:13:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233055AbiIANM0 (ORCPT ); Thu, 1 Sep 2022 09:12:26 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69A8B2F649 for ; Thu, 1 Sep 2022 06:11:46 -0700 (PDT) Received: from dggpeml500024.china.huawei.com (unknown [172.30.72.53]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4MJLv738TNzkWj8; Thu, 1 Sep 2022 21:08:03 +0800 (CST) Received: from dggpeml500002.china.huawei.com (7.185.36.158) by dggpeml500024.china.huawei.com (7.185.36.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Thu, 1 Sep 2022 21:11:44 +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; Thu, 1 Sep 2022 21:11:44 +0800 Subject: Re: [PATCH v9 0/2] Add support for UltraSoc System Memory Buffer To: , , , References: <20220818132231.28240-1-hejunhao3@huawei.com> CC: , , , , , , , From: hejunhao Message-ID: Date: Thu, 1 Sep 2022 21:11:30 +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: <20220818132231.28240-1-hejunhao3@huawei.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.67.101.90] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) 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 Gentle ping. Any comment or suggestion is appreciated. thanks. On 2022/8/18 21:22, Junhao He wrote: > Add support for UltraSoc System Memory Buffer. > > Change since v8: > - Insert a blank line at the end of the config tag in Kconfig. > - Fix the "llseek" initialization. > - Link: https://lore.kernel.org/linux-arm-kernel/20220816131634.38195-1-hejunhao3@huawei.com/ > > Change since v7: > - Use the macros for register bit flags and numbers of resource. > - Fix punctuation. > - Update the Date tag and the KernelVersion tag in the document. > - Link: https://lore.kernel.org/lkml/20220712091353.34540-1-hejunhao3@huawei.com/ > > Change since v6: > - Modify the code style and driver description according to Suzuki's comment. > - Modify configuration of "drvdata->reading", to void problems in open/read > concurrency scenario. > - Rename the macro of "SMB_FLOW_MASK". > - Use the "handle->head" to determine the page number and offset. > - Link: https://lore.kernel.org/linux-arm-kernel/20220606130223.57354-1-liuqi115@huawei.com/ > > Change since v5: > - Address the comments from Suzuki, add some comments in SMB document, and modify > configuration of "drvdata->reading", to void problems in multi-core concurrency scenario > - Link: https://lore.kernel.org/linux-arm-kernel/20220416083953.52610-1-liuqi115@huawei.com/ > > Change since v4: > - Add a simple document of SMB driver according to Suzuki's comment. > - Address the comments from Suzuki. > - Link: https://lore.kernel.org/linux-arm-kernel/20220128061755.31909-1-liuqi115@huawei.com/ > > Change since v3: > - Modify the file header according to community specifications. > - Address the comments from Mathieu. > - Link: https://lore.kernel.org/linux-arm-kernel/20211118110016.40398-1-liuqi115@huawei.com/ > > Change since v2: > - Move ultrasoc driver to drivers/hwtracing/coresight. > - Link: https://lists.linaro.org/pipermail/coresight/2021-November/007310.html > > Change since v1: > - Drop the document of UltraSoc according to Mathieu's comment. > - Add comments to explain some private hardware settings. > - Address the comments from Mathieu. > - Link: https://lists.linaro.org/pipermail/coresight/2021-August/006842.html > > Change since RFC: > - Move driver to drivers/hwtracing/coresight/ultrasoc. > - 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): > drivers/coresight: Add UltraSoc System Memory Buffer driver > Documentation: Add document for UltraSoc SMB drivers > > .../sysfs-bus-coresight-devices-ultra_smb | 31 + > .../trace/coresight/ultrasoc-smb.rst | 80 +++ > drivers/hwtracing/coresight/Kconfig | 11 + > drivers/hwtracing/coresight/Makefile | 1 + > drivers/hwtracing/coresight/ultrasoc-smb.c | 636 ++++++++++++++++++ > drivers/hwtracing/coresight/ultrasoc-smb.h | 115 ++++ > 6 files changed, 874 insertions(+) > create mode 100644 Documentation/ABI/testing/sysfs-bus-coresight-devices-ultra_smb > create mode 100644 Documentation/trace/coresight/ultrasoc-smb.rst > create mode 100644 drivers/hwtracing/coresight/ultrasoc-smb.c > create mode 100644 drivers/hwtracing/coresight/ultrasoc-smb.h >