From: Shaohua Li Subject: Re: [PATCH]libata-acpi: add ACPI _PSx method Date: Mon, 05 Nov 2007 09:12:44 +0800 Message-ID: <1194225164.32766.2.camel@sli10-conroe.sh.intel.com> References: <1189737938.6330.7.camel@sli10-conroe.sh.intel.com> <1190341023.16930.5.camel@sli10-conroe.sh.intel.com> <200710302227.40310.lenb@kernel.org> <200710311426.25099.rjw@sisk.pl> <1193885429.6872.2.camel@sli10-conroe.sh.intel.com> <20071101100435.7c80785e@the-village.bc.nu> <1193967158.13603.4.camel@sli10-conroe.sh.intel.com> <472C7105.8030804@pobox.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <472C7105.8030804@pobox.com> Sender: linux-acpi-owner@vger.kernel.org To: Jeff Garzik Cc: Alan Cox , "Rafael J. Wysocki" , Len Brown , Tejun Heo , linux-ide , linux acpi , Andrew Morton List-Id: linux-ide@vger.kernel.org On Sat, 2007-11-03 at 09:00 -0400, Jeff Garzik wrote: > Shaohua Li wrote: > > Not sure, this is just to call a BIOS routine, but a check should be > > safer. Thanks! > > > > ACPI spec (ver 3.0a, p289) requires IDE power on/off executes ACPI _PSx > > methods. As recently most PATA drivers use libata, this patch adds _PSx > > method support in libata. ACPI spec doesn't mention if SATA requires the > > same _PSx method. > > > > Signed-off-by: Shaohua Li > > Acked-by: Len Brown > > > What is the safety factor on this patch? :) Not sure, but it depends on BIOS, I just guess ignoring disabled device might be safe :) > Since we are into 2.6.24-rc, my preference would be to let this get some > testing in -mm, and push it upstream for 2.6.25. Comments? Sure, Thanks, taking either this patch or previous patch is ok to me. Thanks, Shaohua