Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3116160pxb; Fri, 12 Feb 2021 09:31:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJw7LiCbUTMLvd0ZRtAjF509uLgZf8yDXxAeGPol6uLkPrXo/FERLosLf9bLNR1MCISH5bmo X-Received: by 2002:a17:907:20a8:: with SMTP id pw8mr4157644ejb.9.1613151109871; Fri, 12 Feb 2021 09:31:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613151109; cv=none; d=google.com; s=arc-20160816; b=rXvY6fvXBSc+RajZPqHOt6PvfyXTp//nh3ek0am4aP2XJ4zafkfU5hYEyg2+xHE1E9 NwQSXadM5ongAWvrANWlsO26LDUyg23xpn0KF+NOG6PE+26mdAhtrYGcEZz2o/MrMR43 qLwxfrQ5TvkoErdIWq7Jb2jl16r0+P8wGYgs5yJEQH7lq/VaF+1uG2u5oAQhRLQ8Di1N rSd1q0iIxjS1XC6LtZXC3S+e6pREQTNXxqme/8WjOgrIIlYEfcxBReCkZD9MqSkwl61O flBHm1JRqMX74L5OM502aUid1FFlbITiQlalaqvquG4qwbaWvAkDVszUQIcjbhxY+1+A 0ZgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=feW9usMlqo3CN24NsCWvrYVOemAl9euY9Inq3/tP9cY=; b=lC4wc7GSGxf/Nr2ZJuPtmJ2n85wOUvcZwI1z6Tn6k6xvv0c1ctIc6B0GiOMuOOVl05 YOg/DYo7sIYPU286TXfKaSQklAGOyWuFMKKUDdr6zfg1T7mF+RoJR9zL1ihB8iFN0pAb EPOAqoVZUHZW1vZNSCT++L/rg3TUJQP9Kkox8hqKSMy9DMfoKoKRnbmUszjFRNT6FqCN PSvstmNIlvMyjdpfbXwVwEForuITro9AVnGHNsEWMZIf75shkrBjDqQG4/d2kPScrJ5f WBue/MAMW1uqsR3jWAi4RLMp73akWskR6WSuQxXHPGRJOBz4grEYmLLdjFRqnLAQrNNz myog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=OdL7A8jo; 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=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b7si6767456ejv.451.2021.02.12.09.31.25; Fri, 12 Feb 2021 09:31:49 -0800 (PST) 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; dkim=pass header.i=@synopsys.com header.s=mail header.b=OdL7A8jo; 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=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231339AbhBLRaO (ORCPT + 99 others); Fri, 12 Feb 2021 12:30:14 -0500 Received: from smtprelay-out1.synopsys.com ([149.117.87.133]:42770 "EHLO smtprelay-out1.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231131AbhBLR3S (ORCPT ); Fri, 12 Feb 2021 12:29:18 -0500 Received: from mailhost.synopsys.com (mdc-mailhost2.synopsys.com [10.225.0.210]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by smtprelay-out1.synopsys.com (Postfix) with ESMTPS id 1631BC0448; Fri, 12 Feb 2021 17:28:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1613150898; bh=RiCZ/aIb+ohi4u6232sCNdL5GCcyH0Wu9wGtiKnfNzc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:In-Reply-To: References:From; b=OdL7A8joiblzjWmFQE0PGkAWE/hDMCy6fBslZEj/cEcYxFmO1fdjQSHnBTQu6Wn9d WEzYwTZhsOZdxNO8p008+dlIReh/Weqc+SUItaXSZSEk83lYDD6BX2YSP2lyf+RKp5 iEw7blMSs+HiIX00ztNeyq6/6lObcTTciGpzHGt4ecRlylsVU84MCqvkwPczg9etnt gVMAMxpvdJpRL6JQcmH85GsWtDt6SrVX1zKRqqw05E37P3CAFtlKpFQL22DxqWJFOa wR5JQi88hStX+cdHsnfAMtjoGg01olBgMqHkkBU1Swl/nyHx6rDA6sDEDCGM1ljLnF hTP9RODYaNfXQ== Received: from de02dwia024.internal.synopsys.com (de02dwia024.internal.synopsys.com [10.225.19.81]) by mailhost.synopsys.com (Postfix) with ESMTP id D0B05A005D; Fri, 12 Feb 2021 17:28:16 +0000 (UTC) X-SNPS-Relay: synopsys.com From: Gustavo Pimentel To: linux-doc@vger.kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Derek Kiernan , Dragan Cvetic , Arnd Bergmann , Andrew Morton , Greg Kroah-Hartman , Jonathan Corbet , Bjorn Helgaas Cc: Gustavo Pimentel Subject: [PATCH v6 5/5] docs: ABI: Add sysfs documentation interface of dw-xdata-pcie driver Date: Fri, 12 Feb 2021 18:28:07 +0100 Message-Id: X-Mailer: git-send-email 2.7.4 In-Reply-To: References: In-Reply-To: References: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch describes the sysfs interface implemented on the dw-xdata-pcie driver. Signed-off-by: Gustavo Pimentel --- Documentation/ABI/testing/sysfs-driver-xdata | 46 ++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-driver-xdata diff --git a/Documentation/ABI/testing/sysfs-driver-xdata b/Documentation/ABI/testing/sysfs-driver-xdata new file mode 100644 index 00000000..09d38e1 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-driver-xdata @@ -0,0 +1,46 @@ +What: /sys/bus/pci/drivers/dw-xdata-pcie/.../write +Date: February 2021 +KernelVersion: 5.12 +Contact: Gustavo Pimentel +Description: Allows the user to enable the PCIe traffic generator which + will create write TLPs frames - from the Root Complex to the + Endpoint direction. + Usage e.g. + echo 1 > /sys/bus/pci/drivers/dw-xdata-pcie/.../write + + The user can read the current PCIe link throughput generated + through this generator in MB/s. + Usage e.g. + cat /sys/bus/pci/drivers/dw-xdata-pcie/.../write + 204 + + The file is read and write. + +What: /sys/bus/pci/drivers/dw-xdata-pcie/.../read +Date: February 2021 +KernelVersion: 5.12 +Contact: Gustavo Pimentel +Description: Allows the user to enable the PCIe traffic generator which + will create read TLPs frames - from the Endpoint to the Root + Complex direction. + Usage e.g. + echo 1 > /sys/bus/pci/drivers/dw-xdata-pcie/.../read + + The user can read the current PCIe link throughput generated + through this generator in MB/s. + Usage e.g. + cat /sys/bus/pci/drivers/dw-xdata-pcie/.../read + 199 + + The file is read and write. + +What: /sys/bus/pci/drivers/dw-xdata-pcie/.../stop +Date: February 2021 +KernelVersion: 5.12 +Contact: Gustavo Pimentel +Description: Allows the user to disable the PCIe traffic generator in all + directions. + Usage e.g. + echo 1 > /sys/bus/pci/drivers/dw-xdata-pcie/.../stop + + The file is write only. -- 2.7.4