PREEMPT_RT kernel running on RPi3 requires additional patches to avoid lockups.
I have build/install instructions (in wiki) and .deb packages (in Releases) posted in my linux repo. There is a 6.1.54 build posted that works on RPi3.
https://github.com/kdoren/linux
I'm uncertain whether the additional patches are still required on RPi4 or RPi5. The patches introduce spin-locks around the use of FIQ. It's easy to get RPi3 to lock up with unpatched PREEMPT_RT kernel. I didn't trigger any lockups on RPi4 in a week of testing with USB audio load, but I don't consider that definitive proof that the patches aren't required. I may start posting unpatched builds (which won't work on RPi3) to get other people to test them on RPi4/5.
-Kevin
I have build/install instructions (in wiki) and .deb packages (in Releases) posted in my linux repo. There is a 6.1.54 build posted that works on RPi3.
https://github.com/kdoren/linux
I'm uncertain whether the additional patches are still required on RPi4 or RPi5. The patches introduce spin-locks around the use of FIQ. It's easy to get RPi3 to lock up with unpatched PREEMPT_RT kernel. I didn't trigger any lockups on RPi4 in a week of testing with USB audio load, but I don't consider that definitive proof that the patches aren't required. I may start posting unpatched builds (which won't work on RPi3) to get other people to test them on RPi4/5.
-Kevin
Statistics: Posted by kdoren — Sat Jan 20, 2024 7:56 am