Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1622522
| From | Borislav Petkov <bp@suse.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [RFC PATCH] x86, mce: change the mce notifier to 'blocking' from 'atomic' |
| Date | 2017-04-12 22:30 +0200 |
| Message-ID | <tvx3P-QV-17@gated-at.bofh.it> (permalink) |
| References | <tvcLL-4GZ-1@gated-at.bofh.it> <tvmBs-2Gr-11@gated-at.bofh.it> <tvwKu-Gu-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, Apr 12, 2017 at 01:59:03PM -0600, Vishal Verma wrote:
> I don't think we can do anything about the panic path errors.
Then the fix should be a lot easier:
---
diff --git a/drivers/acpi/nfit/mce.c b/drivers/acpi/nfit/mce.c
index 3ba1c3472cf9..44c092ec2ac9 100644
--- a/drivers/acpi/nfit/mce.c
+++ b/drivers/acpi/nfit/mce.c
@@ -25,6 +25,9 @@ static int nfit_handle_mce(struct notifier_block *nb, unsigned long val,
struct acpi_nfit_desc *acpi_desc;
struct nfit_spa *nfit_spa;
+ if (in_atomic())
+ return NOTIFY_DONE;
+
/* We only care about memory errors */
if (!(mce->status & MCACOD))
return NOTIFY_DONE;
--
Regards/Gruss,
Boris.
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
--
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[RFC PATCH] x86, mce: change the mce notifier to 'blocking' from 'atomic' Vishal Verma <vishal.l.verma@intel.com> - 2017-04-12 00:50 +0200
Re: [RFC PATCH] x86, mce: change the mce notifier to 'blocking' from 'atomic' Borislav Petkov <bp@suse.de> - 2017-04-12 11:20 +0200
Re: [RFC PATCH] x86, mce: change the mce notifier to 'blocking' from 'atomic' Vishal Verma <vishal.l.verma@intel.com> - 2017-04-12 22:10 +0200
Re: [RFC PATCH] x86, mce: change the mce notifier to 'blocking' from 'atomic' Borislav Petkov <bp@suse.de> - 2017-04-12 22:30 +0200
Re: [RFC PATCH] x86, mce: change the mce notifier to 'blocking' from 'atomic' "Verma, Vishal L" <vishal.l.verma@intel.com> - 2017-04-12 22:30 +0200
Re: [RFC PATCH] x86, mce: change the mce notifier to 'blocking' from 'atomic' Dan Williams <dan.j.williams@intel.com> - 2017-04-12 23:00 +0200
Re: [RFC PATCH] x86, mce: change the mce notifier to 'blocking' from 'atomic' Thomas Gleixner <tglx@linutronix.de> - 2017-04-12 23:20 +0200
Re: [RFC PATCH] x86, mce: change the mce notifier to 'blocking' from 'atomic' "Luck, Tony" <tony.luck@intel.com> - 2017-04-12 23:20 +0200
Re: [RFC PATCH] x86, mce: change the mce notifier to 'blocking' from 'atomic' Borislav Petkov <bp@suse.de> - 2017-04-12 23:50 +0200
Re: [RFC PATCH] x86, mce: change the mce notifier to 'blocking' from 'atomic' Borislav Petkov <bp@suse.de> - 2017-04-13 00:20 +0200
Re: [RFC PATCH] x86, mce: change the mce notifier to 'blocking' from 'atomic' "Luck, Tony" <tony.luck@intel.com> - 2017-04-13 00:30 +0200
Re: [RFC PATCH] x86, mce: change the mce notifier to 'blocking' from 'atomic' Borislav Petkov <bp@suse.de> - 2017-04-13 00:30 +0200
Re: [RFC PATCH] x86, mce: change the mce notifier to 'blocking' from 'atomic' Borislav Petkov <bp@suse.de> - 2017-04-13 13:40 +0200
Re: [RFC PATCH] x86, mce: change the mce notifier to 'blocking' from 'atomic' Borislav Petkov <bp@suse.de> - 2017-04-13 14:20 +0200
Re: [RFC PATCH] x86, mce: change the mce notifier to 'blocking' from 'atomic' "Luck, Tony" <tony.luck@intel.com> - 2017-04-18 18:30 +0200
Re: [RFC PATCH] x86, mce: change the mce notifier to 'blocking' from 'atomic' "Verma, Vishal L" <vishal.l.verma@intel.com> - 2017-04-21 23:50 +0200
Re: [RFC PATCH] x86, mce: change the mce notifier to 'blocking' from 'atomic' "Luck, Tony" <tony.luck@intel.com> - 2017-04-12 23:00 +0200
Re: [RFC PATCH] x86, mce: change the mce notifier to 'blocking' from 'atomic' Borislav Petkov <bp@suse.de> - 2017-04-12 23:20 +0200
Re: [RFC PATCH] x86, mce: change the mce notifier to 'blocking' from 'atomic' Thomas Gleixner <tglx@linutronix.de> - 2017-04-13 00:00 +0200
Re: [RFC PATCH] x86, mce: change the mce notifier to 'blocking' from 'atomic' "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2017-04-13 00:50 +0200
Re: [RFC PATCH] x86, mce: change the mce notifier to 'blocking' from 'atomic' "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2017-04-13 01:50 +0200
Re: [RFC PATCH] x86, mce: change the mce notifier to 'blocking' from 'atomic' "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2017-04-13 16:40 +0200
[tip:ras/urgent] x86/mce: Make the MCE notifier a blocking one tip-bot for Vishal Verma <tipbot@zytor.com> - 2017-04-18 22:30 +0200
csiph-web