summaryrefslogtreecommitdiff
path: root/drivers/edac/edac_mc.c
diff options
context:
space:
mode:
authorTony Luck <tony.luck@intel.com>2016-04-16 00:50:32 +0300
committerBorislav Petkov <bp@suse.de>2016-04-23 15:02:02 +0300
commitad08c4e97485694fee5ebb181983514facedbb19 (patch)
tree4c4d834458440c9371c5c01bbc342299aebb7a2b /drivers/edac/edac_mc.c
parentab67b6c22d8506b060a66ed0ce1a3e14e3b075e4 (diff)
downloadlinux-ad08c4e97485694fee5ebb181983514facedbb19.tar.xz
EDAC, sb_edac: Remove double buffering of error records
In the bad old days the functions from x86_mce_decoder_chain could be called in machine check context. So we used to carefully copy them and defer processing until later. But in f29a7aff4bd60 ("x86/mce: Avoid potential deadlock due to printk() in MCE context") we switched the logging code to save the record in a genpool, and call the functions that registered to be notified later from a work queue. So drop all the double buffering and do all the work we want to do as soon as sbridge_mce_check_error() is called. Signed-off-by: Tony Luck <tony.luck@intel.com> Cc: Aristeu Rozanski <arozansk@redhat.com> Cc: Mauro Carvalho Chehab <mchehab@osg.samsung.com> Cc: linux-edac <linux-edac@vger.kernel.org> Cc: patrickg@supermicro.com Link: http://lkml.kernel.org/r/100025611cd780d9bca72792b2b2146760da53e0.1460756761.git.tony.luck@intel.com Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'drivers/edac/edac_mc.c')
0 files changed, 0 insertions, 0 deletions