public inbox for linux-edac@vger.kernel.org
 help / color / mirror / Atom feed
From: Aristeu Rozanski <aris@ruivo.org>
To: Tony Luck <tony.luck@intel.com>
Cc: "linux-edac@vger.kernel.org" <linux-edac@vger.kernel.org>,
	Borislav Petkov <bp@alien8.de>,
	"aris@redhat.com" <aris@redhat.com>
Subject: Re: [PATCH v3] mce: prevent concurrent polling of MCE events
Date: Tue, 27 Jun 2023 14:12:17 -0400	[thread overview]
Message-ID: <20230627181217.GA4090740@cathedrallabs.org> (raw)
In-Reply-To: <ZJslOOHwZzaDdK4Z@agluck-desk3>

On Tue, Jun 27, 2023 at 11:06:48AM -0700, Tony Luck wrote:
> On Tue, Jun 27, 2023 at 01:36:12PM -0400, Aristeu Rozanski wrote:
> > +void intel_cmci_poll_unlock(bool locked)
> > +{
> > +	if (!locked)
> > +		return;
> > +
> > +	spin_unlock(&cmci_poll_lock);
> > +}
> 
> This doesn't need an argument any more. The unserialize_mc_bank_access()
> will only call it for the locked case.

And remove checking processor's vendor on unserialize_mc_bank_access()
as well.

-- 
Aristeu


  reply	other threads:[~2023-06-27 18:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-27 17:36 [PATCH v3] mce: prevent concurrent polling of MCE events Aristeu Rozanski
2023-06-27 18:06 ` Tony Luck
2023-06-27 18:12   ` Aristeu Rozanski [this message]
2023-06-27 20:35   ` [PATCH v4] " Aristeu Rozanski
2023-06-27 20:49     ` Luck, Tony

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=20230627181217.GA4090740@cathedrallabs.org \
    --to=aris@ruivo.org \
    --cc=aris@redhat.com \
    --cc=bp@alien8.de \
    --cc=linux-edac@vger.kernel.org \
    --cc=tony.luck@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