-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
linux: update to 6.4.y #7837
linux: update to 6.4.y #7837
Conversation
I can confirm that both TX6 (822bs and 8822cs have running WiFi and Bluetooth with 6.4-rc1 and the byte-wise-word-io patch. I havent done any performance tests / ... But connectivity was no issue. With HCI_QUIRK_BROKEN_LOCAL_EXT_FEATURES_PAGE_2 now in 6.4-rc1 - I'll tidy up the BT 8822bs patch and submit. |
iperf testing has no dmesg errors - tested with both ipv4/ipv6 and both arm/aarch64 user lands
|
0a7adbe
to
1d67891
Compare
The Allwinner sunxi-mmc controller cannot handle word (16 bit) transfers. So and sdio_{read,write}w fails with messages like the following example using an RTL8822BS (but the same problems were also observed with RTL8822CS and RTL8723DS chips): rtw_8822bs mmc1:0001:1: Firmware version 27.2.0, H2C version 13 sunxi-mmc 4021000.mmc: unaligned scatterlist: os f80 length 2 sunxi-mmc 4021000.mmc: map DMA failed rtw_8822bs mmc1:0001:1: sdio read16 failed (0x10230): -22 Use two consecutive single byte accesses for word operations instead. It turns out that upon closer inspection this is also what the vendor driver does, even though it does have support for sdio_{read,write}w. So we can conclude that the rtw88 chips do support word access but only on SDIO controllers that also support it. Since there's no way to detect if the controller supports word access or not the rtw88 sdio driver switches to the easiest approach: avoiding word access. Reported-by: Larry Finger <Larry.Finger@lwfinger.net> Closes: https://lore.kernel.org/linux-wireless/527585e5-9cdd-66ed-c3af-6da162f4b720@lwfinger.net/ Reported-by: Rudi Heitbaum <rudi@heitbaum.com> Link: LibreELEC/LibreELEC.tv#7837 (comment) Fixes: 65371a3 ("wifi: rtw88: sdio: Add HCI implementation for SDIO based chipsets") Reviewed-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
The Allwinner sunxi-mmc controller cannot handle word (16 bit) transfers. So and sdio_{read,write}w fails with messages like the following example using an RTL8822BS (but the same problems were also observed with RTL8822CS and RTL8723DS chips): rtw_8822bs mmc1:0001:1: Firmware version 27.2.0, H2C version 13 sunxi-mmc 4021000.mmc: unaligned scatterlist: os f80 length 2 sunxi-mmc 4021000.mmc: map DMA failed rtw_8822bs mmc1:0001:1: sdio read16 failed (0x10230): -22 Use two consecutive single byte accesses for word operations instead. It turns out that upon closer inspection this is also what the vendor driver does, even though it does have support for sdio_{read,write}w. So we can conclude that the rtw88 chips do support word access but only on SDIO controllers that also support it. Since there's no way to detect if the controller supports word access or not the rtw88 sdio driver switches to the easiest approach: avoiding word access. Reported-by: Larry Finger <Larry.Finger@lwfinger.net> Closes: https://lore.kernel.org/linux-wireless/527585e5-9cdd-66ed-c3af-6da162f4b720@lwfinger.net/ Reported-by: Rudi Heitbaum <rudi@heitbaum.com> Link: LibreELEC/LibreELEC.tv#7837 (comment) Fixes: 65371a3 ("wifi: rtw88: sdio: Add HCI implementation for SDIO based chipsets") Reviewed-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
ea3141e
to
566dbd8
Compare
@Kwiboo / @knaerzche - are these rebases ok? Otherwise let me know. If so I squash (change from wip) and finalise 6.4.
|
@Kwiboo I’ve gone through the code today, the 3 dropped patches were across the same function the brute force revert 6.5 to 6.4-LE patch is here 40ff3634f71b8bf1769d05a565e7275b6ecbac51 which is easier to read upstream change 6.4 to 6.5
Downstream LE patches 6.4 to 6.4-LE
Resulting difference between 6.4-LE and 6.5
|
…6.4-rc1 in projects/Rockchip/patches/linux/default/linux-1000-drm-rockchip.patch need to review drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c in line with - https://github.com/torvalds/linux/commits/master/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c - torvalds/linux@d13b10e - torvalds/linux@de13db3 Drop these patches - later patch to reinstate downstream changes vop_crtc_mode_valid updated.
jira LE-1907 Rebuild_History Non-Buildable kernel-4.18.0-512.el8 commit-author Martin Blumenstingl <martin.blumenstingl@googlemail.com> commit cb0ddaa The Allwinner sunxi-mmc controller cannot handle word (16 bit) transfers. So and sdio_{read,write}w fails with messages like the following example using an RTL8822BS (but the same problems were also observed with RTL8822CS and RTL8723DS chips): rtw_8822bs mmc1:0001:1: Firmware version 27.2.0, H2C version 13 sunxi-mmc 4021000.mmc: unaligned scatterlist: os f80 length 2 sunxi-mmc 4021000.mmc: map DMA failed rtw_8822bs mmc1:0001:1: sdio read16 failed (0x10230): -22 Use two consecutive single byte accesses for word operations instead. It turns out that upon closer inspection this is also what the vendor driver does, even though it does have support for sdio_{read,write}w. So we can conclude that the rtw88 chips do support word access but only on SDIO controllers that also support it. Since there's no way to detect if the controller supports word access or not the rtw88 sdio driver switches to the easiest approach: avoiding word access. Reported-by: Larry Finger <Larry.Finger@lwfinger.net> Closes: https://lore.kernel.org/linux-wireless/527585e5-9cdd-66ed-c3af-6da162f4b720@lwfinger.net/ Reported-by: Rudi Heitbaum <rudi@heitbaum.com> Link: LibreELEC/LibreELEC.tv#7837 (comment) Fixes: 65371a3 ("wifi: rtw88: sdio: Add HCI implementation for SDIO based chipsets") Reviewed-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20230515195043.572375-1-martin.blumenstingl@googlemail.com (cherry picked from commit cb0ddaa) Signed-off-by: Jonathan Maple <jmaple@ciq.com>
6.4 - Linux Kernel release
6.4.1 - 31 patches
errors / fixes / issues / regressions / todo
log
6.4.1 Build tested on all of:
6.3.y Run tested on all of:
——
Fixed:
Issues on Tanix TX6 - 8822bs/cs - fixed with byte-wise-word-io patch