Skip to content

Revert downstream SPI patches - #3687

Merged
pelwell merged 3 commits into
raspberrypi:rpi-5.4.yfrom
pelwell:spirevert
Jun 23, 2020
Merged

pelwell merged 3 commits into
raspberrypi:rpi-5.4.yfrom
pelwell:spirevert

Conversation

@pelwell

@pelwell pelwell commented Jun 23, 2020

Copy link
Copy Markdown
Contributor

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.

@pelwell
pelwell merged commit 30f0dc8 into raspberrypi:rpi-5.4.y Jun 23, 2020
pelwell added a commit that referenced this pull request Jun 23, 2020
pelwell added a commit that referenced this pull request Jun 23, 2020
pelwell added a commit that referenced this pull request Jun 24, 2020
pelwell added a commit that referenced this pull request Jun 24, 2020
pelwell added a commit that referenced this pull request Jun 24, 2020
pelwell added a commit that referenced this pull request Jun 24, 2020
pelwell added a commit that referenced this pull request Jun 24, 2020
pelwell added a commit that referenced this pull request Jun 24, 2020
popcornmix pushed a commit that referenced this pull request Jun 26, 2020
popcornmix pushed a commit that referenced this pull request Jun 26, 2020
popcornmix pushed a commit that referenced this pull request Jun 26, 2020
popcornmix pushed a commit that referenced this pull request Jun 26, 2020
popcornmix pushed a commit that referenced this pull request Jun 26, 2020
popcornmix pushed a commit that referenced this pull request Jun 26, 2020
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
popcornmix pushed a commit that referenced this pull request Jul 1, 2020
popcornmix pushed a commit that referenced this pull request Jul 1, 2020
popcornmix pushed a commit that referenced this pull request Jul 1, 2020
popcornmix pushed a commit that referenced this pull request Jul 1, 2020
popcornmix pushed a commit that referenced this pull request Jul 1, 2020
popcornmix pushed a commit that referenced this pull request Jul 1, 2020
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>
popcornmix pushed a commit that referenced this pull request Jul 13, 2020
popcornmix pushed a commit that referenced this pull request Jul 13, 2020
popcornmix pushed a commit that referenced this pull request Jul 13, 2020
popcornmix pushed a commit that referenced this pull request Jul 13, 2020
popcornmix pushed a commit that referenced this pull request Jul 13, 2020
popcornmix pushed a commit that referenced this pull request Jul 13, 2020
popcornmix pushed a commit that referenced this pull request Jul 20, 2020
popcornmix pushed a commit that referenced this pull request Jul 20, 2020
popcornmix pushed a commit that referenced this pull request Jul 20, 2020
popcornmix pushed a commit that referenced this pull request Aug 12, 2020
popcornmix pushed a commit that referenced this pull request Aug 12, 2020
popcornmix pushed a commit that referenced this pull request Aug 12, 2020
popcornmix pushed a commit that referenced this pull request Aug 19, 2020
popcornmix pushed a commit that referenced this pull request Aug 19, 2020
popcornmix pushed a commit that referenced this pull request Aug 19, 2020
popcornmix pushed a commit that referenced this pull request Sep 1, 2020
popcornmix pushed a commit that referenced this pull request Sep 1, 2020
popcornmix pushed a commit that referenced this pull request Sep 1, 2020
@pelwell
pelwell deleted the spirevert branch September 15, 2021 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant