linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jon Derrick <jonathan.derrick@intel.com>
To: Bjorn Helgaas <helgaas@kernel.org>
Cc: <linux-pci@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	<linux-doc@vger.kernel.org>,
	Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>,
	Keith Busch <keith.busch@intel.com>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Mika Westerberg <mika.westerberg@linux.intel.com>,
	Sinan Kaya <okaya@codeaurora.org>,
	Logan Gunthorpe <logang@deltatree.com>,
	Stephen Bates <sbates@raithlin.com>,
	Jon Derrick <jonathan.derrick@intel.com>
Subject: [RFC 3/3] docs: Document the expanded hp{io,mem}size interface
Date: Tue, 17 Jul 2018 15:39:47 -0600	[thread overview]
Message-ID: <1531863587-3723-4-git-send-email-jonathan.derrick@intel.com> (raw)
In-Reply-To: <1531863587-3723-1-git-send-email-jonathan.derrick@intel.com>

The expanded interface allows specifying sizes on a per-device/per-bus
path granularity.

Signed-off-by: Jon Derrick <jonathan.derrick@intel.com>
---
 Documentation/admin-guide/kernel-parameters.txt | 21 +++++++++++++++++----
 1 file changed, 17 insertions(+), 4 deletions(-)

diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
index 533ff5c..8e4c129 100644
--- a/Documentation/admin-guide/kernel-parameters.txt
+++ b/Documentation/admin-guide/kernel-parameters.txt
@@ -3142,11 +3142,24 @@
 				the default.
 				off: Turn ECRC off
 				on: Turn ECRC on.
-		hpiosize=nn[KMG]	The fixed amount of bus space which is
-				reserved for hotplug bridge's IO window.
+		hpiosize=
+				Format:
+				<nn[KMG]>
+				<nn[KMG]>@][<domain>:]<bus>[:<slot>.<func>][; ...]
+				<nn[KMG]>@]pci:<vendor>:<device>\
+						[:<subvendor>:<subdevice>][; ...]
+				The fixed amount of bus space which is reserved
+				for the matching hotplug bridge(s)'s IO window.
 				Default size is 256 bytes.
-		hpmemsize=nn[KMG]	The fixed amount of bus space which is
-				reserved for hotplug bridge's memory window.
+		hpmemsize=
+				Format:
+				<nn[KMG]>[P]
+				<nn[KMG]>[P]@][<domain>:]<bus>[:<slot>.<func>][; ...]
+				<nn[KMG]>[P]@]pci:<vendor>:<device>\
+						[:<subvendor>:<subdevice>][; ...]
+				The fixed amount of bus space which is reserved
+				for the matching hotplug bridge(s)'s memory window.
+				'P' specifies prefetchable.
 				Default size is 2 megabytes.
 		hpbussize=nn	The minimum amount of additional bus numbers
 				reserved for buses below a hotplug bridge.
-- 
1.8.3.1

      parent reply	other threads:[~2018-07-17 21:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-17 21:39 [RFC 0/3] PCI: Granular hotplug memory/io reservation Jon Derrick
2018-07-17 21:39 ` [RFC 1/3] PCI: Equalize hotplug memory for non/occupied slots Jon Derrick
2018-07-17 21:39 ` [RFC 2/3] PCI: Granularize hpmemsize and hpiosize per-id/path Jon Derrick
2018-07-17 21:39 ` Jon Derrick [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1531863587-3723-4-git-send-email-jonathan.derrick@intel.com \
    --to=jonathan.derrick@intel.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=helgaas@kernel.org \
    --cc=keith.busch@intel.com \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=logang@deltatree.com \
    --cc=lorenzo.pieralisi@arm.com \
    --cc=mika.westerberg@linux.intel.com \
    --cc=okaya@codeaurora.org \
    --cc=sbates@raithlin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).