BCM2835 SPI chipselect limit - kernel/driver panic

Bug #1926801 reported by Robert Stephens
6
This bug affects 1 person
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/spi/spi-bcm2835.c from Mr. Elwell on 4-30-2021:

https://github.com/raspberrypi/linux/commit/05f8d5826e28e9d82485c03b65c18d5013ba13bd

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://github.com/raspberrypi/linux/pull/4281

Suggested-by: Joe Burmeister <email address hidden>
Signed-off-by: Phil Elwell <email address hidden>

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

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/FindRightPackage. 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.]

tags: added: bot-comment
tags: added: raspi-image
affects: ubuntu → linux (Ubuntu)
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1926801

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: hirsute
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.