Skip to content
  • Chen Yucong's avatar
    mm/memory-failure.c: replace "MCE" with "Memory failure" · 495367c0
    Chen Yucong authored
    HWPoison was specific to some particular x86 platforms.  And it is often
    seen as high level machine check handler.  And therefore, 'MCE' is used
    for the format prefix of printk().  However, 'PowerNV' has also used
    HWPoison for handling memory errors[1], so 'MCE' is no longer suitable
    to memory_failure.c.
    
    Additionally, 'MCE' and 'Memory failure' have different context.  The
    former belongs to exception context and the latter belongs to process
    context.  Furthermore, HWPoison can also be used for off-lining those
    sub-health pages that do not trigger any machine check exception.
    
    This patch aims to replace 'MCE' with a more appropriate prefix.
    
    [1] commit 75eb3d9b
    
     ("powerpc/powernv: Get FSP memory errors
    and plumb into memory poison infrastructure.")
    
    Signed-off-by: default avatarChen Yucong <slaoub@gmail.com>
    Acked-by: default avatarNaoya Horiguchi <n-horiguchi@ah.jp.nec.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@lin...>
    495367c0