RE: [PATCH] reboot: perform warm/cold reset correctly for CF9 type

From: Li, Fei
Date: Wed Aug 21 2013 - 23:33:14 EST


> Subject: RE: [PATCH] reboot: perform warm/cold reset correctly for CF9 type
>
> The thing is that the existing "warm" and "cold" means something different, I
> believe (skip post vs do post.) It is possible it just works, but it would be good to
> know which platforms or works on.
>
> Also, why do you need the cf9 boot method at all? All current systems * should
> * use the ACPI method.
>

In fact, ACPI method also implements reset by writing RESET_VALUE into RESET_REG
port. In our platform, it also uses port 0xCF9. The difference between cold and wart reset
is whether power cycle is involved or not. After all, this is another topic.

From the source code, CF9 boot method are still used by some apple MAC and dell
platforms if I understand correctly.

Back to our patch, if you really concern the effect of cold reboot 0x0E to current existed
platforms, we can set the default value of reboot_mode as REBOOT_WARM.

Does it make sense?

Thanks,
Fei
èº{.nÇ+‰·Ÿ®‰­†+%ŠËlzwm…ébëæìr¸›zX§»®w¥Š{ayºÊÚë,j­¢f£¢·hš‹àz¹®w¥¢¸ ¢·¦j:+v‰¨ŠwèjØm¶Ÿÿ¾«‘êçzZ+ƒùšŽŠÝj"ú!¶iO•æ¬z·švØ^¶m§ÿðà nÆàþY&—