Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp2907881pxf; Sun, 28 Mar 2021 05:52:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwW0gdRZVegchV6tlYfHNnWmaKul01zKSWPDkGrQbUBfwYYPNe4SjaoXYn0rhpdzR2TmKJD X-Received: by 2002:a17:906:3c50:: with SMTP id i16mr24576945ejg.175.1616935937053; Sun, 28 Mar 2021 05:52:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616935937; cv=none; d=google.com; s=arc-20160816; b=N7DMfRueEoKXTkFduJvJWOpr7c1Y6Vqi1rJqjAoEwzdSwpmbGcgZYnUJbI1vUgxNpk diWoxNEUBzB5HZ5e3rrbeDvddfG/xtgnftTeDe0HZxEhyExFIHZBG3/M4hzH6WQtfOdI df5HQnJjwQLY4Ka0DizJG6zzQrmgbSnCyPcP/nbJf27rze5xGa3+HfouedxSXNt+Fe+T ETWk8fazbCnlMTYGk6bU1qMy2Pq79+y4zHEwm8Q/uh9YMx+6tNl3o5iLnsX2+3IpFai7 Dy3cuBr5Bf9xJnRFOY5N7QE+JBcCy1xuLVvPZ0vxp4RuGr2nqOWwTjUNYeaYFcKz64uT tu/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=uRqDpjEOKECqNiAHQ0KsYQrPIbbPJlJvvviytmIoNCw=; b=BdK9V+18YYEOHxEFsubAeKVcGt51/wDYnkpV7cxnvJjkpWACEr2ZBCgrUKGVXfTkOn WsNByOGr70ylCyXol9ZOTxHUcsdqBTfnFnJCMSOW0GRlYufVkS1e2XPJ5G47vtxU95lD tJmsqU1CkJrbZBVRbufjlCKdfjKTC+Ve5JvQ/gP6/1i1adWft/V7p1ovUv5qi6il2SCW SbAEbQ82Q8xvP/R9AF5yAUgyJUxkX6A9v7C2cfJLOVFVW4sbEJPG9kyRThKOnvPjHlDg tujsefOuHZZx2xkfGXAppuK9kCApbtZVxT9AcwENCI3we0XtbJdll/fXgLmeSxQ0DrX3 scaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=MMzTLqsS; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j5si10629614edh.218.2021.03.28.05.51.54; Sun, 28 Mar 2021 05:52:17 -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=@linuxfoundation.org header.s=korg header.b=MMzTLqsS; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231131AbhC1MuY (ORCPT + 99 others); Sun, 28 Mar 2021 08:50:24 -0400 Received: from mail.kernel.org ([198.145.29.99]:51864 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230308AbhC1MuV (ORCPT ); Sun, 28 Mar 2021 08:50:21 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id DC8DD61920; Sun, 28 Mar 2021 12:50:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1616935821; bh=b+buVN5aG+qlyTWm1YcinjejUz7pYce/bddgEQgIIjY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MMzTLqsSUo/ps/llWyLsEokdTAWddTSkk4hUVogNrK8NC8xPa6ORopsMNpoM3cBBF Mr4UE7tFRyd12g9bzzLNNqpYp8MgBBlB0KXa6YiXIJ9MqiwCNkOr+TY5r/O9tbd/3u ZOWUTKu0f5Uf6KzMhlRCFn8qEMj+NCD0GlHV4RXg= Date: Sun, 28 Mar 2021 14:50:18 +0200 From: Greg Kroah-Hartman To: Gustavo Pimentel Cc: linux-doc@vger.kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Derek Kiernan , Dragan Cvetic , Arnd Bergmann , Andrew Morton , Jonathan Corbet , Bjorn Helgaas , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= Subject: Re: [PATCH v7 5/5] docs: ABI: Add sysfs documentation interface of dw-xdata-pcie driver Message-ID: References: <83d6573cf8bd03a0b3c3497ded6dce3f0b2e2ebd.1616814273.git.gustavo.pimentel@synopsys.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <83d6573cf8bd03a0b3c3497ded6dce3f0b2e2ebd.1616814273.git.gustavo.pimentel@synopsys.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Mar 27, 2021 at 04:06:55AM +0100, Gustavo Pimentel wrote: > 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..cb3ab7e > --- /dev/null > +++ b/Documentation/ABI/testing/sysfs-driver-xdata > @@ -0,0 +1,46 @@ > +What: /sys/class/misc/drivers/dw-xdata-pcie/write > +Date: April 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/class/misc/dw-xdata-pcie/write That did not look like what the code was looking for at all :( > + > + 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.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/class/misc/dw-xdata-pcie/read Again, did not match the code :( > + > + 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. > + > +What: /sys/class/misc/dw-xdata-pcie/stop > +Date: April 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/class/misc/dw-xdata-pcie/stop Same here :( Who tested this?