Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp652733pxb; Wed, 3 Feb 2021 14:19:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJxBCeYZkSzGVx3pU2cq1AApiw1lBgALLPvxxvX+panvvGrufQenlW4k/WJDO/tJtL9MEyeV X-Received: by 2002:a17:907:1181:: with SMTP id uz1mr5447994ejb.60.1612390762753; Wed, 03 Feb 2021 14:19:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612390762; cv=none; d=google.com; s=arc-20160816; b=UJDJVgy2aP3OdN9SZDopoFNgN1wgCmuAa0zcbxavVVyGbv0vhbB4v8qv+3fgM37+/1 6vD9w3Bwzn0JQLnGb5cRpAaf5ElG/+pTv+PoA//AhL5MxcuCA9HyKHDzn6FBTcMM+jVu HGucB6c4+XQXvNaISW/XJP/pqyTO/JAEIgADmRbHnsQw7IXt4zmQtJVsBK8S5yG3/HDN WAgeNycuaHGE8EqBRPayZwVCnmutp0oIpnlKwS3Iindy05qDG0Hcrud4PNOwnl6lJlM9 AhEbD1hXlU5cZijEd3988DCyi8RBX8VRaTa/iC/oFx2gYpORJPPoZEnnAgyTLcab+eSE cCQg== 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=U3lNHmrcLHPEz07StjM2qvOc5xAgjowAFca2txtg4ZL9lHKQZD5eDjOR2gPg803ub3 Gs7hTGYvLlBSRvqE0S8zeWXokaCzyQmX0Fl6bn34m09TbRjHGopUvYzT7fVRj1uILF6g M0Lw0zqb2golDk4ngvnBkoNypzlt3dL0oADJhLl2wv8saTo6OJDXuYv43qobxP91g6S1 hvE9BEhhIMJWJm7MMf+Xe+sV0fBQH9Azmrjl1mJdZX1bz3VxqQ7eKnT9WQiznpNpYKgB JmU6FG/i4pisZVhtG5EfpvAJWxuZ+6EXaTT3KmGxjwFvEHBAaR2uXmEOFPzMJl1XXwmm MOTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=k1qhr8y9; 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 cw9si2140323ejb.734.2021.02.03.14.18.57; Wed, 03 Feb 2021 14:19:22 -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=k1qhr8y9; 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 S232924AbhBCWOd (ORCPT + 99 others); Wed, 3 Feb 2021 17:14:33 -0500 Received: from smtprelay-out1.synopsys.com ([149.117.73.133]:32840 "EHLO smtprelay-out1.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232720AbhBCWN7 (ORCPT ); Wed, 3 Feb 2021 17:13:59 -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 8ABCC40490; Wed, 3 Feb 2021 22:12:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1612390378; bh=im9YPeIOIOX6v4VKPr6LIGB+a/nLiNTjVu6zUPMNTcw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:In-Reply-To: References:From; b=k1qhr8y91jhHcGN/0CdZzJalsL7UXUwn0Q3e8sEcKFtuwGIJJknsJzq82yosvACGf Jk/h3Ky7V6mkt1ikgqfN57cATia4ntjnvIDhSWPlRTMFxJgTqesQqZSlblXWyTnpew ci8oIcAUiU9XnR4ROXaTCFnnbE5pmIFHJCB+YN+Hxx4aKTihA0yEvUHkxGXZ0gH3cP trjUwfFmowPNbJnTQXtpPBHrnisL/Cx+WeuvdaNB5imlP4qLNNa14Tpkm2AcypeYsq Qv8dnrubInhMDcsuNMtkJYHTEfIXBxyHVv1CwdxlPVT9OlQSad3Otpo/3XuHkSRnHO VggzKd1kkX8Kw== Received: from de02dwia024.internal.synopsys.com (de02dwia024.internal.synopsys.com [10.225.19.81]) by mailhost.synopsys.com (Postfix) with ESMTP id 5E12EA0249; Wed, 3 Feb 2021 22:12:57 +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 Cc: Gustavo Pimentel Subject: [RESEND v4 6/6] docs: ABI: Add sysfs documentation interface of dw-xdata-pcie driver Date: Wed, 3 Feb 2021 23:12:51 +0100 Message-Id: <45f0701b523cda52b4b7f42351b63d5a0b6040b6.1612390291.git.gustavo.pimentel@synopsys.com> 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