Due to a hardware issue on 8909, secure world needs to disable and enable L2 SPM to get the proper context in secure watchdog bite cases. With this workaround there is a race in programming L2 SPM between HLOS and secure world. This leads to stability issues. To avoid this program L2 SPM enable in secure world. Change-Id: I426289e1fc66664ed9c4ecf81c4106ce2c7c1145 Signed-off-by: Anil Kumar Mamidala <amami@codeaurora.org> Signed-off-by: Chinkit Kumar,Kirti Kumar Parmar <parma@codeaurora.org>
20 lines
677 B
C
20 lines
677 B
C
/* Copyright (c) 2014-2016, 2018, The Linux Foundation. All rights reserved.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 and
|
|
* only version 2 as published by the Free Software Foundation.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
*/
|
|
|
|
#ifndef __LPM_WA_H
|
|
#define __LPM_WA_H
|
|
|
|
void lpm_wa_cx_unvote_send(void);
|
|
bool lpm_wa_get_skip_l2_spm(void);
|
|
|
|
#endif /* __LPM_WA_H */
|