[PATCH] ahci: kill leftover from enabling NCQ over PMP

2007-10-09 Thread Tejun Heo
ahci had problems with NCQ over PMP and NCQ used to be disabled while PMP was attached. After fixing the problem, the temporary NCQ disabling code wasn't removed completely. Kill the remaining piece. Signed-off-by: Tejun Heo [EMAIL PROTECTED] --- drivers/ata/ahci.c |8 1 files

[PATCH] ahci: clean up PORT_IRQ_BAD_PMP enabling

2007-10-09 Thread Tejun Heo
Now that we have pp-intr_mask, move PORT_IRQ_BAD_PMP enabling to ahci_pmp_attach/detach() where it belongs. Signed-off-by: Tejun Heo [EMAIL PROTECTED] --- drivers/ata/ahci.c | 15 ++- 1 files changed, 10 insertions(+), 5 deletions(-) diff --git a/drivers/ata/ahci.c

[PATCH] ahci: fix notification handling

2007-10-09 Thread Tejun Heo
Asynchronous notification on ICH9 didn't work because it didn't write AN FIS into the RX area - it only updates SNotification. Also, snooping SDB_FIS RX area is racy against further SDB FIS receptions. Let sata_async_notification() determine using SNTF if it's available and snoop RX area iff SNTF

[PATCH 1/3] libata: add @timeout to ata_exec_internal[_sg]()

2007-10-09 Thread Tejun Heo
Add @timeout argument to ata_exec_internal[_sg](). If 0, default timeout ata_probe_timeout is used. Signed-off-by: Tejun Heo [EMAIL PROTECTED] --- This patchset kills polling PMP register access callbacks -pmp_read and -pmp_write and use standard ata_exec_internal() mechanism. This patchset is

[PATCH 2/3] libata: implement ATA_PFLAG_RESETTING

2007-10-09 Thread Tejun Heo
Implement ATA_PFLAG_RESETTING. This flag is set while reset is in progress. It's set before prereset is called and cleared after reset fails or postreset is finished. This flag itself doesn't have any function. It will be used by LLDs to tell whether reset is in progress if it needs to behave

[PATCH 3/3] libata: use ata_exec_internal() for PMP register access

2007-10-09 Thread Tejun Heo
PMP registers used to be accessed with dedicated accessors -pmp_read and -pmp_write. During reset, those callbacks are called with the port frozen so they should be able to run without depending on interrupt delivery. To achieve this, they were implemented polling. However, as resetting the

can't read sectors with SG_IO

2007-10-09 Thread Kantor Zsolt
Hi,I want to read for instance 1 sector from my ATA hard disk with the SG_IO ioctl.I havecreated,set the fields for the SG_IO ioctl,it returns 0 but no data in the buffer.I even used the hdparm 7.7 sg16 function to read sectors from the ATA device but no data came back.After the ioctl is executed

Re: Polling (was Re: [PATCHSET 2/2] implement PMP support, take 6)

2007-10-09 Thread Tejun Heo
Jeff Garzik wrote: Tejun Heo wrote: Jeff Garzik wrote: A few days before that, both PMP and SAS /were/ slated for 2.6.24, and after I fix the design problems, they will be again. One way or another, upstream will /not/ be doing polling PMP in 2.6.24. Just an update to let you know that

Linux, SATA and Port Multiplier

2007-10-09 Thread Stian Jordet
Hello, I'm just trying to be a little proactive. I need to buy a sata card to use with an older Intel SC450NX server. I want to use this cabinet: http://www.stardom.com.tw/sohotank%20st6600.htm Thus I need port multiplier support. I would also like to have a card with both eSATA og interne

[PATCH] sata_mv: correct S/G table limits

2007-10-09 Thread Jeff Garzik
The recent mv_fill_sg() rewrite, to fix a data corruption problem related to IOMMU virtual merging, forgot to account for the potentially-increased size of the scatter/gather table after its run. Additionally, the DMA boundary is reduced from 0x to 0x to more closely match the needs

Re: [patch] ata: libata: add per device private data

2007-10-09 Thread Kristen Carlson Accardi
Sorry for the delay in responding, I was on vacation. On Tue, 02 Oct 2007 11:07:30 -0400 Jeff Garzik [EMAIL PROTECTED] wrote: Kristen Carlson Accardi wrote: Allow host controllers to store private data per device. Signed-off-by: Kristen Carlson Accardi [EMAIL PROTECTED] ---

Re: [PATCH 1/12] ide: check -dma_setup() return value in flagged_taskfile()

2007-10-09 Thread Sergei Shtylyov
Hello. Bartlomiej Zolnierkiewicz wrote: Signed-off-by: Bartlomiej Zolnierkiewicz [EMAIL PROTECTED] Acked-by: Sergei Shtylyov [EMAIL PROTECTED] MBR, Sergei - To unsubscribe from this list: send the line unsubscribe linux-ide in the body of a message to [EMAIL PROTECTED] More majordomo info

Re: [PATCH 7/13] ide: add IDE_HFLAG_LEGACY_IRQS host flag

2007-10-09 Thread Sergei Shtylyov
Bartlomiej Zolnierkiewicz wrote: Add IDE_HFLAG_LEGACY_IRQS host flag to tell ide_pci_setup_ports() to set hwif-irq to legacy IRQ 14/15 (iff hwif-irq is not already set) and convert atiixp, piix, serverworks, sis5513 and slc90e66 host drivers to use it. While at it: * In piix.c add

Re: sata_sis driver may be broken in openSUSE 10.3

2007-10-09 Thread Uwe Koziolek
I have checked the 32 Bit Version of openSuSE 10.3 with SiS965 chipset, it works. The sata_sis driver tries to load the pata_sis driver. but SuSE 10.3 tries to load the sis5513 before. pata_sis and sis5513 are trying to serve the same hardware. may be this affects a conflict. please try boot

Invalid PnP ACPI reserved MMIO areas on Supermicro boards

2007-10-09 Thread Robert Hancock
Some people with certain Supermicro boards (at least the H8DCE, it seems) have reported that the sata_nv driver fails to attach to some of the controllers due to resource conflicts: https://bugzilla.redhat.com/show_bug.cgi?id=280641 https://bugzilla.redhat.com/show_bug.cgi?id=313491

libata-dev rebased

2007-10-09 Thread Jeff Garzik
for 2.6.23 release. Jeff - To unsubscribe from this list: send the line unsubscribe linux-ide in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 1/1] pata_cs5536: ATA driver for Geode companion chip

2007-10-09 Thread Jeff Garzik
Martin K. Petersen wrote: This is a driver specifically for the ATA controller on the Geode CS5536 companion chip. The PCI device ID for this device was previously claimed by pata_amd.c but there were two problems with that: - Not all Geode platforms emulate the ATA registers in PCI config

Re: [PATCH #upstream] libata: blacklist NCQ on Seagate Barracuda ST380817AS

2007-10-09 Thread Jeff Garzik
Tejun Heo wrote: From: Paolo Ornati [EMAIL PROTECTED] Seagate Barracuda ST380817AS has troubles with NCQ. For example, unpacking a tarball on an XFS filesystem gives this: ata1.00: exception Emask 0x0 SAct 0x1 SErr 0x0 action 0x2 frozen ata1.00: cmd 61/40:00:29:a3:98/00:00:00:00:00/40 tag 0

Re: [PATCH 1/2] libata-core: Expose gtm methods for driver use

2007-10-09 Thread Jeff Garzik
Alan Cox wrote: Talk to the dark side our driver has to, yes. Much misleading is the data. Store it in a structure we do so that it may be parsed. Signed-off-by: Alan Cox [EMAIL PROTECTED] applied 1-2 - To unsubscribe from this list: send the line unsubscribe linux-ide in the body of a

Re: [PATCH] libata: skip suppress reporting if ATA_EHI_QUIET

2007-10-09 Thread Jeff Garzik
Tejun Heo wrote: ATA_EHI_NO_AUTOPSY and ATA_EHI_QUIET are used during initial probing to skip exception analysis and reporting. Usually, there's nothing to report but on some allowed but rare corner cases (e.g. phy status changed interrupt when IRQ is enabled on frozen port - this happens if

Re: [PATCH] libata: wrap schedule_timeout_uninterruptible() in loop

2007-10-09 Thread Jeff Garzik
Tejun Heo wrote: Tasks in uninterruptible sleep might be woken up by unrelated events and should check whether the condition it was waiting for has actually triggered. Wrap schedule_timeout_uninterruptible() in loop to achieve it. Signed-off-by: Tejun Heo [EMAIL PROTECTED] ---

Re: [PATCH] ahci: kill leftover from enabling NCQ over PMP

2007-10-09 Thread Jeff Garzik
Tejun Heo wrote: ahci had problems with NCQ over PMP and NCQ used to be disabled while PMP was attached. After fixing the problem, the temporary NCQ disabling code wasn't removed completely. Kill the remaining piece. Signed-off-by: Tejun Heo [EMAIL PROTECTED] --- drivers/ata/ahci.c |8

Re: [PATCH] ahci: fix notification handling

2007-10-09 Thread Jeff Garzik
Tejun Heo wrote: Asynchronous notification on ICH9 didn't work because it didn't write AN FIS into the RX area - it only updates SNotification. Also, snooping SDB_FIS RX area is racy against further SDB FIS receptions. Let sata_async_notification() determine using SNTF if it's available and

Re: [PATCH 1/3] libata: add @timeout to ata_exec_internal[_sg]()

2007-10-09 Thread Jeff Garzik
Tejun Heo wrote: Add @timeout argument to ata_exec_internal[_sg](). If 0, default timeout ata_probe_timeout is used. Signed-off-by: Tejun Heo [EMAIL PROTECTED] --- This patchset kills polling PMP register access callbacks -pmp_read and -pmp_write and use standard ata_exec_internal() mechanism.

Re: Invalid PnP ACPI reserved MMIO areas on Supermicro boards

2007-10-09 Thread Len Brown
On Tuesday 09 October 2007 20:01, Robert Hancock wrote: Some people with certain Supermicro boards (at least the H8DCE, it seems) have reported that the sata_nv driver fails to attach to some of the controllers due to resource conflicts: https://bugzilla.redhat.com/show_bug.cgi?id=280641