• Sourabh Jain's avatar
    Documentation/powerpc: update fadump implementation details · 57e67001
    Sourabh Jain authored
    The patch titled ("powerpc: make fadump resilient with memory add/remove
    events") has made significant changes to the implementation of fadump,
    particularly on elfcorehdr creation and fadump crash info header
    structure. Therefore, updating the fadump implementation documentation
    to reflect those changes.
    
    Following updates are done to firmware assisted dump documentation:
    
    1. The elfcorehdr is no longer stored after fadump HDR in the reserved
       dump area. Instead, the second kernel dynamically allocates memory
       for the elfcorehdr within the address range from 0 to the boot memory
       size. Therefore, update figures 1 and 2 of Memory Reservation during
       the first and second kernels to reflect this change.
    
    2. A version field has been added to the fadump header to manage the
       future changes to fadump crash info header structure without changing
       the fadump header magic number in the future. Therefore, remove the
       corresponding TODO from the document.
    Signed-off-by: default avatarSourabh Jain <sourabhjain@linux.ibm.com>
    Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
    Link: https://msgid.link/20240422195932.1583833-4-sourabhjain@linux.ibm.com
    57e67001
firmware-assisted-dump.rst 16.3 KB