diff for duplicates of <87wrcstd5o.fsf@ti.com> diff --git a/a/1.txt b/N1/1.txt index 8796147..75ccc10 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -47,8 +47,8 @@ >> The problem is that after the changes in __rpm_callback() another CPU may start >> executing the same routine for the same device if dev->power.irq_safe is set >> (previously, it would block on the dev's power.lock) and it may see ->> dev->power.runtime_status = RPM_RESUMING or ->> dev->power.runtime_status = RPM_SUSPENDING, while previously, it wouldn't +>> dev->power.runtime_status == RPM_RESUMING or +>> dev->power.runtime_status == RPM_SUSPENDING, while previously, it wouldn't >> reach the relevant code. Thus we have to modify that code to take >> the dev->power.irq_safe case into account. >> @@ -91,7 +91,8 @@ Kevin > 1 file changed, 46 insertions(+), 22 deletions(-) > > Index: linux/drivers/base/power/runtime.c -> =================================> --- linux.orig/drivers/base/power/runtime.c +> =================================================================== +> --- linux.orig/drivers/base/power/runtime.c > +++ linux/drivers/base/power/runtime.c > @@ -155,6 +155,31 @@ static int rpm_check_suspend_allowed(str > } diff --git a/a/content_digest b/N1/content_digest index 0e5bb18..5c31df6 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -4,7 +4,7 @@ "ref\0201109272150.42732.rjw@sisk.pl\0" "From\0Kevin Hilman <khilman@ti.com>\0" "Subject\0Re: [PATCH 2/3] PM / Runtime: Don't run callbacks under lock for power.irq_safe set\0" - "Date\0Thu, 29 Sep 2011 00:17:39 +0000\0" + "Date\0Wed, 28 Sep 2011 17:17:39 -0700\0" "To\0Rafael J. Wysocki <rjw@sisk.pl>\0" "Cc\0Linux PM mailing list <linux-pm@lists.linux-foundation.org>" LKML <linux-kernel@vger.kernel.org> @@ -63,8 +63,8 @@ ">> The problem is that after the changes in __rpm_callback() another CPU may start\n" ">> executing the same routine for the same device if dev->power.irq_safe is set\n" ">> (previously, it would block on the dev's power.lock) and it may see\n" - ">> dev->power.runtime_status = RPM_RESUMING or\n" - ">> dev->power.runtime_status = RPM_SUSPENDING, while previously, it wouldn't\n" + ">> dev->power.runtime_status == RPM_RESUMING or\n" + ">> dev->power.runtime_status == RPM_SUSPENDING, while previously, it wouldn't\n" ">> reach the relevant code. Thus we have to modify that code to take\n" ">> the dev->power.irq_safe case into account.\n" ">> \n" @@ -107,7 +107,8 @@ "> 1 file changed, 46 insertions(+), 22 deletions(-)\n" ">\n" "> Index: linux/drivers/base/power/runtime.c\n" - "> =================================> --- linux.orig/drivers/base/power/runtime.c\n" + "> ===================================================================\n" + "> --- linux.orig/drivers/base/power/runtime.c\n" "> +++ linux/drivers/base/power/runtime.c\n" "> @@ -155,6 +155,31 @@ static int rpm_check_suspend_allowed(str\n" "> }\n" @@ -225,4 +226,4 @@ "> More majordomo info at http://vger.kernel.org/majordomo-info.html\n" > Please read the FAQ at http://www.tux.org/lkml/ -65e0595a0b5768a33517f474bd9b35aa74cc435335221d4dfdfd7bfcebf104f5 +e8f50ed390aac499e0883f944f7201eb3767b91348f031f9c5a0d3ac17b3ba50
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.