Linux EDAC development
 help / color / mirror / Atom feed
From: "Luck, Tony" <tony.luck@intel.com>
To: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Cc: Borislav Petkov <bp@alien8.de>, James Morse <james.morse@arm.com>,
	"Mauro Carvalho Chehab" <mchehab@kernel.org>,
	Robert Richter <rric@kernel.org>,
	"Lai Yi" <yi1.lai@linux.intel.com>, <linux-edac@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 0/7] EDAC/Intel: Make memory controller instances into a flexible array
Date: Tue, 19 Aug 2025 16:33:47 -0700	[thread overview]
Message-ID: <aKUJ261tPZf8gfgr@agluck-desk3> (raw)
In-Reply-To: <20250731145534.2759334-1-qiuxu.zhuo@intel.com>

On Thu, Jul 31, 2025 at 10:55:27PM +0800, Qiuxu Zhuo wrote:
> Problem
> =======
> The current array of memory controller instances for Intel server EDAC
> driver is sized using the macro NUM_IMC. Each time EDAC support is added
> for a new CPU, NUM_IMC needs to be updated to ensure it is greater than
> or equal to the number of memory controllers for the new CPU. This approach
> is inconvenient and also results in memory waste for older CPUs with fewer
> memory controllers.
> 
> Solution
> ========
> Make the array of memory controller instances a flexible array and
> determine its size from configuration data or at runtime.
> 
> Patches
> =======
> Patch 1~3: Refactor code to be independent of *NUM*_IMC macros.
> Patch   4: Make the array of memory controller instances a flexible array.
> Patch 5~7: Clean up and remove unused *NUM*_IMC macros.
> 
> Testing
> =======
> Pass basic testing on Cascade Lake, {Sapphire, Granite} Rapids server CPUs.
> - Load and unload the {skx,i10nm_}edac driver.
> - Receive events for memory correctable errors.
> - Decode memory errors.
> 
> This patch series is on top of v6.16.

Applied to edac-drivers branch of RAS tree.

Thanks

-Tony

      parent reply	other threads:[~2025-08-19 23:33 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-31 14:55 [PATCH 0/7] EDAC/Intel: Make memory controller instances into a flexible array Qiuxu Zhuo
2025-07-31 14:55 ` [PATCH 1/7] EDAC/{skx_common,skx}: Use configuration data, not global macros Qiuxu Zhuo
2025-07-31 14:55 ` [PATCH 2/7] EDAC/skx_common: Move mc_mapping to be a field inside struct skx_imc Qiuxu Zhuo
2025-07-31 14:55 ` [PATCH 3/7] EDAC/skx_common: Swap memory controller index mapping Qiuxu Zhuo
2025-07-31 14:55 ` [PATCH 4/7] EDAC/skx_common: Make skx_dev->imc[] a flexible array Qiuxu Zhuo
2025-07-31 14:55 ` [PATCH 5/7] EDAC/skx_common: Remove redundant upper bound check for res->imc Qiuxu Zhuo
2025-07-31 14:55 ` [PATCH 6/7] EDAC/i10nm: Reallocate skx_dev list if preconfigured cnt != runtime cnt Qiuxu Zhuo
2025-07-31 14:55 ` [PATCH 7/7] EDAC/skx_common: Remove unused *NUM*_IMC macros Qiuxu Zhuo
2025-08-19 23:33 ` Luck, Tony [this message]

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=aKUJ261tPZf8gfgr@agluck-desk3 \
    --to=tony.luck@intel.com \
    --cc=bp@alien8.de \
    --cc=james.morse@arm.com \
    --cc=linux-edac@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=qiuxu.zhuo@intel.com \
    --cc=rric@kernel.org \
    --cc=yi1.lai@linux.intel.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