summaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorManaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>2017-02-27 14:51:03 +0530
committerManaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>2017-02-27 14:52:58 +0530
commit82cc4f26dc497657b8506950b78158df7ab795ba (patch)
tree0338499fdfbc3ea2e7217628e91aac41427896f2 /net/switchdev/switchdev.c
parent541fe938d28fd1d61c22f25c031ebf600af2c61d (diff)
power: bcl: Serialize frequency mitigation request from BCL events
For cpu frequency mitigation, there is one common device request handle for all BCL events. There is a possible race condition for frequency mitigation request if two BCL events are cleared simultaneously and cpu frequency mitigation handler for these two events are handled in different cpus. This gives rise to a scenario where cpu frequency in mitigated state even though all BCL events are cleared. To avoid this race condition, serialize frequency mitigation request using a mutex. CRs-Fixed: 2005131 Change-Id: I29b189b2ecd18603441d0b69faa4c38123244a4a Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions