Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1998316pxb; Thu, 11 Feb 2021 01:22:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJxS4YraN680Bb6wrx2FnBE9yHqncHav7J4Sk7bagXXDM6+v+aAfG+XzUWklW7l8xtNYCx5U X-Received: by 2002:a17:906:3603:: with SMTP id q3mr7143217ejb.201.1613035354384; Thu, 11 Feb 2021 01:22:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613035354; cv=none; d=google.com; s=arc-20160816; b=PJIf39Tl4WzizuNrbxxYuIilT2JfUruPwqx0uNCGDfW1RzkGyP8GdmrkYfWQFSW1bf LwLO5ykasoAne363oMS6ivUkPcpuQRoB+w/D9UI8fvbeEKMiSO8b+taun2GtkrxIhpqR qeVMgOUXXsQjFhHT6EfvQS0jFHbCw4y/KJQfW+5IQhuE5B2leRKB0REvDTbnz2RCFB3G 6ylCA83SBjV5HQ7TIk8PSjQ/OMc46z0EagLu8wJv8+zmHtbfjQIB2SYthyc6lKpoDY3c of6GaghP958dZ7sowXlDugMzlNzwLFgzP7gr5lqx3rC62VeS+lk4PPKHiaJ9ROKU2ynA FzFQ== 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=p3F/kn6BPVMKDTkiU+PLV8F9FRi3grdO89U/z6ZEdMA=; b=KXw9qjMw+YdRh4sgVqyzdUd5xrx17Qi80ocm2KWIQUkUNz5XzCALsAiqUyV6AtstEB tzD9Ber0EddqJeDkTJBMOs7pwz66yavl6vnldAnXCRScuFi7pYaPY5XqK4L0FqFYWeGW m0KX/8ThkzkFIv5Do4BbwRL1FMSjFAnfng061BcEO4rJofQO8nHlcuZ6WtYQ/viL/8/1 1pWpgv0ar3Fr1f0Ah72tsFowk+RDivAKuBTtJOK1zXDXJ6Hg5lm8ZHlZh14sZenhjsD0 v0XAZi2b8RJji+idfxXWcZIBM62q7jGhVqSyzXfUwlXc3h+RuibXQ218kP90EyGLvo8Z T1Uw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=HNw0YtZt; 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 g9si3406622edy.471.2021.02.11.01.22.09; Thu, 11 Feb 2021 01:22:34 -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=HNw0YtZt; 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 S230201AbhBKJVP (ORCPT + 99 others); Thu, 11 Feb 2021 04:21:15 -0500 Received: from smtprelay-out1.synopsys.com ([149.117.87.133]:56644 "EHLO smtprelay-out1.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230054AbhBKJKs (ORCPT ); Thu, 11 Feb 2021 04:10:48 -0500 Received: from mailhost.synopsys.com (mdc-mailhost1.synopsys.com [10.225.0.209]) (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 8EF98C00C5; Thu, 11 Feb 2021 09:09:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1613034554; bh=im9YPeIOIOX6v4VKPr6LIGB+a/nLiNTjVu6zUPMNTcw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:In-Reply-To: References:From; b=HNw0YtZtjRjWYZ4k0IPCCoIVTYw81Nd+HXb4SdsYHkZwfs/IiA569sJZXp1uZAgft 1wdWCbLpRte5l109pvlqeZCDYCER87r/guTNqZk5NLFYOEUQN0yKoKaZsecdqqZlHB 3DQDEu4COjkAVPfHwitO+MVJssHSHRnOplaZH+oBRhF+2w0hxdmYSpG7QsKian8TZz sjbWRgPEzZ9yVd3GM5zfsxpvtG+s8tG+f7nQDwREAtZbWI6q65BfL8I+0JbM7iPItx 99HuW3T1+BsYnrzq3Jf5cgQuz0c+/mwJS+CidetTmTIUjbfw3+zF782hpg2/eg9ozS QY9NRZC6YGzrA== Received: from de02dwia024.internal.synopsys.com (de02dwia024.internal.synopsys.com [10.225.19.81]) by mailhost.synopsys.com (Postfix) with ESMTP id 549A9A005C; Thu, 11 Feb 2021 09:09:13 +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 v5 6/6] docs: ABI: Add sysfs documentation interface of dw-xdata-pcie driver Date: Thu, 11 Feb 2021 10:08:43 +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..a7bb44b --- /dev/null +++ b/Documentation/ABI/testing/sysfs-driver-xdata @@ -0,0 +1,46 @@ +What: /sys/kernel/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/kernel/dw-xdata-pcie/write + + The user can read the current PCIe link throughput generated + through this generator. + Usage e.g. + cat /sys/kernel/dw-xdata-pcie/write + 204 MB/s + + The file is read and write. + +What: /sys/kernel/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/kernel/dw-xdata-pcie/read + + The user can read the current PCIe link throughput generated + through this generator. + Usage e.g. + cat /sys/kernel/dw-xdata-pcie/read + 199 MB/s + + The file is read and write. + +What: /sys/kernel/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/kernel/dw-xdata-pcie/stop + + The file is write only. -- 2.7.4