Skip to content

Incorporate DRAM address in EDAC messages

Naik, Avadhut linux-edac lkml 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest posting 2/20 of 2 patches 0 repliesNew
  2. v3 posting 1/20 of 2 patches 1 replySuperseded
  3. v11 of 2 patches 3 repliesSuperseded

Patches in v3 posting 2/2 No applies recorded yet

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/2] Incorporate DRAM address in EDAC messages
Quoted 15 lines · Borislav Petkov
Quoted 3 lines · Avadhut
Quoted 3 lines

The "DRAM address" helps memory vendors analyze failures. System builders want to collect this data and pass it along to the memory vendors.

How real is such a use case? It sounds to me like wishful thinking and that no one is going to use it in the end and we'll end up warming up the universe with electrons needlessly...

Quoted 5 lines
Quoted 5 lines

The DRAM address is not contained in architectural data like MCA info, and getting the address from MCA requires using additional system-specific hardware info. It's much more reliable to get the DRAM address from the system with the error rather than try to post-process it later.

Quoted 9 lines

Ok, a bit better.

Now, why isn't that address part of the tracepoint so that system builders can consume structured data instead of parsing scnprintf()-ed strings and trying to guess what's there?

Also, some of the fields of TRACE_EVENT(mce_record already contain the fields this set is adding - CS or so, for example. So there's redundancy already.

Currently, it is being exported through the RAS tracepoint along with the physical address. Example snippet below:

     kworker/4:1-3950    [004] ..... 84373.064068: mc_event: 1 Corrected error: on mc#0csrow#0channel#9 (mc:0 location:0:9:-1 address:0x9ffff000 grain:64 syndrome:0x00000001 Cs: 0x0 Bank Grp: 0x0 Bank Addr: 0x1f Row: 0x27f Column: 0x7e0 RankMul: 0x0 SubChannel: 0x0)

Would you rather have it exported through the mce_record tracepoint?

Quoted 8 lines
Quoted 1 line

If yes, will add this information to commit messages and resend.

When that happens, remove all text gunk which talks about what a patch does
- that should be visible from the diff.

And this is not the first time I'm saying this: folks, please stop explaining the code.

Will do.

Quoted 2 lines

Thx.

Signature · 2 lines
Thanks,
Avadhut Naik