This is a note to let you know that I've just added the patch titled
libata: forbid port runtime pm by default, fixing regression
to the 3.3-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
libata-forbid-port-runtime-pm-by-default-fixing-regression.patch
and it can be found in the queue-3.3 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From 0c8d32c27f5cf6e14ca14b4758d1e994eebd50fd Mon Sep 17 00:00:00 2001
From: Lin Ming <[email protected]>
Date: Wed, 18 Apr 2012 09:29:47 +0800
Subject: libata: forbid port runtime pm by default, fixing regression
From: Lin Ming <[email protected]>
commit 0c8d32c27f5cf6e14ca14b4758d1e994eebd50fd upstream.
Forbid port runtime pm by default because it has known hotplug issue.
User can allow it by, for example
echo auto > /sys/devices/pci0000:00/0000:00:1f.2/ata2/power/control
Signed-off-by: Lin Ming <[email protected]>
Signed-off-by: Jeff Garzik <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
drivers/ata/libata-transport.c | 1 +
1 file changed, 1 insertion(+)
--- a/drivers/ata/libata-transport.c
+++ b/drivers/ata/libata-transport.c
@@ -294,6 +294,7 @@ int ata_tport_add(struct device *parent,
device_enable_async_suspend(dev);
pm_runtime_set_active(dev);
pm_runtime_enable(dev);
+ pm_runtime_forbid(dev);
transport_add_device(dev);
transport_configure_device(dev);
Patches currently in stable-queue which might be from [email protected] are
queue-3.3/libata-forbid-port-runtime-pm-by-default-fixing-regression.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html