Re: [PATCH v6 2/2] ARM hibernation / suspend-to-disk

2014-06-02 Thread Sebastian Capella
Want to log my new email with this thread in case any questions arise later and people have trouble finding me. sebc...@gmail.com Thanks! Sebastian Capella -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kerne

Re: [PATCH v6 2/2] ARM hibernation / suspend-to-disk

2014-06-02 Thread Sebastian Capella
Want to log my new email with this thread in case any questions arise later and people have trouble finding me. sebc...@gmail.com Thanks! Sebastian Capella -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More

Re: [PATCH v7 2/2] ARM hibernation / suspend-to-disk

2014-05-07 Thread Sebastian Capella
Thanks Pavel! I believe it's missed 3.15, so will need to verify again for 3.16. Sebastian -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please

Re: [PATCH v7 2/2] ARM hibernation / suspend-to-disk

2014-05-07 Thread Sebastian Capella
Thanks Pavel! I believe it's missed 3.15, so will need to verify again for 3.16. Sebastian -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read

Re: linux-next: build warning after merge of the arm tree

2014-04-23 Thread Sebastian Capella
Hi Stephen, Russell, Verified, thanks! Please let me know if anything is needed from me for this. Thanks! Sebastian -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH v7 2/2] ARM hibernation / suspend-to-disk

2014-04-23 Thread Sebastian Capella
Hi Russell, Ran this overnight and no failures on >1000 hibernations. Looks good. Thanks! Sebastian -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH v7 2/2] ARM hibernation / suspend-to-disk

2014-04-23 Thread Sebastian Capella
Hi Russell, Ran this overnight and no failures on 1000 hibernations. Looks good. Thanks! Sebastian -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: linux-next: build warning after merge of the arm tree

2014-04-23 Thread Sebastian Capella
Hi Stephen, Russell, Verified, thanks! Please let me know if anything is needed from me for this. Thanks! Sebastian -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH v7 2/2] ARM hibernation / suspend-to-disk

2014-04-22 Thread Sebastian Capella
Hi Russell, Sorry for the delay. I've merged the omap changes onto 3.15-rc2 and tested and it looks like everything is working (so far 50 loops into/out of hibernation). Thanks! Sebastian -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH v7 2/2] ARM hibernation / suspend-to-disk

2014-04-22 Thread Sebastian Capella
Hi Russell, Sorry for the delay. I've merged the omap changes onto 3.15-rc2 and tested and it looks like everything is working (so far 50 loops into/out of hibernation). Thanks! Sebastian -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: linux-next: build warning after merge of the arm tree

2014-04-21 Thread Sebastian Capella
Hi Stephen, I'm not sure if this is helpful, but the virt_to_pfn macro added in arch/arm/include/asm/memory.h:300 (I assume the 297 warning in yours), in the hibernation patch: #define virt_to_pfn(kaddr) (__pa(kaddr) >> PAGE_SHIFT) Should be removed as there is an improved version of

[PATCH v2] PM / Hibernate: no kernel_power_off when pm_power_off NULL

2014-04-21 Thread Sebastian Capella
hibernation on Kirkwood Openblocks A6 board. Signed-off-by: Sebastian Capella Reported-by: Ezequiel Garcia Cc: Len Brown Cc: Pavel Machek Cc: "Rafael J. Wysocki" Cc: Russell King Cc: One Thousand Gnomes --- kernel/power/hibernate.c |6 -- 1 file changed, 4 insertions(+), 2

[PATCH v2] PM / Hibernate: no kernel_power_off when pm_power_off NULL

2014-04-21 Thread Sebastian Capella
hibernation on Kirkwood Openblocks A6 board. Signed-off-by: Sebastian Capella sebastian.cape...@linaro.org Reported-by: Ezequiel Garcia ezequiel.gar...@free-electrons.com Cc: Len Brown len.br...@intel.com Cc: Pavel Machek pa...@ucw.cz Cc: Rafael J. Wysocki r...@rjwysocki.net Cc: Russell King li

Re: linux-next: build warning after merge of the arm tree

2014-04-21 Thread Sebastian Capella
Hi Stephen, I'm not sure if this is helpful, but the virt_to_pfn macro added in arch/arm/include/asm/memory.h:300 (I assume the 297 warning in yours), in the hibernation patch: #define virt_to_pfn(kaddr) (__pa(kaddr) PAGE_SHIFT) Should be removed as there is an improved version of

Re: [PATCH RFC] PM / Hibernate: no kernel_power_off when pm_power_off NULL

2014-04-18 Thread Sebastian Capella
Thanks Russell, Alan! So we're OK with the current patch + replacing while(1) after kernel_halt at the end of power_down in hibernate.c with a while (1) cpu_relax()? Any other changes needed? If not, I'll send a follow up patch with just these. Thanks! Sebastian -- To unsubscribe from this

Re: [PATCH RFC] PM / Hibernate: no kernel_power_off when pm_power_off NULL

2014-04-18 Thread Sebastian Capella
Thanks Russell, Alan! So we're OK with the current patch + replacing while(1) after kernel_halt at the end of power_down in hibernate.c with a while (1) cpu_relax()? Any other changes needed? If not, I'll send a follow up patch with just these. Thanks! Sebastian -- To unsubscribe from this

Re: [PATCH v7 2/2] ARM hibernation / suspend-to-disk

2014-04-17 Thread Sebastian Capella
Hi Russell, It seems to work fine with your virt_to_phys on the 3.13 + OMAP patches kernel, and I checked on the 3.15-rc1 kernel + hibernation and it compiled and ran fine. I tried a couple of hibernations on this version as well and they worked (aside from the crash in kernel_halt we're

Re: [PATCH v7 2/2] ARM hibernation / suspend-to-disk

2014-04-17 Thread Sebastian Capella
Hi Russell, It seems to work fine with your virt_to_phys on the 3.13 + OMAP patches kernel, and I checked on the 3.15-rc1 kernel + hibernation and it compiled and ran fine. I tried a couple of hibernations on this version as well and they worked (aside from the crash in kernel_halt we're

Re: [PATCH v7 2/2] ARM hibernation / suspend-to-disk

2014-04-16 Thread Sebastian Capella
On 16 April 2014 03:12, Russell King - ARM Linux wrote: > On Wed, Mar 05, 2014 at 02:50:05AM -0800, Sebastian Capella wrote: >> diff --git a/arch/arm/include/asm/memory.h b/arch/arm/include/asm/memory.h >> index 8756e4b..d32adbb 100644 >> --- a/arch/arm/include/asm/memor

Re: [PATCH RFC] PM / Hibernate: no kernel_power_off when pm_power_off NULL

2014-04-16 Thread Sebastian Capella
On 15 April 2014 14:18, Pavel Machek wrote: > On Tue 2014-04-15 21:54:53, Russell King - ARM Linux wrote: >> What I'm basically saying is that I see no reason for ARM to do something >> different to what x86 does. >> >> What is pretty clear to me is that ARM is compatible with x86, which is >>

Re: [PATCH RFC] PM / Hibernate: no kernel_power_off when pm_power_off NULL

2014-04-16 Thread Sebastian Capella
On 15 April 2014 14:18, Pavel Machek pa...@ucw.cz wrote: On Tue 2014-04-15 21:54:53, Russell King - ARM Linux wrote: What I'm basically saying is that I see no reason for ARM to do something different to what x86 does. What is pretty clear to me is that ARM is compatible with x86, which is

Re: [PATCH v7 2/2] ARM hibernation / suspend-to-disk

2014-04-16 Thread Sebastian Capella
On 16 April 2014 03:12, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Wed, Mar 05, 2014 at 02:50:05AM -0800, Sebastian Capella wrote: diff --git a/arch/arm/include/asm/memory.h b/arch/arm/include/asm/memory.h index 8756e4b..d32adbb 100644 --- a/arch/arm/include/asm/memory.h +++ b

Re: [PATCH RFC] PM / Hibernate: no kernel_power_off when pm_power_off NULL

2014-04-15 Thread Sebastian Capella
Ping.. There appears to be disagreement on the correct path to take on this. Pavel and Alan recommend that arm's machine_power_off shall never return Russell suggests hibernation be modified to handle machine_power_off returning; that x86 architecture (and others as well) can have

Re: [PATCH RFC] PM / Hibernate: no kernel_power_off when pm_power_off NULL

2014-04-15 Thread Sebastian Capella
Ping.. There appears to be disagreement on the correct path to take on this. Pavel and Alan recommend that arm's machine_power_off shall never return Russell suggests hibernation be modified to handle machine_power_off returning; that x86 architecture (and others as well) can have

Re: [PATCH v9 1/2] ARM: avoid tracers in soft_restart

2014-04-14 Thread Sebastian Capella
Hi Will, On 14 April 2014 03:53, Will Deacon wrote: > On Tue, Mar 18, 2014 at 09:40:57PM +0000, Sebastian Capella wrote: >> Use of tracers in local_irq_disable is causes abort loops when called >> with irqs disabled using a temporary stack. Replace lo

Re: [PATCH v9 1/2] ARM: avoid tracers in soft_restart

2014-04-14 Thread Sebastian Capella
Hi Will, On 14 April 2014 03:53, Will Deacon will.dea...@arm.com wrote: On Tue, Mar 18, 2014 at 09:40:57PM +, Sebastian Capella wrote: Use of tracers in local_irq_disable is causes abort loops when called with irqs disabled using a temporary stack. Replace local_irq_disable

Re: [PATCH RFC] PM / Hibernate: no kernel_power_off when pm_power_off NULL

2014-03-26 Thread Sebastian Capella
> On 20 March 2014 14:35, One Thousand Gnomes > wrote: >>> if (pm_power_off) >>> pm_power_off(); >>> ## It really should do while (1) here. >> while(1) >> cpu_relax(); >> or similar at minimum. Hi Alan, Pavel, I prepared the changes suggested for

Re: [PATCH RFC] PM / Hibernate: no kernel_power_off when pm_power_off NULL

2014-03-26 Thread Sebastian Capella
On 20 March 2014 14:35, One Thousand Gnomes gno...@lxorguk.ukuu.org.uk wrote: if (pm_power_off) pm_power_off(); ## It really should do while (1) here. while(1) cpu_relax(); or similar at minimum. Hi Alan, Pavel, I prepared the changes

Re: [PATCH v7 2/2] ARM hibernation / suspend-to-disk

2014-03-25 Thread Sebastian Capella
Hi Alexander, Thanks for your comments. I've posted a different solution for arm only here, that just causes a while loop in machine_power_off in the event it's called but does not halt. https://lkml.org/lkml/2014/3/24/299 On 25 March 2014 11:38, Alexander Holler wrote: > Both states, power

Re: [PATCH v7 2/2] ARM hibernation / suspend-to-disk

2014-03-25 Thread Sebastian Capella
Hi Alexander, Thanks for your comments. I've posted a different solution for arm only here, that just causes a while loop in machine_power_off in the event it's called but does not halt. https://lkml.org/lkml/2014/3/24/299 On 25 March 2014 11:38, Alexander Holler hol...@ahsoftware.de wrote:

[PATCH] ARM: machine_power_off should not return

2014-03-24 Thread Sebastian Capella
Add loop to prevent return from machine_power_off if pm_power_off is null or does not halt the system. This caused a panic during hibernation testing on Kirkwood Openblocks A6 board. Signed-off-by: Sebastian Capella Reported-by: Ezequiel Garcia Cc: Len Brown Cc: Pavel Machek Cc: "Raf

Re: [PATCH v7 2/2] ARM hibernation / suspend-to-disk

2014-03-24 Thread Sebastian Capella
Hi, I have no further changes here.. I will submit a separate patch to cover Ezequiel's concern. Any final comments? Otherwise, I'll submit to Russell's system. Thanks for the review! Sebastian -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: [PATCH v7 2/2] ARM hibernation / suspend-to-disk

2014-03-24 Thread Sebastian Capella
Hi, I have no further changes here.. I will submit a separate patch to cover Ezequiel's concern. Any final comments? Otherwise, I'll submit to Russell's system. Thanks for the review! Sebastian -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

[PATCH] ARM: machine_power_off should not return

2014-03-24 Thread Sebastian Capella
Add loop to prevent return from machine_power_off if pm_power_off is null or does not halt the system. This caused a panic during hibernation testing on Kirkwood Openblocks A6 board. Signed-off-by: Sebastian Capella sebastian.cape...@linaro.org Reported-by: Ezequiel Garcia ezequiel.gar...@free

Re: [PATCH RFC] PM / Hibernate: no kernel_power_off when pm_power_off NULL

2014-03-20 Thread Sebastian Capella
Thanks Pavel and Alan for your comments! I'll rework and try again. Sebastian On 20 March 2014 14:35, One Thousand Gnomes wrote: >> if (pm_power_off) >> pm_power_off(); >> } >> >> ## It really should do while (1) here. > > while(1) > cpu_relax(); >

[PATCH RFC] PM / Hibernate: no kernel_power_off when pm_power_off NULL

2014-03-20 Thread Sebastian Capella
hibernation on Kirkwood Openblocks A6 board. Signed-off-by: Sebastian Capella Reported-by: Ezequiel Garcia Cc: Len Brown Cc: Pavel Machek Cc: "Rafael J. Wysocki" --- kernel/power/hibernate.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kernel/power/hib

[PATCH RFC 0/1] PM / Hibernate: no kernel_power_off when pm_power_off

2014-03-20 Thread Sebastian Capella
Patch to avoid calling kernel_power_off when pm_power_off is null. When pm_power_off is null, the platform will not power off in kernel_power_off. Currently, hibernate will call kernel_power_off and then move on to kernel_halt. However, this calls the notifier chain twice with a different

Re: [PATCH v7 2/2] ARM hibernation / suspend-to-disk

2014-03-20 Thread Sebastian Capella
Hi Tony, I have not used the tux-on-ice solution. The patchset I've sent is to add initial support for swsusp based hibernation for ARM. Can you please begin a new, separate thread for this? Ie. separate from the review for the swsusp hibernation patches I've submitted? I'm not sure where the

Re: [PATCH v7 2/2] ARM hibernation / suspend-to-disk

2014-03-20 Thread Sebastian Capella
Hi Tony, I have not used the tux-on-ice solution. The patchset I've sent is to add initial support for swsusp based hibernation for ARM. Can you please begin a new, separate thread for this? Ie. separate from the review for the swsusp hibernation patches I've submitted? I'm not sure where the

[PATCH RFC 0/1] PM / Hibernate: no kernel_power_off when pm_power_off

2014-03-20 Thread Sebastian Capella
Patch to avoid calling kernel_power_off when pm_power_off is null. When pm_power_off is null, the platform will not power off in kernel_power_off. Currently, hibernate will call kernel_power_off and then move on to kernel_halt. However, this calls the notifier chain twice with a different

[PATCH RFC] PM / Hibernate: no kernel_power_off when pm_power_off NULL

2014-03-20 Thread Sebastian Capella
hibernation on Kirkwood Openblocks A6 board. Signed-off-by: Sebastian Capella sebastian.cape...@linaro.org Reported-by: Ezequiel Garcia ezequiel.gar...@free-electrons.com Cc: Len Brown len.br...@intel.com Cc: Pavel Machek pa...@ucw.cz Cc: Rafael J. Wysocki r...@rjwysocki.net --- kernel/power

Re: [PATCH RFC] PM / Hibernate: no kernel_power_off when pm_power_off NULL

2014-03-20 Thread Sebastian Capella
Thanks Pavel and Alan for your comments! I'll rework and try again. Sebastian On 20 March 2014 14:35, One Thousand Gnomes gno...@lxorguk.ukuu.org.uk wrote: if (pm_power_off) pm_power_off(); } ## It really should do while (1) here. while(1)

Re: [PATCH v7 1/2] ARM: avoid tracers in soft_restart

2014-03-19 Thread Sebastian Capella
On 6 March 2014 15:45, Sebastian Capella wrote: > Quoting Sebastian Capella (2014-03-05 02:50:04) >> Use of tracers in local_irq_disable is causes recursive aborts when >> called with irqs disabled and using a temporary stack (hibernation). >> Replace local_irq_disable with

Re: [PATCH v7 2/2] ARM hibernation / suspend-to-disk

2014-03-19 Thread Sebastian Capella
On 19 March 2014 13:47, Sebastian Capella wrote: > diff --git a/kernel/power/hibernate.c b/kernel/power/hibernate.c > index a5f702a..d96b910 100644 > --- a/kernel/power/hibernate.c > +++ b/kernel/power/hibernate.c > @@ -594,7 +594,8 @@ static void power_down(void)

Re: [PATCH v7 2/2] ARM hibernation / suspend-to-disk

2014-03-19 Thread Sebastian Capella
On 19 March 2014 08:44, Ezequiel Garcia wrote: > Tested-by: Ezequiel Garcia Thanks! > On the other side, this board has no pm_power_off() support, which means > kernel_halt() is called after kernel_power_off(). > > I'm not sure if a NULL pm_power_off() is supported, but this makes my kernel >

Re: [PATCH v7 2/2] ARM hibernation / suspend-to-disk

2014-03-19 Thread Sebastian Capella
On 19 March 2014 08:44, Ezequiel Garcia ezequiel.gar...@free-electrons.com wrote: Tested-by: Ezequiel Garcia ezequiel.gar...@free-electrons.com Thanks! On the other side, this board has no pm_power_off() support, which means kernel_halt() is called after kernel_power_off(). I'm not sure if a

Re: [PATCH v7 2/2] ARM hibernation / suspend-to-disk

2014-03-19 Thread Sebastian Capella
On 19 March 2014 13:47, Sebastian Capella sebastian.cape...@linaro.org wrote: diff --git a/kernel/power/hibernate.c b/kernel/power/hibernate.c index a5f702a..d96b910 100644 --- a/kernel/power/hibernate.c +++ b/kernel/power/hibernate.c @@ -594,7 +594,8 @@ static void power_down(void

Re: [PATCH v7 1/2] ARM: avoid tracers in soft_restart

2014-03-19 Thread Sebastian Capella
On 6 March 2014 15:45, Sebastian Capella sebastian.cape...@linaro.org wrote: Quoting Sebastian Capella (2014-03-05 02:50:04) Use of tracers in local_irq_disable is causes recursive aborts when called with irqs disabled and using a temporary stack (hibernation). Replace local_irq_disable

[PATCH v9 2/2] ARM hibernation / suspend-to-disk

2014-03-18 Thread Sebastian Capella
: "Rafael J. Wysocki" Signed-off-by: Sebastian Capella Acked-by: Pavel Machek Reviewed-by: Lorenzo Pieralisi Cc: Russell King Cc: Len Brown Cc: Nicolas Pitre Cc: Santosh Shilimkar Cc: Will Deacon Cc: Jonathan Austin Cc: Catalin Marinas Cc: "Uwe Kleine-König" Cc: Stephen Boy

[PATCH v9 1/2] ARM: avoid tracers in soft_restart

2014-03-18 Thread Sebastian Capella
Use of tracers in local_irq_disable is causes abort loops when called with irqs disabled using a temporary stack. Replace local_irq_disable with raw_local_irq_disable instead to avoid tracers. Signed-off-by: Sebastian Capella Cc: Russell King Cc: Andrew Morton Cc: Will Deacon Cc: Robin Holt

[PATCH v9 2/2] ARM hibernation / suspend-to-disk

2014-03-18 Thread Sebastian Capella
Cc: Rafael J. Wysocki r...@rjwysocki.net Signed-off-by: Sebastian Capella sebastian.cape...@linaro.org Acked-by: Pavel Machek pa...@ucw.cz Reviewed-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com Cc: Russell King li...@arm.linux.org.uk Cc: Len Brown len.br...@intel.com Cc: Nicolas Pitre n

[PATCH v9 1/2] ARM: avoid tracers in soft_restart

2014-03-18 Thread Sebastian Capella
Use of tracers in local_irq_disable is causes abort loops when called with irqs disabled using a temporary stack. Replace local_irq_disable with raw_local_irq_disable instead to avoid tracers. Signed-off-by: Sebastian Capella sebastian.cape...@linaro.org Cc: Russell King li...@arm.linux.org.uk

Re: [PATCH v7 2/2] ARM hibernation / suspend-to-disk

2014-03-17 Thread Sebastian Capella
On 17 March 2014 13:44, Ezequiel Garcia wrote: > On Mar 17, Sebastian Capella wrote: >> On 16 March 2014 00:09, Ezequiel Garcia >> wrote: >> > On Mar 05, Sebastian Capella wrote: >> > [..] >> >> diff --git a/arch/arm/mm/Kconfig b/arch/arm/mm

Re: [PATCH v7 2/2] ARM hibernation / suspend-to-disk

2014-03-17 Thread Sebastian Capella
Thanks Russell! On 16 March 2014 02:46, Russell King - ARM Linux wrote: > On Mon, Mar 10, 2014 at 11:32:17AM -0700, Sebastian Capella wrote: ... > Let's look at the implementations... > > #define __pa(x) __virt_to_phys((unsigned long)(x)) > static inl

Re: [PATCH v7 2/2] ARM hibernation / suspend-to-disk

2014-03-17 Thread Sebastian Capella
On 16 March 2014 00:09, Ezequiel Garcia wrote: > On Mar 05, Sebastian Capella wrote: > [..] >> diff --git a/arch/arm/mm/Kconfig b/arch/arm/mm/Kconfig >> index 1f8fed9..83707702 100644 >> --- a/arch/arm/mm/Kconfig >> +++ b/arch/arm/mm/Kconfig >> @@ -611

Re: [PATCH v7 2/2] ARM hibernation / suspend-to-disk

2014-03-17 Thread Sebastian Capella
On 16 March 2014 00:09, Ezequiel Garcia ezequiel.gar...@free-electrons.com wrote: On Mar 05, Sebastian Capella wrote: [..] diff --git a/arch/arm/mm/Kconfig b/arch/arm/mm/Kconfig index 1f8fed9..83707702 100644 --- a/arch/arm/mm/Kconfig +++ b/arch/arm/mm/Kconfig @@ -611,6 +611,11 @@ config

Re: [PATCH v7 2/2] ARM hibernation / suspend-to-disk

2014-03-17 Thread Sebastian Capella
Thanks Russell! On 16 March 2014 02:46, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Mon, Mar 10, 2014 at 11:32:17AM -0700, Sebastian Capella wrote: ... Let's look at the implementations... #define __pa(x) __virt_to_phys((unsigned long)(x)) static inline

Re: [PATCH v7 2/2] ARM hibernation / suspend-to-disk

2014-03-17 Thread Sebastian Capella
On 17 March 2014 13:44, Ezequiel Garcia ezequiel.gar...@free-electrons.com wrote: On Mar 17, Sebastian Capella wrote: On 16 March 2014 00:09, Ezequiel Garcia ezequiel.gar...@free-electrons.com wrote: On Mar 05, Sebastian Capella wrote: [..] diff --git a/arch/arm/mm/Kconfig b/arch/arm/mm

[PATCH v8 1/2] ARM: avoid tracers in soft_restart

2014-03-11 Thread Sebastian Capella
Use of tracers in local_irq_disable is causes recursive aborts when called with irqs disabled and using a temporary stack (hibernation). Replace local_irq_disable with raw_local_irq_disable instead to avoid tracers. Signed-off-by: Sebastian Capella Cc: Russell King Cc: Andrew Morton Cc: Thomas

[PATCH v8 0/2] hibernation support on ARM

2014-03-11 Thread Sebastian Capella
yril Chemparathy from Cc: list as emails are bouncing. Thanks, Sebastian Capella -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read th

[PATCH v8 2/2] ARM hibernation / suspend-to-disk

2014-03-11 Thread Sebastian Capella
: "Rafael J. Wysocki" Signed-off-by: Sebastian Capella Acked-by: Pavel Machek Reviewed-by: Lorenzo Pieralisi Cc: Russell King Cc: Len Brown Cc: Nicolas Pitre Cc: Santosh Shilimkar Cc: Will Deacon Cc: Jonathan Austin Cc: Catalin Marinas Cc: "Uwe Kleine-König" Cc: Stephen B

[PATCH v8 0/2] hibernation support on ARM

2014-03-11 Thread Sebastian Capella
Chemparathy cy...@ti.com from Cc: list as emails are bouncing. Thanks, Sebastian Capella -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ

[PATCH v8 2/2] ARM hibernation / suspend-to-disk

2014-03-11 Thread Sebastian Capella
Cc: Rafael J. Wysocki r...@rjwysocki.net Signed-off-by: Sebastian Capella sebastian.cape...@linaro.org Acked-by: Pavel Machek pa...@ucw.cz Reviewed-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com Cc: Russell King li...@arm.linux.org.uk Cc: Len Brown len.br...@intel.com Cc: Nicolas Pitre n

[PATCH v8 1/2] ARM: avoid tracers in soft_restart

2014-03-11 Thread Sebastian Capella
Use of tracers in local_irq_disable is causes recursive aborts when called with irqs disabled and using a temporary stack (hibernation). Replace local_irq_disable with raw_local_irq_disable instead to avoid tracers. Signed-off-by: Sebastian Capella sebastian.cape...@linaro.org Cc: Russell King li

Re: [PATCH v7 2/2] ARM hibernation / suspend-to-disk

2014-03-10 Thread Sebastian Capella
On 6 March 2014 20:42, Stephen Boyd wrote: > On 03/05, Sebastian Capella wrote: >> diff --git a/arch/arm/include/asm/memory.h b/arch/arm/include/asm/memory.h >> index 8756e4b..d32adbb 100644 >> --- a/arch/arm/include/asm/memory.h >> +++ b/arch/arm/include/asm/m

Re: [PATCH v7 2/2] ARM hibernation / suspend-to-disk

2014-03-10 Thread Sebastian Capella
On 6 March 2014 20:42, Stephen Boyd sb...@codeaurora.org wrote: On 03/05, Sebastian Capella wrote: diff --git a/arch/arm/include/asm/memory.h b/arch/arm/include/asm/memory.h index 8756e4b..d32adbb 100644 --- a/arch/arm/include/asm/memory.h +++ b/arch/arm/include/asm/memory.h @@ -291,6 +291,7

Re: [PATCH v7 2/2] ARM hibernation / suspend-to-disk

2014-03-06 Thread Sebastian Capella
Sorry to those receiving repeated emails, I'm having an issue with some of the special characters names. Quoting Sebastian Capella (2014-03-05 02:50:05) > From: Russ Dill > Enable hibernation for ARM architectures and provide ARM > architecture specific calls used during hibernation. ..

Re: [PATCH v7 1/2] ARM: avoid tracers in soft_restart

2014-03-06 Thread Sebastian Capella
Quoting Sebastian Capella (2014-03-05 02:50:04) > Use of tracers in local_irq_disable is causes recursive aborts when > called with irqs disabled and using a temporary stack (hibernation). > Replace local_irq_disable with raw_local_irq_disable instead to > avoid tracers. >

Re: [PATCH v7 1/2] ARM: avoid tracers in soft_restart

2014-03-06 Thread Sebastian Capella
Quoting Sebastian Capella (2014-03-05 02:50:04) Use of tracers in local_irq_disable is causes recursive aborts when called with irqs disabled and using a temporary stack (hibernation). Replace local_irq_disable with raw_local_irq_disable instead to avoid tracers. Signed-off-by: Sebastian

Re: [PATCH v7 2/2] ARM hibernation / suspend-to-disk

2014-03-06 Thread Sebastian Capella
Sorry to those receiving repeated emails, I'm having an issue with some of the special characters names. Quoting Sebastian Capella (2014-03-05 02:50:05) From: Russ Dill russ.d...@ti.com Enable hibernation for ARM architectures and provide ARM architecture specific calls used during hibernation

[PATCH v7 2/2] ARM hibernation / suspend-to-disk

2014-03-05 Thread Sebastian Capella
: "Rafael J. Wysocki" Signed-off-by: Sebastian Capella Acked-by: Pavel Machek Reviewed-by: Lorenzo Pieralisi Cc: Russell King Cc: Len Brown Cc: Nicolas Pitre Cc: Santosh Shilimkar Cc: Will Deacon Cc: Jonathan Austin Cc: Catalin Marinas Cc: "Uwe Kleine-König" Cc: Stephen B

[PATCH v7 1/2] ARM: avoid tracers in soft_restart

2014-03-05 Thread Sebastian Capella
Use of tracers in local_irq_disable is causes recursive aborts when called with irqs disabled and using a temporary stack (hibernation). Replace local_irq_disable with raw_local_irq_disable instead to avoid tracers. Signed-off-by: Sebastian Capella Cc: Russell King Cc: Andrew Morton Cc: Thomas

[PATCH v7 0/2] hibernation support on ARM

2014-03-05 Thread Sebastian Capella
list as emails are bouncing. Thanks, Sebastian Capella -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH v7 1/2] ARM: avoid tracers in soft_restart

2014-03-05 Thread Sebastian Capella
Use of tracers in local_irq_disable is causes recursive aborts when called with irqs disabled and using a temporary stack (hibernation). Replace local_irq_disable with raw_local_irq_disable instead to avoid tracers. Signed-off-by: Sebastian Capella sebastian.cape...@linaro.org Cc: Russell King li

[PATCH v7 0/2] hibernation support on ARM

2014-03-05 Thread Sebastian Capella
as emails are bouncing. Thanks, Sebastian Capella -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH v7 2/2] ARM hibernation / suspend-to-disk

2014-03-05 Thread Sebastian Capella
Cc: Rafael J. Wysocki r...@rjwysocki.net Signed-off-by: Sebastian Capella sebastian.cape...@linaro.org Acked-by: Pavel Machek pa...@ucw.cz Reviewed-by: Lorenzo Pieralisi lorenzo.pieral...@arm.com Cc: Russell King li...@arm.linux.org.uk Cc: Len Brown len.br...@intel.com Cc: Nicolas Pitre n

Re: [PATCH v6 2/2] ARM hibernation / suspend-to-disk

2014-03-04 Thread Sebastian Capella
Quoting Sebastian Capella (2014-02-28 10:17:31) > Quoting Russell King - ARM Linux (2014-02-28 02:20:18) > > On Thu, Feb 27, 2014 at 06:19:49PM -0800, Stephen Boyd wrote: > > > On 02/27/14 17:47, Russ Dill wrote: > > > > On 02/27/2014 04:09 PM, Stephen Boyd wro

Re: [PATCH v6 2/2] ARM hibernation / suspend-to-disk

2014-03-04 Thread Sebastian Capella
Quoting Sebastian Capella (2014-02-28 15:38:54) > Quoting Lorenzo Pieralisi (2014-02-28 14:49:33) > > On Fri, Feb 28, 2014 at 08:15:57PM +, Sebastian Capella wrote: > > > > > > > > This does not guarantee your stack is 8-byte aligned, that's not AAPCS &g

Re: [PATCH v6 2/2] ARM hibernation / suspend-to-disk

2014-03-04 Thread Sebastian Capella
Quoting Sebastian Capella (2014-02-28 15:38:54) Quoting Lorenzo Pieralisi (2014-02-28 14:49:33) On Fri, Feb 28, 2014 at 08:15:57PM +, Sebastian Capella wrote: This does not guarantee your stack is 8-byte aligned, that's not AAPCS compliant and might buy you trouble

Re: [PATCH v6 2/2] ARM hibernation / suspend-to-disk

2014-03-04 Thread Sebastian Capella
Quoting Sebastian Capella (2014-02-28 10:17:31) Quoting Russell King - ARM Linux (2014-02-28 02:20:18) On Thu, Feb 27, 2014 at 06:19:49PM -0800, Stephen Boyd wrote: On 02/27/14 17:47, Russ Dill wrote: On 02/27/2014 04:09 PM, Stephen Boyd wrote: On 02/27/14 15:57, Sebastian Capella

[PATCH v6 0/2] hibernation support on ARM

2014-02-27 Thread Sebastian Capella
n v2: -- * Removed unneeded flush_thread, use of __naked and cpu_init. * dropped Cyril Chemparathy from Cc: list as emails are bouncing. Thanks, Sebastian Capella -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org

[PATCH v6 2/2] ARM hibernation / suspend-to-disk

2014-02-27 Thread Sebastian Capella
: "Rafael J. Wysocki" Signed-off-by: Sebastian Capella Acked-by: Pavel Machek Cc: Russell King Cc: Len Brown Cc: Nicolas Pitre Cc: Santosh Shilimkar Cc: Will Deacon Cc: Jonathan Austin Cc: Catalin Marinas Cc: "Uwe Kleine-König" Cc: Stephen Boyd Cc: Lorenzo Pieralisi -

[PATCH v6 1/2] ARM: avoid tracers in soft_restart

2014-02-27 Thread Sebastian Capella
Use of tracers in local_irq_disable is causes recursive aborts when called with irqs disabled and using a temporary stack (hibernation). Replace local_irq_disable with raw_local_irq_disable instead to avoid tracers. Signed-off-by: Sebastian Capella Cc: Russell King Cc: Andrew Morton Cc: Thomas

[PATCH v6 1/2] ARM: avoid tracers in soft_restart

2014-02-27 Thread Sebastian Capella
Use of tracers in local_irq_disable is causes recursive aborts when called with irqs disabled and using a temporary stack (hibernation). Replace local_irq_disable with raw_local_irq_disable instead to avoid tracers. Signed-off-by: Sebastian Capella sebastian.cape...@linaro.org Cc: Russell King li

[PATCH v6 0/2] hibernation support on ARM

2014-02-27 Thread Sebastian Capella
: -- * Removed unneeded flush_thread, use of __naked and cpu_init. * dropped Cyril Chemparathy cy...@ti.com from Cc: list as emails are bouncing. Thanks, Sebastian Capella -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More

[PATCH v6 2/2] ARM hibernation / suspend-to-disk

2014-02-27 Thread Sebastian Capella
Cc: Rafael J. Wysocki r...@rjwysocki.net Signed-off-by: Sebastian Capella sebastian.cape...@linaro.org Acked-by: Pavel Machek pa...@ucw.cz Cc: Russell King li...@arm.linux.org.uk Cc: Len Brown len.br...@intel.com Cc: Nicolas Pitre n...@linaro.org Cc: Santosh Shilimkar santosh.shilim...@ti.com Cc

[PATCH v5 2/2] ARM hibernation / suspend-to-disk

2014-02-26 Thread Sebastian Capella
: "Rafael J. Wysocki" Signed-off-by: Sebastian Capella Cc: Russell King Cc: Len Brown Cc: Pavel Machek Cc: Nicolas Pitre Cc: Santosh Shilimkar Cc: Will Deacon Cc: Jonathan Austin Cc: Catalin Marinas Cc: "Uwe Kleine-König" Cc: Stephen Boyd Cc: Lorenzo Pieralisi --- arch

[PATCH v5 0/2] hibernation support on ARM

2014-02-26 Thread Sebastian Capella
pped Cyril Chemparathy from Cc: list as emails are bouncing. Thanks, Sebastian Capella -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Pleas

[PATCH v5 1/2] ARM: avoid tracers in soft_restart

2014-02-26 Thread Sebastian Capella
Use of tracers in local_irq_disable is causes recursive aborts when called with irqs disabled and using a temporary stack (hibernation). Replace local_irq_disable with raw_local_irq_disable instead to avoid tracers. Signed-off-by: Sebastian Capella Cc: Russell King Cc: Andrew Morton Cc: Thomas

[PATCH v4 1/2] ARM: avoid tracers in soft_restart

2014-02-26 Thread Sebastian Capella
Use of tracers in local_irq_disable is causes recursive aborts when called with irqs disabled and using a temporary stack (hibernation). Replace local_irq_disable with raw_local_irq_disable instead to avoid tracers. Signed-off-by: Sebastian Capella Cc: Russell King Cc: Andrew Morton Cc: Thomas

[PATCH v4 2/2] ARM hibernation / suspend-to-disk

2014-02-26 Thread Sebastian Capella
afael J. Wysocki" Signed-off-by: Sebastian Capella Cc: Russell King Cc: Len Brown Cc: Pavel Machek Cc: Nicolas Pitre Cc: Santosh Shilimkar Cc: Will Deacon Cc: Jonathan Austin Cc: Catalin Marinas Cc: "Uwe Kleine-König" Cc: Stephen Boyd Cc: Lorenzo Pieralisi --- arch/arm

[PATCH v4 0/2] hibernation support on ARM

2014-02-26 Thread Sebastian Capella
use of soft_restart * drop irq disable soft_restart patch * add patch to avoid tracers in soft_restart by using raw_local_irq_* Changes in v2: -- * Removed unneeded flush_thread, use of __naked and cpu_init. * dropped Cyril Chemparathy from Cc: list as emails are bouncing. Thanks, Sebas

[PATCH v4 0/2] hibernation support on ARM

2014-02-26 Thread Sebastian Capella
use of soft_restart * drop irq disable soft_restart patch * add patch to avoid tracers in soft_restart by using raw_local_irq_* Changes in v2: -- * Removed unneeded flush_thread, use of __naked and cpu_init. * dropped Cyril Chemparathy from Cc: list as emails are bouncing. Thanks, Sebas

[PATCH v4 0/2] hibernation support on ARM

2014-02-26 Thread Sebastian Capella
, Sebastian Capella -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH v4 0/2] hibernation support on ARM

2014-02-26 Thread Sebastian Capella
, Sebastian Capella -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH v4 1/2] ARM: avoid tracers in soft_restart

2014-02-26 Thread Sebastian Capella
Use of tracers in local_irq_disable is causes recursive aborts when called with irqs disabled and using a temporary stack (hibernation). Replace local_irq_disable with raw_local_irq_disable instead to avoid tracers. Signed-off-by: Sebastian Capella sebastian.cape...@linaro.org Cc: Russell King li

[PATCH v4 2/2] ARM hibernation / suspend-to-disk

2014-02-26 Thread Sebastian Capella
: Rafael J. Wysocki r...@rjwysocki.net Signed-off-by: Sebastian Capella sebastian.cape...@linaro.org Cc: Russell King li...@arm.linux.org.uk Cc: Len Brown len.br...@intel.com Cc: Pavel Machek pa...@ucw.cz Cc: Nicolas Pitre n...@linaro.org Cc: Santosh Shilimkar santosh.shilim...@ti.com Cc: Will Deacon

[PATCH v5 0/2] hibernation support on ARM

2014-02-26 Thread Sebastian Capella
Chemparathy cy...@ti.com from Cc: list as emails are bouncing. Thanks, Sebastian Capella -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please

[PATCH v5 1/2] ARM: avoid tracers in soft_restart

2014-02-26 Thread Sebastian Capella
Use of tracers in local_irq_disable is causes recursive aborts when called with irqs disabled and using a temporary stack (hibernation). Replace local_irq_disable with raw_local_irq_disable instead to avoid tracers. Signed-off-by: Sebastian Capella sebastian.cape...@linaro.org Cc: Russell King li

[PATCH v5 2/2] ARM hibernation / suspend-to-disk

2014-02-26 Thread Sebastian Capella
Cc: Rafael J. Wysocki r...@rjwysocki.net Signed-off-by: Sebastian Capella sebastian.cape...@linaro.org Cc: Russell King li...@arm.linux.org.uk Cc: Len Brown len.br...@intel.com Cc: Pavel Machek pa...@ucw.cz Cc: Nicolas Pitre n...@linaro.org Cc: Santosh Shilimkar santosh.shilim...@ti.com Cc

  1   2   3   >