On Fri, Jul 28, 2017 at 05:08:50PM +0200, Borislav Petkov wrote:
> diff --git a/arch/x86/kernel/cpu/mcheck/mce.c
> b/arch/x86/kernel/cpu/mcheck/mce.c
> index 6dde0497efc7..9486a2ca6556 100644
> --- a/arch/x86/kernel/cpu/mcheck/mce.c
> +++ b/arch/x86/kernel/cpu/mcheck/mce.c
> @@ -162,6 +162,9 @@
On Fri, Jul 28, 2017 at 05:08:50PM +0200, Borislav Petkov wrote:
> diff --git a/arch/x86/kernel/cpu/mcheck/mce.c
> b/arch/x86/kernel/cpu/mcheck/mce.c
> index 6dde0497efc7..9486a2ca6556 100644
> --- a/arch/x86/kernel/cpu/mcheck/mce.c
> +++ b/arch/x86/kernel/cpu/mcheck/mce.c
> @@ -162,6 +162,9 @@
Ok,
here's a working version. It looks pretty straight-forward (to me, at
least) and it does what it is supposed to when I inject an MCE:
# tracer: nop
#
# _-=> irqs-off
# / _=> need-resched
#| / _---=>
Ok,
here's a working version. It looks pretty straight-forward (to me, at
least) and it does what it is supposed to when I inject an MCE:
# tracer: nop
#
# _-=> irqs-off
# / _=> need-resched
#| / _---=>
On Thu, Jul 27, 2017 at 04:42:19PM +, Luck, Tony wrote:
> s/common errors/architectural errors/
>
> That means we don't need to keep updating for every Xeon that documents
> some MCi_STATUS.MSCOD bits. Decoding the MCACOD bits will explain
> which component is involved (cache, bus, memory)
On Thu, Jul 27, 2017 at 04:42:19PM +, Luck, Tony wrote:
> s/common errors/architectural errors/
>
> That means we don't need to keep updating for every Xeon that documents
> some MCi_STATUS.MSCOD bits. Decoding the MCACOD bits will explain
> which component is involved (cache, bus, memory)
On Fri, Jul 28, 2017 at 08:37:53AM +0200, Ingo Molnar wrote:
> Yeah, structured, append-only ABIs are elegant - that's what perf uses too.
Yeah.
> Had do vent my (non kernel tree integrated) Linux tooling frustration!! ;-)
I know *exactly* what you mean!
:-)
--
Regards/Gruss,
Boris.
ECO
On Fri, Jul 28, 2017 at 08:37:53AM +0200, Ingo Molnar wrote:
> Yeah, structured, append-only ABIs are elegant - that's what perf uses too.
Yeah.
> Had do vent my (non kernel tree integrated) Linux tooling frustration!! ;-)
I know *exactly* what you mean!
:-)
--
Regards/Gruss,
Boris.
ECO
* Borislav Petkov wrote:
> BUT(!), I just realized, I *think* I can address this much more elegantly:
> extend trace_mce_record() by adding the decoded string as its last argument.
> And
> that's fine, I'm being told, because adding arguments to the tracepoints is
> not
> a
* Borislav Petkov wrote:
> BUT(!), I just realized, I *think* I can address this much more elegantly:
> extend trace_mce_record() by adding the decoded string as its last argument.
> And
> that's fine, I'm being told, because adding arguments to the tracepoints is
> not
> a big deal,
> Later, we could extend that same behavior to Intel for the common
> errors, at least, so that we can dump at least *some* string explaining
> what the error is.
s/common errors/architectural errors/
That means we don't need to keep updating for every Xeon that documents
some MCi_STATUS.MSCOD
> Later, we could extend that same behavior to Intel for the common
> errors, at least, so that we can dump at least *some* string explaining
> what the error is.
s/common errors/architectural errors/
That means we don't need to keep updating for every Xeon that documents
some MCi_STATUS.MSCOD
On Thu, Jul 27, 2017 at 10:39:27AM +0200, Ingo Molnar wrote:
> I don't think so: we routinely log several KB per event worth of call chains
> via
> perf tracing just fine.
>
> So I'd suggest logging more than less, and making it more verbose is
> definitely
> the way to go.
No no, you're
On Thu, Jul 27, 2017 at 10:39:27AM +0200, Ingo Molnar wrote:
> I don't think so: we routinely log several KB per event worth of call chains
> via
> perf tracing just fine.
>
> So I'd suggest logging more than less, and making it more verbose is
> definitely
> the way to go.
No no, you're
* Borislav Petkov wrote:
> On Thu, Jul 27, 2017 at 09:10:34AM +0200, Ingo Molnar wrote:
> > Looks pretty nice to me conceptually. Do you have a couple of examples of
> > real-life events that get logged? It's hard to decode it from the new
> > tracepoint
> > alone.
>
>
* Borislav Petkov wrote:
> On Thu, Jul 27, 2017 at 09:10:34AM +0200, Ingo Molnar wrote:
> > Looks pretty nice to me conceptually. Do you have a couple of examples of
> > real-life events that get logged? It's hard to decode it from the new
> > tracepoint
> > alone.
>
> Here's what comes out
On Thu, Jul 27, 2017 at 09:10:34AM +0200, Ingo Molnar wrote:
> Looks pretty nice to me conceptually. Do you have a couple of examples of
> real-life events that get logged? It's hard to decode it from the new
> tracepoint
> alone.
Here's what comes out in dmesg:
[ 932.370319] mce: [Hardware
On Thu, Jul 27, 2017 at 09:10:34AM +0200, Ingo Molnar wrote:
> Looks pretty nice to me conceptually. Do you have a couple of examples of
> real-life events that get logged? It's hard to decode it from the new
> tracepoint
> alone.
Here's what comes out in dmesg:
[ 932.370319] mce: [Hardware
* Borislav Petkov wrote:
> From: Borislav Petkov
>
> Hi,
>
> here's a first stab at adding a tracepoint which dumps the decoded MCE
> string to userspace. The main idea is to have the decoding functionality
> in the kernel and depending on whether you have
* Borislav Petkov wrote:
> From: Borislav Petkov
>
> Hi,
>
> here's a first stab at adding a tracepoint which dumps the decoded MCE
> string to userspace. The main idea is to have the decoding functionality
> in the kernel and depending on whether you have userspace consumers
> listening or
From: Borislav Petkov
Hi,
here's a first stab at adding a tracepoint which dumps the decoded MCE
string to userspace. The main idea is to have the decoding functionality
in the kernel and depending on whether you have userspace consumers
listening or not, to dump the error to the
From: Borislav Petkov
Hi,
here's a first stab at adding a tracepoint which dumps the decoded MCE
string to userspace. The main idea is to have the decoding functionality
in the kernel and depending on whether you have userspace consumers
listening or not, to dump the error to the tracepoint or
22 matches
Mail list logo