Lines Matching full:mce
10 #include <asm/mce.h>
16 struct mce *mce = (struct mce *)data; in nfit_handle_mce() local
21 if (!mce_is_memory_error(mce) || mce_is_correctable(mce)) in nfit_handle_mce()
24 /* Verify the address reported in the MCE is valid. */ in nfit_handle_mce()
25 if (!mce_usable_address(mce)) in nfit_handle_mce()
29 * mce->addr contains the physical addr accessed that caused the in nfit_handle_mce()
35 unsigned int align = 1UL << MCI_MISC_ADDR_LSB(mce->misc); in nfit_handle_mce()
45 /* find the spa that covers the mce addr */ in nfit_handle_mce()
46 if (spa->address > mce->addr) in nfit_handle_mce()
48 if ((spa->address + spa->length - 1) < mce->addr) in nfit_handle_mce()
67 ALIGN_DOWN(mce->addr, align), align); in nfit_handle_mce()
79 mce->kflags |= MCE_HANDLED_NFIT; in nfit_handle_mce()