mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-01 02:21:16 +00:00
08d2ce4c82
Due to a hardware bug on 8939 and 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 only in secure world based on the L2 mode flag passed. Change-Id: I426289e1fc66664ed9c4ecf81c4106ce2c7c1145 Signed-off-by: Anil Kumar Mamidala <amami@codeaurora.org>
19 lines
670 B
C
19 lines
670 B
C
/* Copyright (c) 2014-2015, 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 */
|