summaryrefslogtreecommitdiffstats
path: root/net/sched/act_skbedit.c
diff options
context:
space:
mode:
authorLi Fei <fei.li@intel.com>2013-08-21 16:13:57 +0800
committerIngo Molnar <mingo@kernel.org>2013-09-25 19:33:22 +0200
commit16c21ae5ca636cfd38e581ebcf709c49d78ea56d (patch)
treef3857c441eecc0eeca42a08df490caef073ca8fc /net/sched/act_skbedit.c
parent22356f447ceb8d97a4885792e7d9e4607f712e1b (diff)
downloadlinux-stable-16c21ae5ca636cfd38e581ebcf709c49d78ea56d.tar.gz
linux-stable-16c21ae5ca636cfd38e581ebcf709c49d78ea56d.tar.bz2
linux-stable-16c21ae5ca636cfd38e581ebcf709c49d78ea56d.zip
reboot: Allow specifying warm/cold reset for CF9 boot type
In current implementation for reboot type CF9 and CF9_COND, warm and cold reset are not differentiated, and both are performed by writing 0x06 to port 0xCF9. This commit will differentiate warm and cold reset: For warm reset, write 0x06 to port 0xCF9; For cold reset, write 0x0E to port 0xCF9. [ hpa: This meaning of "cold" and "warm" reset is different from other reboot types use, where "warm" means "bypass BIOS POST". It is also not entirely clear that it actually solves any actual problem. However, it would seem fairly harmless to offer this additional option. Also note that we do not mask bit 3 in the "warm reset" case. This preserves the behavior on existing systems, including ones quirked to use CF9. It seems reasonable that on any system where the warm/cold distinction actually matters that bit 3 would be read as zero. ] From: Liu Chuansheng <chuansheng.liu@intel.com> Signed-off-by: Li Fei <fei.li@intel.com> Link: http://lkml.kernel.org/r/1377072837.24556.2.camel@fli24-HP-Compaq-8100-Elite-CMT-PC Signed-off-by: H. Peter Anvin <hpa@linux.intel.com> Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'net/sched/act_skbedit.c')
0 files changed, 0 insertions, 0 deletions