summaryrefslogtreecommitdiff
path: root/mhi
AgeCommit message (Collapse)Author
2024-02-19mhi: add more logs for firmware log processandroid-u-qpr3-beta-2.1_r0.7android-u-qpr3-beta-2.1_r0.5android-u-qpr3-beta-2.1_r0.4android-u-qpr3-beta-2.1_r0.3android-u-qpr3-beta-2.1_r0.2android-u-qpr3-beta-2.1_r0.1android-15-beta-1_r0.6android-15-beta-1_r0.4android-15-beta-1_r0.2android-15-beta-1_r0.1android-14.0.0_r0.97android-14.0.0_r0.96android-14.0.0_r0.95android-14.0.0_r0.94android-14.0.0_r0.93android-14.0.0_r0.92android-14.0.0_r0.105android-14.0.0_r0.104android-14.0.0_r0.103android-14.0.0_r0.102android-14.0.0_r0.101android-gs-tangorpro-5.10-android14-qpr3-betaandroid-gs-tangorpro-5.10-android14-qpr3android-gs-raviole-5.10-android14-qpr3-betaandroid-gs-raviole-5.10-android14-qpr3android-gs-pantah-5.10-android14-qpr3-betaandroid-gs-pantah-5.10-android14-qpr3android-gs-lynx-5.10-android14-qpr3-betaandroid-gs-lynx-5.10-android14-qpr3android-gs-felix-5.10-android14-qpr3-betaandroid-gs-felix-5.10-android14-qpr3android-gs-bluejay-5.10-android14-qpr3-betaandroid-gs-bluejay-5.10-android14-qpr3Hsiu-Chang Chen
Bug: 317140778 Test: Regression Test Change-Id: I89bbc8e752ea488a02f55ba9876fdf0a743938ba Signed-off-by: Hsiu-Chang Chen <hsiuchangchen@google.com>
2023-04-07cnss: add debug log to indicate request_firmwareHsiu-Chang Chen
Bug: 275229171 Test: Build pass Change-Id: I0a5aa4cc0a2945cbd0a6b9e1c28a1fda7589fa17
2023-03-17bus: mhi: core: Notify mhi controller driver only once on RDDMandroid-13.0.0_r0.92android-13.0.0_r0.85android-13.0.0_r0.84android-13.0.0_r0.83android-13.0.0_r0.82Hsiu-Chang Chen
There is an possible case where host can detects RDDM while performing mhi_pm_resume() and in parallel there is RDDM event from device where we provide status callback for RDDM. If device is in RDDM state we will give status callback twice, avoid status_cb twice by adding check if mhi_cntrl->ee is already in RDDM state. Bug: 272088770 Test: Regression Test Change-Id: I85aa8e9f85b5fceceda271df20a733b1e95ca2ea Signed-off-by: Hsiu-Chang Chen <hsiuchangchen@google.com>
2023-01-12cnss: Reduce timeout for RDDM inside panic handlerVictor Hsu
Normally mhi_ctrl->timeout_ms is 10 seconds and is reduced to 5 seconds during panic. But during firmware downloading the mhi_ctrl->timeout_ms is changed to 60 seconds and the original code changes the timeout to 30 seconds. Change mhi_ctrl->timeout_ms to 5 seconds to avoid watchdog bite. Bug: 262188328 Test: Trigger panic during firmware download and no watchdog bite. Change-Id: I01ab1ece0855644f14c12d4ba97b5e37b59369d1 Signed-off-by: Victor Hsu <hsuvictor@google.com> (cherry picked from commit 221cbd0585a9e58344896651b7b649c8fa337bc5)
2023-01-04mhi: Print some debug messages for HSI2 timeout debuggingVictor Hsu
HSI2 timeout when wlan do dp_tx_ring_access_end_wrapper(). Enable the log of mhi_process_ctrl_ev_ring() to help judge the issue caused by WLAN or PCIE. Bug: 262677053 Test: mhi log is printed. Change-Id: I013ddc8aceb34b4a6ff48c55b07e35640d7b2d23 Signed-off-by: Victor Hsu <hsuvictor@google.com>
2022-11-21mhi: Print more state transition handling logHsiu-Chang Chen
Bug: 258905932 Test: Desired log shows in the dmesg Change-Id: I44949068fcb2f86fb7c302a23474c1a093a3dea6
2022-11-08mhi: Print state transition handling logHsiu-Chang Chen
Bug: 252570841 Test: Desired log shows in the dmesg Change-Id: I5e3d1947303b137910134716a6131d94427b38be
2022-10-13mhi: print info level logs in dmesgHsiu-Chang Chen
This CL has following changes - Correct the debug config name for mhi - Use correct function to print info level logs Bug: 253234234 Test: more mhi logs present in dmesg Change-Id: If1a888d141f02574ad76c76b1a8b61c63c9ea6d6
2022-09-16Merge "wcn6740: Update cnss/mhi/qmi/qrtr drivers" into ↵Hsiu-Chang Chen
android13-gs-pixel-5.10-tm-qpr1
2022-09-06wcn6740: Update cnss/mhi/qmi/qrtr driversHsiu-Chang Chen
Migrate wlan codes to PostCS release Bug: 245009352 Test: Regression Test Change-Id: Icb90ab318ced3f028a19d6e329d509a23c3774a6
2022-09-05cnss: Delay to start CBCVictor Hsu
If COLD_BOOT_CAL starts too early, the MHI powers on failed. Delay 5000 ms to start calibration. Bug: 243876449 Signed-off-by: Victor Hsu <hsuvictor@google.com> Change-Id: I83ae27bf5abd03aec0f1a8b9639ea7d3b2851f37
2022-07-05wcn6740: Update cnss/mhi/qmi/qrtr driversHsiu-Chang Chen
Migrate wlan codes to preCS release Bug: 237922233 Test: Regression Test Change-Id: I02eb261b022db86ace9a9f25327d55da1452c065
2022-03-03wcn6740: Update cnss/mhi/qmi/qrtr driversHsiu-Chang Chen
Migrate wlan codes to Rel2(Post CS5) Bug: 218419889 Test: Basic functions Change-Id: Ifd845bfba4ca35d14f5606b5cf2dde12e397801b
2021-12-24wcn6740: Update cnss/mhi/qmi/qrtr driversHsiu-Chang Chen
Migrate wlan codes to Post-CS4 Bug: 211358472 Test: Basic functions Change-Id: I4161d344a9260fb855712626048d80e5954e1ac1
2021-12-13wcn6740: support coredump crash informationHsiu-Chang Chen
Bug: 205246511 Change-Id: I61551923f2b727646fb1cc061d9621ee1666cfa0
2021-12-13wcn6740: Format specifies type does not match the argument typeVictor Hsu
The [-Werror,-Wformat] compiler option is enabled. Fix the compiler errors that format specifies type does not match the argument type. Bug: 207814349 Signed-off-by: Victor Hsu <hsuvictor@google.com> Change-Id: Ifdab57c1c24d9c8b3888daa15700dea596e4a451
2021-12-13wcn6740: Change DMA allocation methods in mhi & cnss2Victor Hsu
PCI rc driver hooks the op of dma_alloc_attrs() for S2MPU To solve the allocation failure problem, change to use dma_direct_alloc() instead. Bug: 204280094 Signed-off-by: Victor Hsu <hsuvictor@google.com> Change-Id: I86bdb8529d3fd2d3711ec8acbee76702ec9a4c06
2021-12-13wcn6740: Change the include path to out-of-kernel treeVictor Hsu
Change the include path to make sure to include the correct header files in out-of-kernel tree. Bug: 203725513 Signed-off-by: Victor Hsu <hsuvictor@google.com> Change-Id: Iaff00aca3b1e3faa77ffb54bf7eb59b6ca296c58
2021-12-13wcn6740: Build mhi/qmi/qrtr out of kernel treeVictor Hsu
Bug: 203725513 Signed-off-by: Victor Hsu <hsuvictor@google.com> Change-Id: Ie484ffaf1bde124d141e8e87adf9e3beb5cf7174