Skip to contentSkip to conversation

crashdump-ppc64: crashkernel-base and crashkernel-size are big-endian

PATCH Simon Horman 1 participant 1 message Apr 1, 2020 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Simon Horman

author Applied
#1 lore raw
Quoted 7 lines · Thadeu Lima de Souza Cascardo

When reading the device-tree exported crashkernel-base and crashkernel-size, their values should be converted from big-endian to the CPU byte order.

These is the output of running kexec --print-ckr-size on a little-endian ppc64 box.

Quoted 6 lines
$ kexec --print-ckr-size
137438953472
$ kexec --print-ckr-size
536870912

Thanks, applied.

_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec