* Re: Not able to use HIGH_RES_TIMERS on ARM
[not found] ` <4F6BEDC1.60006@linaro.org>
@ 2012-03-23 5:52 ` Ajeet Yadav
2012-03-23 6:17 ` Rabin Vincent
2012-03-23 16:14 ` Greg KH
0 siblings, 2 replies; 5+ messages in thread
From: Ajeet Yadav @ 2012-03-23 5:52 UTC (permalink / raw)
To: Russell King - ARM Linux, John Stultz
Cc: linux-kernel, Steven Rostedt, stable
CCing to stable@vger.kernel.org
On Fri, Mar 23, 2012 at 8:58 AM, John Stultz <john.stultz@linaro.org> wrote:
> On 03/22/2012 03:25 AM, Ajeet Yadav wrote:
>>
>> If I set ARCH_USES_GETTIMEOFFSET=n to use this feature, my target
>> fail to boot. (reason I well understand from our past discussions)
>
> And this point I'm not sure I'm following. Why exactly does disabling
> ARCH_USES_GETTIMEOFFSET cause boot failures? Could you expand on the details
> here?
We did some dissection to narrow down the patch, our latest kernel is
stable 3.0.X , however we backported patch " ARM: 7321/1: cache-v7:
Disable preemption when reading CCSIDR" from 3.0.25 stable tree, this
patch causes kernel hang during boot (IRQSOFF_TRACER=y and
PREEMPT_TRACER=y) with 100% probability , if we remove this patch or
disable the given CONFIG's then boot is success.
>
> You should just end up using the jiffies clocksource, which would give you
> low-res HZ granular timestamps, but shouldn't get in the way of booting.
>
> thanks
> -john
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Not able to use HIGH_RES_TIMERS on ARM
2012-03-23 5:52 ` Not able to use HIGH_RES_TIMERS on ARM Ajeet Yadav
@ 2012-03-23 6:17 ` Rabin Vincent
2012-03-23 8:58 ` Ajeet Yadav
2012-03-23 16:14 ` Greg KH
1 sibling, 1 reply; 5+ messages in thread
From: Rabin Vincent @ 2012-03-23 6:17 UTC (permalink / raw)
To: Ajeet Yadav
Cc: Russell King - ARM Linux, John Stultz, linux-kernel,
Steven Rostedt, stable
On Fri, Mar 23, 2012 at 11:22, Ajeet Yadav <ajeet.yadav.77@gmail.com> wrote:
> We did some dissection to narrow down the patch, our latest kernel is
> stable 3.0.X , however we backported patch " ARM: 7321/1: cache-v7:
> Disable preemption when reading CCSIDR" from 3.0.25 stable tree, this
> patch causes kernel hang during boot (IRQSOFF_TRACER=y and
> PREEMPT_TRACER=y) with 100% probability , if we remove this patch or
> disable the given CONFIG's then boot is success.
8e43a905dd574f54c5715d9783 ("ARM: 7325/1: fix v7 boot with lockdep
enabled") fixes 7321/1's boot problems.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Not able to use HIGH_RES_TIMERS on ARM
2012-03-23 6:17 ` Rabin Vincent
@ 2012-03-23 8:58 ` Ajeet Yadav
0 siblings, 0 replies; 5+ messages in thread
From: Ajeet Yadav @ 2012-03-23 8:58 UTC (permalink / raw)
To: Rabin Vincent
Cc: Russell King - ARM Linux, John Stultz, linux-kernel,
Steven Rostedt, stable
On Fri, Mar 23, 2012 at 11:47 AM, Rabin Vincent <rabin@rab.in> wrote:
> On Fri, Mar 23, 2012 at 11:22, Ajeet Yadav <ajeet.yadav.77@gmail.com> wrote:
>> We did some dissection to narrow down the patch, our latest kernel is
>> stable 3.0.X , however we backported patch " ARM: 7321/1: cache-v7:
>> Disable preemption when reading CCSIDR" from 3.0.25 stable tree, this
>> patch causes kernel hang during boot (IRQSOFF_TRACER=y and
>> PREEMPT_TRACER=y) with 100% probability , if we remove this patch or
>> disable the given CONFIG's then boot is success.
>
> 8e43a905dd574f54c5715d9783 ("ARM: 7325/1: fix v7 boot with lockdep
> enabled") fixes 7321/1's boot problems.
Hi Rabin,
Thanks for fixing the boot problem, we have tested it, fixed.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Not able to use HIGH_RES_TIMERS on ARM
2012-03-23 5:52 ` Not able to use HIGH_RES_TIMERS on ARM Ajeet Yadav
2012-03-23 6:17 ` Rabin Vincent
@ 2012-03-23 16:14 ` Greg KH
2012-03-24 7:05 ` Ajeet Yadav
1 sibling, 1 reply; 5+ messages in thread
From: Greg KH @ 2012-03-23 16:14 UTC (permalink / raw)
To: Ajeet Yadav
Cc: Russell King - ARM Linux, John Stultz, linux-kernel,
Steven Rostedt, stable
On Fri, Mar 23, 2012 at 11:22:46AM +0530, Ajeet Yadav wrote:
> CCing to stable@vger.kernel.org
Why? What am I supposed to do here?
confused,
greg k-h
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Not able to use HIGH_RES_TIMERS on ARM
2012-03-23 16:14 ` Greg KH
@ 2012-03-24 7:05 ` Ajeet Yadav
0 siblings, 0 replies; 5+ messages in thread
From: Ajeet Yadav @ 2012-03-24 7:05 UTC (permalink / raw)
To: Greg KH
Cc: Russell King - ARM Linux, John Stultz, linux-kernel,
Steven Rostedt, stable
I send earlier reply using my andriod gmail application, and it was
rejected by stable/ linux-kernel (not in plain text), so sending again
using PC.
On Fri, Mar 23, 2012 at 9:44 PM, Greg KH <greg@kroah.com> wrote:
> On Fri, Mar 23, 2012 at 11:22:46AM +0530, Ajeet Yadav wrote:
>> CCing to stable@vger.kernel.org
>
> Why? What am I supposed to do here?
>
> confused,
>
> greg k-h
I initially thought that problem is in 3.0.x stable, but I was wrong.
Solution patch suggested by Rabin is already there in stable.
Summary:
" ARM: 7321/1: cache-v7: > Disable preemption when reading CCSIDR"
introduce hang on boot, that is resolved by commit
"ARM: 7325/1: fix v7 boot with lockdep enabled"
fortunately both are in 3.0.x so no problem,
but i do not know about other stable versions.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-03-24 7:05 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <CAB4K4y7ticNGWv1XWtqLatBG69yM2gv31ayt5DqWSSOUWTZrGg@mail.gmail.com>
[not found] ` <20120319130445.GN15988@n2100.arm.linux.org.uk>
[not found] ` <CAB4K4y4Sw4dyT7vX_YzgbYBK42LZuS96=6X3MtVdN-mBqOKr-Q@mail.gmail.com>
[not found] ` <20120319132623.GO15988@n2100.arm.linux.org.uk>
[not found] ` <4F696011.7080409@linaro.org>
[not found] ` <CAB4K4y5ZkGY3pe3ty5fbaVTj626dAS3HuodX6HfDvym8g0qyZQ@mail.gmail.com>
[not found] ` <CAB4K4y5phDP=4Ab1S2XwS+Oa25B5Pxe3p5D2ZO3G=2W=cMKm=w@mail.gmail.com>
[not found] ` <20120322100236.GS15988@n2100.arm.linux.org.uk>
[not found] ` <CAB4K4y5rOFbPm1XjeHxUFtc29tFAQ1besKLy5fz4MHq6UV0fdA@mail.gmail.com>
[not found] ` <4F6BEDC1.60006@linaro.org>
2012-03-23 5:52 ` Not able to use HIGH_RES_TIMERS on ARM Ajeet Yadav
2012-03-23 6:17 ` Rabin Vincent
2012-03-23 8:58 ` Ajeet Yadav
2012-03-23 16:14 ` Greg KH
2012-03-24 7:05 ` Ajeet Yadav
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox