shtirlic commented on PR #16331: URL: https://github.com/apache/nuttx/pull/16331#issuecomment-2864939352
@avgoor the way it's done in https://github.com/apache/nuttx/blob/358469e5bbb5e9507777c8c0b563c761213ececd/drivers/serial/serial_io.c#L57-L64 suggests that there is a small chance between the calls to lock/unlock for race, I will try to find the solution for SMP config, In general from what I saw there is a problem in SMP for rp2350 not in serial code overall, I am still trying to find the cause, enabling debug, different optimization flags introduce latency in scheduling making it almost impossible for me to find the catch the underlying problem. Even stopping on one breakpoint makes whole scheduling behave not the same. Most of the time I see internal tasklists are been corrupted or for example one task recursively links on it's self, so this is for sure some scheduler bug but it is exposed and visible on rp2350 for some reasons. I have a branch where I remade all IRQ and SMP calls handling and it still has issues with tasks dead and freeze. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org