From: "Jan Beulich" Subject: [PATCH 1/3] x86/ACPI: command line option adjustments Date: Wed, 30 Jul 2014 17:07:34 +0100 Message-ID: <53D934660200007800027BBA@mail.emea.novell.com> References: <53D933A60200007800027BAE@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__PartAC9E2B56.1__=" Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XCWPg-0003C9-Jr for xen-devel@lists.xenproject.org; Wed, 30 Jul 2014 16:07:36 +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. --=__PartAC9E2B56.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 @@ -111,20 +111,28 @@ Specify which ACPI MADT table to parse f than one is present. =20 ### acpi\_pstate\_strict -> `=3D ` +> `=3D ` + +> Default: `false` + +Enforce checking that P-state transitions by the ACPI cpufreq driver +actually result in the nominated frequency to be established. A warning +message will be logged if that isn't the case. =20 ### acpi\_skip\_timer\_override > `=3D ` =20 Instruct Xen to ignore timer-interrupt override. =20 -Because responsibility for ACPI processing is shared between Xen and -the domain 0 kernel this option is automatically propagated to the -domain 0 command line - ### acpi\_sleep > `=3D s3_bios | s3_mode` =20 +`s3_bios` instructs Xen to invoke video BIOS initialization during S3 +resume. + +`s3_mode` instructs Xen to set up the boot time (option `vga=3D`) video +mode during S3 resume. + ### allowsuperpage > `=3D ` =20 @@ -970,7 +978,7 @@ This option can be specified more than o > `=3D ` =20 ### reboot -> `=3D t[riple] | k[bd] | n[o] [, [w]arm | [c]old]` +> `=3D t[riple] | k[bd] | a[cpi] | p[ci] | n[o] [, [w]arm | [c]old]` =20 Default: `0` =20 @@ -980,12 +988,16 @@ Specify the host reboot method. =20 `cold` instructs Xen to set the cold reboot flag. =20 +`no` instructs Xen to not automatically reboot after panics or crashes. + `triple` instructs Xen to reboot the host by causing a triple fault. =20 `kbd` instructs Xen to reboot the host via the keyboard controller. =20 `acpi` instructs Xen to reboot the host using RESET_REG in the ACPI FADT. =20 +`pci` instructs Xen to reboot the host using PCI reset register (port = CF9). + ### sched > `=3D credit | credit2 | sedf | arinc653` =20 --- a/xen/arch/x86/acpi/cpufreq/cpufreq.c +++ b/xen/arch/x86/acpi/cpufreq/cpufreq.c @@ -57,8 +57,8 @@ struct acpi_cpufreq_data *cpufreq_drv_da =20 static struct cpufreq_driver acpi_cpufreq_driver; =20 -static unsigned int __read_mostly acpi_pstate_strict; -integer_param("acpi_pstate_strict", acpi_pstate_strict); +static bool_t __read_mostly acpi_pstate_strict; +boolean_param("acpi_pstate_strict", acpi_pstate_strict); =20 static int check_est_cpu(unsigned int cpuid) { --- a/xen/arch/x86/setup.c +++ b/xen/arch/x86/setup.c @@ -73,7 +73,6 @@ boolean_param("dom0pvh", opt_dom0pvh); /* **** Linux config option: propagated to domain0. */ /* "acpi=3Doff": Sisables both ACPI table parsing and interpreter. */ /* "acpi=3Dforce": Override the disable blacklist. */ -/* "acpi=3Dstrict": Disables out-of-spec workarounds. */ /* "acpi=3Dht": Limit ACPI just to boot-time to enable HT. */ /* "acpi=3Dnoirq": Disables ACPI interrupt routing. */ static void parse_acpi_param(char *s); --- a/xen/arch/x86/shutdown.c +++ b/xen/arch/x86/shutdown.c @@ -37,9 +37,10 @@ enum reboot_type { static int reboot_mode; =20 /* - * reboot=3Db[ios] | t[riple] | k[bd] | n[o] [, [w]arm | [c]old] + * reboot=3Dt[riple] | k[bd] | a[cpi] | p[ci] | n[o] [, [w]arm | [c]old] * warm Don't set the cold reboot flag * cold Set the cold reboot flag + * no Suppress automatic reboot after panics or crashes * triple Force a triple fault (init) * kbd Use the keyboard controller. cold reset (default) * acpi Use the RESET_REG in the FADT --=__PartAC9E2B56.1__= Content-Type: text/plain; name="docs-cmdline-ACPI.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="docs-cmdline-ACPI.patch" x86/ACPI: 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@@ -111,20 +111,28 @@ Specify which ACPI MADT table to parse f=0A = than one is present.=0A =0A ### acpi\_pstate\_strict=0A-> `=3D `= =0A+> `=3D `=0A+=0A+> Default: `false`=0A+=0A+Enforce checking = that P-state transitions by the ACPI cpufreq driver=0A+actually result in = the nominated frequency to be established. A warning=0A+message will be = logged if that isn't the case.=0A =0A ### acpi\_skip\_timer\_override=0A > = `=3D `=0A =0A Instruct Xen to ignore timer-interrupt override.=0A = =0A-Because responsibility for ACPI processing is shared between Xen = and=0A-the domain 0 kernel this option is automatically propagated to = the=0A-domain 0 command line=0A-=0A ### acpi\_sleep=0A > `=3D s3_bios | = s3_mode`=0A =0A+`s3_bios` instructs Xen to invoke video BIOS initialization= during S3=0A+resume.=0A+=0A+`s3_mode` instructs Xen to set up the boot = time (option `vga=3D`) video=0A+mode during S3 resume.=0A+=0A ### = allowsuperpage=0A > `=3D `=0A =0A@@ -970,7 +978,7 @@ This option = can be specified more than o=0A > `=3D `=0A =0A ### reboot=0A-> = `=3D t[riple] | k[bd] | n[o] [, [w]arm | [c]old]`=0A+> `=3D t[riple] | = k[bd] | a[cpi] | p[ci] | n[o] [, [w]arm | [c]old]`=0A =0A Default: `0`=0A = =0A@@ -980,12 +988,16 @@ Specify the host reboot method.=0A =0A `cold` = instructs Xen to set the cold reboot flag.=0A =0A+`no` instructs Xen to = not automatically reboot after panics or crashes.=0A+=0A `triple` = instructs Xen to reboot the host by causing a triple fault.=0A =0A `kbd` = instructs Xen to reboot the host via the keyboard controller.=0A =0A = `acpi` instructs Xen to reboot the host using RESET_REG in the ACPI = FADT.=0A =0A+`pci` instructs Xen to reboot the host using PCI reset = register (port CF9).=0A+=0A ### sched=0A > `=3D credit | credit2 | sedf | = arinc653`=0A =0A--- a/xen/arch/x86/acpi/cpufreq/cpufreq.c=0A+++ b/xen/arch/= x86/acpi/cpufreq/cpufreq.c=0A@@ -57,8 +57,8 @@ struct acpi_cpufreq_data = *cpufreq_drv_da=0A =0A static struct cpufreq_driver acpi_cpufreq_driver;=0A= =0A-static unsigned int __read_mostly acpi_pstate_strict;=0A-integer_param= ("acpi_pstate_strict", acpi_pstate_strict);=0A+static bool_t __read_mostly = acpi_pstate_strict;=0A+boolean_param("acpi_pstate_strict", acpi_pstate_stri= ct);=0A =0A static int check_est_cpu(unsigned int cpuid)=0A {=0A--- = a/xen/arch/x86/setup.c=0A+++ b/xen/arch/x86/setup.c=0A@@ -73,7 +73,6 @@ = boolean_param("dom0pvh", opt_dom0pvh);=0A /* **** Linux config option: = propagated to domain0. */=0A /* "acpi=3Doff": Sisables both ACPI table = parsing and interpreter. */=0A /* "acpi=3Dforce": Override the disable = blacklist. */=0A-/* "acpi=3Dstrict": Disables out-of-spec= workarounds. */=0A /* "acpi=3Dht": Limit ACPI just to = boot-time to enable HT. */=0A /* "acpi=3Dnoirq": Disables ACPI = interrupt routing. */=0A static void parse_acpi_param(char= *s);=0A--- a/xen/arch/x86/shutdown.c=0A+++ b/xen/arch/x86/shutdown.c=0A@@ = -37,9 +37,10 @@ enum reboot_type {=0A static int reboot_mode;=0A =0A = /*=0A- * reboot=3Db[ios] | t[riple] | k[bd] | n[o] [, [w]arm | [c]old]=0A+ = * reboot=3Dt[riple] | k[bd] | a[cpi] | p[ci] | n[o] [, [w]arm | [c]old]=0A = * warm Don't set the cold reboot flag=0A * cold Set the cold reboot = flag=0A+ * no Suppress automatic reboot after panics or crashes=0A * = triple Force a triple fault (init)=0A * kbd Use the keyboard controller= . cold reset (default)=0A * acpi Use the RESET_REG in the FADT=0A --=__PartAC9E2B56.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 --=__PartAC9E2B56.1__=--