whatawurst / android_kernel_sony_msm8998

LineageOS Kernel Tree for Sony Xperia XZ Premium, XZ1 and XZ1 Compact
Other
40 stars 73 forks source link

Disable CONFIG_RT_GROUP_SCHED kernel config option #49

Closed ShujathMohd closed 2 years ago

ShujathMohd commented 2 years ago

Disable CONFIG_RT_GROUP_SCHED to control RT cpu allowance globally.

This fixes Bluetooth on Android 12

E bt_osi_alarm: system/bt/osi/src/alarm.cc:683 timer_create_internal: timer_create_internal unable to create timer with clock 7 F droid.bluetoot: [1111/202410.566686:FATAL:alarm.cc(169)] Check failed: false.

F DEBUG : Cmdline: com.android.bluetooth F DEBUG : pid: 1497, tid: 1556, name: bt_stack_manage >>> com.android.bluetooth <<< F DEBUG : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr -------- F DEBUG : Abort message: '[1111/202424.867112:FATAL:alarm.cc(169)] Check failed: false

Ref : https://android.googlesource.com/kernel/configs/+/f5591f5e9e7bc4d7984696055955653373e9b48a%5E%21/#F0

derfelot commented 2 years ago

Since this branch is for 11, I won't merge it here.

I will start pushing the yoshino 12 bringup this weekend and make a 19.0 branch.

derfelot commented 2 years ago

I picked it into 19 branch

https://github.com/whatawurst/android_kernel_sony_msm8998/commit/2ea61fc8e4716980fa78a94f4ce589fb6f559b1e