From: Jasjeet Rangi <jrangi@purestorage.com>
To: yazen.ghannam@amd.com
Cc: Smita.KoralahalliChannabasappa@amd.com, bp@alien8.de,
dave.hansen@linux.intel.com, dgiani@purestorage.com,
hpa@zytor.com, jrangi@purestorage.com,
linux-edac@vger.kernel.org, mingo@redhat.com,
msaggi@purestorage.com, rhan@purestorage.com,
rjethwani@purestorage.com, stable@vger.kernel.org,
tglx@kernel.org, tony.luck@intel.com, x86@kernel.org
Subject: Re: [PATCH v2 1/2] x86/mce/amd: Fix inverted interrupt enablement during storm handling
Date: Wed, 19 Aug 2026 10:59:38 -0700 [thread overview]
Message-ID: <20260819175939.2068993-1-jrangi@purestorage.com> (raw)
In-Reply-To: <20260819140647.GA2416@yaz-khff2.amd.com>
On Wed, Aug 19, 2026 at 7:07 AM Yazen Ghannam <yazen.ghannam@amd.com> wrote:
>
> IMO, disabling the interrupt is the best way to manage the storm. The
> reason for Intel to set a high limit is to keep the interrupt enabled.
> The reason to keep the interrupt enabled is because the same interrupt
> line is used for reporting "uncorrectable,no action" errors. This isn't
> necessary on AMD because there's a separate interrupt line for those
> errors: Deferred error interrupt.
Agreed. Also that was the original intent of the patch that this
thread/patch is fixing. From the commit message for 5c4663ed1eac
("x86/mce: Handle AMD threshold interrupt storms"):
```
But, unlike CMCI, do not set thresholds and reduce interrupt rate on
a storm. Rather, disable the interrupt on the corresponding CPU and bank.
Re-enable back the interrupts if enough consecutive polls of the bank show no
corrected errors (30, as programmed by Intel).
```
> It's fair to set a low threshold limit. Some users want to see corrected
> errors without needing to poll. And they'd like to see them ASAP.
>
> The threshold limit isn't much of a contributor to interrupt storms. A
> stuck bit/failing device will likely trigger a storm whether the limit
> is '1' or '4095'.
Agreed. Thanks for clarifying.
Thanks,
Jasjeet
next prev parent reply other threads:[~2026-08-19 18:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-12 22:15 [PATCH v2 0/2] x86/mce/amd: Fix inverted interrupt enablement during storm handling Jasjeet Rangi
2026-08-12 22:15 ` [PATCH v2 1/2] " Jasjeet Rangi
2026-08-14 23:24 ` Borislav Petkov
2026-08-17 18:51 ` Jasjeet Rangi
2026-08-18 19:02 ` Borislav Petkov
2026-08-19 6:46 ` Jasjeet Rangi
2026-08-19 14:06 ` Yazen Ghannam
2026-08-19 17:59 ` Jasjeet Rangi [this message]
2026-08-12 22:15 ` [PATCH v2 2/2] x86/mce: Rename MCE storm handler parameters for storm mode Jasjeet Rangi
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=20260819175939.2068993-1-jrangi@purestorage.com \
--to=jrangi@purestorage.com \
--cc=Smita.KoralahalliChannabasappa@amd.com \
--cc=bp@alien8.de \
--cc=dave.hansen@linux.intel.com \
--cc=dgiani@purestorage.com \
--cc=hpa@zytor.com \
--cc=linux-edac@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=msaggi@purestorage.com \
--cc=rhan@purestorage.com \
--cc=rjethwani@purestorage.com \
--cc=stable@vger.kernel.org \
--cc=tglx@kernel.org \
--cc=tony.luck@intel.com \
--cc=x86@kernel.org \
--cc=yazen.ghannam@amd.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