Patchwork PCI: Document PCI Hotplug resource reservation parameters

login
register
mail settings
Submitter Yijing Wang
Date Jan. 23, 2013, 12:29 p.m.
Message ID <1358944146-28884-1-git-send-email-wangyijing@huawei.com>
Download mbox | patch
Permalink /patch/214920/
State Accepted
Headers show

Comments

Yijing Wang - Jan. 23, 2013, 12:29 p.m.
Document pci hotplug resource reservation parameters hpiosize
and hpmemsize into Documentation/kernel-parameters.txt.
The two parameters can override default hotplug io size(256 bytes)
and default mem size(2M).

Signed-off-by: Yijing Wang <wangyijing@huawei.com>
---
 Documentation/kernel-parameters.txt |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
Bjorn Helgaas - Jan. 31, 2013, 5:15 p.m.
On Wed, Jan 23, 2013 at 5:29 AM, Yijing Wang <wangyijing@huawei.com> wrote:
> Document pci hotplug resource reservation parameters hpiosize
> and hpmemsize into Documentation/kernel-parameters.txt.
> The two parameters can override default hotplug io size(256 bytes)
> and default mem size(2M).
>
> Signed-off-by: Yijing Wang <wangyijing@huawei.com>
> ---
>  Documentation/kernel-parameters.txt |    6 ++++++
>  1 files changed, 6 insertions(+), 0 deletions(-)
>
> diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
> index 1fb269b..46eff3d 100644
> --- a/Documentation/kernel-parameters.txt
> +++ b/Documentation/kernel-parameters.txt
> @@ -2263,6 +2263,12 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
>                                 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.
> +                               Default size is 256 bytes.
> +               hpmemsize=nn[KMG]       The fixed amount of bus space which is
> +                               reserved for hotplug bridge's memory window.
> +                               Default size is 2 megabytes.
>                 realloc=        Enable/disable reallocating PCI bridge resources
>                                 if allocations done by BIOS are too small to
>                                 accommodate resources required by all child
> --
> 1.7.1
>
>

Added to pci/misc for v3.9.  Thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
index 1fb269b..46eff3d 100644
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -2263,6 +2263,12 @@  bytes respectively. Such letter suffixes can also be entirely omitted.
 				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.
+				Default size is 256 bytes.
+		hpmemsize=nn[KMG]	The fixed amount of bus space which is
+				reserved for hotplug bridge's memory window.
+				Default size is 2 megabytes.
 		realloc=	Enable/disable reallocating PCI bridge resources
 				if allocations done by BIOS are too small to
 				accommodate resources required by all child