All of lore.kernel.org
 help / color / mirror / Atom feed
From: Borislav Petkov <bp@amd64.org>
To: "H. Peter Anvin" <hpa@zytor.com>
Cc: "mingo@elte.hu" <mingo@elte.hu>,
	"tglx@linutronix.de" <tglx@linutronix.de>,
	Avi Kivity <avi@redhat.com>,
	Marcelo Tosatti <mtosatti@redhat.com>,
	"x86@kernel.org" <x86@kernel.org>,
	"kvm@vger.kernel.org" <kvm@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 1/2] x86, lib: Add a wbinvd helper for an arbitrary cpu set
Date: Wed, 24 Nov 2010 19:22:52 +0100	[thread overview]
Message-ID: <20101124182252.GI24892@aftab> (raw)
In-Reply-To: <4CED5012.6040808@zytor.com>

On Wed, Nov 24, 2010 at 12:49:06PM -0500, H. Peter Anvin wrote:
> On 11/24/2010 09:44 AM, Borislav Petkov wrote:
> > From: Borislav Petkov <borislav.petkov@amd.com>
> > 
> > Add a wbinvd helper for an arbitrary set of CPUs.
> > 
> 
> Are there any expected users of this other than KVM?

Not that I know of. I had an earlier version for kvm which did

for_each_cpu(cpu, mask)
	wbinvd_on_cpu(cpu)


but decided to add wbinvd_on_cpus() for completeness. Let me know what
your preference is.

Thanks.

-- 
Regards/Gruss,
Boris.

Advanced Micro Devices GmbH
Einsteinring 24, 85609 Dornach
General Managers: Alberto Bozzo, Andrew Bowd
Registration: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632

      reply	other threads:[~2010-11-24 18:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-24 17:44 [PATCH 1/2] x86, lib: Add a wbinvd helper for an arbitrary cpu set Borislav Petkov
2010-11-24 17:44 ` [PATCH 2/2] kvm: Use wbinvd library functions Borislav Petkov
2010-11-24 17:49 ` [PATCH 1/2] x86, lib: Add a wbinvd helper for an arbitrary cpu set H. Peter Anvin
2010-11-24 18:22   ` Borislav Petkov [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=20101124182252.GI24892@aftab \
    --to=bp@amd64.org \
    --cc=avi@redhat.com \
    --cc=hpa@zytor.com \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=mtosatti@redhat.com \
    --cc=tglx@linutronix.de \
    --cc=x86@kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.