[PATCH] libata: Integrate ACPI-based PATA/SATA hotplug

2007-09-14 Thread Matthew Garrett
Modern laptops with hotswap bays still tend to utilise a PATA interface on a SATA bridge, generally with the host controller in some legacy emulation mode rather than AHCI. This means that the existing hotplug code in libata is unable to work. The ACPI specification states that these devices ca

Re: 2.6.23-rc4-mm1

2007-09-14 Thread Andrew Morton
On Fri, 14 Sep 2007 15:01:03 +0200 "Torsten Kaiser" <[EMAIL PROTECTED]> wrote: > On 9/14/07, Andy Whitcroft <[EMAIL PROTECTED]> wrote: > > On Tue, Sep 11, 2007 at 04:31:12AM +0900, FUJITA Tomonori wrote: > > [...] > > > > > > Even if we revert the qla1280 patch, scsi-ml still sends chaining sg > >

Re: [PATCH] libata: Add a drivers/ide style DMA disable

2007-09-14 Thread Bartlomiej Zolnierkiewicz
On Friday 14 September 2007, Chuck Ebbert wrote: > On 09/07/2007 06:47 PM, Jeff Garzik wrote: > >>> This is useful when debugging, handling problem systems, or for > >>> distributions just to get the system installed so it can be sorted > >>> out later. > >>> > >>> This is a bit smarter than the ol

Re: [PATCH 5/10] hpt366: remove ->init_setup

2007-09-14 Thread Bartlomiej Zolnierkiewicz
Hi, On Friday 14 September 2007, Sergei Shtylyov wrote: > Hello. > > Bartlomiej Zolnierkiewicz wrote: > > >>>* Split off hpt{374,371,366}_init() helper from > >>>init_setup_hpt{374,371,366}(). > > >>>* Merge init_setup_{374,372n,371,372a,302,366}() into hpt366_init_one(). > > >>>While at it:

Re: [PATCH 5/10] hpt366: remove ->init_setup

2007-09-14 Thread Sergei Shtylyov
Hello. Bartlomiej Zolnierkiewicz wrote: * Split off hpt{374,371,366}_init() helper from init_setup_hpt{374,371,366}(). * Merge init_setup_{374,372n,371,372a,302,366}() into hpt366_init_one(). While at it: * Use "HPT36x" name for HPT366/HPT368 chipsets. * Add .chip_name to struct hpt

Re: [PATCH] libata: Add a drivers/ide style DMA disable

2007-09-14 Thread Chuck Ebbert
On 09/07/2007 06:47 PM, Jeff Garzik wrote: >>> This is useful when debugging, handling problem systems, or for >>> distributions just to get the system installed so it can be sorted >>> out later. >>> >>> This is a bit smarter than the old IDE one and lets you do >>> >>> libata.pata_dma=0Di

Re: SG_IO and HDIO_DRIVE_TASKFILE issue

2007-09-14 Thread Jeff Garzik
Kantor Zsolt wrote: Can be executed a SG_IO command for a ATA hard drive ? because I have tried everything. I have Yes. supported or SG_IO which is not working like HDIO_DRIVE_TASKFILE SG_IO requires a vastly different format than HDIO_DRIVE_TASKFILE. Read the sg documentation, and then

SG_IO and HDIO_DRIVE_TASKFILE issue

2007-09-14 Thread Kantor Zsolt
Can be executed a SG_IO command for a ATA hard drive ? because I have tried everything. I have deeply studied the hdparm (version 7.7) source code and I came to realize that ATA commands like setting the acoustic value, setting the drive write-caching, identify device can not be executed with th

Re: HSM violation on bootup, ICH7 + ata_piix 2.6.22

2007-09-14 Thread Eamonn Hamilton
OK, On Fri, 2007-09-14 at 08:56 -0500, Bruce Allen wrote: ... > Eamonn: could you please build the latest version of smartmontools from > CVS HEAD source and see if the problem exists in that version? Then write > back. I don't think this will help but want to eliminate obvious things. > I

Re: HSM violation on bootup, ICH7 + ata_piix 2.6.22

2007-09-14 Thread Bruce Allen
Tejun: thanks for the CC. I'm clueless about what is at fault here. Eamonn: could you please build the latest version of smartmontools from CVS HEAD source and see if the problem exists in that version? Then write back. I don't think this will help but want to eliminate obvious things. Che

[PATCH #upstream-fixes] libata: add ST9120822AS 3.CLF to NONCQ blacklist

2007-09-14 Thread Tejun Heo
ST9120822AS 3.CLF does spurious NCQ completions, add it to NONCQ blacklist. Signed-off-by: Tejun Heo <[EMAIL PROTECTED]> --- It's likely that all the drives with 3.CLF firmware are bonkers regarding this. Maybe we should blacklist by firmware version only. drivers/ata/libata-core.c |1 + 1