Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1284321
| From | "Raj, Ashok" <ashok.raj@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [Patch V0] x86, mce: Ensure offline CPU's don't participate in mce rendezvous process. |
| Date | 2015-12-05 00:10 +0100 |
| Message-ID | <qC7Ee-I7-11@gated-at.bofh.it> (permalink) |
| References | (3 earlier) <qC1Sa-5fB-25@gated-at.bofh.it> <qC2ld-5GD-31@gated-at.bofh.it> <qC2uU-5Kw-61@gated-at.bofh.it> <qC2Od-5RV-3@gated-at.bofh.it> <qC7bc-hI-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri, Dec 04, 2015 at 02:34:52PM -0800, Andy Lutomirski wrote:
> On Fri, Dec 4, 2015 at 9:53 AM, Luck, Tony <tony.luck@intel.com> wrote:
> > ist_enter() is black magic to me. Andy? Would you be worried about executing
> > ist_{enter,exit}() on a cpu that was once online, but is currently marked offline
> > by Linux?
>
> Offline CPUs are black magic to me. But as long as the CPU works the
> way that the normal specs say it should, then ist_enter is fair game.
> In any event, if context tracking blows up on an offline CPU, I'd
> argue that's a context tracking bug and needs to be fixed.
>
> But maybe offlined CPUs are supposed to have all interrupts off
> (including MCE?) and the argument goes the other way? Dunno.
MCE's are broadcast by the hardware and cannot be blocked. Offline
is only a Linux specific state. Now if the offline was a result of an ACPI
event (eject) that triggered the CPU removal (offline in Linux, as it would
have in a platform that supports true hotplug) then the platform would
remove this cpu from the broadcast list.
if kernel were to set CR4.MCE=0 that would cause system shutdown when
an MCE is broadcast and hits this cpu.
Cheers,
Ashok
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[Patch V0] x86, mce: Ensure offline CPU's don't participate in mce rendezvous process. Ashok Raj <ashok.raj@intel.com> - 2015-12-04 00:20 +0100
Re: [Patch V0] x86, mce: Ensure offline CPU's don't participate in mce rendezvous process. Greg KH <greg@kroah.com> - 2015-12-04 00:40 +0100
Re: [Patch V0] x86, mce: Ensure offline CPU's don't participate in mce rendezvous process. Borislav Petkov <bp@alien8.de> - 2015-12-04 15:40 +0100
Re: [Patch V0] x86, mce: Ensure offline CPU's don't participate in mce rendezvous process. "Raj, Ashok" <ashok.raj@intel.com> - 2015-12-04 17:20 +0100
Re: [Patch V0] x86, mce: Ensure offline CPU's don't participate in mce rendezvous process. Borislav Petkov <bp@alien8.de> - 2015-12-04 18:00 +0100
RE: [Patch V0] x86, mce: Ensure offline CPU's don't participate in mce rendezvous process. "Luck, Tony" <tony.luck@intel.com> - 2015-12-04 18:30 +0100
Re: [Patch V0] x86, mce: Ensure offline CPU's don't participate in mce rendezvous process. Borislav Petkov <bp@alien8.de> - 2015-12-04 18:40 +0100
RE: [Patch V0] x86, mce: Ensure offline CPU's don't participate in mce rendezvous process. "Luck, Tony" <tony.luck@intel.com> - 2015-12-04 19:00 +0100
Re: [Patch V0] x86, mce: Ensure offline CPU's don't participate in mce rendezvous process. Borislav Petkov <bp@alien8.de> - 2015-12-04 19:10 +0100
RE: [Patch V0] x86, mce: Ensure offline CPU's don't participate in mce rendezvous process. "Luck, Tony" <tony.luck@intel.com> - 2015-12-04 19:40 +0100
Re: [Patch V0] x86, mce: Ensure offline CPU's don't participate in mce rendezvous process. Borislav Petkov <bp@alien8.de> - 2015-12-04 20:40 +0100
Re: [Patch V0] x86, mce: Ensure offline CPU's don't participate in mce rendezvous process. Andy Lutomirski <luto@amacapital.net> - 2015-12-04 23:40 +0100
Re: [Patch V0] x86, mce: Ensure offline CPU's don't participate in mce rendezvous process. "Raj, Ashok" <ashok.raj@intel.com> - 2015-12-05 00:10 +0100
Re: [Patch V0] x86, mce: Ensure offline CPU's don't participate in mce rendezvous process. Andy Lutomirski <luto@amacapital.net> - 2015-12-05 00:20 +0100
csiph-web