Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp428942pxf; Wed, 7 Apr 2021 03:06:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwBxyR1WL0GFtEm/HHLTm808L3kDPQX2hkYJN5Q8dMabM5Sg3qyGodVDPIhwxAMpxjhHB52 X-Received: by 2002:a17:906:f842:: with SMTP id ks2mr2813377ejb.322.1617790002924; Wed, 07 Apr 2021 03:06:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617790002; cv=none; d=google.com; s=arc-20160816; b=QDqCVQddtxuaxMJ0WdIFIPUQGVze1pR+5Deq5gHVSow71VlGPLf0aGlCvTGngCqMr4 N1DGehDtboLlrtCHTel6nfTlyhq4a9jPRJrA7htR2ded1refg0YHgCfcxNyr8p7bjw+Q zOeWdD664Bon0ohfIiQIMqLh8p18RA6S7z9qNIhQxN3450WKdNecK7Rv2TlJ+3XBs/Ze sKtDGCnc+S8KWpFVfvL/RsFfId+y9A7oETwSta2WSufsKQeMcZQnFtepQpplVSvjZF7o Ave2/XSfjjCPv1wzIrf368rCGqS5GEEKisV8+k6GaVyeh9E1yVo/IlMcOb2YSfxot9Ie 2phQ== 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=pnuB11flyi0Xk5ygTKMGySf//d4PDjncX+wgxRayjiU=; b=zMUMKzZf+MJrGouuwUQXajljKipXDS02zQe8OckDygvg781aQlqxcY50ZnqfoTQfPw 0K0uQI60FBficccp6L20X+43x3ZXjXyN9XFqz8CbC4GgAp1oeeGd/eCAhBGNKPfFCUlx H91HOdlN/Q19pZf6dAA80qXA800bbI0Sb2W5HvgVMD42At6HnIsEjaOadSaUozuuSQaZ zwxEKt16Tt82G+P+e2fnQV1qseCtMGfgByxCs06+tmCWP3BGW53jo0oRBXUfo0uFI8/v ks1xiJWoJkEoe0K8qqt4ASRvR2YXgwC8+cWSPTV4iNm5YC0WJfUi4f1/v5xbd7BGQmxs P6kw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=NJdRJvLY; 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=QUARANTINE sp=QUARANTINE 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 b20si7879295edx.413.2021.04.07.03.06.20; Wed, 07 Apr 2021 03:06:42 -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; dkim=pass header.i=@synopsys.com header.s=mail header.b=NJdRJvLY; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=synopsys.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346993AbhDFR1X (ORCPT + 99 others); Tue, 6 Apr 2021 13:27:23 -0400 Received: from smtprelay-out1.synopsys.com ([149.117.73.133]:33622 "EHLO smtprelay-out1.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346942AbhDFR1M (ORCPT ); Tue, 6 Apr 2021 13:27:12 -0400 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 41E9140133; Tue, 6 Apr 2021 17:27:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1617730024; bh=iSxtzBdDE2cJnjE+FKkXJyxRBdv7BWhqnOaNUTMnKw0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:In-Reply-To: References:From; b=NJdRJvLYo9ozC8UTf1Qw7tMHdvwCP4/aoLXUun3NlTLvOyVWZflwrpe1zb7TtSvKr VmGRVgNZu/5Z2BA1Wj0NiqtjUd6Ta6m9SPBCzypxRaUHZwnW9VPozyzm9tSIUkR0sE o3sYeQpIWhJWACoTRgl5diV7rSbmhH3/eNucJLGZutnW7V/1eJ/ZEmlAeYbSLfjJtQ KKFAzwsLAnV6rDY892/D1I+LKHeGx+sr5OStMoQGGexPt9Lz1WL8OkhYHgB8DeO1li U2h5V2aTvLkDNDs/OIffTC296jBVkl6rDz//Ut++QxIxCFHbew4CQENVoI34Oj1gMe xPEw2n9dAtPbA== Received: from de02dwvm009.internal.synopsys.com (de02dwvm009.internal.synopsys.com [10.225.17.73]) by mailhost.synopsys.com (Postfix) with ESMTP id 1ABFDA0237; Tue, 6 Apr 2021 17:27:03 +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 , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , Stephen Rothwell Cc: Gustavo Pimentel Subject: [PATCH v11 4/4] docs: ABI: Add sysfs documentation interface of dw-xdata-pcie driver Date: Tue, 6 Apr 2021 19:26:49 +0200 Message-Id: <38dcaa99313ad7b42d492ddd3576a33c4029fa6b.1617729785.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 | 49 ++++++++++++++++++++++++++++ 1 file changed, 49 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..f574e8e --- /dev/null +++ b/Documentation/ABI/testing/sysfs-driver-xdata @@ -0,0 +1,49 @@ +What: /sys/class/misc/drivers/dw-xdata-pcie./write +Date: April 2021 +KernelVersion: 5.13 +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 or to disable the PCIe traffic generator + in all directions. + + Write y/1/on to enable, n/0/off to disable + + Usage e.g. + echo 1 > /sys/class/misc/dw-xdata-pcie./write + or + echo 0 > /sys/class/misc/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/class/misc/dw-xdata-pcie./write + 204 + + The file is read and write. + +What: /sys/class/misc/dw-xdata-pcie./read +Date: April 2021 +KernelVersion: 5.13 +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 or to disable the PCIe traffic generator + in all directions. + + Write y/1/on to enable, n/0/off to disable + + Usage e.g. + echo 1 > /sys/class/misc/dw-xdata-pcie./read + or + echo 0 > /sys/class/misc/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/class/misc/dw-xdata-pcie./read + 199 + + The file is read and write. -- 2.7.4