Skip to content
Commit dc4c849c authored by Lukasz Luba's avatar Lukasz Luba Committed by Deepak Kumar Mishra
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 8352bd19
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