Repository navigation
Revert downstream SPI patches - #3687
Merged
Merged
Conversation
This reverts commit fe3f696. See: raspberrypi#3687
This reverts commit 2697f01. See: raspberrypi#3687
This reverts commit 49b9bd8. See: raspberrypi#3687
popcornmix
added a commit
to raspberrypi/firmware
that referenced
this pull request
Jun 26, 2020
kernel: brcmfmac: Prefer a ccode from OTP over nvram file kernel: staging: bcm2835-audio: Add missing MODULE_ALIAS See: raspberrypi/linux#3681 kernel: IRS1125 sensor driver updates See: raspberrypi/linux#3544 kernel: Revert downstream SPI patches See: raspberrypi/linux#3687 kernel: PCI: brcmstb: Add DT property to control L1SS firmware: hdmi: Set HD_CTL_WHOLSMP and HD_CTL_CHALIGN_SET See: https://forum.kodi.tv/showthread.php?tid=354589 firmware: arm_ldconfig: Honour the kernel8 text offset See: #1415 firmware: jpeghw: Skip repeated 0xFF padding bytes between markers See: RPi-Distro/vlc#8 filesystem: Add support for SD cards with GPT partition table
popcornmix
added a commit
to Hexxeh/rpi-firmware
that referenced
this pull request
Jun 26, 2020
kernel: brcmfmac: Prefer a ccode from OTP over nvram file kernel: staging: bcm2835-audio: Add missing MODULE_ALIAS See: raspberrypi/linux#3681 kernel: IRS1125 sensor driver updates See: raspberrypi/linux#3544 kernel: Revert downstream SPI patches See: raspberrypi/linux#3687 kernel: PCI: brcmstb: Add DT property to control L1SS firmware: hdmi: Set HD_CTL_WHOLSMP and HD_CTL_CHALIGN_SET See: https://forum.kodi.tv/showthread.php?tid=354589 firmware: arm_ldconfig: Honour the kernel8 text offset See: raspberrypi/firmware#1415 firmware: jpeghw: Skip repeated 0xFF padding bytes between markers See: RPi-Distro/vlc#8 filesystem: Add support for SD cards with GPT partition table
haokexin
pushed a commit
to haokexin/linux
that referenced
this pull request
Jul 7, 2020
commit 37c95f827090f7825ff2ed7198f94455f947ebb4 from https://github.com/raspberrypi/linux.git rpi-5.6.y This reverts commit fe3f696b7e5229678ae45d1293e97b5ecc00c245. See: raspberrypi/linux#3687 Signed-off-by: Meng Li <Meng.Li@windriver.com>
haokexin
pushed a commit
to haokexin/linux
that referenced
this pull request
Jul 7, 2020
commit a131e23aa639c1804fa46238a0c4e59d3358b82e from https://github.com/raspberrypi/linux.git rpi-5.6.y This reverts commit 2697f0186db346176832b8eb79adaf5c874681e8. See: raspberrypi/linux#3687 Signed-off-by: Meng Li <Meng.Li@windriver.com>
haokexin
pushed a commit
to haokexin/linux
that referenced
this pull request
Jul 7, 2020
commit 40f1c4c0db33d3b2f105deab602a729922e5b36a from https://github.com/raspberrypi/linux.git rpi-5.6.y This reverts commit 49b9bd89784e3fa29f143ebf1ac8f125be47b708. See: raspberrypi/linux#3687 Signed-off-by: Meng Li <Meng.Li@windriver.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Many years ago the upstream SPI driver was less capable than the downstream version and different in a number of ways - primarily in that it forced the use of software Chip Selects, which caused problems in some cases. Since then, a lot of work has been done to improve and optimise the upstream driver. We have been using it by default for several years, but always with downstream patches to revert some of the changes.
In testing the 5.4 kernel a problem was found with a device that was using Device Tree to request the use of hardware CS, which the downstream patches were honouring but which was leading to failure. If upstream aren't using HW CS then its not surprising that breakages may happen.
Now seems like an appropriate time to embrace the upstream driver and learn to live with (or explicitly fix) any issues that arise. This Pull Request can act as documentation for the change and a place to discuss any fallout.