Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp211859pxf; Tue, 6 Apr 2021 19:52:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxl7k+/eEWjM8SHU6U1OdtDj4JIVw83zTInjL469RfMeohZRxEw0TOi+p5btstgukyWd+At X-Received: by 2002:a17:906:430f:: with SMTP id j15mr1192963ejm.543.1617763979345; Tue, 06 Apr 2021 19:52:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617763979; cv=none; d=google.com; s=arc-20160816; b=w2Rv4QtkHamC3wca7TadIb+ilS8Tl4z/IFRH9xDA9G/ngWHTu5AYZHNkiQe6f+1zju WLnBKXQmxrCPBH3IkN98UapOeH2UUCDRT29paXVx8fB4NL22vheaVHTg1//ZTkhuhlRt 5BgC4SOw8Uy8akOS7qCNT+d5gw6YSaW7N1G9LbbND4zSCrBOKut2qnIycKoKFr8c7+S/ DyFjpqCTlZeVKoDs3kCxxzMBU6Svq2YQBO7J8W4skAftvEHRJJ8HY41jMSVBI5fbH2k+ TaU4LjDKwCSecqOwhWRPMxtfcZhkbS2ka50d4sqd1v6+Eipo0o1UBYrBJv0aVVAyQ77O MLVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=3WbFhspahaDA3+Or4XDqQALy1hKCVwRh3QfUsvfipuU=; b=OnbaqE037szkjj3SqXNXYAQlTFbQHPsllzGBC6W2MEgX3PhWB6sFnbUbkpoumCSY+8 p5IXdPbNC/aJdx08RPixYAjd7fidrH+w9vHkn1y/V8MrHZ80OsVcr1Ptuz1XOFX8IfZW G+ETPPHPc54rIboJBb85OFqKUUrQSxZibsPg+mnM0MgVElCY6Qt9RBM5g1ObwZ52nvHK g6dLBHdzwuPFTj31GXV7QwlWi6vMgKWCsuDkXAQba2h5s8X/c4WTSPFQ6ChIE88o5AzD Fvh5Oy5rDG5mAp7pTmyMBHgcT9sDBjCftWlEi2bDWcOVW4bvgHfSJo8A4vgY1+YvB7Kx ydBw== 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=hisilicon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gt26si9825750ejb.589.2021.04.06.19.52.36; Tue, 06 Apr 2021 19:52:59 -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=hisilicon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344223AbhDFMsv (ORCPT + 99 others); Tue, 6 Apr 2021 08:48:51 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:15920 "EHLO szxga06-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243230AbhDFMsr (ORCPT ); Tue, 6 Apr 2021 08:48:47 -0400 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga06-in.huawei.com (SkyGuard) with ESMTP id 4FF6jP0wzCzkhqX; Tue, 6 Apr 2021 20:46:49 +0800 (CST) Received: from localhost.localdomain (10.67.165.24) by DGGEMS413-HUB.china.huawei.com (10.3.19.213) with Microsoft SMTP Server id 14.3.498.0; Tue, 6 Apr 2021 20:48:27 +0800 From: Yicong Yang To: , , , CC: , , , , , , , Subject: [PATCH 0/4] Add support for HiSilicon PCIe Tune and Trace device Date: Tue, 6 Apr 2021 20:45:50 +0800 Message-ID: <1617713154-35533-1-git-send-email-yangyicong@hisilicon.com> X-Mailer: git-send-email 2.8.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.165.24] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org HiSilicon PCIe tune and trace device(PTT) is a PCIe Root Complex integrated Endpoint(RCiEP) device, providing the capability to dynamically monitor and tune the PCIe traffic(tune), and trace the TLP headers(trace). The driver exposes the user interface through debugfs, so no need for extra user space tools. The usage is described in the document. Yicong Yang (4): hwtracing: Add trace function support for HiSilicon PCIe Tune and Trace device hwtracing: Add tune function support for HiSilicon PCIe Tune and Trace device docs: Add documentation for HiSilicon PTT device driver MAINTAINERS: Add maintainer for HiSilicon PTT driver Documentation/trace/hisi-ptt.rst | 316 ++++++ MAINTAINERS | 7 + drivers/Makefile | 1 + drivers/hwtracing/Kconfig | 2 + drivers/hwtracing/hisilicon/Kconfig | 8 + drivers/hwtracing/hisilicon/Makefile | 2 + drivers/hwtracing/hisilicon/hisi_ptt.c | 1636 ++++++++++++++++++++++++++++++++ 7 files changed, 1972 insertions(+) create mode 100644 Documentation/trace/hisi-ptt.rst create mode 100644 drivers/hwtracing/hisilicon/Kconfig create mode 100644 drivers/hwtracing/hisilicon/Makefile create mode 100644 drivers/hwtracing/hisilicon/hisi_ptt.c -- 2.8.1