Linux on ARM based TI OMAP SoCs
 help / color / mirror / Atom feed
* ti-sysc: probe of 4a318000.target-module failed with error -16
@ 2023-10-29  9:12 Andreas Kemnade
  2023-10-31  7:07 ` Tony Lindgren
  0 siblings, 1 reply; 5+ messages in thread
From: Andreas Kemnade @ 2023-10-29  9:12 UTC (permalink / raw)
  To: linux-omap

Hi,

I am seeing the error message from $subject on omap4 devices regularly,
on omap4430-panda and on the epson bt200 (omap4460).
While not having the timer seems not critical in itself. I am wondering
whether something nasty is behind it which might cause more severe
problems.
Is this really seen everywhere?

Regards,
Andreas

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ti-sysc: probe of 4a318000.target-module failed with error -16
  2023-10-29  9:12 ti-sysc: probe of 4a318000.target-module failed with error -16 Andreas Kemnade
@ 2023-10-31  7:07 ` Tony Lindgren
  2023-11-04 23:53   ` Andreas Kemnade
  0 siblings, 1 reply; 5+ messages in thread
From: Tony Lindgren @ 2023-10-31  7:07 UTC (permalink / raw)
  To: Andreas Kemnade; +Cc: linux-omap

* Andreas Kemnade <andreas@kemnade.info> [231029 09:13]:
> I am seeing the error message from $subject on omap4 devices regularly,
> on omap4430-panda and on the epson bt200 (omap4460).
> While not having the timer seems not critical in itself. I am wondering
> whether something nasty is behind it which might cause more severe
> problems.
> Is this really seen everywhere?

That should be for gptimer1 that is used as a clocksource by the
drivers/clocksource/timer-ti-dm-systimer.c driver, and ti-sysc will
ignore it.

Maybe we should not show the error for timers, or change it to
dev_info if EBUSY and timer?

Regards,

Tony

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ti-sysc: probe of 4a318000.target-module failed with error -16
  2023-10-31  7:07 ` Tony Lindgren
@ 2023-11-04 23:53   ` Andreas Kemnade
  2023-11-28 10:04     ` Tony Lindgren
  0 siblings, 1 reply; 5+ messages in thread
From: Andreas Kemnade @ 2023-11-04 23:53 UTC (permalink / raw)
  To: Tony Lindgren; +Cc: linux-omap

Am Tue, 31 Oct 2023 09:07:08 +0200
schrieb Tony Lindgren <tony@atomide.com>:

> * Andreas Kemnade <andreas@kemnade.info> [231029 09:13]:
> > I am seeing the error message from $subject on omap4 devices
> > regularly, on omap4430-panda and on the epson bt200 (omap4460).
> > While not having the timer seems not critical in itself. I am
> > wondering whether something nasty is behind it which might cause
> > more severe problems.
> > Is this really seen everywhere?  
> 
> That should be for gptimer1 that is used as a clocksource by the
> drivers/clocksource/timer-ti-dm-systimer.c driver, and ti-sysc will
> ignore it.
> 
hmm, it is about this I think:

       timer1_target: target-module@8000 {     /* 0x4a318000, ap 9 1c.0
       */ compatible = "ti,sysc-omap2-timer", "ti,sysc";

but I see no ti,no-reset-on-init or ti,no-idle as checked by
sysc_check_active_timer(). It is a bit strange. Well, we have some
alwon below. 
It sysc-omap2-timer here right instead of sysc-omap4-timer?

> Maybe we should not show the error for timers, or change it to
> dev_info if EBUSY and timer?
> 
Well, I am not sure yet whether I understand that 
-ENXIO vs. -EBUSY business there fully.
I want to really have a checkmark behind that issue in my head...

Regards,
Andreas

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ti-sysc: probe of 4a318000.target-module failed with error -16
  2023-11-04 23:53   ` Andreas Kemnade
@ 2023-11-28 10:04     ` Tony Lindgren
  2023-12-01  7:17       ` Andreas Kemnade
  0 siblings, 1 reply; 5+ messages in thread
From: Tony Lindgren @ 2023-11-28 10:04 UTC (permalink / raw)
  To: Andreas Kemnade; +Cc: linux-omap

* Andreas Kemnade <andreas@kemnade.info> [231104 23:53]:
> Am Tue, 31 Oct 2023 09:07:08 +0200
> schrieb Tony Lindgren <tony@atomide.com>:
> 
> > * Andreas Kemnade <andreas@kemnade.info> [231029 09:13]:
> > > I am seeing the error message from $subject on omap4 devices
> > > regularly, on omap4430-panda and on the epson bt200 (omap4460).
> > > While not having the timer seems not critical in itself. I am
> > > wondering whether something nasty is behind it which might cause
> > > more severe problems.
> > > Is this really seen everywhere?  
> > 
> > That should be for gptimer1 that is used as a clocksource by the
> > drivers/clocksource/timer-ti-dm-systimer.c driver, and ti-sysc will
> > ignore it.
> > 
> hmm, it is about this I think:
> 
>        timer1_target: target-module@8000 {     /* 0x4a318000, ap 9 1c.0
>        */ compatible = "ti,sysc-omap2-timer", "ti,sysc";
> 
> but I see no ti,no-reset-on-init or ti,no-idle as checked by
> sysc_check_active_timer(). It is a bit strange. Well, we have some
> alwon below. 
> It sysc-omap2-timer here right instead of sysc-omap4-timer?

For timers in the wkup domain yes they are "ti,sysc-omap2-timer",
that's typically timer1 and possibly timer2. On some devies also
possibly timer12.

> > Maybe we should not show the error for timers, or change it to
> > dev_info if EBUSY and timer?
> > 
> Well, I am not sure yet whether I understand that 
> -ENXIO vs. -EBUSY business there fully.
> I want to really have a checkmark behind that issue in my head...

Seems we should change it to dev_info saying something like "timer
already in use as a system timer".

Regards,

Tony

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ti-sysc: probe of 4a318000.target-module failed with error -16
  2023-11-28 10:04     ` Tony Lindgren
@ 2023-12-01  7:17       ` Andreas Kemnade
  0 siblings, 0 replies; 5+ messages in thread
From: Andreas Kemnade @ 2023-12-01  7:17 UTC (permalink / raw)
  To: Tony Lindgren; +Cc: linux-omap

Hi Tony,

Am Tue, 28 Nov 2023 12:04:09 +0200
schrieb Tony Lindgren <tony@atomide.com>:

> > hmm, it is about this I think:
> > 
> >        timer1_target: target-module@8000 {     /* 0x4a318000, ap 9
> > 1c.0 */ compatible = "ti,sysc-omap2-timer", "ti,sysc";
> > 
> > but I see no ti,no-reset-on-init or ti,no-idle as checked by
> > sysc_check_active_timer(). It is a bit strange. Well, we have some
> > alwon below. 
> > It sysc-omap2-timer here right instead of sysc-omap4-timer?  
> 
> For timers in the wkup domain yes they are "ti,sysc-omap2-timer",
> that's typically timer1 and possibly timer2. On some devies also
> possibly timer12.
>
ok, then at least omap2 vs. omap4 timer is no problem. I will check what
happens in check_active_timer.
The background of all this is that I am scrutinizing everything
in that area due to my bt200 mainline spl xs. ancient xloader
trouble. I think now with my success in GPS I will have enough mental
power to start it doing something there again.
 
> > > Maybe we should not show the error for timers, or change it to
> > > dev_info if EBUSY and timer?
> > >   
> > Well, I am not sure yet whether I understand that 
> > -ENXIO vs. -EBUSY business there fully.
> > I want to really have a checkmark behind that issue in my head...  
> 
> Seems we should change it to dev_info saying something like "timer
> already in use as a system timer".

Yes, if the cause of -EBUSY is really an active timer.

Regards,
Andreas

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-12-01  7:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-29  9:12 ti-sysc: probe of 4a318000.target-module failed with error -16 Andreas Kemnade
2023-10-31  7:07 ` Tony Lindgren
2023-11-04 23:53   ` Andreas Kemnade
2023-11-28 10:04     ` Tony Lindgren
2023-12-01  7:17       ` Andreas Kemnade

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox