Message ID | 20230809081825.11518-1-yangyicong@huawei.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c44e:0:b0:3f2:4152:657d with SMTP id w14csp2671576vqr; Wed, 9 Aug 2023 02:28:02 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHmL3HVptsnm2tyzIXIddOwqkEjgaAazCwzklpccq1ingr9hMVbNodGC+7NDUKUjSQIT2q2 X-Received: by 2002:a17:907:2be1:b0:99b:d178:f051 with SMTP id gv33-20020a1709072be100b0099bd178f051mr1731950ejc.64.1691573282091; Wed, 09 Aug 2023 02:28:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691573282; cv=none; d=google.com; s=arc-20160816; b=bAWTTTb2RLcY41iHLfK6SIYSp4vPPKJifK4hUG7lP7T5HPkwnn69Pb5HwynURigzhA +yE9tp8/xnxxCVlzUWze6twgmKnMN+1dryVzfJtQZZYgih8rdDk7ePHuPI2CH0ST7OPT yCXB6PrHtuTCEwmmmVmwcsi/k1y6rmG2byPKhMj6NnnjtsEBYJDKcmKES4HiBI4DwCU4 i8w3XwevPxlK7OzgtCTLbjmW24YXA1hD1cpj8r470TpPFtG0xoDBKT2nl640RLIvppbT Dhzfop8my4kTt3J/XH0KytqGOdbmlBWM1W8wRb2y1I3GJSso3Dv+cLsH2f9i/cjD4WFe rRSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=5PuHqS+4tbNs2mXXiog8nORCaoOo2u2AHdACmsNbyqY=; fh=3Xa+Ca9QE4oHBLojfhmHw+QI2cJx6cXgOgG4DAxRTgs=; b=AX5AgZBaHL6bH2W+TuM6OTuzoqj1RZZViSBn3CzkFo99whQ9OI6LdoyJAdtjgTtMcL DjPpxAeZ1O80XYgimKC7GSb5Gc0SGgpwL0bsEPuKCCDNEY4odh2sS67NIBlLf9luiPA4 5SidunBYHH0pri1aW0mh1qQfH2oPG45fhREs1AIPec2WVCZ0B7f4QJMlp30XcoPLPN7G J/zT8AyWfXOsxzE9WunjD7FnMFmoBoYijl0ZbfA7Z2k04BT8eXfSWnMyh3qEe4lXX6Ao woliaO57DMSRQHv6j1ZA6udExM94Qzldycb0XzbF2Njq9taVZ6/ogcVilOu3isKX9EJt 2qqg== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m18-20020a170906259200b00992b49a8f89si8752982ejb.650.2023.08.09.02.27.38; Wed, 09 Aug 2023 02:28:02 -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 S231690AbjHIIUn (ORCPT <rfc822;aaronkmseo@gmail.com> + 99 others); Wed, 9 Aug 2023 04:20:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36252 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229702AbjHIIUl (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 9 Aug 2023 04:20:41 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 07762E7D; Wed, 9 Aug 2023 01:20:41 -0700 (PDT) Received: from canpemm500009.china.huawei.com (unknown [172.30.72.57]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4RLNFd6BL7zcdFT; Wed, 9 Aug 2023 16:17:09 +0800 (CST) Received: from localhost.localdomain (10.50.163.32) 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.27; Wed, 9 Aug 2023 16:20:38 +0800 From: Yicong Yang <yangyicong@huawei.com> To: <jonathan.cameron@huawei.com>, <suzuki.poulose@arm.com>, <mathieu.poirier@linaro.org>, <linux-kernel@vger.kernel.org> CC: <alexander.shishkin@linux.intel.com>, <helgaas@kernel.org>, <linux-pci@vger.kernel.org>, <prime.zeng@hisilicon.com>, <linuxarm@huawei.com>, <yangyicong@hisilicon.com>, <hejunhao3@huawei.com> Subject: [PATCH 0/5] Several updates for PTT driver Date: Wed, 9 Aug 2023 16:18:20 +0800 Message-ID: <20230809081825.11518-1-yangyicong@huawei.com> X-Mailer: git-send-email 2.31.0 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.50.163.32] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To canpemm500009.china.huawei.com (7.192.105.203) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773743145594072884 X-GMAIL-MSGID: 1773743145594072884 |
Series |
Several updates for PTT driver
|
|
Message
Yicong Yang
Aug. 9, 2023, 8:18 a.m. UTC
From: Yicong Yang <yangyicong@hisilicon.com>
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
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(-)