Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3118827rdg; Tue, 17 Oct 2023 05:24:22 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHWmxYV2f7hA2ZK1c0YU8fBvNTNe66ZIEjO3k3crMyYPJW3sfsNlg4cZpLd6LIfgz3qDyEC X-Received: by 2002:a17:90a:86cc:b0:274:8949:d834 with SMTP id y12-20020a17090a86cc00b002748949d834mr1598707pjv.49.1697545461682; Tue, 17 Oct 2023 05:24:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697545461; cv=none; d=google.com; s=arc-20160816; b=iJBz+AmKqNOavbEGDSYyVvqH6UVxmg0Ntn7haFU8BOa7lrHsATKAK4ff4wCWfhpgWF UAyrouxpxWUK+jWC01+tObHgFSrwXPlQSQ1/KGGS5RIQyAQoQggubh/s87YNvO98py4q E4LmxwFyQpBtY46rGjzZBfkey1QxBZoTGZ0qloT6WpDQLNKQuGRZ0Q87z2M6DcqzLNwH s1RHdVW6YuI7K+0CX8a/yScHfRh4OmasVpQlRYCMsCg/ogDEpq5PC6pYAKuuyW1VifZU nmg3cuoKFp3CF6z37yi8bCTlr4ewIcRJx2GXOXto4ItiBCmlNJEOmGQ5DZIaAP99IoaX HH2A== 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:references:to:subject :cc; bh=Xa0BROUZGl5uTgtR1LP5lhpPhCYqFsrDYn/rCJsO6hY=; fh=IG+aBGnLG4dUaql/Ls1zRbq6z+6KGKD/5m++4igfWoQ=; b=p7JRr4aEc8r29Dl6BpRRGrIK7FHhmSJS3d41aigy+uN/kDq9JUIyKbwiIc+Ol8tfk0 SLGhpvzPvfAIUxX6UpSJXRkKQDrqDOd9PwhJaA+J3aWeHv7Dj6h2/KcfVpUqp3kLXSEc GPVLiz1NnmFunDoPcvXhhMQAcm/pfF/YlHdOdE2SLEQnb89OHDlEWlPZbx3Zi1pCH/K8 8uhigCKDU5luTi4LQOFEUX4GXw763bTjS2RYDItQwITh/OLLMgU/C8AYQVuB99Rky9X8 JhAhXn+DICEvYPQsJpcaW/EyCWvUQDSAuPIWemFGjaIPOVL6UEXoQFr104CdNkZSdoVF Dpgg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id gk11-20020a17090b118b00b0026f4d1e6940si8339776pjb.160.2023.10.17.05.24.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 05:24:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 36C64801CF9A; Tue, 17 Oct 2023 05:24:19 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343783AbjJQMYN (ORCPT + 99 others); Tue, 17 Oct 2023 08:24:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343954AbjJQMYD (ORCPT ); Tue, 17 Oct 2023 08:24:03 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C4CF213A; Tue, 17 Oct 2023 05:21:19 -0700 (PDT) Received: from canpemm500009.china.huawei.com (unknown [172.30.72.53]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4S8tJ01hxfzvQDd; Tue, 17 Oct 2023 20:16:32 +0800 (CST) Received: from [10.67.121.177] (10.67.121.177) by canpemm500009.china.huawei.com (7.192.105.203) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.31; Tue, 17 Oct 2023 20:21:15 +0800 CC: , , , , , , , , , Subject: Re: [PATCH v3 0/5] Several updates for PTT driver To: References: <20231010084731.30450-1-yangyicong@huawei.com> From: Yicong Yang Message-ID: Date: Tue, 17 Oct 2023 20:21:15 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 MIME-Version: 1.0 In-Reply-To: <20231010084731.30450-1-yangyicong@huawei.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.67.121.177] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To canpemm500009.china.huawei.com (7.192.105.203) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.1 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Tue, 17 Oct 2023 05:24:19 -0700 (PDT) Hi Suzuki, a gentle ping.. Hope all previous comments are addressed/clarified. Any further comment on this? Thanks. On 2023/10/10 16:47, Yicong Yang wrote: > From: Yicong Yang > > This series contains several updates for PTT driver: > - Disable interrupt when trace stops, reverse to what we do in trace start > - Always handle the interrupt in hardirq context > - Optimize the AUX buffer handling to make consumer have more time to process > the data > - Since we're a uncore PMU so block any task attach operation > - Add a dummy pmu::read() callback since the perf core may use > > Change since v2: > - Add fix tag for Patch 5/5 > - refine the commit in Patch 3/5, trying to make it more clear > Link: https://lore.kernel.org/all/20230914112223.27165-1-yangyicong@huawei.com/ > > Change since v1: > - Add Jonathan's tag, thanks > Link: https://lore.kernel.org/all/20230809081825.11518-1-yangyicong@huawei.com/ > > Junhao He (1): > hwtracing: hisi_ptt: Add dummy callback pmu::read() > > Yicong Yang (4): > hwtracing: hisi_ptt: Disable interrupt after trace end > hwtracing: hisi_ptt: Handle the interrupt in hardirq context > hwtracing: hisi_ptt: Optimize the trace data committing > hwtracing: hisi_ptt: Don't try to attach a task > > drivers/hwtracing/ptt/hisi_ptt.c | 33 +++++++++++++++++++++----------- > drivers/hwtracing/ptt/hisi_ptt.h | 1 + > 2 files changed, 23 insertions(+), 11 deletions(-) >