]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
powerpc/eeh: differentiate duplicate detection message
authorSam Bobroff <sbobroff@linux.ibm.com>
Thu, 17 Oct 2019 04:59:37 +0000 (15:59 +1100)
committerSeth Forshee <seth.forshee@canonical.com>
Mon, 6 Jan 2020 16:04:00 +0000 (10:04 -0600)
commit7d4e9880867f46deb351ae8dd9b0b148686abee5
treea88944b24c1bc9347fbb3764dea0081a502a6f85
parentae8e259928d17a389c5d94ae87a26cfa69bafbb5
powerpc/eeh: differentiate duplicate detection message

BugLink: https://bugs.launchpad.net/bugs/1858429
[ Upstream commit de84ffc3ccbeec3678f95a3d898fc188efa0d9c5 ]

Currently when an EEH error is detected, the system log receives the
same (or almost the same) message twice:

  EEH: PHB#0 failure detected, location: N/A
  EEH: PHB#0 failure detected, location: N/A
or
  EEH: eeh_dev_check_failure: Frozen PHB#0-PE#0 detected
  EEH: Frozen PHB#0-PE#0 detected

This looks like a bug, but in fact the messages are from different
functions and mean slightly different things.  So keep both but change
one of the messages slightly, so that it's clear they are different:

  EEH: PHB#0 failure detected, location: N/A
  EEH: Recovering PHB#0, location: N/A
or
  EEH: eeh_dev_check_failure: Frozen PHB#0-PE#0 detected
  EEH: Recovering PHB#0-PE#0

Signed-off-by: Sam Bobroff <sbobroff@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/43817cb6e6631b0828b9a6e266f60d1f8ca8eb22.1571288375.git.sbobroff@linux.ibm.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
arch/powerpc/kernel/eeh_driver.c