linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Shiju Jose <shiju.jose@huawei.com>
To: Shiju Jose <shiju.jose@huawei.com>,
	Daniel Ferguson <danielf@os.amperecomputing.com>,
	"rafael@kernel.org" <rafael@kernel.org>,
	"linux-edac@vger.kernel.org" <linux-edac@vger.kernel.org>,
	"linux-acpi@vger.kernel.org" <linux-acpi@vger.kernel.org>,
	"linux-doc@vger.kernel.org" <linux-doc@vger.kernel.org>,
	"bp@alien8.de" <bp@alien8.de>,
	"tony.luck@intel.com" <tony.luck@intel.com>,
	"lenb@kernel.org" <lenb@kernel.org>,
	"leo.duran@amd.com" <leo.duran@amd.com>,
	"Yazen.Ghannam@amd.com" <Yazen.Ghannam@amd.com>,
	"mchehab@kernel.org" <mchehab@kernel.org>
Cc: Jonathan Cameron <jonathan.cameron@huawei.com>,
	"linux-mm@kvack.org" <linux-mm@kvack.org>,
	Linuxarm <linuxarm@huawei.com>,
	"rientjes@google.com" <rientjes@google.com>,
	"jiaqiyan@google.com" <jiaqiyan@google.com>,
	"Jon.Grimm@amd.com" <Jon.Grimm@amd.com>,
	"dave.hansen@linux.intel.com" <dave.hansen@linux.intel.com>,
	"naoya.horiguchi@nec.com" <naoya.horiguchi@nec.com>,
	"james.morse@arm.com" <james.morse@arm.com>,
	"jthoughton@google.com" <jthoughton@google.com>,
	"somasundaram.a@hpe.com" <somasundaram.a@hpe.com>,
	"erdemaktas@google.com" <erdemaktas@google.com>,
	"pgonda@google.com" <pgonda@google.com>,
	"duenwen@google.com" <duenwen@google.com>,
	"gthelen@google.com" <gthelen@google.com>,
	"wschwartz@amperecomputing.com" <wschwartz@amperecomputing.com>,
	"dferguson@amperecomputing.com" <dferguson@amperecomputing.com>,
	"wbs@os.amperecomputing.com" <wbs@os.amperecomputing.com>,
	"nifan.cxl@gmail.com" <nifan.cxl@gmail.com>,
	tanxiaofei <tanxiaofei@huawei.com>,
	"Zengtao (B)" <prime.zeng@hisilicon.com>,
	"Roberto Sassu" <roberto.sassu@huawei.com>,
	"kangkang.shen@futurewei.com" <kangkang.shen@futurewei.com>,
	wanghuiqiang <wanghuiqiang@huawei.com>,
	"vanshikonda@os.amperecomputing.com"
	<vanshikonda@os.amperecomputing.com>
Subject: RE: [PATCH v9 2/2] ras: mem: Add memory ACPI RAS2 driver
Date: Fri, 1 Aug 2025 17:33:00 +0000	[thread overview]
Message-ID: <9802cc9c80e745e9a4fffa0685a65f79@huawei.com> (raw)
In-Reply-To: <a1df7aa762954b35bc5fe2b1f6d9ed78@huawei.com>

>-----Original Message-----
>From: Shiju Jose <shiju.jose@huawei.com>
>Sent: 01 August 2025 18:29
>To: Daniel Ferguson <danielf@os.amperecomputing.com>; rafael@kernel.org;
>linux-edac@vger.kernel.org; linux-acpi@vger.kernel.org; linux-
>doc@vger.kernel.org; bp@alien8.de; tony.luck@intel.com; lenb@kernel.org;
>leo.duran@amd.com; Yazen.Ghannam@amd.com; mchehab@kernel.org
>Cc: Jonathan Cameron <jonathan.cameron@huawei.com>; linux-
>mm@kvack.org; Linuxarm <linuxarm@huawei.com>; rientjes@google.com;
>jiaqiyan@google.com; Jon.Grimm@amd.com; dave.hansen@linux.intel.com;
>naoya.horiguchi@nec.com; james.morse@arm.com; jthoughton@google.com;
>somasundaram.a@hpe.com; erdemaktas@google.com; pgonda@google.com;
>duenwen@google.com; gthelen@google.com;
>wschwartz@amperecomputing.com; dferguson@amperecomputing.com;
>wbs@os.amperecomputing.com; nifan.cxl@gmail.com; tanxiaofei
><tanxiaofei@huawei.com>; Zengtao (B) <prime.zeng@hisilicon.com>; Roberto
>Sassu <roberto.sassu@huawei.com>; kangkang.shen@futurewei.com;
>wanghuiqiang <wanghuiqiang@huawei.com>;
>vanshikonda@os.amperecomputing.com
>Subject: RE: [PATCH v9 2/2] ras: mem: Add memory ACPI RAS2 driver
>
>>-----Original Message-----
>>From: Daniel Ferguson <danielf@os.amperecomputing.com>
[...]
>>3) This is a special case of #2. During driver load, ras2_probe issues
>>a GET_PATROL_PARAMETERS using a base and size equal to 0. The base and
>>size are zero because requested_address_range is allocated with
>>kzalloc. In this case, we may not be getting the initial values from the correct
>range.
>In the probe stage, while issue GET_PATROL_PARAMETERS, driver has no
>information about the  'requested_address_range' supposed to set other than
>set to 0 because
>RAS2 ('RAS2 Platform Communication Channel Shared Memory Region' table?)
>does not define fields for the platform to advertise the supported full address
>range for a scrubber.
Please ignore this as it was solved.

