Linux5.15, iMacPro applesmc, blueooth fixes, asahilinux brcmfmac changes#41
Open
Redecorating wants to merge 4 commits into
Open
Linux5.15, iMacPro applesmc, blueooth fixes, asahilinux brcmfmac changes#41Redecorating wants to merge 4 commits into
Redecorating wants to merge 4 commits into
Conversation
The 9001 patch was renamed to 8003 as we are running out of numbers for
sections of patches.
The new 9001 patch adds a quirk for mbp16,1/2/4 models that disables the
LE Read Min/Max Tx Power command, which is reported by the chip as a
supported command, but when Linux uses the command it fails. There is a
different patch fixing this on the bluetooth-next tree, but that doesn't
apply to stable.
9002 Adds the pcie id of the uart controller on the MBP16,2 to the
intel-lpss-pci driver. The clock speed is corrected on the patch
included.
9003 Fixes a kernel panic caused by an intel lpss acpi device, which
doesn't seem to be used for anything on macOS (not much in ioreg
about it).
The 5001 and 5002 patches were removed as new patches modify brcmf_mp_device. Given that the rambases for the WiFi chips on all T2 Macs are now known, this shouldn't be too much of an issue. This patchset supports OTP firmware selection and the 64 bit regs that BCM4377 has. The firmware naming format has changed because of OTP. To install firmware with the required naming scheme: # in macos (or linux if you have a copy of the wifi folder): git clone https://github.com/AsahiLinux/asahi-installer --depth=1 cd asahi-installer/src python3 -m firmware.wifi /usr/share/firmware/wifi firmware.tar # in linux cd /lib/firmware sudo tar xf /path/to/firmware.tar Link: https://github.com/asahilinux/linux/tree/wifi/take5 Link: https://lore.kernel.org/all/20211226153624.162281-1-marcan@marcan.st/ The 8003 p2p patch has been renamed to 8035. It still applies fine.
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.
update to linux 5.15.12, some changes to patches to make them apply on 5.15
add iMacPro to applesmc_whitelist (3007)
moved p2p patch to 8003, so the bluetooth stuff could be 900X
Add quirk disabling the LE Read Min/Max Tx Power command on mbp16,1/2/4 and iMac20,1/2 as the BT chip reports support for it but then says its an unknown command. (9001)
Add the pcie id of the uart on MBP16,2, for Bluetooth (9002)
Fix that lpss panic (9003)
moved p2p patch to 8035
Take wifi patchset from https://github.com/asahilinux/linux/tree/wifi/take5 (8001-8034)
The new wifi patchset means firmware needs to have different naming scheme (because otp). To get fw:
apple-bce and apple-ibridge aren't moved in tree to drivers/staging (I can do a pr for that if you'd like, or you can copy the relevant parts of this if you want).