From: Jan Beulich Date: Wed, 6 Aug 2014 16:00:40 +0000 (+0200) Subject: x86/ACPI: command line option adjustments X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~4547 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f1e06bed5435ce89c48532caa2d2e2725765022e;p=xen.git x86/ACPI: command line option adjustments Improving their documentation, and converting one option to boolean since it has only boolean meaning. Signed-off-by: Jan Beulich --- diff --git a/docs/misc/xen-command-line.markdown b/docs/misc/xen-command-line.markdown index 1604c9a59f..4afa84f357 100644 --- 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 for APIC information, if more than one is present. ### acpi\_pstate\_strict -> `= ` +> `= ` + +> 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. ### acpi\_skip\_timer\_override > `= ` Instruct Xen to ignore timer-interrupt override. -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 > `= s3_bios | s3_mode` +`s3_bios` instructs Xen to invoke video BIOS initialization during S3 +resume. + +`s3_mode` instructs Xen to set up the boot time (option `vga=`) video +mode during S3 resume. + ### allowsuperpage > `= ` @@ -964,7 +972,7 @@ This option can be specified more than once (up to 8 times at present). > `= ` ### reboot -> `= t[riple] | k[bd] | n[o] [, [w]arm | [c]old]` +> `= t[riple] | k[bd] | a[cpi] | p[ci] | n[o] [, [w]arm | [c]old]` Default: `0` @@ -974,12 +982,16 @@ Specify the host reboot method. `cold` instructs Xen to set the cold reboot flag. +`no` instructs Xen to not automatically reboot after panics or crashes. + `triple` instructs Xen to reboot the host by causing a triple fault. `kbd` instructs Xen to reboot the host via the keyboard controller. `acpi` instructs Xen to reboot the host using RESET_REG in the ACPI FADT. +`pci` instructs Xen to reboot the host using PCI reset register (port CF9). + ### sched > `= credit | credit2 | sedf | arinc653` diff --git a/xen/arch/x86/acpi/cpufreq/cpufreq.c b/xen/arch/x86/acpi/cpufreq/cpufreq.c index 4a6aeb37bb..fa3678d692 100644 --- 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_data[NR_CPUS]; static struct cpufreq_driver acpi_cpufreq_driver; -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); static int check_est_cpu(unsigned int cpuid) { diff --git a/xen/arch/x86/setup.c b/xen/arch/x86/setup.c index 599cf0419b..6a814cda34 100644 --- 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=off": Sisables both ACPI table parsing and interpreter. */ /* "acpi=force": Override the disable blacklist. */ -/* "acpi=strict": Disables out-of-spec workarounds. */ /* "acpi=ht": Limit ACPI just to boot-time to enable HT. */ /* "acpi=noirq": Disables ACPI interrupt routing. */ static void parse_acpi_param(char *s); diff --git a/xen/arch/x86/shutdown.c b/xen/arch/x86/shutdown.c index 81dfadfe63..21f6cf5d70 100644 --- a/xen/arch/x86/shutdown.c +++ b/xen/arch/x86/shutdown.c @@ -37,9 +37,10 @@ enum reboot_type { static int reboot_mode; /* - * reboot=b[ios] | t[riple] | k[bd] | n[o] [, [w]arm | [c]old] + * reboot=t[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