Skip to content
  • Vincenzo Frascino's avatar
    arm64: mte: Report async tag faults before suspend · 8c223e5b
    Vincenzo Frascino authored
    
    
    When MTE async mode is enabled TFSR_EL1 contains the accumulative
    asynchronous tag check faults for EL1 and EL0.
    
    During the suspend/resume operations the firmware might perform some
    operations that could change the state of the register resulting in
    a spurious tag check fault report.
    
    Report asynchronous tag faults before suspend and clear the TFSR_EL1
    register after resume to prevent this to happen.
    
    Cc: Catalin Marinas <catalin.marinas@arm.com>
    Cc: Will Deacon <will@kernel.org>
    Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
    Signed-off-by: default avatarVincenzo Frascino <vincenzo.frascino@arm.com>
    8c223e5b