Linux EDAC development
 help / color / mirror / Atom feed
From: Borislav Petkov <bp@alien8.de>
To: Smita Koralahalli <Smita.KoralahalliChannabasappa@amd.com>
Cc: x86@kernel.org, linux-edac@vger.kernel.org,
	linux-kernel@vger.kernel.org, Tony Luck <tony.luck@intel.com>,
	"H . Peter Anvin" <hpa@zytor.com>,
	yazen.ghannam@amd.com
Subject: Re: [PATCH v3 3/6] x86/mce/inject: Check for writes ignored in status registers
Date: Tue, 7 Dec 2021 20:00:32 +0100	[thread overview]
Message-ID: <Ya+vUCP0GdMxj+dg@zn.tnic> (raw)
In-Reply-To: <20211104215846.254012-4-Smita.KoralahalliChannabasappa@amd.com>

On Thu, Nov 04, 2021 at 04:58:43PM -0500, Smita Koralahalli wrote:
> According to Section 2.1.16.3 under HWCR[McStatusWrEn] in "PPR for AMD
> Family 19h, Model 01h, Revision B1 Processors - 55898 Rev 0.35 - Feb 5,
> 2021", the status register may sometimes enforce write ignored behavior
> independent of the value of HWCR[McStatusWrEn] depending on the platform
> settings.

How and when can it enforce that?

Can we detect whether that enforcement is active and if so, fail the
injection directly instead of checking whether the writes have stuck in
the MSRs?

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette

  reply	other threads:[~2021-12-07 19:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-04 21:58 [PATCH v3 0/6] x86/mce: Handle error injection failures in mce-inject module Smita Koralahalli
2021-11-04 21:58 ` [PATCH v3 1/6] x86/mce/inject: Check if a bank is unpopulated before error injection Smita Koralahalli
2021-11-04 21:58 ` [PATCH v3 2/6] x86/mce/inject: Set the valid bit in MCA_STATUS " Smita Koralahalli
2021-11-04 21:58 ` [PATCH v3 3/6] x86/mce/inject: Check for writes ignored in status registers Smita Koralahalli
2021-12-07 19:00   ` Borislav Petkov [this message]
2021-11-04 21:58 ` [PATCH v3 4/6] x86/mce/inject: Simplify evaluation of " Smita Koralahalli
2021-11-04 21:58 ` [PATCH v3 5/6] x86/mce/inject: Restructure prepare_msrs() Smita Koralahalli
2021-11-04 21:58 ` [PATCH v3 6/6] x86/mce/mce-inject: Return error code to userspace from mce-inject module Smita Koralahalli

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=Ya+vUCP0GdMxj+dg@zn.tnic \
    --to=bp@alien8.de \
    --cc=Smita.KoralahalliChannabasappa@amd.com \
    --cc=hpa@zytor.com \
    --cc=linux-edac@vger.kernel.org \
    --cc=linux-kernel@vger.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