]> git.ipfire.org Git - thirdparty/linux.git/commit
arm64: Mark kernel as tainted on SAE and SError panic
authorBreno Leitao <leitao@debian.org>
Wed, 16 Jul 2025 09:42:01 +0000 (02:42 -0700)
committerWill Deacon <will@kernel.org>
Thu, 17 Jul 2025 10:07:15 +0000 (11:07 +0100)
commitd7ce7e3a84642aadf7c4787f7ec4f58eb163d129
tree9c35b2d346acc71a99205be5afd5789f7f707399
parent75fdf823f94b18fa29ecbad9f39ecf8c57e8b8c6
arm64: Mark kernel as tainted on SAE and SError panic

Set TAINT_MACHINE_CHECK when SError or Synchronous External Abort (SEA)
interrupts trigger a panic to flag potential hardware faults. This
tainting mechanism aids in debugging and enables correlation of
hardware-related crashes in large-scale deployments.

This change aligns with similar patches[1] that mark machine check
events when the system crashes due to hardware errors.

Link: https://lore.kernel.org/all/20250702-add_tain-v1-1-9187b10914b9@debian.org/
Signed-off-by: Breno Leitao <leitao@debian.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Link: https://lore.kernel.org/r/20250716-vmcore_hw_error-v2-1-f187f7d62aba@debian.org
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/traps.c
arch/arm64/mm/fault.c