Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760630AbXKMH2s (ORCPT ); Tue, 13 Nov 2007 02:28:48 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752656AbXKMH2h (ORCPT ); Tue, 13 Nov 2007 02:28:37 -0500 Received: from hqemgate04.nvidia.com ([216.228.112.152]:7586 "EHLO hqemgate04.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752490AbXKMH2f convert rfc822-to-8bit (ORCPT ); Tue, 13 Nov 2007 02:28:35 -0500 X-PGP-Universal: processed; by hqnvupgp04.nvidia.com on Mon, 12 Nov 2007 23:28:29 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5 MIME-Version: 1.0 Subject: RE: [PATCH] Add quirk to set AHCI mode on ICH boards Date: Mon, 12 Nov 2007 23:27:55 -0800 Message-ID: In-Reply-To: <473600B6.5070103@garzik.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH] Add quirk to set AHCI mode on ICH boards Thread-Index: AcgjzIhw5tnEydQ6QVqh2bSkHn9ZtwB9WASA References: <20071109020235.GA2031@ceren> <20071109023129.GA25581@havoc.gtf.org> <4733D421.7000505@rtr.ca> <20071109034622.GB25581@havoc.gtf.org> <20071109120425.543971bf@the-village.bc.nu> <47351FE1.4000001@garzik.org> <473600B6.5070103@garzik.org> From: "Allen Martin" To: "Jeff Garzik" Cc: "Alan Cox" , "Mark Lord" , "Riki Oktarianto" , , "Greg Kroah-Hartman" , X-OriginalArrivalTime: 13 Nov 2007 07:27:56.0215 (UTC) FILETIME=[B5B1F470:01C825C6] Content-class: urn:content-classes:message Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2087 Lines: 45 > Allen Martin wrote: > > At least for NVIDIA controllers, loading the AHCI driver > when the BIOS > > is set to IDE mode is not recommended by NVIDIA. Any AHCI > workarounds > > in the BIOS are likely to be disabled when set to IDE mode. > In practice > > What workarounds, if any, are needed? > > We need those in the driver not BIOS anyway, in order to > fully support > suspend/resume and host controller reset during runtime operation. What I'm worred about is SMI traps implemented in the SBIOS for AHCI workarounds that may be disabled when in IDE mode. > In Linux at least, we have a bunch of open sata_nv issues, so forcing > users' interface into AHCI mode as a default future policy seems like > the most stable choice on NVIDIA AHCI platforms. I believe most of the issues with sata_nv have been due to lack of documentation of ADMA and swNCQ. The NVIDA AHCI controllers that operate in IDE mode are straight up PATA emulation ANSI/INCITS 370 interface, no hotplug, no NCQ. So I would expect there to not be a lot of issues. I'm with you that AHCI mode is superior and should be used whenever possible, but it probably comes as no suprise that almost all the hardware/BIOS testing is done with Windows, and operating the hardware in a mode that Windows doesn't (enabling AHCI in classcode 0101) seems like asking for trouble. -Allen ----------------------------------------------------------------------------------- This email message is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. ----------------------------------------------------------------------------------- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/