mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
qcacld-3.0: Dump PAGE_FAULT event buffer
On non-DRV platform, host will be waked when page fault occurs in firmware side. Need to dump event buffer which contains more debug info regarding current page fault. Change-Id: I46d724c58000b3faafc0f5eead550acb37eafe3a CRs-Fixed: 2690966
This commit is contained in:
parent
f9594f6eb8
commit
2d1f2a224b
1 changed files with 11 additions and 0 deletions
|
|
@ -2441,6 +2441,17 @@ static int wma_wake_event_packet(
|
|||
packet, packet_len);
|
||||
break;
|
||||
|
||||
case WOW_REASON_PAGE_FAULT:
|
||||
/*
|
||||
* In case PAGE_FAULT occurs on non-DRV platform,
|
||||
* dump event buffer which contains more info regarding
|
||||
* current page fault.
|
||||
*/
|
||||
WMA_LOGD("PAGE_FAULT occurs during suspend:");
|
||||
qdf_trace_hex_dump(QDF_MODULE_ID_WMA, QDF_TRACE_LEVEL_DEBUG,
|
||||
packet, packet_len);
|
||||
break;
|
||||
|
||||
default:
|
||||
WMA_LOGE("Wake reason %s is not a packet event",
|
||||
wma_wow_wake_reason_str(wake_info->wake_reason));
|
||||
|
|
|
|||
Loading…
Reference in a new issue