>>CONFIG_HIGH_RES_TIMERS=y >>CONFIG_ATMEL_TCB_CLKSRC=y >>Hangs (or resets if the WD is enabled) >> >>CONFIG_HIGH_RES_TIMERS=y >>CONFIG_ATMEL_TCB_CLKSRC=n >>Boots ok. >> >>Now the kernel boots with the CONFIG_HIGH_RES_TIMERS enabled, but hangs when I enable the TCB clock source. >>Michael, if you have spare time, maybe you could also test these configs to see if you have similar behavior. >Okay. So in the working variant with TCB=n, do you have high res timers available? >Sebastian When the TCB_CLKSRC=n, the system uses periodic interval timer (pit), and it seems that the high res timers are not available even though CONFIG_HIGH_RES_TIMERS=y. /proc/timer_list for the working variant below. BR, Sami Pietikäinen Timer List Version: v0.7 HRTIMER_MAX_CLOCK_BASES: 4 now at 195174767111 nsecs cpu: 0 clock 0: .base: c0301990 .index: 0 .resolution: 10000000 nsecs .get_time: ktime_get .offset: 0 nsecs active timers: #0: <c031e148>, sched_rt_period_timer, S:01 # expires at 196000000000-196000000000 nsecs [in 825232889 to 825232889 nsecs] #1: <df869aa8>, hrtimer_wakeup, S:01 # expires at 199543365657-199548365650 nsecs [in 4368598546 to 4373598539 nsecs] clock 1: .base: c03019d0 .index: 1 .resolution: 10000000 nsecs .get_time: ktime_get_real .offset: 0 nsecs active timers: clock 2: .base: c0301a10 .index: 2 .resolution: 10000000 nsecs .get_time: ktime_get_boottime .offset: 0 nsecs active timers: clock 3: .base: c0301a50 .index: 3 .resolution: 10000000 nsecs .get_time: ktime_get_clocktai .offset: 0 nsecs active timers: .expires_next : 9223372036854775807 nsecs .hres_active : 0 .nr_events : 0 .nr_retries : 0 .nr_hangs : 0 .max_hang_time : 0 nsecs .nohz_mode : 0 .last_tick : 0 nsecs .tick_stopped : 0 .idle_jiffies : 0 .idle_calls : 0 .idle_sleeps : 0 .idle_entrytime : 195170661051 nsecs .idle_waketime : 0 nsecs .idle_exittime : 0 nsecs .idle_sleeptime : 188933606397 nsecs .iowait_sleeptime: 0 nsecs .last_jiffies : 0 .next_jiffies : 0 .idle_expires : 0 nsecs jiffies: 4294956814 Tick Device: mode: 0 Per CPU device: 0 Clock Event Device: pit max_delta_ns: 0 min_delta_ns: 0 mult: 35433480 shift: 32 mode: 2 next_event: 9223372036854775807 nsecs set_next_event: <00000000> set_mode: pit_clkevt_mode event_handler: tick_handle_periodic retries: 0 ��.n��������+%������w��{.n�����{�����ǫ���ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f