BCM2835 SPI chipselect limit - kernel/driver panic
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Bug fix was just committed by Phil Elwell <email address hidden>, and appears as response driver error reported for Raspberry Pi OS. I have the same problem with driver in Ubuntu 21.04. My apology for not knowing how driver fixes are coordinated across Pi OS and Ubuntu, so I am providing the information here in hopes a fix will be made available in Ubuntu 21.04. Please let me know if driver fix will be available for 21.04.
As background, my previous comment on github in discussion of problem with Mr. Elwell was:
A limit of 24 chipselects would work for me. -- This would likely solve problem seeing a kernel panic (bad kernel memory reference) in 5.11.0-1007-raspi after configuring 6 chipselects for for BCM2835 SPI via dtoverlay. Kernel panic is on shutdown/reboot, however, memory corruption for more than 4 chipselects likely has other runtime consequences.
-------
Details on new driver commit for drivers/
https:/
spi: bcm2835: Increase the CS limit to 24
Increase the maximum number of CS lines to 24, and ensure this limit is
not exceeded.
See: #4281 -- https:/
Suggested-by: Joe Burmeister <email address hidden>
Signed-off-by: Phil Elwell <email address hidden>
tags: | added: raspi-image |
affects: | ubuntu → linux (Ubuntu) |
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https:/ /wiki.ubuntu. com/Bugs/ FindRightPackag e. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.
To change the source package that this bug is filed about visit https:/ /bugs.launchpad .net/ubuntu/ +bug/1926801/ +editstatus and add the package name in the text box next to the word Package.
[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]