diff options
author | Lukasz Luba <lukasz.luba@arm.com> | 2024-02-08 11:55:54 +0000 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-02-08 15:00:32 +0100 |
commit | 09417e673cbd578a1eaf8aba34a668119622d79c (patch) | |
tree | cea1fec86b15f0974191e9355311a53db7d5a799 /lib/xxhash.c | |
parent | 9f5fb518c3c022c5c50883c9006f6f2cd00d51d7 (diff) | |
download | linux-stable-09417e673cbd578a1eaf8aba34a668119622d79c.tar.gz linux-stable-09417e673cbd578a1eaf8aba34a668119622d79c.tar.bz2 linux-stable-09417e673cbd578a1eaf8aba34a668119622d79c.zip |
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: 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>
Diffstat (limited to 'lib/xxhash.c')
0 files changed, 0 insertions, 0 deletions