Commit 4c863dbb authored by Lukasz Luba's avatar Lukasz Luba Committed by Carlos Llamas
Browse files

UPSTREAM: PM: EM: Add functions for memory allocations for new EM tables



The runtime modified EM table can be provided from drivers. Create
mechanism which allows safely allocate and free the table for device
drivers. The same table can be used by the EAS in task scheduler code
paths, so make sure the memory is not freed when the device driver module
is unloaded.

Reviewed-by: default avatarDietmar Eggemann <dietmar.eggemann@arm.com>
Tested-by: default avatarDietmar Eggemann <dietmar.eggemann@arm.com>
Signed-off-by: default avatarLukasz Luba <lukasz.luba@arm.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>

(cherry picked from commit ffcf9bce)
Signed-off-by: default avatarLukasz Luba <lukasz.luba@arm.com>
Change-Id: I9ec6a163aef4d2b6ac6303dd7896f5b0c9e2ef1f
parent 028e73d4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment