aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-wrapper.py
diff options
context:
space:
mode:
authorDilip Kota <c_dkota@codeaurora.org>2014-02-03 13:41:24 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2014-02-06 12:36:31 -0800
commit6b1a422ae8b5d725b3786ded2abfd96ad064200f (patch)
treee45f4462145b240a7806ed4fa081e21fa7440fa1 /scripts/gcc-wrapper.py
parent4db175e5666949f8c4654efbf5363b69d27bf5a9 (diff)
msm_serial_hs: Race Condition during Baud Rate Configuration
Race Condition: ============== CPU 0: 1.) Rx BAM pipe got disconnected during Baud Rate Cnfg 2.) Rx tasklet got scheduled 3.) Tasklet is issuing Rx command to BAM 4.) BAM API aquired spinlock and accessed Null Pointer This lead to Null Pointer Access and Crash CPU 1: 5.) As part of baud rate configuration process CPU 1 called BAM Rx Connect API 6.) BAM API is trying acquire Spinlock 7.) Spinlock is not released by CPU0 This lead to BUG ON Fix: === During Baud Rate Configuration, if Rx command is queued set the flag for not issuing any Rx command to BAM Adding rx_cmd_exec variable to avoid command getting queued twice without callback for the first Change-Id: I800180cba22b1d0326147a21f175d06e4641f6c4 Signed-off-by: Dilip Kota <c_dkota@codeaurora.org>
Diffstat (limited to 'scripts/gcc-wrapper.py')
0 files changed, 0 insertions, 0 deletions