Skip to contentSkip to conversation

CONFIG_PREEMPT_RT patch on Apollon (OMAP2)

DISCUSSION Kyungmin Park 4 participants 5 messages Nov 27, 2006 – Nov 30, 2006

lore
Share & tools
lore
#0 lore raw

Hi, Dirk Behme

As you mentioned, I tried to use CONFIG_PREEMPT_RT patch. But there's some issues.

1. ethernet flags
- After change from IRQF_RISING to IRQF_HIGH in recent OMAP2 patch. it occurs the GPIO bug message in line 1005. So I reverted IRQF_RISING as before. then it's working.

2. Too many loads???
- After booting. I think the system is too slow. and also it's unstable. After some opeartions. it's hang.

3. ARMv6 support
- current cmpxchg support for under ARMv6 only.

Thank you,
Kyungmin Park

#1 lore raw
Quoted 1 line · Kyungmin Park

As you mentioned, I tried to use CONFIG_PREEMPT_RT patch.

Great!

Quoted 1 line

But there's some issues.

Yep, CONFIG_PREEMPT_RT still looks experimental on our platform. Hopefully we contribute to improvement by testing it.

Quoted 3 lines

1. ethernet flags
- After change from IRQF_RISING to IRQF_HIGH in recent OMAP2 patch. it occurs the GPIO bug message in line 1005. So I reverted IRQF_RISING as before. then it's working.

Maybe David has an idea here? [1]

Regarding ethernet I'm unsure. On OSK/OMAP1 my testcase is playing MP3 over NFS. While writing my previous mail, I never reached the end of MP3 because of NFS timeouts and connection losses.

Today, I tried again to get the exact error message and now no NFS issues any more. MP3 properly finishes.

Quoted 2 lines

2. Too many loads???
- After booting. I think the system is too slow. and also it's unstable. After some opeartions. it's hang.

Can't say this for OSK, feeling is same speed or even faster. For me, ALSA was unstable because I missed to convert some spinlocks to raw_spinlocks. Maybe you should check if you found all?

What's your testcase? For which operations does it hang?

Quoted 2 lines

3. ARMv6 support
- current cmpxchg support for under ARMv6 only.

Don't know anything about ARMv6.

Cheers

Dirk

[1] http://linux.omap.com/pipermail/linux-omap-open-source/2006-November/008270.html

#3 lore raw
In reply to Kyungmin Park
Quoted 2 lines · Kyungmin Park

2. Too many loads???
- After booting. I think the system is too slow. and also it's unstable. After some opeartions. it's hang.

Two additional things:

- Do you converted OMAP2 timer to clocksource as well (timer-gp.c)? I think our clocksource patch only covers OMAP1 (Kevin?).

- Do yout get Cyclictest [1] to work?

Dirk

[1] http://rt.wiki.kernel.org/index.php/Cyclictest

#4 lore raw
Quoted 9 lines · Dirk Behme
Quoted 3 lines · Kyungmin Park

2. Too many loads???
- After booting. I think the system is too slow. and also it's
unstable. After some opeartions. it's hang.

Two additional things:

- Do you converted OMAP2 timer to clocksource as well (timer-gp.c)? I think our clocksource patch only covers OMAP1 (Kevin?).

Correct, only OMAP1 clocksource/clockevent done so far.

Kevin

#2 lore raw
In reply to Dirk Behme
Quoted 5 lines · Dirk Behme
Quoted 3 lines

1. ethernet flags
- After change from IRQF_RISING to IRQF_HIGH in recent OMAP2 patch. it occurs the GPIO bug message in line 1005. So I reverted IRQF_RISING as before. then it's working.

Maybe David has an idea here? [1]

No. H4 with NFSroot and current GIT works fine for me; that uses IRQF_TRIGGER_LOW.

The "best" solution would of course be passing the flags in the IRQ resource, but that'd be more invasive to smc91x and (eventually) the board init code. platform_get_irq() doesn't pass those flags along.

- Dave