• Gavin Shan's avatar
    powerpc/eeh: Dump PHB diag-data early · a450e8f5
    Gavin Shan authored
    On PowerNV platform, PHB diag-data is dumped after stopping device
    drivers. In case of recursive EEH errors, the kernel is usually
    crashed before dumping PHB diag-data for the second EEH error. It's
    hard to locate the root cause of the second EEH error without PHB
    diag-data.
    
    The patch adds one more EEH option "eeh=early_log", which helps
    dumping PHB diag-data immediately once frozen PE is detected, in
    order to get the PHB diag-data for the second EEH error.
    Signed-off-by: default avatarGavin Shan <gwshan@linux.vnet.ibm.com>
    Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
    a450e8f5
eeh-ioda.c 30 KB