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 --- 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. ### 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 > `= ` @@ -970,7 +978,7 @@ This option can be specified more than o > `= ` ### 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` @@ -980,12 +988,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` --- 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 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) { --- 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); --- 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