public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: "Radim Krčmář" <rkrcmar@redhat.com>
To: Roman Kagan <rkagan@virtuozzo.com>,
	kvm@vger.kernel.org, Paolo Bonzini <pbonzini@redhat.com>,
	"Denis V. Lunev" <den@openvz.org>,
	Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>,
	Vitaly Kuznetsov <vkuznets@redhat.com>,
	David Hildenbrand <david@redhat.com>
Subject: Re: [PATCH v8 2/2] kvm: x86: hyperv: guest->host event signaling via eventfd
Date: Thu, 1 Feb 2018 14:20:19 +0100	[thread overview]
Message-ID: <20180201132018.GA26932@flask> (raw)
In-Reply-To: <20180201124557.GA10738@rkaganb.sw.ru>

2018-02-01 15:45+0300, Roman Kagan:
> On Wed, Jan 31, 2018 at 07:18:12PM +0100, Radim Krčmář wrote:
> > 2018-01-31 16:56+0300, Roman Kagan:
> > I have completely missed this series in the past, sorry.
> 
> No wonder, everybody was too busy with all this Meltdown+Spectre
> stuff.
> 
> > > +	/*
> > > +	 * Per spec, bits 32-47 contain the extra "flag number".  However, we
> > > +	 * have no use for it, and in all known usecases it is zero, so just
> > > +	 * require it here.
> > > +	 */
> > 
> > The spec says:
> > 
> >   FlagNumber specifies the relative index of the event flag that the
> >   caller wants to set within the target SIEF area. This number is
> >   relative to the base flag number associated with the port.
> 
> This smells like an overdesign to me.  Anyway we've never seen non-zero
> FlagNumbers.  The guest code in Linux doesn't even define a way to pass
> such a FlagNumber.
> 
> > Don't we want to pass the flag into userspace?
> 
> To be future-proof in case there turns out to be a user for non-zero
> FlagNumber?  Makes sense, will respin with that.

Exactly, thanks!

      reply	other threads:[~2018-02-01 13:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-31 13:56 [PATCH v8 0/2] kvm: x86: hyperv: guest->host event signaling via eventfd Roman Kagan
2018-01-31 13:56 ` [PATCH v8 1/2] kvm: x86: factor out kvm.arch.hyperv (de)init Roman Kagan
2018-01-31 13:56 ` [PATCH v8 2/2] kvm: x86: hyperv: guest->host event signaling via eventfd Roman Kagan
2018-01-31 18:18   ` Radim Krčmář
2018-02-01 12:45     ` Roman Kagan
2018-02-01 13:20       ` Radim Krčmář [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=20180201132018.GA26932@flask \
    --to=rkrcmar@redhat.com \
    --cc=david@redhat.com \
    --cc=den@openvz.org \
    --cc=konrad.wilk@oracle.com \
    --cc=kvm@vger.kernel.org \
    --cc=pbonzini@redhat.com \
    --cc=rkagan@virtuozzo.com \
    --cc=vkuznets@redhat.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