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

UPSTREAM: PM: EM: Change debugfs configuration to use runtime EM table data



Dump the runtime EM table values which can be modified in time. In order
to do that allocate chunk of debug memory which can be later freed
automatically thanks to devm_kcalloc().

This design can handle the fact that the EM table memory can change
after EM update, so debug code cannot use the pointer from initialization
phase.

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 09417e67)
Signed-off-by: default avatarLukasz Luba <lukasz.luba@arm.com>
Change-Id: Iafdd6e5254fbfce3686cf438c3722471c212d4d0
parent ae5953e9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment