summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-02-16Merge cherrypicks of ['partner-android-review.googlesource.com/2742255'] ↵android-wear-13.0.0_r0.14android-wear-13.0.0_r0.12android-msm-eos-android13-wear-kr3-pixel-watchandroid-msm-eos-5.15-tm-wear-kr3-pixel-watchAndroid Build Coastguard Worker
into android13-msm-pixelwatch-5.15-24Q1-release. Change-Id: I991a482f905abdf97521048b00560ca55a57f1bf Signed-off-by: Coastguard Worker <android-build-coastguard-worker@google.com>
2024-02-16Merge UAF fix for April 2024 QPR into android13-msm-pixelwatch-5.15Fred Lundquist
msm: adsprpc: Handle UAF in process shell memory Bug: 318393412 Bug: 320163491 Signed-off-by: Fred Lundquist <flundquist@google.com> (cherry picked from commit f9cc8d520ba2c0aa92055c673a7c4d84eea41e77) (cherry picked from https://partner-android-review.googlesource.com/q/commit:93f3a06151db409832674f685bc61479d7edfd43) Merged-In: Iffe6d16f36c784b050274dffd39f84346b996e67 Change-Id: Iffe6d16f36c784b050274dffd39f84346b996e67
2024-01-18Merge cherrypicks of ['partner-android-review.googlesource.com/2713440', ↵Android Build Coastguard Worker
'partner-android-review.googlesource.com/2716090'] into android13-msm-pixelwatch-5.15-24Q1-release. Change-Id: Ie7302d1d54815a89eab8a9723f3bc05ca8cf8f0b
2024-01-18sw5100: fix "reboot edl" commandAnton Markov
Reverts a3ea89b which unconditionally resets download mode on shutdown. This change cleared the EDL flag set by qcom-dload-mode module. Since we use the qcom_dload_mode module to control crashdump and other download flags, we don't use download_mode in qcom_scm, and the old behavior is more correct for us. Bug: 305002872 Signed-off-by: Anton Markov <amarkov@google.com> (cherry picked from https://partner-android-review.googlesource.com/q/commit:99b630761aa687d420b1aca82235c9d8e58bc780) (cherry picked from https://partner-android-review.googlesource.com/q/commit:b6f61a5f9f7614532bae740cc795f84cb81536cd) Merged-In: If78050a87c9c02107385b425f2fabb23dbbcd3a2 Change-Id: If78050a87c9c02107385b425f2fabb23dbbcd3a2
2024-01-18Merge android13-5.15-2023-12_r2 into android13-msm-pixelwatch-5.15-24Q1-releaseBen Fennema
Merge SHA: 40c7fb3ef038 FROMLIST: iommu: Avoid more races around device probe Bug: 312901513 Bug: 161946584 (ACK) Bug: 207498240 (ACK) Bug: 271946580 (ACK) Bug: 277040837 (ACK) Bug: 278138377 (ACK) Bug: 278153046 (ACK) Bug: 286102048 (ACK) Bug: 289003868 (ACK) Bug: 289991100 (ACK) Bug: 290718075 (ACK) Bug: 290990909 (ACK) Bug: 291178675 (ACK) Bug: 296013218 (ACK) Bug: 296925310 (ACK) Bug: 297482438 (ACK) Bug: 297831741 (ACK) Bug: 298879042 (ACK) Bug: 299328919 (ACK) Bug: 299921101 (ACK) Bug: 300061677 (ACK) Bug: 300065011 (ACK) Bug: 300131820 (ACK) Bug: 300857012 (ACK) Bug: 301055890 (ACK) Bug: 301055894 (ACK) Bug: 301066838 (ACK) Bug: 301145081 (ACK) Bug: 301201239 (ACK) Bug: 301387232 (ACK) Bug: 301530151 (ACK) Bug: 301554909 (ACK) Bug: 301887900 (ACK) Bug: 301915972 (ACK) Bug: 302075941 (ACK) Bug: 302085977 (ACK) Bug: 302199939 (ACK) Bug: 302200656 (ACK) Bug: 303172721 (ACK) Bug: 304466904 (ACK) Bug: 304913642 (ACK) Bug: 304913674 (ACK) Bug: 304913716 (ACK) Bug: 304913834 (ACK) Bug: 304913898 (ACK) Bug: 304913975 (ACK) Bug: 305594365 (ACK) Bug: 305868227 (ACK) Bug: 306277287 (ACK) Bug: 306483516 (ACK) Bug: 307161346 (ACK) Bug: 307237748 (ACK) Bug: 307485594 (ACK) Bug: 307761441 (ACK) Bug: 308652253 (ACK) Bug: 308822565 (ACK) Bug: 308940593 (ACK) Bug: 309359608 (ACK) Bug: 309371168 (ACK) Bug: 309378049 (ACK) Bug: 309706715 (ACK) Bug: 309886726 (ACK) Bug: 310131277 (ACK) Bug: 310208240 (ACK) Bug: 310691882 (ACK) Bug: 311522919 (ACK) Bug: 311571057 (ACK) Bug: 313544138 (ACK) Bug: 315435741 (ACK) Bug: 316312210 (ACK) Bug: 317313944 (ACK) Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/2162 (ACK) Signed-off-by: Ben Fennema <fennema@google.com> (cherry picked from https://partner-android-review.googlesource.com/q/commit:c95e6b3e3632d8c42d0b850691a3318f63eca7dd) Merged-In: I5a4cd5333910da2d73d0abd12f50b771a7d66b51 Change-Id: I5a4cd5333910da2d73d0abd12f50b771a7d66b51
2024-01-12Merge cherrypicks of ['partner-android-review.googlesource.com/2640567'] ↵Android Build Coastguard Worker
into android13-msm-pixelwatch-5.15-24Q1-release. Change-Id: I80d0727cd20a7ba055dfd1b022cc706a4b4aa484
2024-01-12dump cpu rq's and task on WALT_BUGZabi Khadri
with walt_debug_feat_panic disabled,no rq and task info is logged. So dump it explicitly. The bug dump contains per cpu rq dump, per cpu current task dump and the task dump that triggered the bug. [ 31.721312] WALT-BUG INSTRUMENTED RUN task_struct 0000000080ba9cb0 [ 31.752335] ============ WALT RQ DUMP START ============== [ 31.752342] Sched clock: 31752342596 [ 31.752346] Time last window changed=0 [ 31.752349] global_ws=31743882764 [ 31.752352] CPU:0 nr_running:1 current: 789 (RenderEngine) [ 31.752356] ========================================== [ 31.752358] wrq->latest_clock=31751734158 [ 31.752360] wrq->window_start=31743882764 [ 31.752362] wrq->prev_window_size=16000000 [ 31.752364] wrq->curr_runnable_sum=7854583 [ 31.752365] wrq->prev_runnable_sum=16009986 [ 31.752367] wrq->nt_curr_runnable_sum=0 [ 31.752369] wrq->nt_prev_runnable_sum=0 [ 31.752371] wrq->task_exec_scale=1024 [ 31.752373] wrq->grp_time.curr_runnable_sum=0 [ 31.752375] wrq->grp_time.prev_runnable_sum=0 [ 31.752377] wrq->grp_time.nt_curr_runnable_sum=0 [ 31.752379] wrq->grp_time.nt_prev_runnable_sum=0 [ 31.752381] wrq->load_subs[0].window_start=22015882764) [ 31.752383] wrq->load_subs[0].subs=0) [ 31.752386] wrq->load_subs[0].new_subs=0) [ 31.752388] wrq->load_subs[1].window_start=0) [ 31.752390] wrq->load_subs[1].subs=0) [ 31.752392] wrq->load_subs[1].new_subs=0) [ 31.752394] Task: RenderEngine-789 [ 31.752396] READ_ONCE(p->__state)=0 [ 31.752398] p->cpu=0 [ 31.752400] p->policy=0 [ 31.752402] p->prio=112 [ 31.752404] wts->mark_start=31751734158 [ 31.752405] wts->demand=16000000 [ 31.752407] wts->coloc_demand=16000000 [ 31.752409] wts->enqueue_after_migration=0 [ 31.752411] wts->last_sleep_ts=23484038925 [ 31.752413] wts->prev_cpu=3 [ 31.752415] wts->new_cpu=4294967295 [ 31.752417] wts->misfit=0 [ 31.752419] wts->prev_on_rq=1 [ 31.752420] wts->prev_on_rq_cpu=0 [ 31.752422] wts->mvp_prio=4294967295 [ 31.752424] wts->iowaited=0 [ 31.752425] sched_ravg_window=16000000 [ 31.752427] new_sched_ravg_window=16000000 [ 31.752431] wts->curr_window=6438987 (6438987 0 0 0 ) [ 31.752435] wts->prev_window=15927983 (15927983 0 0 0 ) [ 31.752437] wts->last_wake_ts=23484568456 [ 31.752439] wts->last_enqueued_ts=31272394990 [ 31.752441] wts->misfit=0 [ 31.752443] wts->unfilter=100000000 [ 31.752445] is_32bit_thread=1 [ 31.752446] wts->grp=0 [ 31.752448] p->on_cpu=1 [ 31.752450] p->on_rq=1 [ 31.752451] sched_capacity_margin_up[cpu]=1078 [ 31.752453] sched_capacity_margin_down[cpu]=1205 [ 31.752456] CPU:1 nr_running:6 current: 62 (kworker/u8:2) [ 31.752459] ========================================== [ 31.752461] wrq->latest_clock=31749738169 [ 31.752463] wrq->window_start=31743882764 [ 31.752464] wrq->prev_window_size=16000000 [ 31.752466] wrq->curr_runnable_sum=2023156 [ 31.752468] wrq->prev_runnable_sum=16008399 [ 31.752470] wrq->nt_curr_runnable_sum=0 [ 31.752479] wrq->nt_prev_runnable_sum=1741859 [ 31.752481] wrq->task_exec_scale=882 [ 31.752483] wrq->grp_time.curr_runnable_sum=0 [ 31.752485] wrq->grp_time.prev_runnable_sum=0 [ 31.752487] wrq->grp_time.nt_curr_runnable_sum=0 [ 31.752489] wrq->grp_time.nt_prev_runnable_sum=0 [ 31.752491] wrq->load_subs[0].window_start=0) [ 31.752493] wrq->load_subs[0].subs=0) [ 31.752495] wrq->load_subs[0].new_subs=0) [ 31.752497] wrq->load_subs[1].window_start=0) [ 31.752498] wrq->load_subs[1].subs=0) [ 31.752500] wrq->load_subs[1].new_subs=0) [ 31.752502] Task: kworker/u8:2-62 [ 31.752505] READ_ONCE(p->__state)=0 [ 31.752506] p->cpu=1 [ 31.752508] p->policy=0 [ 31.752510] p->prio=120 [ 31.752511] wts->mark_start=31745909679 [ 31.752513] wts->demand=15989027 [ 31.752515] wts->coloc_demand=15396423 [ 31.752517] wts->enqueue_after_migration=0 [ 31.752519] wts->last_sleep_ts=31670627439 [ 31.752521] wts->prev_cpu=3 [ 31.752522] wts->new_cpu=4294967295 [ 31.752524] wts->misfit=0 [ 31.752526] wts->prev_on_rq=1 [ 31.752527] wts->prev_on_rq_cpu=1 [ 31.752529] wts->mvp_prio=4294967295 [ 31.752531] wts->iowaited=0 [ 31.752533] sched_ravg_window=16000000 [ 31.752534] new_sched_ravg_window=16000000 [ 31.752537] wts->curr_window=2023156 (0 2023156 0 0 ) [ 31.752541] wts->prev_window=1939323 (0 1939323 0 0 ) [ 31.752543] wts->last_wake_ts=31670666710 [ 31.752545] wts->last_enqueued_ts=31741949106 [ 31.752547] wts->misfit=0 [ 31.752548] wts->unfilter=100000000 [ 31.752551] is_32bit_thread=0 [ 31.752552] wts->grp=0 [ 31.752554] p->on_cpu=1 [ 31.752555] p->on_rq=1 [ 31.752557] sched_capacity_margin_up[cpu]=1078 [ 31.752559] sched_capacity_margin_down[cpu]=1205 [ 31.752561] CPU:2 nr_running:1 current: 1559 (sleep) [ 31.752564] ========================================== [ 31.752565] wrq->latest_clock=31751897856 [ 31.752567] wrq->window_start=31743882764 [ 31.752569] wrq->prev_window_size=16000000 [ 31.752571] wrq->curr_runnable_sum=8009397 [ 31.752573] wrq->prev_runnable_sum=16010003 [ 31.752574] wrq->nt_curr_runnable_sum=7162412 [ 31.752576] wrq->nt_prev_runnable_sum=1597594 [ 31.752578] wrq->task_exec_scale=632 [ 31.752580] wrq->grp_time.curr_runnable_sum=0 [ 31.752582] wrq->grp_time.prev_runnable_sum=0 [ 31.752583] wrq->grp_time.nt_curr_runnable_sum=0 [ 31.752585] wrq->grp_time.nt_prev_runnable_sum=0 [ 31.752587] wrq->load_subs[0].window_start=0) [ 31.752589] wrq->load_subs[0].subs=0) [ 31.752591] wrq->load_subs[0].new_subs=0) [ 31.752593] wrq->load_subs[1].window_start=0) [ 31.752595] wrq->load_subs[1].subs=0) [ 31.752597] wrq->load_subs[1].new_subs=0) [ 31.752599] Task: sleep-1559 [ 31.752601] READ_ONCE(p->__state)=0 [ 31.752603] p->cpu=2 [ 31.752605] p->policy=0 [ 31.752606] p->prio=120 [ 31.752608] wts->mark_start=31751897856 [ 31.752610] wts->demand=3533947 [ 31.752612] wts->coloc_demand=2626789 [ 31.752614] wts->enqueue_after_migration=0 [ 31.752616] wts->last_sleep_ts=0 [ 31.752618] wts->prev_cpu=2 [ 31.752619] wts->new_cpu=4294967295 [ 31.752621] wts->misfit=0 [ 31.752623] wts->prev_on_rq=1 [ 31.752625] wts->prev_on_rq_cpu=2 [ 31.752626] wts->mvp_prio=4294967295 [ 31.752628] wts->iowaited=0 [ 31.752629] sched_ravg_window=16000000 [ 31.752631] new_sched_ravg_window=16000000 [ 31.752634] wts->curr_window=7162412 (0 0 7162412 0 ) [ 31.752638] wts->prev_window=1597594 (0 0 1597594 0 ) [ 31.752640] wts->last_wake_ts=31740358325 [ 31.752642] wts->last_enqueued_ts=31740358325 [ 31.752644] wts->misfit=0 [ 31.752646] wts->unfilter=100000000 [ 31.752647] is_32bit_thread=1 [ 31.752649] wts->grp=0 [ 31.752650] p->on_cpu=1 [ 31.752652] p->on_rq=1 [ 31.752654] sched_capacity_margin_up[cpu]=1078 [ 31.752656] sched_capacity_margin_down[cpu]=1205 [ 31.752657] CPU:3 nr_running:1 current: 43 (kworker/3:0) [ 31.752661] ========================================== [ 31.752662] wrq->latest_clock=31752315825 [ 31.752664] wrq->window_start=31743882764 [ 31.752666] wrq->prev_window_size=16000000 [ 31.752667] wrq->curr_runnable_sum=8433583 [ 31.752669] wrq->prev_runnable_sum=16004362 [ 31.752671] wrq->nt_curr_runnable_sum=0 [ 31.752673] wrq->nt_prev_runnable_sum=0 [ 31.752675] wrq->task_exec_scale=1025 [ 31.752676] wrq->grp_time.curr_runnable_sum=0 [ 31.752678] wrq->grp_time.prev_runnable_sum=0 [ 31.752680] wrq->grp_time.nt_curr_runnable_sum=0 [ 31.752682] wrq->grp_time.nt_prev_runnable_sum=0 [ 31.752683] wrq->load_subs[0].window_start=0) [ 31.752686] wrq->load_subs[0].subs=0) [ 31.752688] wrq->load_subs[0].new_subs=0) [ 31.752689] wrq->load_subs[1].window_start=0) [ 31.752691] wrq->load_subs[1].subs=0) [ 31.752693] wrq->load_subs[1].new_subs=0) [ 31.752695] Task: kworker/3:0-43 [ 31.752697] READ_ONCE(p->__state)=0 [ 31.752699] p->cpu=3 [ 31.752701] p->policy=0 [ 31.752703] p->prio=120 [ 31.752704] wts->mark_start=31752315825 [ 31.752706] wts->demand=16000000 [ 31.752708] wts->coloc_demand=8224192 [ 31.752710] wts->enqueue_after_migration=0 [ 31.752711] wts->last_sleep_ts=31701142543 [ 31.752713] wts->prev_cpu=0 [ 31.752715] wts->new_cpu=4294967295 [ 31.752717] wts->misfit=0 [ 31.752718] wts->prev_on_rq=1 [ 31.752720] wts->prev_on_rq_cpu=3 [ 31.752722] wts->mvp_prio=4294967295 [ 31.752723] wts->iowaited=0 [ 31.752725] sched_ravg_window=16000000 [ 31.752727] new_sched_ravg_window=16000000 [ 31.752731] wts->curr_window=1966008 (0 0 0 1966008 ) [ 31.752734] wts->prev_window=16004362 (0 0 0 16004362 ) [ 31.752736] wts->last_wake_ts=31721252179 [ 31.752738] wts->last_enqueued_ts=31721259158 [ 31.752740] wts->misfit=0 [ 31.752742] wts->unfilter=100000000 [ 31.752744] is_32bit_thread=0 [ 31.752745] wts->grp=0 [ 31.752747] p->on_cpu=1 [ 31.752749] p->on_rq=1 [ 31.752750] sched_capacity_margin_up[cpu]=1078 [ 31.752752] sched_capacity_margin_down[cpu]=1205 [ 31.752754] max_possible_cluster_id=0 [ 31.752756] ============ WALT RQ DUMP END ============== [ 31.752757] Task: kworker/3:0-43 [ 31.752759] READ_ONCE(p->__state)=0 [ 31.752761] p->cpu=3 [ 31.752763] p->policy=0 [ 31.752764] p->prio=120 [ 31.752766] wts->mark_start=31752315825 [ 31.752768] wts->demand=16000000 [ 31.752769] wts->coloc_demand=8224192 [ 31.752771] wts->enqueue_after_migration=0 [ 31.752773] wts->last_sleep_ts=31701142543 [ 31.752775] wts->prev_cpu=0 [ 31.752777] wts->new_cpu=4294967295 [ 31.752779] wts->misfit=0 [ 31.752780] wts->prev_on_rq=1 [ 31.752782] wts->prev_on_rq_cpu=3 [ 31.752784] wts->mvp_prio=4294967295 [ 31.752785] wts->iowaited=0 [ 31.752787] sched_ravg_window=16000000 [ 31.752789] new_sched_ravg_window=16000000 [ 31.752792] wts->curr_window=1966008 (0 0 0 1966008 ) [ 31.752795] wts->prev_window=16004362 (0 0 0 16004362 ) [ 31.752798] wts->last_wake_ts=31721252179 [ 31.752800] wts->last_enqueued_ts=31721259158 [ 31.752802] wts->misfit=0 [ 31.752803] wts->unfilter=100000000 [ 31.752805] is_32bit_thread=0 [ 31.752807] wts->grp=0 [ 31.752809] p->on_cpu=1 [ 31.752810] p->on_rq=1 Bug: 294849745 Test: Instrument a WALT_BUG and check log Signed-off-by: Zabi Khadri <zkhadri@google.com> (cherry picked from https://partner-android-review.googlesource.com/q/commit:c64bf0efec8c4e651c48e9b8b1ae628fc00a495b) Merged-In: I5b69324586adf1bb8dcee2f37a228eac8e09aa98 Change-Id: I5b69324586adf1bb8dcee2f37a228eac8e09aa98
2023-12-21Merge cherrypicks of ['partner-android-review.googlesource.com/2692211', ↵Android Build Coastguard Worker
'partner-android-review.googlesource.com/2692093', 'partner-android-review.googlesource.com/2692094', 'partner-android-review.googlesource.com/2692212', 'partner-android-review.googlesource.com/2692213', 'partner-android-review.googlesource.com/2692214', 'partner-android-review.googlesource.com/2692095', 'partner-android-review.googlesource.com/2692217', 'partner-android-review.googlesource.com/2692623'] into android13-msm-pixelwatch-5.15-24Q1-release. Change-Id: Icc5ae52305823c07e1c6fdfc66ea1a4130f941d7
2023-12-21smblite: Rename and export boost status getterAndrei Ciubotariu
- Rename to smblite_lib_is_boost_en() since is_boost_en() does not sound very unique. - Export symbol so other modules can use this function to check if PMIC is in boost mode. Bug: 308351023 Signed-off-by: Andrei Ciubotariu <aciubotariu@google.com> (cherry picked from https://partner-android-review.googlesource.com/q/commit:d844e4dd58fc7dbf73a2659b4e207dccc0a97d07) (cherry picked from commit 25c595a1d9f41ac2834b4a1b83f92d1f44dd4f5d) (cherry picked from https://partner-android-review.googlesource.com/q/commit:865ee5f495bfbdddc2c77c727334e3a16aeec151) Merged-In: Ie67a322f7a768e74750f055869e2dc3e30906e45 Change-Id: Ie67a322f7a768e74750f055869e2dc3e30906e45
2023-12-21smblite: Add boost mode notifierAndrei Ciubotariu
Other modules can subscribe to know when the PMIC enters/exits boost mode. Note: Since the notification happens on the threaded IRQ handler for the boost mode interrupt, subscribers should take care and not block for too long. Bug: 308351023 Signed-off-by: Andrei Ciubotariu <aciubotariu@google.com> (cherry picked from https://partner-android-review.googlesource.com/q/commit:fc9f9e06ceea409d2c3d77d11e54b67a3614eedb) (cherry picked from commit 054de7b7dd79e86d6345620fbbbaaabd0c38cb4c) (cherry picked from https://partner-android-review.googlesource.com/q/commit:4352043c4ac083f6e0af243cc6037c5fbaea71fb) Merged-In: I5684d60b045f6b15323a85cfc554f7c6f87820fb Change-Id: I5684d60b045f6b15323a85cfc554f7c6f87820fb
2023-12-21smblite: Add notifier for usbin pluginAndrei Ciubotariu
Other modules can subscribe to this notification to know when the USB was connected / disconnected. This is the most precise way to subsribe to these events. However, subscribers need to take care not to do too much work in their notification functions as the notifier happens inside the usbin-plugin threaded IRQ handler. Bug: 308351023 Signed-off-by: Andrei Ciubotariu <aciubotariu@google.com> (cherry picked from https://partner-android-review.googlesource.com/q/commit:0d0cc305a398ba6853a68410ecf70eba6fbd5b7e) (cherry picked from commit fa7e8c626853c6bdea1d08cc6e88345f12c29ca5) (cherry picked from https://partner-android-review.googlesource.com/q/commit:1da0fc1c5e1d46006df650d085425dba40cb0b36) Merged-In: I81d2b8d84d8d30d5b322075a5b18e35a127d516b Change-Id: I81d2b8d84d8d30d5b322075a5b18e35a127d516b
2023-12-21smblite: Add HVDCP decrement commandAndrei Ciubotariu
This command can be used by custom HVDCP logic to request the charger decrement its voltage by 200mV. Bug: 308351023 Signed-off-by: Andrei Ciubotariu <aciubotariu@google.com> (cherry picked from https://partner-android-review.googlesource.com/q/commit:767689bec7912dad7a38acb6861a40862fca6fe3) (cherry picked from commit 96d0cc952f892184c7db291151cd02ff07b23acf) (cherry picked from https://partner-android-review.googlesource.com/q/commit:d93e7a58f555722f978f4804e3f0e5aced07859a) Merged-In: Ic1bfc3d997407cbbb156b294e63d2051a6c70a5d Change-Id: Ic1bfc3d997407cbbb156b294e63d2051a6c70a5d
2023-12-21smblite: Export symbols for custom HVDCP moduleAndrei Ciubotariu
Bug: 308351023 Signed-off-by: Andrei Ciubotariu <aciubotariu@google.com> (cherry picked from https://partner-android-review.googlesource.com/q/commit:ea0c1dd3daf4cce9e5de1468b6b61f7852955f6d) (cherry picked from commit e797ae0da6d152e8f80691568118cccab0f86494) (cherry picked from https://partner-android-review.googlesource.com/q/commit:795eedbf4bec3456b3e4d5c091395738c967816c) Merged-In: Ib7dae72ce01180b2d6c502ad60ad52451a74051f Change-Id: Ib7dae72ce01180b2d6c502ad60ad52451a74051f
2023-12-21smblite: Notify when HVDCP negotiation is likely possibleAndrei Ciubotariu
Other modules can subscribe to know when HVDCP is occuring, or if smblite's negotiation is disabled, that it's likely a good time for them to start their custom HVDCP-related logic. Note: This notification can be called while in a threaded IRQ handler. Keep blocking to a minimum. Bug: 308351023 Signed-off-by: Andrei Ciubotariu <aciubotariu@google.com> (cherry picked from https://partner-android-review.googlesource.com/q/commit:b982f94cb44ae4d8c7fe336ccc5a2f2308ae2eb4) (cherry picked from commit 42176fea2ea476f5981fa92889d160380025e0d3) (cherry picked from https://partner-android-review.googlesource.com/q/commit:9d42755ad35faa80c75a3a74e0addce72684851d) Merged-In: Ifbdbf4f681d369fef6459f110d0d74c3d14fd539 Change-Id: Ifbdbf4f681d369fef6459f110d0d74c3d14fd539
2023-12-21smblite: Separate HVDCP3 detection enable from negotiationAndrei Ciubotariu
Add 2 devicetree properties. One for enabling HVDCP3 (QC3.0) detection in the PMIC, and one for using the smblite-lib version of the HVDCP3 voltage increment negotiation. Bug: 308351023 Signed-off-by: Andrei Ciubotariu <aciubotariu@google.com> (cherry picked from https://partner-android-review.googlesource.com/q/commit:06fea063eaf1c3ee26ac6361662f59e714e0272d) (cherry picked from commit f454a88a666bc3dc3352a21afee2b3b60841d570) (cherry picked from https://partner-android-review.googlesource.com/q/commit:c5bd216ac4bf6521ec69fab46736fec32df1bce4) Merged-In: Id947eafe89d569561ec89b7c6b50bb4dce2e1f2b Change-Id: Id947eafe89d569561ec89b7c6b50bb4dce2e1f2b
2023-12-21smblite-shim: Add votable for maximum voltage reportingAndrei Ciubotariu
The votable can be used by other modules to request the power supply report a maximum voltage property different than what smblite reports by default (which is 5V unless its HVDCP negotiation is enabled). Bug: 308351023 Signed-off-by: Andrei Ciubotariu <aciubotariu@google.com> (cherry picked from https://partner-android-review.googlesource.com/q/commit:9fe2c91f07ba487e6fd4cf557a45b47d0dadacf0) (cherry picked from commit 5a8d5d5cc8d54329ff9b01e091ac04c1663a18f9) (cherry picked from https://partner-android-review.googlesource.com/q/commit:bbe48c6a975b22830d5a147db411507986fc471f) Merged-In: Id81cb02ed01b110b8b49d5e385dbbe40a14f03d3 Change-Id: Id81cb02ed01b110b8b49d5e385dbbe40a14f03d3
2023-12-21smblite-shim: Add votable for faking PSY onlineAndrei Ciubotariu
Votable to be used by other modules if they would like the kernel to continue to report as online while they have suspended USBIN, such as by setting the USB ICL to 0. However, the PSY online property will *not* be faked if: - Device is off-charger when power supply property is read. - A "real" voter has set the ICL to 0. We assume that the same voter that is asking for PSY online faking has also set the ICL to 0, and use that assumption to filter out those votes. If the result is that a USB ICL is still zero, then no faking will occur. Bug: 308351023 Signed-off-by: Andrei Ciubotariu <aciubotariu@google.com> (cherry picked from https://partner-android-review.googlesource.com/q/commit:3b38b37a4d24e0d78d5888f0f63a6920e2128a10) (cherry picked from commit d83c05195a5b001c34a823001799d8e9b6645f5e) (cherry picked from https://partner-android-review.googlesource.com/q/commit:5b2bcc04f23307cb651147394728b7583fb2f1e4) Merged-In: I777a38fd42faaa5c35ce0d1d0c43c8ce780d19aa Change-Id: I777a38fd42faaa5c35ce0d1d0c43c8ce780d19aa
2023-11-16Merge cherrypicks of ['partner-android-review.googlesource.com/2660674'] ↵android-wear-13.0.0_r0.8android-wear-13.0.0_r0.10Android Build Coastguard Worker
into android13-msm-pixelwatch-5.15-eos-release. Change-Id: I49d82a26cd75931b6e81e844a043def05ae17872
2023-11-16Merge adsprpc fixes for January 2024 EMR into android13-msm-pixelwatch-5.15Andrew Evans
msm: adsprpc : Fix use after free in fastrpc_internal_mem_unmap Bug: 310012323 Signed-off-by: Andrew Evans <andrewevans@google.com> (cherry picked from https://partner-android-review.googlesource.com/q/commit:1ceae87a881fea013658dbe3f37c533f72749c24) Merged-In: I6878e8e221b3d8eaafc4067311ab943ee04e6664 Change-Id: I6878e8e221b3d8eaafc4067311ab943ee04e6664
2023-10-27Merge cherrypicks of ['partner-android-review.googlesource.com/2649783'] ↵android-wear-13.0.0_r0.6Android Build Coastguard Worker
into android13-msm-pixelwatch-5.15-eos-release. Change-Id: I0c5cb3b3f1febe42814e8f89a57799ed7928f9fd
2023-10-27smblite-lib: Disable charger inhibit for soft JEITA thresholdsDwayne Barry
Bug: 299892310 Test: Boot device with battery above 41.5C and 4.2V, Test: observe charging isn't inhibited Signed-off-by: Dwayne Barry <dwaynebarry@google.com> (cherry picked from https://partner-android-review.googlesource.com/q/commit:c33a33c4d2dec75925f95ab3d558322055eed9dc) Merged-In: I1bd0a47c297a91c587446999b0b84ac3f19f6bd2 Change-Id: I1bd0a47c297a91c587446999b0b84ac3f19f6bd2
2023-10-06Merge cherrypicks of ['partner-android-review.googlesource.com/2633505'] ↵Android Build Coastguard Worker
into android13-msm-pixelwatch-5.15-eos-release. Change-Id: Ia179837603c493949bfd236e19551ed717380d82
2023-10-06Merge android13-5.15-2023-09_r1 into android13-msm-pixelwatch-5.15-eos-releaseBen Fennema
Merge SHA: 965abef6ee9f BACKPORT: FROMLIST: ovl: get_acl: Fix null pointer dereference at realinode in rcu-walk mode Bug: 303052497 Bug: 161010552 (ACK) Bug: 161946584 (ACK) Bug: 170682696 (ACK) Bug: 190795589 (ACK) Bug: 193397560 (ACK) Bug: 195565510 (ACK) Bug: 229839032 (ACK) Bug: 238390134 (ACK) Bug: 241079328 (ACK) Bug: 254441685 (ACK) Bug: 260007429 (ACK) Bug: 2675079 (ACK) Bug: 268109575 (ACK) Bug: 273251569 (ACK) Bug: 274115504 (ACK) Bug: 276360178 (ACK) Bug: 277241308 (ACK) Bug: 279519292 (ACK) Bug: 281547360 (ACK) Bug: 282905757 (ACK) Bug: 283175904 (ACK) Bug: 283707518 (ACK) Bug: 284409747 (ACK) Bug: 284450048 (ACK) Bug: 284797897 (ACK) Bug: 285477572 (ACK) Bug: 285794522 (ACK) Bug: 286024926 (ACK) Bug: 286287652 (ACK) Bug: 286350069 (ACK) Bug: 286376841 (ACK) Bug: 286390611 (ACK) Bug: 286444744 (ACK) Bug: 286456284 (ACK) Bug: 286803489 (ACK) Bug: 286965110 (ACK) Bug: 287406049 (ACK) Bug: 287582821 (ACK) Bug: 287729043 (ACK) Bug: 287899364 (ACK) Bug: 287922632 (ACK) Bug: 287928097 (ACK) Bug: 288214403 (ACK) Bug: 288216516 (ACK) Bug: 288383787 (ACK) Bug: 288489934 (ACK) Bug: 288660424 (ACK) Bug: 288825030 (ACK) Bug: 288957094 (ACK) Bug: 289003615 (ACK) Bug: 289003637 (ACK) Bug: 289225588 (ACK) Bug: 289229683 (ACK) Bug: 289230343 (ACK) Bug: 289328049 (ACK) Bug: 289423315 (ACK) Bug: 289472284 (ACK) Bug: 289775401 (ACK) Bug: 289870854 (ACK) Bug: 289882899 (ACK) Bug: 289962104 (ACK) Bug: 289987875 (ACK) Bug: 290141348 (ACK) Bug: 290141349 (ACK) Bug: 290204413 (ACK) Bug: 290585456 (ACK) Bug: 290863811 (ACK) Bug: 290868674 (ACK) Bug: 290900323 (ACK) Bug: 291031528 (ACK) Bug: 291059156 (ACK) Bug: 291097092 (ACK) Bug: 291178675 (ACK) Bug: 291181967 (ACK) Bug: 291546439 (ACK) Bug: 291567032 (ACK) Bug: 291568386 (ACK) Bug: 291642086 (ACK) Bug: 291690659 (ACK) Bug: 291695746 (ACK) Bug: 291705489 (ACK) Bug: 291719697 (ACK) Bug: 291846209 (ACK) Bug: 292051411 (ACK) Bug: 292106238 (ACK) Bug: 292121811 (ACK) Bug: 292249631 (ACK) Bug: 292252062 (ACK) Bug: 292459437 (ACK) Bug: 292581151 (ACK) Bug: 293011192 (ACK) Bug: 293161755 (ACK) Bug: 293349757 (ACK) Bug: 293538531 (ACK) Bug: 293587745 (ACK) Bug: 293828185 (ACK) Bug: 293838958 (ACK) Bug: 293845137 (ACK) Bug: 293967036 (ACK) Bug: 294167961 (ACK) Bug: 294357305 (ACK) Bug: 294456572 (ACK) Bug: 294468796 (ACK) Bug: 294928093 (ACK) Bug: 295075980 (ACK) Bug: 295409783 (ACK) Bug: 295787403 (ACK) Bug: 295994000 (ACK) Bug: 295995961 (ACK) Bug: 296128351 (ACK) Bug: 296166753 (ACK) Bug: 296173010 (ACK) Bug: 296347075 (ACK) Bug: 296348400 (ACK) Bug: 296393077 (ACK) Bug: 296493318 (ACK) Bug: 296522857 (ACK) Bug: 296526618 (ACK) Bug: 296625638 (ACK) Bug: 296960489 (ACK) Bug: 296993180 (ACK) Bug: 297025149 (ACK) Bug: 297843132 (ACK) Bug: 298133142 (ACK) Bug: 298176797 (ACK) Bug: 298557577 (ACK) Bug: 298584050 (ACK) Bug: 298613710 (ACK) Bug: 298618277 (ACK) Bug: 298710879 (ACK) Bug: 299374771 (ACK) Bug: 299425220 (ACK) Bug: 299922588 (ACK) Bug: 300019103 (ACK) Bug: 300230860 (ACK) Signed-off-by: Ben Fennema <fennema@google.com> (cherry picked from https://partner-android-review.googlesource.com/q/commit:b76ad298dd5c517a7b704ed3bfa8a72466db7e9b) Merged-In: I6cbe76f33720cb85a516ab1be2d417c6698a0e7f Change-Id: I6cbe76f33720cb85a516ab1be2d417c6698a0e7f
2023-10-05Merge cherrypicks of ['partner-android-review.googlesource.com/2629629', ↵Android Build Coastguard Worker
'partner-android-review.googlesource.com/2628579', 'partner-android-review.googlesource.com/2629630'] into android13-msm-pixelwatch-5.15-eos-release. Change-Id: I3efde543ecb348044a25b7d6a0ddff6ea1d13d3c
2023-10-05Merge "msm: adsprpc: Handle UAF in fastrpc internal munmap"Andrew Evans
Bug: 295052121 Signed-off-by: Andrew Evans <andrewevans@google.com> (cherry picked from https://partner-android-review.googlesource.com/q/commit:26ba9a9fe90017e6312841bce722c150fce1f527) Merged-In: I42e8c0e7ca5229f92f2b1ccd3f5c77e673f20573 Change-Id: I42e8c0e7ca5229f92f2b1ccd3f5c77e673f20573
2023-10-05Merge "soc: qcom: Add Upperbounds check for program header"Andrew Evans
Bug: 299146326 Signed-off-by: Andrew Evans <andrewevans@google.com> (cherry picked from https://partner-android-review.googlesource.com/q/commit:58f26a871c74a591ee83020e94bae6a1f82c49d3) Merged-In: Icd79d6a3e642996e73e14a1230451bed788a4075 Change-Id: Icd79d6a3e642996e73e14a1230451bed788a4075
2023-10-05Merge "msm: adsprpc: Handle UAF in process shell memory"Andrew Evans
Bug: 218338016 Signed-off-by: Andrew Evans <andrewevans@google.com> (cherry picked from https://partner-android-review.googlesource.com/q/commit:c33d329257e5c5e7493578832fb18ca5e8d29bb9) Merged-In: I1575db39e7aeba2f6b7ddcfabf6a4dd5a5218a5f Change-Id: I1575db39e7aeba2f6b7ddcfabf6a4dd5a5218a5f
2023-09-28Merge cherrypicks of ['partner-android-review.googlesource.com/2609587'] ↵Android Build Coastguard Worker
into android13-msm-pixelwatch-5.15-eos-release. Change-Id: I795808c67c54d6160b70117e8d972c7d2cffa3f6
2023-09-28smblite: Configurable max pulses for HVDCP charging voltage boostAndrei Ciubotariu
Each pulse represents 200mV extra from a base 5V. The max pulse number is set in devicetree using google,hvdcp-num-pulse-max. A value of 0 disables HVDCP detection, as it would serve no useful purpose. Bug: 299138107 Signed-off-by: Andrei Ciubotariu <aciubotariu@google.com> (cherry picked from https://partner-android-review.googlesource.com/q/commit:d847ea6207f97dcb966ad9784cfb722f5f374a0f) Merged-In: Ibf643222c1d42c5365059a8efb0293974478d439 Change-Id: Ibf643222c1d42c5365059a8efb0293974478d439
2023-09-06Merge cherrypicks of ['partner-android-review.googlesource.com/2577953'] ↵android-wear-13.0.0_r0.4Android Build Coastguard Worker
into android13-msm-pixelwatch-5.15-eos-release. Change-Id: Iea6b4b080697c160679894b5b9e4a8d0cb05598f
2023-09-06walt: Fix arg order in WALT_BUG()s for misaligned window_startZabi Khadri
Bug: 294849745 Test: boot complete Signed-off-by: Zabi Khadri <zkhadri@google.com> (cherry picked from https://partner-android-review.googlesource.com/q/commit:7fae68571b4432437c54751ba5bbf6c9fe1f21e9) Merged-In: I682653af4f254e86dec2dcddda1c6738c27a99c3 Change-Id: I682653af4f254e86dec2dcddda1c6738c27a99c3
2023-09-06Merge cherrypicks of ['partner-android-review.googlesource.com/2610798'] ↵Android Build Coastguard Worker
into android13-msm-pixelwatch-5.15-eos-release. Change-Id: I95fd1d7381cf31ffa5621743d2666a1bdc277975
2023-09-06Merge android13-5.15-2023-07_r9 into android13-msm-pixelwatch-5.15Ben Fennema
Merge SHA: ac1072c849eb ANDROID: Fix unaligned memory access Bug: 298707652 Signed-off-by: Ben Fennema <fennema@google.com> (cherry picked from https://partner-android-review.googlesource.com/q/commit:249b7e2d65d3ed347a786113b51a86711906ac3e) Merged-In: I4bbfa4efbc24f0aca9e8c672b8f1cf59a58d66c4 Change-Id: I4bbfa4efbc24f0aca9e8c672b8f1cf59a58d66c4
2023-08-29Merge cherrypicks of ['partner-android-review.googlesource.com/2602418'] ↵Android Build Coastguard Worker
into android13-msm-pixelwatch-5.15-eos-release. Change-Id: Ie52028ebb7fcce3e2d065f62ee35cbff63f8163c
2023-08-29Merge android13-5.15-2023-07_r8 into android13-msm-pixelwatch-5.15-eos-releaseBen Fennema
Merge SHA: 75d9eb450e75 ANDROID: Hack to support ABI stable accept_ra_min_lft Bug: 297921273 Signed-off-by: Ben Fennema <fennema@google.com> (cherry picked from https://partner-android-review.googlesource.com/q/commit:1d53b1ecf18d63026deaa4adfeb85eeab4f8cff9) Merged-In: I677c7107a5b069ab06c3e4abee2b6b3ff31d5197 Change-Id: I677c7107a5b069ab06c3e4abee2b6b3ff31d5197
2023-08-21Merge cherrypicks of ['partner-android-review.googlesource.com/2571622', ↵Android Build Coastguard Worker
'partner-android-review.googlesource.com/2583414', 'partner-android-review.googlesource.com/2583415'] into android13-msm-pixelwatch-5.15-eos-release. Change-Id: I44d51efacf687b00a92423944365fb859e6bc94f
2023-08-21pinctrl: qcom: Add irq_set/get_irqchip_state() APIsRadu Solea
TLMM can only detect GPIO IRQs during SoC sleep state if its in always-on domain. However On certain targets TLMM is not in always-on domain which may miss to detect/latch the edge type IRQs. MPM on other end can monitor and detect GPIO IRQs and latch them as its in always-on domain for all targets. Add change to replay GPIO irqs after wake up from within MPM irq handler and do same only if they are not latched by TLMM. Signed-off-by: Maulik Shah <quic_mkshah@quicinc.com> (cherry picked from https://partner-android-review.googlesource.com/q/commit:feb7bd9c1f0f28b82f6515ded6894603a4f54128) Merged-In: Ic4adeaafcb34a632a20cafc3ba7c9577ddf2b66e Change-Id: Ic4adeaafcb34a632a20cafc3ba7c9577ddf2b66e
2023-08-21qcom_glink_native: Add custom logging to for IRQ wakeup reasonRadu Solea
Add custom print after pm_system_wakeup() in order to log the IRQ wakeup reason in suspend framework. While at this skip logging for rpm-glink IRQ as this IRQ is never a wakeup reason but will always be pending during wakeup due to sleep votes sent to RPM. Signed-off-by: Maulik Shah <quic_mkshah@quicinc.com> (cherry picked from https://partner-android-review.googlesource.com/q/commit:26405bd3cb28b30fb709ee9495d0fa5c2bf93999) Merged-In: I9c6bae8ecbbfdcf621dffddf73be7a39f5da3f9d Change-Id: I9c6bae8ecbbfdcf621dffddf73be7a39f5da3f9d
2023-08-21subsystem_sleep_stats: Correct memory offset calculation for vmin/vlowDwayne Barry
Bug: 288607892 Test: CXSD_IOCTL returns sane sleep stats Signed-off-by: Dwayne Barry <dwaynebarry@google.com> (cherry picked from https://partner-android-review.googlesource.com/q/commit:bdf22d198846c11986b825e803d30b22ff4c6577) Merged-In: I85d06a074edfa26964684fa668ce4a6542b77703 Change-Id: I85d06a074edfa26964684fa668ce4a6542b77703
2023-08-19Merge cherrypicks of ['partner-android-review.googlesource.com/2589434'] ↵Android Build Coastguard Worker
into android13-msm-pixelwatch-5.15-eos-release. Change-Id: I6146c86ee3f65ff84615f7ca2fc90d595e80b38b
2023-08-19Merge android13-5.15-2023-07_r4 into android13-msm-pixelwatch-5.15-eos-releaseBen Fennema
Merge SHA: 0533a7af3067 UPSTREAM: ASoC: DPCM: Don't pick up BE without substream Bug: 295370608 Signed-off-by: Ben Fennema <fennema@google.com> (cherry picked from https://partner-android-review.googlesource.com/q/commit:fbc80372f7221395b8c2a8c13da18a09cd68aed6) Merged-In: I9e772f759224146811d35c01629ff8ef5e958063 Change-Id: I9e772f759224146811d35c01629ff8ef5e958063
2023-08-14Merge cherrypicks of ['partner-android-review.googlesource.com/2541495', ↵Android Build Coastguard Worker
'partner-android-review.googlesource.com/2571775'] into android13-msm-pixelwatch-5.15-eos-release. Change-Id: Ia579a7147b0d151ebe68c9d36a6869ab556a8a6c
2023-08-14smblite-shim: Optionally ignore SDP ICL requestsAndrei Ciubotariu
Configurable via devicetree, as well as at runtime via /sys/class/power_supply/usb/sdp_icl_req_ignored Bug: 294057046 Signed-off-by: Andrei Ciubotariu <aciubotariu@google.com> (cherry picked from https://partner-android-review.googlesource.com/q/commit:d05f24c16a73d31f8c05a7718d0be2dd7654631e) Merged-In: I62d7c5ebabc9fd2d0b21636943395491d02c0376 Change-Id: I62d7c5ebabc9fd2d0b21636943395491d02c0376
2023-08-14smblite: Add shim layer psyAndrei Ciubotariu
Create a shim layer power supply that takes over as the "usb" psy available to the system. This shim layer can be used to tweak psy psy behaviour and reporting to the rest of the system while keeping modifications to the actual smblite driver to a minimum. Bug: 294057046 Signed-off-by: Andrei Ciubotariu <aciubotariu@google.com> (cherry picked from https://partner-android-review.googlesource.com/q/commit:8ce5636d5540b9e4cb9a935893d2b19ff360c3df) Merged-In: I64e1a454505c5422c7263d939998b0de6f91a37e Change-Id: I64e1a454505c5422c7263d939998b0de6f91a37e
2023-08-12Snap for 10649220 from ef69bb7ab576818344b5e1437b388e96ea90ae84 to ↵Android Build Coastguard Worker
android13-msm-pixelwatch-5.15-eos-release Change-Id: I3ad8db213afb1153d99397bd429b5ffb2fb7b0f1
2023-07-28Merge cherrypicks of ['partner-android-review.googlesource.com/2559913'] ↵android-wear-13.0.0_r0.3android-msm-eos-5.15-tm-wear-kr3-dr-eosAndroid Build Coastguard Worker
into android13-msm-pixelwatch-5.15-eos-release. Change-Id: If4bf2a00765ced0dc29767d58022f38f6cd26b47
2023-07-28Fix memory leak in compat adsprpc ioctl'sBen Fennema
Bug: 287391584 Signed-off-by: Ben Fennema <fennema@google.com> (cherry picked from https://partner-android-review.googlesource.com/q/commit:ef69bb7ab576818344b5e1437b388e96ea90ae84) Merged-In: I287ba154fbf95a1484b0f6021dcdefe4201b7f5f Change-Id: I287ba154fbf95a1484b0f6021dcdefe4201b7f5f
2023-07-25Fix memory leak in compat adsprpc ioctl'sBen Fennema
Bug: 287391584 Change-Id: I287ba154fbf95a1484b0f6021dcdefe4201b7f5f Signed-off-by: Ben Fennema <fennema@google.com>
2023-07-13Merge cherrypicks of ['partner-android-review.googlesource.com/2544833'] ↵Android Build Coastguard Worker
into android13-msm-pixelwatch-5.15-eos-release. Change-Id: Iaf001936d1da9fa289a8c878c0eb9dd1a5de0809
2023-07-13Merge android13-5.15-2023-06 into android13-msm-pixelwatch-5.15Ben Fennema
Merge SHA: 4b9c7a4857a6 BACKPORT: scsi: ufs: core: Fix devfreq deadlocks Bug: 289943313 Bug: 161946584 (ACK) Bug: 205648026 (ACK) Bug: 230899966 (ACK) Bug: 254441685 (ACK) Bug: 269155298 (ACK) Bug: 270466805 (ACK) Bug: 271041816 (ACK) Bug: 271684194 (ACK) Bug: 272453930 (ACK) Bug: 274008928 (ACK) Bug: 274561072 (ACK) Bug: 274865848 (ACK) Bug: 275340532 (ACK) Bug: 275538389 (ACK) Bug: 277171847 (ACK) Bug: 277906484 (ACK) Bug: 278041365 (ACK) Bug: 278043288 (ACK) Bug: 280826461 (ACK) Bug: 280924669 (ACK) Bug: 281332515 (ACK) Bug: 281333738 (ACK) Bug: 281467813 (ACK) Bug: 281604646 (ACK) Bug: 281606231 (ACK) Bug: 282894499 (ACK) Bug: 283221152 (ACK) Bug: 283482355 (ACK) Bug: 283892333 (ACK) Bug: 283896250 (ACK) Bug: 284043217 (ACK) Bug: 284409180 (ACK) Bug: 284459000 (ACK) Bug: 284570596 (ACK) Bug: 284921430 (ACK) Bug: 285020779 (ACK) Bug: 285034274 (ACK) Bug: 285072336 (ACK) Bug: 285214532 (ACK) Bug: 285262575 (ACK) Bug: 285495243 (ACK) Bug: 285504023 (ACK) Bug: 286024926 (ACK) Bug: 286350069 (ACK) Bug: 286803489 (ACK) Bug: 286807446 (ACK) Bug: 287305599 (ACK) Bug: 288489934 (ACK) Bug: 289136405 (ACK) Bug: 289793003 (ACK) Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1897 (ACK) Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/2276 (ACK) Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/2442 (ACK) Signed-off-by: Ben Fennema <fennema@google.com> (cherry picked from https://partner-android-review.googlesource.com/q/commit:68f89b75d8b2ed6b0fa5e00f3f149f135e8d31ca) Merged-In: Ifa9d09834b04d111379f01cc2cb2ebe2d019c883 Change-Id: Ifa9d09834b04d111379f01cc2cb2ebe2d019c883