xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Mukesh Rathor <mukesh.rathor@oracle.com>
To: Jan Beulich <JBeulich@suse.com>
Cc: xen-devel <xen-devel@lists.xen.org>
Subject: Re: [RFC PATCH 11/16]: PVH xen: some misc changes like mtrr, intr, msi.
Date: Tue, 15 Jan 2013 17:02:00 -0800	[thread overview]
Message-ID: <20130115170200.694907c4@mantra.us.oracle.com> (raw)
In-Reply-To: <50F4031402000078000B5434@nat28.tlf.novell.com>

On Mon, 14 Jan 2013 12:07:32 +0000
"Jan Beulich" <JBeulich@suse.com> wrote:

> >>> On 12.01.13 at 03:03, Mukesh Rathor <mukesh.rathor@oracle.com>
> >>> wrote:
> Doesn't the latter check by itself already do what you want?

Yup. fixed.

> > @@ -606,6 +612,7 @@ static int hvm_save_mtrr_msr(struct doma
> > +
> >      /* save mtrr&pat */
> >      for_each_vcpu(d, v)
> >      {
> 
> Please drop benign changes like this from this already big patch
> series.

Ok. Undone.

> > --- a/xen/arch/x86/msi.c	Fri Jan 11 16:34:17 2013 -0800
> > +++ b/xen/arch/x86/msi.c	Fri Jan 11 16:35:48 2013 -0800
> > @@ -766,10 +766,12 @@ static int msix_capability_init(struct p
> >          WARN_ON(rangeset_overlaps_range(mmio_ro_ranges,
> > dev->msix_pba.first, dev->msix_pba.last));
> >  
> > -        if ( rangeset_add_range(mmio_ro_ranges,
> > dev->msix_table.first, +/* PVH: for now we don't make the mmio
> > range readonly. See xen-devel for thread:
> > + * "[PVH]: Help: msi.c". When linux msi.c is fixed, pvh check can
> > be removed */
> > +        if ( !is_pvh_domain(dev->domain) &&
> > rangeset_add_range(mmio_ro_ranges, dev->msix_table.first,
> > dev->msix_table.last) ) WARN();
> > -        if ( rangeset_add_range(mmio_ro_ranges,
> > dev->msix_pba.first,
> > +        if ( !is_pvh_domain(dev->domain) &&
> > rangeset_add_range(mmio_ro_ranges, dev->msix_pba.first,
> > dev->msix_pba.last) ) WARN();
> 
> I hope there is no plan for this to go in in this shape.


Can I ifdef it and make it go'able? Ifdef saying PVH is experimental?
Not sure who's working on the issue on linux side.


> > --- a/xen/arch/x86/x86_emulate/x86_emulate.c	Fri Jan 11
> > 16:34:17 2013 -0800 +++
> > b/xen/arch/x86/x86_emulate/x86_emulate.c	Fri Jan 11 16:35:48
> > 2013 -0800 @@ -968,6 +968,10 @@ static int
> > ioport_access_check( struct segment_register tr; int rc =
> > X86EMUL_OKAY; 
> > +    /* PVH should not really get here */
> > +    /* fixme: need bunch of headers for this assert. check why no
> > headers. */
> 
> Because the emulator is intended to be (almost) standalone, so
> building the emulator test (as user space app) is also possible.

Got it, thanks.

  reply	other threads:[~2013-01-16  1:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-12  2:03 [RFC PATCH 11/16]: PVH xen: some misc changes like mtrr, intr, msi Mukesh Rathor
2013-01-14 12:07 ` Jan Beulich
2013-01-16  1:02   ` Mukesh Rathor [this message]
2013-01-16 10:00     ` Jan Beulich
2013-02-06  0:31       ` Mukesh Rathor
2013-01-24 16:44 ` Tim Deegan
2013-02-01  0:05   ` Mukesh Rathor

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=20130115170200.694907c4@mantra.us.oracle.com \
    --to=mukesh.rathor@oracle.com \
    --cc=JBeulich@suse.com \
    --cc=xen-devel@lists.xen.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).