• Michael Holzheu's avatar
    [S390] xpram: Remove checksum validation for suspend/resume · 99b5e2d3
    Michael Holzheu authored
    Currently in the suspend process checksums for the XPRAM partitions are
    created and stored. During the resume process it is checked,
    if the checksums are still the same. If this is not the case, a kernel panic
    is triggered. Unfortunately this prevents XPRAM from beeing used as suspend
    device, because in this case after the checksum has been created, the
    memory image is written to XPRAM and therefore the contents of the suspend
    partition is changed. In order to allow XPRAM to be used as suspend device,
    this patch removes the checksum validation.
    Signed-off-by: default avatarMichael Holzheu <holzheu@linux.vnet.ibm.com>
    Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
    99b5e2d3
xpram.c 11.7 KB