diff options
author | Kajol Jain <kjain@linux.ibm.com> | 2020-05-25 13:43:07 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-05-28 16:24:40 +0300 |
commit | 373b373053384f12951ae9f916043d955501d482 (patch) | |
tree | 9c81d46db3720415d5ba5a2eca307d3b1ef566d4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 15cd1d35ba4a59832df693858ef046457107bd8d (diff) | |
download | linux-373b373053384f12951ae9f916043d955501d482.tar.xz |
powerpc/pseries: Update hv-24x7 information after migration
Function 'read_sys_info_pseries()' is added to get system parameter
values like number of sockets and chips per socket.
and it gets these details via rtas_call with token
"PROCESSOR_MODULE_INFO".
Incase lpar migrate from one system to another, system
parameter details like chips per sockets or number of sockets might
change. So, it needs to be re-initialized otherwise, these values
corresponds to previous system values.
This patch adds a call to 'read_sys_info_pseries()' from
'post-mobility_fixup()' to re-init the physsockets and physchips values
Signed-off-by: Kajol Jain <kjain@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200525104308.9814-6-kjain@linux.ibm.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions