diff options
| author | Hari Bathini <hbathini@linux.ibm.com> | 2021-04-21 20:50:52 +0300 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-04-26 15:35:46 +0300 |
| commit | b74196af372f7cb4902179009265fe63ac81824f (patch) | |
| tree | 143f6e81c2605babe15f229ea6621439216043e1 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | a84ca704d8306a949578d36c028c8e1bab3dcf0b (diff) | |
| download | linux-b74196af372f7cb4902179009265fe63ac81824f.tar.xz | |
powerpc/fadump: Fix fadump to work with a different endian capture kernel
Dump capture would fail if capture kernel is not of the endianess as the
production kernel, because the in-memory data structure (struct
opal_fadump_mem_struct) shared across production kernel and capture
kernel assumes the same endianess for both the kernels, which doesn't
have to be true always. Fix it by having a well-defined endianess for
struct opal_fadump_mem_struct.
Signed-off-by: Hari Bathini <hbathini@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/161902744901.86147.14719228311655123526.stgit@hbathini
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
