Hi,
thanks for your help but I don't think to be solution.
I had apply this patch :
http://lists.linaro.org/pipermail/linaro-kernel/2014-March/012635.html
I had found a solution to this problem, and I write to you into my first e-mail.
Now I have this problems:
When resume and run this function
+ENTRY(swsusp_arch_resume)
+ * Restore_pblist is the starting point for loaded pages
+ ldr r0, .Lrestore_pblist
+ ldr r4, [r6] /* src IOW present address */
+ ldr r5, [r6, #4] /* dst IOW original address*/
+ mov r9, #1024 /* No. of entries in one page, where each entry is 4 bytes */
+ * This loop could be optimized by using stm and ldm.
+ /* The last field of struct pbe is a pointer to the next pbe structure */
+ ldr r3, .Lsaved_context_r13_svc
+ ldr r3, .Lsaved_spsr_svc
+ mrs r0, cpsr /* Save current mode into r0 */
+ * Change to system(user) mode
+ ldr r3, .Lsaved_context_r0
+ msr cpsr_c, r0 /* Restore original mode from r0 */
+ * Flush TLB (Invalidate unified TLB unlocked entries)
+ mcr p15, 0, r1, c8, c7, 0
+ /* Set the return value */
+ /* Restore return address */
+ ldr r3, .Lsaved_context_r14_svc
+ENDPROC(swsusp_arch_resume)
After about 700/800 loop the function stop to work in BOLD istruction.
Have you idea for solution?
Thanks
Fioretti Luigi
mailto:luigi.fioretti@dinema.it
Skype: Dinema.Fioretti.Luigi
Tel : 00390302300492
Dinema Spa
Via S.Polo 183
25124 Brescia
-----linaro-kernel-bounces@lists.linaro.org ha scritto: -----Per: "Rafael J. Wysocki" <rjw@rjwysocki.net>
Da: Viresh Kumar
Inviato da: linaro-kernel-bounces@lists.linaro.org
Data: 05/01/2015 05.05AM
Cc: Prarit Bhargava <prarit@redhat.com>, Lists linaro-kernel <linaro-kernel@lists.linaro.org>, Saravana Kannan <skannan@codeaurora.org>, "linux-pm@vger.kernel.org" <linux-pm@vger.kernel.org>
Oggetto: Re: [PATCH V2 04/14] cpufreq: stats: pass 'stat' to cpufreq_stats_update() *
On 4 January 2015 at 03:34, Rafael J. Wysocki <rjw@rjwysocki.net> wrote:
> What about:
>
> "It is better to pass a struct cpufreq_stats pointer to cpufreq_stats_update()
> instead of a CPU number, because ..."
Sure.
>> +static int cpufreq_stats_update(struct cpufreq_stats *stat)
>> {
>> - struct cpufreq_stats *stat;
>> - unsigned long long cur_time;
>> + unsigned long long cur_time = get_jiffies_64();
>>
>> - cur_time = get_jiffies_64();
>
> Unrelated change.
Yeah, it was too small of a change so not that significant as well.
And so folded it into this commit only :(
Will send it separately in v3..
_______________________________________________
linaro-kernel mailing list
linaro-kernel@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-kernel