From: "Jan Beulich" Subject: [PATCH 2/3] x86/APIC: command line option adjustments Date: Wed, 30 Jul 2014 17:08:01 +0100 Message-ID: <53D934810200007800027BBE@mail.emea.novell.com> References: <53D933A60200007800027BAE@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__Part8BB90C71.1__=" Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XCWQ7-0003Ff-7f for xen-devel@lists.xenproject.org; Wed, 30 Jul 2014 16:08:03 +0000 In-Reply-To: <53D933A60200007800027BAE@mail.emea.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel Cc: Ian Campbell , Keir Fraser , Ian Jackson , Tim Deegan List-Id: xen-devel@lists.xenproject.org This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__Part8BB90C71.1__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Improving their documentation, and converting one option to boolean since it has only boolean meaning. Signed-off-by: Jan Beulich --- a/docs/misc/xen-command-line.markdown +++ b/docs/misc/xen-command-line.markdown @@ -674,6 +674,10 @@ debug hypervisor only). > `=3D ` =20 ### ioapic\_ack +> `=3D old | new` + +> Default: `new` unless directed-EOI is supported + ### iommu > `=3D List of [ | force | required | intremap | qinval | snoop = | sharept | dom0-passthrough | dom0-strict | amd-iommu-perdev-intremap | = workaround_bios_bug | verbose | debug ]` =20 @@ -789,10 +793,10 @@ Force the use of `[:]: ACPI table. =20 ### lapic +> `=3D ` =20 Force the use of use of the local APIC on a uniprocessor system, even -if left disabled by the BIOS. This option will accept any value at -all. +if left disabled by the BIOS. =20 ### lapic\_timer\_c2\_ok > `=3D ` @@ -834,6 +838,9 @@ uses. The limit only applies to the hig ### max\_gsi\_irqs > `=3D ` =20 +Specifies the number of interrupts to be use for pin (IO-APIC or legacy = PIC) +based interrupts. Any higher IRQs will be available for use via PCI MSI. + ### maxcpus > `=3D ` =20 @@ -918,7 +925,7 @@ IRQ routing issues. > Default: `false` =20 Ignore the local APIC on a uniprocessor system, even if enabled by the -BIOS. This option will accept value. +BIOS. =20 ### no-real-mode (x86) > `=3D ` --- a/xen/arch/x86/apic.c +++ b/xen/arch/x86/apic.c @@ -813,12 +813,7 @@ static void __init lapic_disable(char *s setup_clear_cpu_cap(X86_FEATURE_APIC); } custom_param("nolapic", lapic_disable); - -static void __init lapic_enable(char *str) -{ - enable_local_apic =3D 1; -} -custom_param("lapic", lapic_enable); +boolean_param("lapic", enable_local_apic); =20 static void __init apic_set_verbosity(char *str) { --=__Part8BB90C71.1__= Content-Type: text/plain; name="docs-cmdline-APIC.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="docs-cmdline-APIC.patch" x86/APIC: command line option adjustments=0A=0AImproving their documentatio= n, and converting one option to boolean=0Asince it has only boolean = meaning.=0A=0ASigned-off-by: Jan Beulich =0A=0A--- = a/docs/misc/xen-command-line.markdown=0A+++ b/docs/misc/xen-command-line.ma= rkdown=0A@@ -674,6 +674,10 @@ debug hypervisor only).=0A > `=3D `= =0A =0A ### ioapic\_ack=0A+> `=3D old | new`=0A+=0A+> Default: `new` = unless directed-EOI is supported=0A+=0A ### iommu=0A > `=3D List of [ = | force | required | intremap | qinval | snoop | sharept | = dom0-passthrough | dom0-strict | amd-iommu-perdev-intremap | workaround_bio= s_bug | verbose | debug ]`=0A =0A@@ -789,10 +793,10 @@ Force the use of = `[:]:=0A ACPI table.=0A =0A ### lapic=0A+> `=3D = `=0A =0A Force the use of use of the local APIC on a uniprocessor = system, even=0A-if left disabled by the BIOS. This option will accept any = value at=0A-all.=0A+if left disabled by the BIOS.=0A =0A ### lapic\_timer\_= c2\_ok=0A > `=3D `=0A@@ -834,6 +838,9 @@ uses. The limit only = applies to the hig=0A ### max\_gsi\_irqs=0A > `=3D `=0A =0A+Specif= ies the number of interrupts to be use for pin (IO-APIC or legacy = PIC)=0A+based interrupts. Any higher IRQs will be available for use via = PCI MSI.=0A+=0A ### maxcpus=0A > `=3D `=0A =0A@@ -918,7 +925,7 @@ = IRQ routing issues.=0A > Default: `false`=0A =0A Ignore the local APIC on = a uniprocessor system, even if enabled by the=0A-BIOS. This option will = accept value.=0A+BIOS.=0A =0A ### no-real-mode (x86)=0A > `=3D `= =0A--- a/xen/arch/x86/apic.c=0A+++ b/xen/arch/x86/apic.c=0A@@ -813,12 = +813,7 @@ static void __init lapic_disable(char *s=0A setup_clear_cpu_c= ap(X86_FEATURE_APIC);=0A }=0A custom_param("nolapic", lapic_disable);=0A-= =0A-static void __init lapic_enable(char *str)=0A-{=0A- enable_local_api= c =3D 1;=0A-}=0A-custom_param("lapic", lapic_enable);=0A+boolean_param("lap= ic", enable_local_apic);=0A =0A static void __init apic_set_verbosity(char = *str)=0A {=0A --=__Part8BB90C71.1__= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --=__Part8BB90C71.1__=--