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:Dietmar Eggemann <dietmar.eggemann@arm.com> Tested-by:
Dietmar Eggemann <dietmar.eggemann@arm.com> Signed-off-by:
Lukasz Luba <lukasz.luba@arm.com> Signed-off-by:
Rafael J. Wysocki <rafael.j.wysocki@intel.com> (cherry picked from commit ffcf9bce) Signed-off-by:
Lukasz Luba <lukasz.luba@arm.com> Change-Id: I9ec6a163aef4d2b6ac6303dd7896f5b0c9e2ef1f
Loading
Please sign in to comment