>>
>>Proposed Solution:
>>What we propose, is to instead of zeroing out the base and size after
>>an error, use the full range of the current NUMA node. We believe that
>>a superset of a currently active scrub range can properly report all
>>the relevant and correct information.
>>To be compliant with the specification, FW should set "Flags" field if
>>there is any on-demand scrub in progress on any memory range in the
>>NUMA node. Again, this solution assumes that the driver does not allow
>>more than one scrubber to run within a single NUMA node. All three
>>problems can be solved in the same way.
>>
>>What do you think?
>Hi Daniel,
>
>Please check the v10 of the RAS2 series sent with changes for your
>requirements.
>and request please test in your system and share the feedback.
>
>https://lore.kernel.org/all/20250801172040.2175-1-shiju.jose@huawei.com/
>>
>>Regards,
>>~Daniel
>
>Thanks,
>Shiju

  reply	other threads:[~2025-08-01 17:33 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-17 16:14 [PATCH v9 0/2] ACPI: Add support for ACPI RAS2 feature table shiju.jose
2025-06-17 16:14 ` [PATCH v9 1/2] ACPI:RAS2: Add ACPI RAS2 driver shiju.jose
2025-06-17 16:14 ` [PATCH v9 2/2] ras: mem: Add memory " shiju.jose
2025-07-25 16:36   ` Daniel Ferguson
2025-08-01 17:28     ` Shiju Jose
2025-08-01 17:33       ` Shiju Jose [this message]
2025-07-16 14:28 ` [PATCH v9 0/2] ACPI: Add support for ACPI RAS2 feature table Jonathan Cameron
2025-07-16 14:42   ` Rafael J. Wysocki
2025-07-16 15:56     ` 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=9802cc9c80e745e9a4fffa0685a65f79@huawei.com \
    --to=shiju.jose@huawei.com \
    --cc=Jon.Grimm@amd.com \
    --cc=Yazen.Ghannam@amd.com \
    --cc=bp@alien8.de \
    --cc=danielf@os.amperecomputing.com \
    --cc=dave.hansen@linux.intel.com \
    --cc=dferguson@amperecomputing.com \
    --cc=duenwen@google.com \
    --cc=erdemaktas@google.com \
    --cc=gthelen@google.com \
    --cc=james.morse@arm.com \
    --cc=jiaqiyan@google.com \
    --cc=jonathan.cameron@huawei.com \
    --cc=jthoughton@google.com \
    --cc=kangkang.shen@futurewei.com \
    --cc=lenb@kernel.org \
    --cc=leo.duran@amd.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-edac@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=linuxarm@huawei.com \
    --cc=mchehab@kernel.org \
    --cc=naoya.horiguchi@nec.com \
    --cc=nifan.cxl@gmail.com \
    --cc=pgonda@google.com \
    --cc=prime.zeng@hisilicon.com \
    --cc=rafael@kernel.org \
    --cc=rientjes@google.com \
    --cc=roberto.sassu@huawei.com \
    --cc=somasundaram.a@hpe.com \
    --cc=tanxiaofei@huawei.com \
    --cc=tony.luck@intel.com \
    --cc=vanshikonda@os.amperecomputing.com \
    --cc=wanghuiqiang@huawei.com \
    --cc=wbs@os.amperecomputing.com \
    --cc=wschwartz@amperecomputing.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;
as well as URLs for NNTP newsgroup(s).