qcacld-3.0: enabled EXT GRP IRQs after power save exit

Currently in the WoW design of Moselle, EXT GRP IRQs are
enabled before sending SMP2P power save exit message is
sent to the FW. Because of this, any pending IRQs in the
GIC will immediately fire and could race with the SMP2P
power save exit logic. Any access to the registers done
before power save exit would result in system errors.
Enable the EXT GRP IRQs after sending power save exit
command will fix the problem.

Change-Id: I16f580279b5aa24861ab5111b9c13db3e38063f4
CRs-Fixed: 2925554
This commit is contained in:
Manikanta Pubbisetty
2021-04-19 06:53:39 +05:30
committed by snandini
parent 592d540d18
commit d60dfebd0b
3 changed files with 20 additions and 13 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2017-2020 The Linux Foundation. All rights reserved.
* Copyright (c) 2017-2021 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -227,6 +227,8 @@ enum pmo_wow_state {
* @pmo_lphb_callback: registered os if calllback function
* @ptrn_id_def: default pattern id counter for legacy firmware
* @ptrn_id_usr: user pattern id counter for legacy firmware
* @txrx_suspended: flag to determine if TX/RX is suspended
* during WoW
*
* This structure stores wow patterns and
* wow related parameters in host.
@@ -251,6 +253,7 @@ struct pmo_wow {
uint8_t ptrn_id_def;
uint8_t ptrn_id_usr;
bool txrx_suspended;
};
/* WOW related structures */