Age | Commit message (Collapse) | Author |
|
when coredump is corrupt, the value of num_sections
from ramdump_header may larger than the number of
sections. Out of range access will cause the KP.
Bug: 302929196
Change-Id: I423886cb8223617d84cf1b21231a914c70a30dd2
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
|
|
It has chance hit KP when GSA unload FW and AoC SSR
then write coredump to dram without permission.
Also sync irq control flow with watchdog_irq.
Bug: 297627980
Change-Id: Idbfb71e2b729719ef5e93f9b68d6022396fa580a
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
|
|
Bug: 299407821
Test:
1. Verified VoIP record(incall_cap0) only scenario on T6 Pro
2. Verified the live caption(incall_cap0) for voice-call on C10
3. atest VtsHalAudioV7_1TargetTest
Change-Id: Ib1c3e9760390d8a733b1027210ff1561d55256b4
Signed-off-by: Carter Hsu <carterhsu@google.com>
|
|
The ALSA pcm lib driver assumes one period data was consumed in the
snd_pcm_update_hw_ptr0 function when updating the hw_ptr.
Update the hw_ptr if the consumed data size is equal to or
bigger than one period size.
Bug: 295546940
Test: Local test
Change-Id: I668c4272dbccb08fe7c46105b3c74b3a64bdd2d5
Signed-off-by: millerliang <millerliang@google.com>
|
|
Set the stream type for pcm playback to mmaped
if runtime->access is SNDRV_PCM_ACCESS_MMAP_INTERLEAVED.
Bug: 283402753
Test: Playback and Record
Change-Id: Ib62931a42364089b44b32289b661a4798c0e23f4
Signed-off-by: millerliang <millerliang@google.com>
(cherry picked from commit d86f91a0e010d078d499184135fc460d3ecb30ab)
|
|
In mmap playback, it would destory the workqueue during AoC SSR.
Set the workqueue to null after destroying it to avoid acesss
after freed in pcm close.
Bug: 295074657
Change-Id: I258f124b3e8daaf9f160ec960f5ec86fd8f6227c
Signed-off-by: millerliang <millerliang@google.com>
|
|
Bug: 293828277
Test: tested on device
Change-Id: Ic8ad9a4a2ae8c4f032ea4d19a04d3f49161957cf
Signed-off-by: Alex Iacobucci <alexiacobucci@google.com>
|
|
Bug: 292144567
Test: verified on test build
Change-Id: I3a106431d4ce3468c8da262181d6ee6628848311
Signed-off-by: Carter Hsu <carterhsu@google.com>
|
|
If other process blocks the cpu too long in the common work queue,
the updating hw_ptr function cannot be executed on time.
Use a single workqueue to avoid it.
Bug: 289577164
Change-Id: I48853bb94ca816d77a5f32c2a1ff0927bc2b04e2
Signed-off-by: millerliang <millerliang@google.com>
(cherry picked from commit 0e40ca7fca8a1a4a31e5f3ef74cbd0cac070a654)
|
|
Bug: 282063178
Test: tested on device
Change-Id: I4c867c878683d1aa42d7493c74eda085502c5bf2
Signed-off-by: Alex Iacobucci <alexiacobucci@google.com>
|
|
SBMerger: 526756187
Change-Id: I8a2bc57fe0e57bc5cd708d222924404bc269d497
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
Bug: 286990893
Test: tested on device
Change-Id: I4bc8acd5a004091be187606ed0260120e96be6ea
Signed-off-by: Alex Iacobucci <alexiacobucci@google.com>
|
|
Bug: 289710588
Test: tested on device
Change-Id: I89a5f62cfa80e21479e6b62bc722ddf6c5e97513
Signed-off-by: Alex Iacobucci <alexiacobucci@google.com>
|
|
CTS Sensor/DeviceSuspendTests was failing because the device fails
to enter the suspend state.
Bug: 288985122
Fix: 288985122
Test: Validated CTS passes.
Change-Id: I1cfdae577e8e3636795afc9b900b50585db6da5a
Signed-off-by: Luis Delgado De Mendoza <luisddmg@google.com>
|
|
SBMerger: 526756187
Change-Id: I9e65ac9827d1bc59c0f760fb4e117d96026c276a
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
Bug: 287265271
Test: tested on device
Change-Id: I3c165fe2719d5d667a8e020d947e2ebcc47a5bdc
Signed-off-by: Alex Iacobucci <alexiacobucci@google.com>
|
|
SBMerger: 526756187
Change-Id: If9309e45a758da9b5ff385e497f019facf0bc905
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
Do not queue a work if the cancel_work_sync is in progress.
Bug: 284055134
Change-Id: I7e2a5b12ccd6cc28b23f15ea65fe4d66fe379b25
Signed-off-by: millerliang <millerliang@google.com>
|
|
SBMerger: 526756187
Change-Id: I716c6b56263ba4763860880135b07d87e2e8fa91
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
The USF service propagates these power commands to the other entities
that need to act on it so there is only a need to send it to the wakeup
USF service and the others will react accordingly.
There is also no need to propagate this message to the USF non-wake-up
channel because USF makes the necessary changes internally when the
command is received in either channel.
Bug: 283488727
Test: in-device verification.
Change-Id: Ic9dc011c22498acc3cfa79e04397b5352afedc3d
|
|
Bug: 277560840
Change-Id: I5b8bdeaa4c34f0333a841e86dcd48833b72353e9
Signed-off-by: Wilson Sung <wilsonsung@google.com>
|
|
Bug: 283492323
Test: tested on device
Change-Id: I1cbbe5aca89a1420841f50362783e001a22fc1d7
Signed-off-by: Alex Iacobucci <alexiacobucci@google.com>
|
|
Bug: 283492323
Test: tested on device
Change-Id: I18bab98d778892ceed377186d1d02a9b0f9e06d7
Signed-off-by: Alex Iacobucci <alexiacobucci@google.com>
|
|
Prevent hit NULL pointer during aoc crash.
Bug: 282328516
Change-Id: Iad9358fe1ce7731279385294425a6f795bc5ec48
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
|
|
Bug: 279944255
Test: tested on device
Change-Id: Iefc5fd83f00f5b54c4ff4feee1e65b1571240721
Signed-off-by: Alex Iacobucci <alexiacobucci@google.com>
|
|
Bug: 281075359
Test: tested on device
Change-Id: I017085b59837d885525106bccb97f0687c4df473
Signed-off-by: Alex Iacobucci <alexiacobucci@google.com>
|
|
This CL adds the chre channels to the list of channels handled by
the MUX.
CHRE needs the MUX to keep 100% feature parity with what they have
running through USF.
Bug: 279597610
Test: in-device verification.
Change-Id: Ib60f89792dcb48f6c35cfed9eb85f52c4e65a4c0
Signed-off-by: Luis Delgado de Mendoza Garcia <luisddmg@google.com>
|
|
note:
Add a new aoc service. Which would provide
hotword pipeline in aoc to pcm driver.
Add new mixer ctl for hotword_tap enabling.
Hotword tap only lands for 201 or newer.
Bug: 277194544
Test: manually test end-to-end on device
Change-Id: I859574eedb3887857bb809bb824b0dd545058f02
Signed-off-by: Rios Kao <rioskao@google.com>
|
|
Free the irs handler to stop triggering the irq process
function before clearing the work queue.
Add null check in the irq process functions.
Bug: 279317502
Change-Id: I55bdb88177132b29af94e54804ff38e573d4a86c
Signed-off-by: millerliang <millerliang@google.com>
|
|
Bug: 279670904
Test: tested on device
Change-Id: I5cff7e9db40ebfbc44b47c76c88d0d0a841c1134
Signed-off-by: Alex Iacobucci <alexiacobucci@google.com>
|
|
Set the isr process functions in alloc_aoc_audio_service
and free the handler in free_aoc_audio_service
Bug: 277633636
Change-Id: If4f613a4f8bc0d080987c88362de32d0e939a636
Signed-off-by: millerliang <millerliang@google.com>
|
|
android13-gs-pixel-5.10-udc" into android13-gs-pixel-5.10-udc
|
|
Bug: 255246572
Change-Id: I3a1d12a084afc583c0e307ecb55e2beaf6ca7012
Signed-off-by: Pindar Yang <pindaryang@google.com>
|
|
This reverts commit 11ba130d1e1737aca9f2d2bdd5213c492d861d0d.
Reason for revert: b/275459411 cannot pause offload music in draining
Bug: 275459411
Change-Id: Icffaf99422e1c0793baf60ee69d9e9b8f99aefd5
Signed-off-by: Robert Lee <lerobert@google.com>
|
|
size of bitmap mask is allocated from number of services
to prevent out of bounds.
Bug: 270148537
Change-Id: I9c83a7d340ec51e139f7caa2c16fd7ca22a7deb3
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
|
|
Add alsa controls for CHRE AEC and PDM gain,
and timeout.
Bug: 271078701
Test: manually tested on devica
Change-Id: I05937b5ce98bf14052dbdf5da8e913848414924b
Signed-off-by: Alex Iacobucci <alexiacobucci@google.com>
|
|
Change-Id: Ic1645fb0dcf560e7a69ba6b32697b7025aa4c7fd
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
|
|
Bug: 272600747
Test: manually tested on device
Change-Id: Iab1057cdcf66fa2f13b32a71b0015b2602c9c4c8
Signed-off-by: Alex Iacobucci <alexiacobucci@google.com>
|
|
Bug: 238553915
Change-Id: I6932c14ea5d6965f36bf8beda0c4ffff6815d006
|
|
AoC switched F1 to use AP-F1 mailbox.
The channel number was added 16 in AP-F1 mailbox.
Bug: 200718439
Test: Check the log to see if it supports interrtup-driven
Change-Id: Ia830cbbb883c05afa75217ccd68605307c5725cf
Signed-off-by: millerliang <millerliang@google.com>
|
|
Restore the gs101 interface to the latest
version submitted within a prebuild.
Bug: 275113166
Signed-off-by: Alex Iacobucci <alexiacobucci@google.com>
Change-Id: I32b3e267e544315b6a8f27c15f2b678259a27ff1
|
|
Bug: 271233601
Test: builds
Change-Id: Ia7df2027d83ff5ea1180e8ccd5e3030a53abc938
Signed-off-by: Robert Lee <lerobert@google.com>
|
|
In mmap playback with SSR case, aoc dev be freed first then
snd_aoc_pcm_close will hit null pointer access
bug: 272960822
Change-Id: I238b7e0c9b755781b6f23907dd52e4ed3b8d6e76
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
|
|
Bug: 255246572
Change-Id: I3bb7502822b410655bda76fa2bfe5660274c9882
Signed-off-by: Robin Peng <robinpeng@google.com>
|
|
This reverts commit 969a735c9fdb35f74995c048e481072f0af38347.
Reason for revert: Needed manual merge first
Change-Id: Idc9076a105dd4939de818b794dcf19f933e531b3
|
|
01802e4dec"
This reverts commit 473bf62a4092dedafc8af3676471e87809da85d1.
Reason for revert: Needed manual merge first
Change-Id: I7f5addd3b465097b53d30fbe91fa7f552e09fe3e
|
|
This reverts commit 3277741c1ed2af2aba618d824e849c6f06ab14fb.
Reason for revert: needed manual merge
Change-Id: Ifa5e50609cb4eac48d9bd23f9b341f214c2f9f7d
|
|
Original change: https://partner-android-review.googlesource.com/c/kernel/private/google-modules/aoc/+/2014042
Change-Id: I65146168855d0ddd757431f0baebe9783a7cef68
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Original change: https://partner-android-review.googlesource.com/c/kernel/private/google-modules/aoc/+/2004197
Change-Id: I68ba3dee124776d1d87d6e13d46d95c55dde0862
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
Original change: https://partner-android-review.googlesource.com/c/kernel/private/google-modules/aoc/+/1998263
Change-Id: I6fb77569659ecdf59b2fa7e1d4a95dc920425adc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|