Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1675363

Re: [PATCH v5] trace: ras: add ARM processor error information trace event

From Borislav Petkov <bp@suse.de>
Newsgroups linux.kernel
Subject Re: [PATCH v5] trace: ras: add ARM processor error information trace event
Date 2017-06-27 09:30 +0200
Message-ID <tWT6H-5BT-33@gated-at.bofh.it> (permalink)
References <tVKf8-2ER-1@gated-at.bofh.it> <tWCSf-3mD-31@gated-at.bofh.it> <tWSDE-5aT-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Jun 27, 2017 at 02:51:22PM +0800, Xie XiuQi wrote:
> How about we report the full info via arm_err_info_event which just for someone
> who want the detail information, and leave arm_event closed. If someone do not
> care the error detail, who could just open arm_event.

So the way I read the spec is, an error event is being described by the
Processor Error section and then it "may contain multiple instances of
error information structures associated to a single error event."

So you can't leave the arm_event thing closed because it describes the
event.

If you want to merge the two, then sure, by all means, change arm_event
to contain some of the processor error info structure.

It wouldn't matter too much as this tracepoint is not fully cast in
stone yet.

Bottomline is, you want to carry as much information to userspace as
possible in order to handle the error properly. But not more - you don't
need redundant information because then that bloats the whole machinery
around transporting and processing error records and you don't want that
in critical situations where you want to act as quickly and as lean as
possible.

And "handle properly" means any and all actions which the kernel or
user needs to do to prolong the system lifetime or be able to reliably
schedule maintenance as to replace the faulty hw component. And so on
and so on...

So it all comes down to what RAS actions you guys wanna do on ARM.

-- 
Regards/Gruss,
    Boris.

SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
-- 

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v5] trace: ras: add ARM processor error information trace event Xie XiuQi <xiexiuqi@huawei.com> - 2017-06-24 05:50 +0200
  Re: [PATCH v5] trace: ras: add ARM processor error information  trace event Steven Rostedt <rostedt@goodmis.org> - 2017-06-26 15:40 +0200
    Re: [PATCH v5] trace: ras: add ARM processor error information trace  event Xie XiuQi <xiexiuqi@huawei.com> - 2017-06-27 04:50 +0200
      Re: [PATCH v5] trace: ras: add ARM processor error information  trace event Steven Rostedt <rostedt@goodmis.org> - 2017-06-27 16:20 +0200
  Re: [PATCH v5] trace: ras: add ARM processor error information trace  event Borislav Petkov <bp@suse.de> - 2017-06-26 16:10 +0200
    Re: [PATCH v5] trace: ras: add ARM processor error information trace  event Xie XiuQi <xiexiuqi@huawei.com> - 2017-06-27 09:00 +0200
      Re: [PATCH v5] trace: ras: add ARM processor error information trace  event Borislav Petkov <bp@suse.de> - 2017-06-27 09:30 +0200
        Re: [PATCH v5] trace: ras: add ARM processor error information trace  event "Baicar, Tyler" <tbaicar@codeaurora.org> - 2017-06-27 17:50 +0200
          Re: [PATCH v5] trace: ras: add ARM processor error information trace  event Borislav Petkov <bp@suse.de> - 2017-06-27 18:30 +0200
    Re: [PATCH v5] trace: ras: add ARM processor error information trace  event Borislav Petkov <bp@suse.de> - 2017-06-28 20:00 +0200
      Re: [PATCH v5] trace: ras: add ARM processor error information  trace event Steven Rostedt <rostedt@goodmis.org> - 2017-06-28 20:00 +0200
    Re: [PATCH v5] trace: ras: add ARM processor error information trace  event James Morse <james.morse@arm.com> - 2017-06-28 20:00 +0200

csiph-web