mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Qunqin Zhao <zhaoqunqin@loongson.cn>
To: Borislav Petkov <bp@alien8.de>, Qunqin Zhao <zhaoqunqin@163.com>
Cc: tony.luck@intel.com, linux-edac@vger.kernel.org,
	chenhuacai@kernel.org, linux-kernel@vger.kernel.org,
	Wu sheng <wusheng@loongson.cn>,
	Wang Jinwei <wangjinwei@loongson.cn>
Subject: Re: [PATCH v8 4/4] EDAC/loongson: Add CS4-7 timeout filter for cross-node access
Date: Mon, 30 Nov 2026 11:25:50 +0800	[thread overview]
Message-ID: <3e501ed9-799f-4542-b4e0-923ee7ad3de7@loongson.cn> (raw)
In-Reply-To: <20261127232542.GRawoRdgSyv0fBqyXb@fat_crate.local>


在 2026/11/28 07:25, Borislav Petkov 写道:
> On Wed, Nov 18, 2026 at 11:03:30AM +0800, Qunqin Zhao wrote:
>> From: Qunqin Zhao <zhaoqunqin@loongson.cn>
>>
>> On Loongson 3C6000 multi-node systems, when the EDAC driver running
>> on one node accesses the memory controller registers of another node,
>> the read operation may timeout and return random values. This causes
>> false CE error reports because the random values in CS0-3 (low 32 bits)
>> are misinterpreted as valid ECC error counts.
>>
>> For cross-node accesses, check CS4-7 (high 32 bits) of the ECC
>> count register. If the valid-cs-bits firmware property is set and
>> the high bits are non-zero, it indicates a timeout or random value,
>> so skip the report and return the previous count.
>>
>> To avoid undefined behavior on 8-CS systems where valid_cs_bits=64,
>> guard the shift with a bounds check (valid_cs_bits < 64).
> Do NOT explain the diff in the commit message!
Will fix.
>
>> Signed-off-by: Wu sheng <wusheng@loongson.cn>
>> Signed-off-by: Wang Jinwei <wangjinwei@loongson.cn>
>> Signed-off-by: Qunqin Zhao <zhaoqunqin@loongson.cn>
> Do you know how SOB chains work?
>
> Please refresh on the documentation:
>
> https://docs.kernel.org/process/development-process.html
> https://www.kernel.org/doc/html/latest/process/submitting-patches.html

As documented in  https://www.kernel.org/doc/html/latest/process/submitting-patches.html

"Any further SoBs (Signed-off-by:’s) following the author’s SoB are from people 

handling and transporting the patch, but were not involved in its development. SoB 

chains should reflect the real route a patch took as it was propagated to the maintainers 

and ultimately to Linus, with the first SoB entry signalling primary authorship of a 

single author."

Perhaps I should do it this way:

Co-developed-by: Wu sheng <wusheng@loongson.cn> Signed-off-by: Wu sheng <wusheng@loongson.cn>
Co-developed-by: Wang Jinwei <wangjinwei@loongson.cn> Signed-off-by: Wang Jinwei <wangjinwei@loongson.cn>
Signed-off-by: Qunqin Zhao <zhaoqunqin@loongson.cn>

Qunqin,

Thanks.

>


  reply	other threads:[~2026-11-30  3:28 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-18  3:03 [PATCH v8 0/4] EDAC/loongson: Improvements for Loongson EDAC driver Qunqin Zhao
2026-11-18  3:03 ` [PATCH v8 1/4] EDAC/loongson: Rename driver-local symbols Qunqin Zhao
2026-11-18  3:03 ` [PATCH v8 2/4] EDAC/loongson: Encode node and MC info into mc_idx Qunqin Zhao
2026-11-18  7:45   ` Huacai Chen
2026-11-18  3:03 ` [PATCH v8 3/4] EDAC/loongson: Get DIMM size from ACPI _DSM method Qunqin Zhao
2026-11-27 23:23   ` Borislav Petkov
2026-11-30  2:47     ` Qunqin Zhao
2026-11-18  3:03 ` [PATCH v8 4/4] EDAC/loongson: Add CS4-7 timeout filter for cross-node access Qunqin Zhao
2026-11-18  7:46   ` Huacai Chen
2026-11-27 23:25   ` Borislav Petkov
2026-11-30  3:25     ` Qunqin Zhao [this message]
2026-11-30 18:42       ` Borislav Petkov
2026-11-27 23:40 ` [PATCH v8 0/4] EDAC/loongson: Improvements for Loongson EDAC driver Borislav Petkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3e501ed9-799f-4542-b4e0-923ee7ad3de7@loongson.cn \
    --to=zhaoqunqin@loongson.cn \
    --cc=bp@alien8.de \
    --cc=chenhuacai@kernel.org \
    --cc=linux-edac@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tony.luck@intel.com \
    --cc=wangjinwei@loongson.cn \
    --cc=wusheng@loongson.cn \
    --cc=zhaoqunqin@163.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®