• Steven Price's avatar
    arm64: mte: Save tags when hibernating · ee11f332
    Steven Price authored
    When hibernating the contents of all pages in the system are written to
    disk, however the MTE tags are not visible to the generic hibernation
    code. So just before the hibernation image is created copy the tags out
    of the physical tag storage into standard memory so they will be
    included in the hibernation image. After hibernation apply the tags back
    into the physical tag storage.
    Signed-off-by: default avatarSteven Price <steven.price@arm.com>
    Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
    Cc: James Morse <james.morse@arm.com>
    Cc: Will Deacon <will@kernel.org>
    ee11f332
hibernate.c 17.8 KB