Re: [PATCH] x86: default to reboot via ACPI

Avi Kivity
2008-08-26T13:33:49Z

Maciej W. Rozycki wrote:
> On Tue, 26 Aug 2008, Avi Kivity wrote:
>
>
>> Most machines are recent machines.
>>
>
> This is a bold statement I would say. Any numbers to back it up?
>
>

Only common sense. Non-recent machines are barely usable these days.
Sure they work well as a firewall or server-in-a-closet, but if you run
a desktop or a server that actually does useful work, you're running a
relatively recent machine.

>> If a machine has acpi, and the reset register is wired to the launch
>> controller, then perhaps this change is unsafe. Don't issue sysrq-b on
>> such machines.
>>
>
> If a machine has ACPI and it is broken randomly, then the results can be
> arbitrary. Hopefully not destructively. If even such a simple thing as
> wiring the reset line so that it functions correctly can be got wrong,
> more so can be more complex matters.
>

If we find that the reset was wired to the launch controller after all,
we can back out the change (after we re-evolve technology and Linux;
after all we are doomed to keep reinventing it, aren't we?).

> Failing a better alternative, I suppose the change has to go in though.
>

Let's see what breaks, if any. I understand the disgust people feel
when ACPI is mentioned, but we can't ignore reality.

--
error compiling committee.c: too many arguments to function