diff options
author | Tony Luck <tony.luck@intel.com> | 2016-04-15 23:50:32 +0200 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2016-04-23 14:02:02 +0200 |
commit | ad08c4e97485694fee5ebb181983514facedbb19 (patch) | |
tree | 4c4d834458440c9371c5c01bbc342299aebb7a2b /drivers/edac/edac_mc.c | |
parent | EDAC: Fix used after kfree() error in edac_unregister_sysfs() (diff) | |
download | linux-ad08c4e97485694fee5ebb181983514facedbb19.tar.xz linux-ad08c4e97485694fee5ebb181983514facedbb19.zip |
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