]> git.baikalelectronics.ru Git - kernel.git/commit
x86/mce Add validation check before GHES error is recorded
authorChen Gong <gong.chen@linux.intel.com>
Fri, 20 Apr 2012 23:02:05 +0000 (16:02 -0700)
committerTony Luck <tony.luck@intel.com>
Fri, 20 Apr 2012 23:02:05 +0000 (16:02 -0700)
commit771a877b6d3642199ceb9b886546bc8dc3192bf8
tree0c81c3fdf7b4ca186a61ba01c385742c17efb033
parent277826bbb1671a392db02d164f55aacfd134b129
x86/mce Add validation check before GHES error is recorded

When GHES error record is logged into mcelog kernel buffer, a validation
check for physical address is necessary, which prevents reporting an
invalid physical address.

[Since physical address is the only useful element in this error record,
we drop generating the record completely if we don't have a valid address]

Signed-off-by: Chen Gong <gong.chen@linux.intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/x86/kernel/cpu/mcheck/mce-apei.c