Re: [PATCH] x86: Prevent oops with >16 memory controllers

2015-02-16 Thread Borislav Petkov
On Sat, Feb 14, 2015 at 11:18:40AM +0800, Daniel J Blueman wrote: > When ECC interrupts occur on memory controllers after EDAC_MAX_MCS (16), the I knew this artificial limit would come back to bite us someday :-\ > kernel fatally dereferences unallocated structures [1]; this occurs on at > least

[PATCH] x86: Prevent oops with >16 memory controllers

2015-02-13 Thread Daniel J Blueman
When ECC interrupts occur on memory controllers after EDAC_MAX_MCS (16), the kernel fatally dereferences unallocated structures [1]; this occurs on at least NumaConnect systems. Minimally fix by checking if a memory controller info structure is allocated; candidate for stable. Signed-off-by: Dani