public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86_64: Make ACPI the default reset option
@ 2007-07-16 18:02 Aaron Durbin
  2007-07-17 11:32 ` Andi Kleen
  0 siblings, 1 reply; 3+ messages in thread
From: Aaron Durbin @ 2007-07-16 18:02 UTC (permalink / raw)
  To: linux-kernel; +Cc: ak, akpm


Make ACPI be the default reset method for x86_64. If the reset mechanism fails
using ACPI, it will default to using the keyboard controller.

Signed-off-by: Aaron Durbin <adurbin@google.com>
---

This patch relies on the ACPI reboot mechanism patch.

diff --git a/Documentation/x86_64/boot-options.txt b/Documentation/x86_64/boot-options.txt
index a9253bc..1a9419c 100644
--- a/Documentation/x86_64/boot-options.txt
+++ b/Documentation/x86_64/boot-options.txt
@@ -113,10 +113,10 @@ Rebooting
    warm   Don't set the cold reboot flag
    cold   Set the cold reboot flag
    triple Force a triple fault (init)
-   kbd    Use the keyboard controller. cold reset (default)
+   kbd    Use the keyboard controller. cold reset
    acpi   Use the ACPI RESET_REG in the FADT. If ACPI is not configured or the
           ACPI reset does not work, the reboot path attempts the reset using
-          the keyboard controller.
+          the keyboard controller. (default)
 
    Using warm reset will be much faster especially on big memory
    systems because the BIOS will not go through the memory check.
diff --git a/arch/x86_64/kernel/reboot.c b/arch/x86_64/kernel/reboot.c
index 239b576..6fc1b72 100644
--- a/arch/x86_64/kernel/reboot.c
+++ b/arch/x86_64/kernel/reboot.c
@@ -29,7 +29,7 @@ static enum { 
 	BOOT_TRIPLE = 't',
 	BOOT_KBD = 'k',
 	BOOT_ACPI = 'a'
-} reboot_type = BOOT_KBD;
+} reboot_type = BOOT_ACPI;
 static int reboot_mode = 0;
 int reboot_force;
 

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] x86_64: Make ACPI the default reset option
  2007-07-16 18:02 [PATCH] x86_64: Make ACPI the default reset option Aaron Durbin
@ 2007-07-17 11:32 ` Andi Kleen
  2007-07-17 15:14   ` Aaron Durbin
  0 siblings, 1 reply; 3+ messages in thread
From: Andi Kleen @ 2007-07-17 11:32 UTC (permalink / raw)
  To: Aaron Durbin; +Cc: linux-kernel, akpm

On Monday 16 July 2007 20:02:21 Aaron Durbin wrote:
> 
> Make ACPI be the default reset method for x86_64. If the reset mechanism fails
> using ACPI, it will default to using the keyboard controller.

Again why? 

You really can't just throw out these patches without any explanation.


-Andi

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] x86_64: Make ACPI the default reset option
  2007-07-17 11:32 ` Andi Kleen
@ 2007-07-17 15:14   ` Aaron Durbin
  0 siblings, 0 replies; 3+ messages in thread
From: Aaron Durbin @ 2007-07-17 15:14 UTC (permalink / raw)
  To: Andi Kleen; +Cc: linux-kernel, akpm

On 7/17/07, Andi Kleen <ak@suse.de> wrote:
> On Monday 16 July 2007 20:02:21 Aaron Durbin wrote:
> >
> > Make ACPI be the default reset method for x86_64. If the reset mechanism fails
> > using ACPI, it will default to using the keyboard controller.
>
> Again why?
>
> You really can't just throw out these patches without any explanation.
>

Sorry. It was more of just getting a proposal on thoughts on making this
default. I wasn't too sure it would fly. :) I should have been more explicit
with my intentions. It does fix some broken systems I have seen though with
no ill side effects. I would like to see this tested on more than the systems
I have access to in order to see what kind of fall out there is.

-Aaron

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-07-17 15:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-16 18:02 [PATCH] x86_64: Make ACPI the default reset option Aaron Durbin
2007-07-17 11:32 ` Andi Kleen
2007-07-17 15:14   ` Aaron Durbin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox