Skip to content
Commit 51d6bf6f authored by Lukasz Luba's avatar Lukasz Luba Committed by Ionela Voinescu
Browse files

PM: EM: Add RCU mechanism which safely cleans the old data



The EM is going to support runtime modifications of the power data.
In order to achieve that prepare the internal mechanism. This patch
introduces RCU safe mechanism to clean up the old allocated WM data.
It also adds a mutex for the EM structure to serialize the modifiers.
The writers which will block on that mutex must be running the sleeping
context.

Signed-off-by: Lukasz Luba's avatarLukasz Luba <lukasz.luba@arm.com>
parent dc8590cd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment