From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H. Peter Anvin" Subject: Re: [PATCH 10/10] x86, ACPI: default to reboot via ACPI (again) Date: Wed, 12 Nov 2008 19:18:02 -0800 Message-ID: <491B9C6A.6000403@zytor.com> References: <200811081050.25477.arvidjaar@mail.ru> <20081108115956.GE8354@elte.hu> <4916B38B.7050905@redhat.com> <4916B4DB.90602@zytor.com> <20081110083938.GD22392@elte.hu> <20081110115732.GA30181@srcf.ucam.org> <20081110125630.GC28643@elte.hu> <20081110130029.GC30894@srcf.ucam.org> <20081112115806.GD11352@elte.hu> <491ACAB9.40203@redhat.com> <1226546613.4006.110.camel@yakui_zhao.sh.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: Received: from terminus.zytor.com ([198.137.202.10]:57356 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750874AbYKMDTA (ORCPT ); Wed, 12 Nov 2008 22:19:00 -0500 In-Reply-To: <1226546613.4006.110.camel@yakui_zhao.sh.intel.com> Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: Zhao Yakui Cc: Avi Kivity , Ingo Molnar , Len Brown , Stephen Rothwell , Andrew Morton , Matthew Garrett , "Eric W. Biederman" , Andrey Borzenkov , "linux-acpi@vger.kernel.org" , "Brown, Len" , Thomas Gleixner , Eduardo Habkost Zhao Yakui wrote: > > Peter Anvin suggests that OS attempt reboot via 0xCF9 port if avaiable. > This is not very good. 0xCF9 I/O port is the reset control register > defined in Intel ICH6/7/8/9 chipset. In theory it is effective for Intel > chipset. Maybe it is not applied for other chipset(For example: Nvidia, > ALI, VIA). There exists a laptop in bug 11942, in which the 0xCF9 I/O > port is defined as the RESET_REG. But unfortunately it can't be rebooted > Via 0xCF9 I/O port. > In fact although the 0xCF9 is defined for Intel ICH chipset, it > doesn't mean that all the box based on ICH chipset can be rebooted via > 0xCF9 I/O port. For example: we have a laptop based on intel ICH6 > chipset that can't be rebooted by writing the 0x06 to 0xCF9 I/O port. > Port CF9 isn't universal, but other vendors are increasingly implementing it -- I know ALi are in their more recent chipsets. Either way, I agree that we need to figure out how to get ACPI to work, but CF9 is a low risk fallback before going to the KBC. -hpa