summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMichael Bringmann <mwb@linux.vnet.ibm.com>2017-05-22 23:44:37 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2017-06-01 12:54:41 +0300
commitdc421b200f91930c9c6a9586810ff8c232cf10fc (patch)
tree42b0aaed2f592827ab8cb07fd37b6a15c81eacfb /tools/perf/scripts/python/export-to-postgresql.py
parent6f553912eedafae13ff20b322a65e471fe7f5236 (diff)
downloadlinux-dc421b200f91930c9c6a9586810ff8c232cf10fc.tar.xz
powerpc/hotplug-mem: Fix missing endian conversion of aa_index
When adding or removing memory, the aa_index (affinity value) for the memblock must also be converted to match the endianness of the rest of the 'ibm,dynamic-memory' property. Otherwise, subsequent retrieval of the attribute will likely lead to non-existent nodes, followed by using the default node in the code inappropriately. Fixes: 5f97b2a0d176 ("powerpc/pseries: Implement memory hotplug add in the kernel") Cc: stable@vger.kernel.org # v4.1+ Signed-off-by: Michael Bringmann <mwb@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions