Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1354431 > unrolled thread

Re: [ANNOUNCE] v4.4.4-rt11

Started byJean-Denis Girard <jd.girard@sysnux.pf>
First post2016-03-09 21:40 +0100
Last post2016-03-12 03:10 +0100
Articles 3 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [ANNOUNCE] v4.4.4-rt11 Jean-Denis Girard <jd.girard@sysnux.pf> - 2016-03-09 21:40 +0100
    Re: [ANNOUNCE] v4.4.4-rt11 Sebastian Andrzej Siewior <sebastian@breakpoint.cc> - 2016-03-11 18:20 +0100
      Re: [ANNOUNCE] v4.4.4-rt11 Jean-Denis Girard <jd.girard@sysnux.pf> - 2016-03-12 03:10 +0100

#1354431 — Re: [ANNOUNCE] v4.4.4-rt11

FromJean-Denis Girard <jd.girard@sysnux.pf>
Date2016-03-09 21:40 +0100
SubjectRe: [ANNOUNCE] v4.4.4-rt11
Message-ID<raT3J-4HV-37@gated-at.bofh.it>
Hi,

Le 09/03/2016 03:51, Sebastian Andrzej Siewior a écrit :
> - AT91 got a little better. A larger patch series by Boris Brezillon has
>   been merged. That means SAMA5 boots now. There is one warning left
>   about invoking free_irq() twice. I would be glad about some feedback
>   from pre-SAMA5 SoC. Those which share UART and timer interrupt. It
>   seems that that one I have here does not do this anymore.
> 
> - A patch on top the AT91 series to avoid two warning while switching
>   from period to oneshow mode.

I got this warning when booting my arietta G25:

clocksource: pit: mask: 0xfffffff max_cycles: 0xfffffff, max_idle_ns:
14334453866 ns
------------[ cut here ]------------
WARNING: CPU: 0 PID: 0 at kernel/irq/manage.c:1541 __free_irq+0xb0/0x2b0()
Trying to free already-free IRQ 16
Modules linked in:
CPU: 0 PID: 0 Comm: swapper Not tainted 4.4.4-rt11 #1
Hardware name: Atmel AT91SAM9
[<c000ecb8>] (unwind_backtrace) from [<c000cefc>] (show_stack+0x10/0x14)
[<c000cefc>] (show_stack) from [<c00165ac>] (warn_slowpath_common+0x80/0xa8)
[<c00165ac>] (warn_slowpath_common) from [<c0016600>]
(warn_slowpath_fmt+0x2c/0x3c)
[<c0016600>] (warn_slowpath_fmt) from [<c00409d4>] (__free_irq+0xb0/0x2b0)
[<c00409d4>] (__free_irq) from [<c0040c60>] (free_irq+0x40/0x50)
[<c0040c60>] (free_irq) from [<c03056fc>] (pit_clkevt_shutdown+0x24/0x2c)
[<c03056fc>] (pit_clkevt_shutdown) from [<c0058e94>]
(clockevents_switch_state+0xe8)
[<c0058e94>] (clockevents_switch_state) from [<c0058ee4>]
(clockevents_shutdown+0x1)
[<c0058ee4>] (clockevents_shutdown) from [<c00597dc>]
(tick_check_new_device+0x54/0)
[<c00597dc>] (tick_check_new_device) from [<c0058950>]
(clockevents_register_device)
[<c0058950>] (clockevents_register_device) from [<c051e22c>]
(clocksource_probe+0x4)
[<c051e22c>] (clocksource_probe) from [<c050aafc>]
(start_kernel+0x248/0x35c)
[<c050aafc>] (start_kernel) from [<20008048>] (0x20008048)
---[ end trace 0000000000000001 ]---

Nevertheless it does boot, and seems to work fine.


Thanks,
-- 
Jean-Denis Girard

SysNux                Systèmes   Linux   en   Polynésie   française
http://www.sysnux.pf/ Tél: +689 40.50.10.40 / GSM: +689 87.79.75.27

[toc] | [next] | [standalone]


#1356070

FromSebastian Andrzej Siewior <sebastian@breakpoint.cc>
Date2016-03-11 18:20 +0100
Message-ID<rbyTg-161-15@gated-at.bofh.it>
In reply to#1354431
On 2016-03-09 10:31:06 [-1000], Jean-Denis Girard wrote:
> Hi,
Hi,

please don't cut people from TO and CC.

> Le 09/03/2016 03:51, Sebastian Andrzej Siewior a écrit :
> > - AT91 got a little better. A larger patch series by Boris Brezillon has
> >   been merged. That means SAMA5 boots now. There is one warning left
> >   about invoking free_irq() twice. I would be glad about some feedback
> >   from pre-SAMA5 SoC. Those which share UART and timer interrupt. It
> >   seems that that one I have here does not do this anymore.
> > 
> > - A patch on top the AT91 series to avoid two warning while switching
> >   from period to oneshow mode.
> 
> I got this warning when booting my arietta G25:
> 
> clocksource: pit: mask: 0xfffffff max_cycles: 0xfffffff, max_idle_ns:
> 14334453866 ns
> ------------[ cut here ]------------
> WARNING: CPU: 0 PID: 0 at kernel/irq/manage.c:1541 __free_irq+0xb0/0x2b0()
> Trying to free already-free IRQ 16

…
> Nevertheless it does boot, and seems to work fine.
This looks promising. Can you check if IRQ 16 is used by another
peripherals? While we need get rid fo the warning I am curious if it
works on boards which chare the timer with UART or something.

> Thanks,

Sebastian

[toc] | [prev] | [next] | [standalone]


#1356325

FromJean-Denis Girard <jd.girard@sysnux.pf>
Date2016-03-12 03:10 +0100
Message-ID<rbHa9-7jY-1@gated-at.bofh.it>
In reply to#1356070
Hi,

Le 11/03/2016 07:14, Sebastian Andrzej Siewior a écrit :
> This looks promising. Can you check if IRQ 16 is used by another
> peripherals? While we need get rid fo the warning I am curious if it
> works on boards which chare the timer with UART or something.

Here are the interrupts, I hope this is what you want:
jdg@arietta:~$ cat /proc/interrupts
           CPU0
 16:     145825  atmel-aic   1 Level     at91_rtc, ttyS0
 17:   45661872  atmel-aic  17 Level     tc_clkevt
 18:      72014  atmel-aic  20 Level     at_hdmac
 19:          0  atmel-aic  21 Level     at_hdmac
 23:    2541144  atmel-aic  12 Level     f0008000.mmc
 26:          0  atmel-aic  10 Level     f8014000.i2c
 27:          0  atmel-aic  19 Level     at91_adc
 28:          0  atmel-aic  14 Level     f0004000.spi
 31:          1  atmel-aic  22 Level     ehci_hcd:usb1, ohci_hcd:usb2
Err:          0


The Arietta has been working fine for a couple of days with this kernel:
jdg@arietta:~$ uname -r
4.4.4-rt11
jdg@arietta:~$ uptime
 14:30:06 up 2 days,  4:04,  1 user,  load average: 0.00, 0.02, 0.05


Thanks,
-- 
Jean-Denis Girard

SysNux                Systèmes   Linux   en   Polynésie   française
http://www.sysnux.pf/ Tél: +689 40.50.10.40 / GSM: +689 87.79.75.27

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web