Skip to contentSkip to conversation

Problem of concurrency in arch/ppc/8260_io/uart.c

DISCUSSION Joakim Tjernlund 1 participant 1 message Oct 16, 2003 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 4 lines

I had a similar problem on my_console_write. Here I wite down two version of the code, the first one is the old and the second one is the new with the modification. As you can see, there was a spin_unlock without a spink_lock ;this hangs the startup in calibration loop.

Agostino,
check out the new 8xx_io/uart.c in BK. I wrote a patch that fixes the locking problems but minimizes the lock time.

Jocke

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/