+ ata-sata_promise-do-not-freeze-ports.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     ATA: sata_promise, do not freeze ports
has been added to the -mm tree.  Its filename is
     ata-sata_promise-do-not-freeze-ports.patch

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: ATA: sata_promise, do not freeze ports
From: Jiri Slaby <jirislaby@xxxxxxxxx>
revert return 1 thing in the error isr, that causes port freezing, so that the
system is unusable when exception is thrown.

See http://lkml.org/lkml/2007/4/30/268

Cc: Jeff Garzik <jgarzik@xxxxxxxxx>
Cc: Tejun Heo <htejun@xxxxxxxxx>
Cc: Mikael Pettersson <mikpe@xxxxxxxx>
Signed-off-by: Jiri Slaby <jirislaby@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/ata/sata_promise.c |    4 +---
 1 files changed, 1 insertion(+), 3 deletions(-)

diff -puN drivers/ata/sata_promise.c~ata-sata_promise-do-not-freeze-ports drivers/ata/sata_promise.c
--- a/drivers/ata/sata_promise.c~ata-sata_promise-do-not-freeze-ports
+++ a/drivers/ata/sata_promise.c
@@ -668,10 +668,8 @@ static inline unsigned int pdc_host_intr
 	else
 		err_mask &= ~PDC2_ERR_MASK;
 	port_status = readl(port_mmio + PDC_GLOBAL_CTL);
-	if (unlikely(port_status & err_mask)) {
+	if (unlikely(port_status & err_mask))
 		pdc_error_intr(ap, qc, port_status, err_mask);
-		return 1;
-	}
 
 	switch (qc->tf.protocol) {
 	case ATA_PROT_DMA:
_

Patches currently in -mm which might be from jirislaby@xxxxxxxxx are

origin.patch
unify-queue_delayed_work-and-queue_delayed_work_on.patch
vmstat-use-our-own-timer-events.patch
git-dvb.patch
cinergyt2-fix-file-release-handler.patch
ata-sata_promise-do-not-freeze-ports.patch
auerswald-fix-file-release-handler.patch
shrink_slab-handle-bad-shrinkers.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux