Commit graph

1021 commits

Author SHA1 Message Date
Demetris Ierokipides
a5d2656bc8 Merge branch 'master' of github.com:LibreELEC/LibreELEC.tv into Lakka-v5.x 2023-01-19 00:52:56 +02:00
Rudi Heitbaum
0612362a54 linux: rtw88: update SDIO patches 20220611 to RFC-v1
linux-122-rtw88-rfc-v1.patch from:
 https://lore.kernel.org/linux-wireless/20221227233020.284266-1-martin.blumenstingl@googlemail.com/t.mbox.gz

pre-req is:
- linux: rtw88: backport USB patches from wireless-next 6.2
2023-01-09 09:31:17 +00:00
Rudi Heitbaum
844dc43e86 linux: rtw88: Three locking fixes for existing code
fixes:

[   38.800687] ------------[ cut here ]------------
[   38.800703] Voluntary context switch within RCU read-side critical section!
[   38.800715] WARNING: CPU: 3 PID: 49 at kernel/rcu/tree_plugin.h:318 rcu_note_context_switch+0x314/0x3ec
[   38.800740] Modules linked in: bnep rtw88_8822cs hci_uart rtw88_8822c btqca rtw88_sdio rtw88_core btrtl btbcm btintel crct10dif_ce mac80211 sunxi_cir bluetooth ecdh_generic libarc4 dwmac_sun8i ecc hantro_vpu v4l2_vp9 v4l2_h264 panfrost drm_shmem_helper gpu_sched sun50i_di cfg80211 rfkill pkcs8_key_parser fuse
[   38.800814] CPU: 3 PID: 49 Comm: kworker/u8:1 Not tainted 6.1.1 #1
[   38.800821] Hardware name: Tanix TX6 (DT)
[   38.800826] Workqueue: phy0 ieee80211_iface_work [mac80211]
[   38.800944] pstate: 600000c5 (nZCv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[   38.800950] pc : rcu_note_context_switch+0x314/0x3ec
[   38.800959] lr : rcu_note_context_switch+0x314/0x3ec
[   38.800965] sp : ffff8000098d3450
[   38.800968] x29: ffff8000098d3450 x28: ffff800000d71e90 x27: ffff00000f647400
[   38.800977] x26: 0000000000000000 x25: ffff8000098d36a8 x24: 0000000000000000
[   38.800986] x23: 0000000000000000 x22: ffff00000201d100 x21: ffff0000bf9ab100
[   38.800995] x20: ffff800009251e40 x19: ffff0000bf9abe40 x18: fffffffffffe7b30
[   38.801004] x17: 7a9deabfef448dbe x16: 0000000000004664 x15: fffffffffffe7b78
[   38.801013] x14: ffff800009400d38 x13: ffff800009400d90 x12: 0000000000000579
[   38.801022] x11: 00000000000001d3 x10: ffff80000945b958 x9 : ffff800009400d90
[   38.801031] x8 : 00000000ffffefff x7 : ffff800009458d90 x6 : 00000000000001d3
[   38.801039] x5 : ffff0000bf9a48a8 x4 : 0000000000000000 x3 : 0000000000000027
[   38.801048] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff00000201d100
[   38.801057] Call trace:
[   38.801060]  rcu_note_context_switch+0x314/0x3ec
[   38.801068]  __schedule+0xa4/0x6b0
[   38.801075]  schedule+0x58/0xc0
[   38.801081]  schedule_timeout+0xb8/0xec
[   38.801088]  wait_for_completion+0xb0/0x150
[   38.801093]  mmc_wait_for_req_done+0x68/0x9c
[   38.801103]  mmc_wait_for_req+0xa8/0xf4
[   38.801109]  mmc_wait_for_cmd+0x60/0x9c
[   38.801116]  mmc_io_rw_direct+0x98/0x12c
[   38.801124]  sdio_writeb+0x30/0x60
[   38.801131]  rtw_sdio_write8+0x7c/0x120 [rtw88_sdio]
[   38.801144]  rtw_bf_init_bfer_entry_mu+0x3c/0xc0 [rtw88_core]
[   38.801183]  rtw_bf_enable_bfee_mu+0x78/0x12c [rtw88_core]
[   38.801213]  rtw8822c_bf_config_bfee+0x44/0x10c [rtw88_8822c]
[   38.801229]  rtw_bf_assoc+0xec/0x210 [rtw88_core]
[   38.801258]  rtw_ops_bss_info_changed+0x27c/0x280 [rtw88_core]
[   38.801287]  ieee80211_bss_info_change_notify+0x100/0x184 [mac80211]
[   38.801363]  ieee80211_rx_mgmt_assoc_resp+0x16f4/0x1794 [mac80211]
[   38.801438]  ieee80211_sta_rx_queued_mgmt+0x250/0x9b0 [mac80211]
[   38.801513]  ieee80211_iface_work+0x2b4/0x3d0 [mac80211]
[   38.801589]  process_one_work+0x1cc/0x324
[   38.801597]  worker_thread+0x68/0x41c
[   38.801603]  kthread+0x104/0x110
[   38.801610]  ret_from_fork+0x10/0x20
[   38.801617] ---[ end trace 0000000000000000 ]---
2023-01-09 09:30:25 +00:00
Demetris Ierokipides
d9dc655e32 Merge branch 'master' of github.com:LibreELEC/LibreELEC.tv into Lakka-v5.x 2023-01-02 22:15:17 +02:00
Rudi Heitbaum
2d8d494f40 linux: rtw88: rebase SDIO patch against kernel 6.1 2022-12-10 05:45:48 +00:00
Rudi Heitbaum
814b798cc7 linux: rtw88: rebase SDIO patch against kernel 6.0 2022-12-10 05:45:48 +00:00
Rudi Heitbaum
6d02cb5315 linux: rtw88: add SDIO patches to wireless-next from 6.2
linux-122-rtw88-test-20220611.patch from:
 4533cf365f...rtw88-test-20220611.patch

pre-req is:
- linux: rtw88: backport USB patches from wireless-next 6.2 [Rudi
2022-12-10 05:44:13 +00:00
Rudi Heitbaum
e213ce3969 linux: rtw88: backport USB patches from wireless-next 6.2 2022-12-10 05:36:11 +00:00
Demetris Ierokipides
c182853b14 Merge branch 'master' of github.com:LibreELEC/LibreELEC.tv into Lakka-v5.x 2022-11-10 16:37:40 +02:00
Matthias Reichl
55eb33a122 Revert "linux (RPi): temporarily change FIQ default in dwc_otg to off"
This reverts commit 0a7b9dfc75.

The issue has been fixed in the RPi linux kernel

Signed-off-by: Matthias Reichl <hias@horus.com>
2022-10-27 14:29:29 +02:00
Demetris Ierokipides
cc0fbe363a Merge branch 'master' of github.com:LibreELEC/LibreELEC.tv into Lakka-v5.x 2022-10-15 00:44:05 +03:00
Rudi Heitbaum
a1f6078f0e linux: update to 6.0
Co-authored-by: CvH <1355173+CvH@users.noreply.github.com>
2022-10-04 20:32:34 +00:00
Matthias Reichl
0a7b9dfc75 linux (RPi): temporarily change FIQ default in dwc_otg to off
Currently FIQ code is broken and locks up RPi2/3 on boot.
So don't enable it by default until the issue is resolved.

Signed-off-by: Matthias Reichl <hias@horus.com>
2022-10-03 22:01:52 +02:00
Matthias Reichl
700f3d2956 linux (RPi): update to 6.0-rc1-c8f4128
Signed-off-by: Matthias Reichl <hias@horus.com>
2022-10-03 22:01:52 +02:00
David Lawson
01e1cc74e6
linux: rename '.backup patches' -> '.backup_patches' to prevent build log spam (#1739) 2022-09-13 16:07:24 +03:00
Demetris Ierokipides
6e856cf717 Merge branch 'master' of github.com:LibreELEC/LibreELEC.tv into Lakka-v5.x 2022-09-12 02:18:57 +03:00
Rudi Heitbaum
6c19bec922 linux (RPi): patch to compile kernel 5.15 with binutils-2.39 2022-08-08 10:24:25 +00:00
Rudi Heitbaum
007b02e2c8 linux (default): patch to compile kernel 5.19 with binutils-2.39 2022-08-08 10:24:25 +00:00
Rudi Heitbaum
1619e028c5 linux: ntfs3: drop upstreamed patches in 5.19 2022-08-01 06:49:13 +00:00
David Lawson
933195d946
Revert rpi patches again (#1720)
* Revert "linux: restore raspberrypi linux patches (#1714)"

This reverts commit 5d05f25d52.

* rpi: add back patch for 240p composite output
2022-07-22 00:41:00 +03:00
David Lawson
5d05f25d52
linux: restore raspberrypi linux patches (#1714)
- put Lakka raspberry pi packages into the upstream raspberrypi directory to make future upstream rebasing/merging easier
 - rename ".backup patches" to ".backup_patches" to stop error messages during build
2022-07-09 15:36:45 +03:00
Matthias Reichl
2c1fdb3834 linux (RPi): update to 5.15.48-b34bf32
Drop linux-010-pr5052.patch, this is now in rpi kernel tree

Signed-off-by: Matthias Reichl <hias@horus.com>
2022-07-01 18:04:04 +02:00
Demetris Ierokipides
ec860a28f1 Restore default linux patches directories 2022-06-24 17:46:12 +03:00
Demetris Ierokipides
015fd1eca4 Merge branch 'libreelec-10.0' of github.com:LibreELEC/LibreELEC.tv into Lakka-v4.x 2022-06-21 17:18:12 +03:00
Matthias Reichl
6cf632cf0b linux (RPi): update to 5.10.110-89c0af7
Signed-off-by: Matthias Reichl <hias@horus.com>
2022-06-09 15:14:27 +02:00
Matthias Reichl
c99de9c356 Revert "TEST linux (RPi): add patch to delay cec_phys_addr_invalidate"
This reverts commit a89289334e.

This patch does not seem to help so drop it.
2022-06-09 15:14:26 +02:00
Rudi Heitbaum
4aacc45968 linux: drop ntfs3 patches included in 5.18.3-rc1 2022-06-09 10:48:43 +00:00
Matthias Reichl
7042215a72 TEST linux (RPi): add PR5052
Signed-off-by: Matthias Reichl <hias@horus.com>
2022-06-07 19:06:40 +02:00
Tomáš Kelemen
e688738cfe
kernel/Lakka: add support for ASUS BT500 and TP-LINK UB500 (#1645) 2022-03-21 18:35:15 +02:00
heitbaum
4d15615008 linux: patches included in 5.17 2022-03-21 03:44:54 +00:00
CvH
53a2345f9b
Merge pull request #6286 from sky42src/fix_rpi_dirty_pipe
[LE10] linux (RPi): fix dirty pipe CVE-2022-0847
2022-03-10 05:20:52 +01:00
sky42
22000a3b2e linux (RPi): fix dirty pipe CVE-2022-0847 2022-03-09 00:45:19 +01:00
Alex Bee
1b156c2b5b linux: update to 5.10.103 2022-03-08 21:12:31 +01:00
Tomáš Kelemen (vudiq)
80d81600d4
fix patch folders 2022-03-07 15:07:51 +01:00
Tomáš Kelemen (vudiq)
20ee335ef3
linux/lakka/rpi: patch for scaled modes
ref: https://github.com/raspberrypi/linux/pull/4636
2022-03-06 09:33:15 +01:00
Tomáš Kelemen (vudiq)
5e81ae31cf
linux/lakka/rpi: this patch was mostly merged upstream
some parts of if were not, it is possible, that those added 240p mode
2022-03-05 10:24:32 +01:00
Tomáš Kelemen (vudiq)
7cbb2e6a24
Merge LibreELEC 10.0.2 2022-03-04 22:36:18 +01:00
Matthias Reichl
a89289334e TEST linux (RPi): add patch to delay cec_phys_addr_invalidate
Signed-off-by: Matthias Reichl <hias@horus.com>
2022-02-07 13:19:46 +01:00
heitbaum
4643fbe624 linux: bluetooth: Read codec capabilities only if supported
Include patch from lists to suppress bluetooth dmesg warnings

[    3.980822] Bluetooth: hci0: Failed to read codec capabilities (-56)
[    3.982812] Bluetooth: hci0: Failed to read codec capabilities (-56)
[    3.984812] Bluetooth: hci0: Failed to read codec capabilities (-56)
[    3.986608] Bluetooth: hci0: Failed to read codec capabilities (-56)
[    3.987621] Bluetooth: hci0: Failed to read codec capabilities (-56)
[    3.988606] Bluetooth: hci0: Failed to read codec capabilities (-56)
[    3.989650] Bluetooth: hci0: Failed to read codec capabilities (-56)

https://lkml.org/lkml/2022/1/3/201
2022-01-11 16:04:01 +00:00
Matthias Reichl
e599d395b0 linux (RPi): update to 5.10.87-48f2346
drop video codec callback limit revert, this is now in RPi kernel, too

Signed-off-by: Matthias Reichl <hias@horus.com>
2022-01-07 13:46:55 +01:00
CvH
3a40533db6
Merge pull request #5838 from heitbaum/ntfs3
Replace ntfs-3g_ntfsprogs with Linux kernel 5.15 ntfs3
2021-12-15 16:48:43 +01:00
heitbaum
66c33db081 Revert "linux (default): backport VIDIOC_DQEVENT compat32 ioctl fix"
This reverts commit e13cf832ed.

this patch is included in 5.15.6
2021-12-12 08:31:39 +00:00
heitbaum
a3a8d4b31e ntfs3: patches since 5.15 2021-12-08 21:49:47 +00:00
Matthias Reichl
3486fa6b7d linux (RPi): update to 5.15.5-20426cd
drop VIDIOC_DQEVENT compat32 fix patch, this is now included in RPi
kernel tree

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-11-29 19:52:01 +01:00
heitbaum
e13cf832ed linux (default): backport VIDIOC_DQEVENT compat32 ioctl fix 2021-11-24 21:42:39 +11:00
Matthias Reichl
cc51ee6af6 linux (RPi): backport VIDIOC_DQEVENT compat32 ioctl fix
Signed-off-by: Matthias Reichl <hias@horus.com>
2021-11-19 20:35:28 +01:00
Matthias Reichl
4df43bc619 linux (RPi): update to 5.15.2-027a7a8
drop linux-001-temp-revert-video-codec-callback-limit.patch, this
has been reverted in RPi repo, too.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-11-18 18:39:15 +01:00
Tomáš Kelemen (vudiq)
f4f61ac3d9
Merge LibreELEC 10.0.1 2021-11-03 13:03:34 +01:00
Matthias Reichl
d0a33bc1c8 linux (RPi): temporarily revert video codec callback limit
The callback limit can cause stalls in kodi and ffmpeg, revert the
commit until a proper solution has been found.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-10-29 12:52:12 +02:00
Matthias Reichl
db0a5be3a6 linux (RPi): temporarily revert video codec callback limit
The callback limit can cause stalls in kodi and ffmpeg, revert the
commit until a proper solution has been found.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-10-29 12:50:11 +02:00