From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: "Wu, Feng" <feng.wu@intel.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
Jan Beulich <JBeulich@suse.com>,
"stefano.stabellini@eu.citrix.com"
<stefano.stabellini@eu.citrix.com>
Subject: Re: [Qemu-devel] [Xen-devel] [PATCH v1] xenpt: Properly handle 64-bit bar with more than 4G size
Date: Wed, 12 Aug 2015 10:29:59 -0400 [thread overview]
Message-ID: <20150812142959.GF17002@l.oracle.com> (raw)
In-Reply-To: <E959C4978C3B6342920538CF579893F0026974B4@SHSMSX104.ccr.corp.intel.com>
On Wed, Aug 12, 2015 at 08:53:44AM +0000, Wu, Feng wrote:
>
>
> > -----Original Message-----
> > From: Jan Beulich [mailto:JBeulich@suse.com]
> > Sent: Wednesday, August 12, 2015 4:43 PM
> > To: Wu, Feng
> > Cc: stefano.stabellini@eu.citrix.com; xen-devel@lists.xensource.com;
> > qemu-devel@nongnu.org
> > Subject: RE: [Qemu-devel] [Xen-devel] [PATCH v1] xenpt: Properly handle 64-bit
> > bar with more than 4G size
> >
> > >>> On 12.08.15 at 09:10, <feng.wu@intel.com> wrote:
> >
> > >
> > >> -----Original Message-----
> > >> From: qemu-devel-bounces+feng.wu=intel.com@nongnu.org
> > >> [mailto:qemu-devel-bounces+feng.wu=intel.com@nongnu.org] On Behalf Of
> > >> Jan Beulich
> > >> Sent: Wednesday, August 12, 2015 2:59 PM
> > >> To: Wu, Feng
> > >> Cc: xen-devel@lists.xensource.com; qemu-devel@nongnu.org;
> > >> stefano.stabellini@eu.citrix.com
> > >> Subject: Re: [Qemu-devel] [Xen-devel] [PATCH v1] xenpt: Properly handle
> > 64-bit
> > >> bar with more than 4G size
> > >>
> > >> >>> On 05.08.15 at 04:02, <feng.wu@intel.com> wrote:
> > >> > @@ -491,8 +474,9 @@ static int
> > >> xen_pt_bar_reg_write(XenPCIPassthroughState *s, XenPTReg *cfg_entry,
> > >> > bar_ro_mask = XEN_PT_BAR_IO_RO_MASK | (r_size - 1);
> > >> > break;
> > >> > case XEN_PT_BAR_FLAG_UPPER:
> > >> > + r = &d->io_regions[index-1];
> > >>
> > >> Perhaps worth an assert(index > 0)?
> > >
> > > No problem, I will add it. BTW, do you have any other comments about this
> > > patch? If no, I am
> > > going to send out the new version with this changes.
> >
> > No - everything else looks to make sense (but continues to need
> > testing).
> >
>
> I don't have such a device in hand. Can anybody who has such a device help to test this
> patch? It would be highly appreciated!
Um, 4GB MMIO bars? Wouldn't the Nvidia Quadro K6000 12GB GDDR do it? I am sure
that Intel would be OK expensing $4K of hardware :-)
>
> Thanks,
> Feng
>
> > Jan
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel
WARNING: multiple messages have this Message-ID (diff)
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: "Wu, Feng" <feng.wu@intel.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
Jan Beulich <JBeulich@suse.com>,
"stefano.stabellini@eu.citrix.com"
<stefano.stabellini@eu.citrix.com>
Subject: Re: [Xen-devel] [PATCH v1] xenpt: Properly handle 64-bit bar with more than 4G size
Date: Wed, 12 Aug 2015 10:29:59 -0400 [thread overview]
Message-ID: <20150812142959.GF17002@l.oracle.com> (raw)
In-Reply-To: <E959C4978C3B6342920538CF579893F0026974B4@SHSMSX104.ccr.corp.intel.com>
On Wed, Aug 12, 2015 at 08:53:44AM +0000, Wu, Feng wrote:
>
>
> > -----Original Message-----
> > From: Jan Beulich [mailto:JBeulich@suse.com]
> > Sent: Wednesday, August 12, 2015 4:43 PM
> > To: Wu, Feng
> > Cc: stefano.stabellini@eu.citrix.com; xen-devel@lists.xensource.com;
> > qemu-devel@nongnu.org
> > Subject: RE: [Qemu-devel] [Xen-devel] [PATCH v1] xenpt: Properly handle 64-bit
> > bar with more than 4G size
> >
> > >>> On 12.08.15 at 09:10, <feng.wu@intel.com> wrote:
> >
> > >
> > >> -----Original Message-----
> > >> From: qemu-devel-bounces+feng.wu=intel.com@nongnu.org
> > >> [mailto:qemu-devel-bounces+feng.wu=intel.com@nongnu.org] On Behalf Of
> > >> Jan Beulich
> > >> Sent: Wednesday, August 12, 2015 2:59 PM
> > >> To: Wu, Feng
> > >> Cc: xen-devel@lists.xensource.com; qemu-devel@nongnu.org;
> > >> stefano.stabellini@eu.citrix.com
> > >> Subject: Re: [Qemu-devel] [Xen-devel] [PATCH v1] xenpt: Properly handle
> > 64-bit
> > >> bar with more than 4G size
> > >>
> > >> >>> On 05.08.15 at 04:02, <feng.wu@intel.com> wrote:
> > >> > @@ -491,8 +474,9 @@ static int
> > >> xen_pt_bar_reg_write(XenPCIPassthroughState *s, XenPTReg *cfg_entry,
> > >> > bar_ro_mask = XEN_PT_BAR_IO_RO_MASK | (r_size - 1);
> > >> > break;
> > >> > case XEN_PT_BAR_FLAG_UPPER:
> > >> > + r = &d->io_regions[index-1];
> > >>
> > >> Perhaps worth an assert(index > 0)?
> > >
> > > No problem, I will add it. BTW, do you have any other comments about this
> > > patch? If no, I am
> > > going to send out the new version with this changes.
> >
> > No - everything else looks to make sense (but continues to need
> > testing).
> >
>
> I don't have such a device in hand. Can anybody who has such a device help to test this
> patch? It would be highly appreciated!
Um, 4GB MMIO bars? Wouldn't the Nvidia Quadro K6000 12GB GDDR do it? I am sure
that Intel would be OK expensing $4K of hardware :-)
>
> Thanks,
> Feng
>
> > Jan
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel
next prev parent reply other threads:[~2015-08-12 14:30 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-05 2:02 [Qemu-devel] [PATCH v1] xenpt: Properly handle 64-bit bar with more than 4G size Feng Wu
2015-08-05 2:02 ` Feng Wu
2015-08-06 10:43 ` [Qemu-devel] " Stefano Stabellini
2015-08-06 10:43 ` Stefano Stabellini
2015-08-06 13:27 ` [Qemu-devel] " Wu, Feng
2015-08-06 13:27 ` Wu, Feng
2015-08-12 6:58 ` [Qemu-devel] [Xen-devel] " Jan Beulich
2015-08-12 6:58 ` Jan Beulich
2015-08-12 7:10 ` [Qemu-devel] " Wu, Feng
2015-08-12 7:10 ` Wu, Feng
2015-08-12 8:43 ` [Qemu-devel] " Jan Beulich
2015-08-12 8:43 ` Jan Beulich
2015-08-12 8:53 ` [Qemu-devel] " Wu, Feng
2015-08-12 8:53 ` Wu, Feng
2015-08-12 14:29 ` Konrad Rzeszutek Wilk [this message]
2015-08-12 14:29 ` Konrad Rzeszutek Wilk
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=20150812142959.GF17002@l.oracle.com \
--to=konrad.wilk@oracle.com \
--cc=JBeulich@suse.com \
--cc=feng.wu@intel.com \
--cc=qemu-devel@nongnu.org \
--cc=stefano.stabellini@eu.citrix.com \
--cc=xen-devel@lists.xensource.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 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.