Re: arm: cortex_r: config_userspace: nested interrupt level is not decremented following syscall

Boie, Andrew P

  • In v2.3 when building with CONFIG_USERSPACE enabled, I see that we do not do a context switch a short time after POR.  I've chased this back and found the the cpus[0].nested has incremented to 6, so the code in z_arm_int_exit() thinks we are in a nested interrupt, and does not switch to another task.


Hi Phil, can you open a GH issue on this? Stephanos or maybe Ioannis may want to take a look at it.


Also, what platform do you use to test user mode on cortex-R? qemu_cortex_r5 doesn't work with it (gaps in emulation support for the MPU perhaps?)



Join to automatically receive all group messages.