Konrad Rzeszutek Wilk
2010-Jun-18 20:16 UTC
[Xen-devel] [GIT PULL] pv/pcifront-2.6.32 .. update: 2 bug-fixes.
Hey Jeremy, Plese pull from git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git pv/pcifront-2.6.32 Since the last pull it fixes two bugs: 1). Passing in to the guest a device with non-zero function would not be scanned. You had to pass in the zero-function as well. This fixes: http://lists.xensource.com/archives/html/xen-devel/2010-06/msg00475.html 2). When rescanning (so using ''xm pci-attach'') the xen-pcifront would not set the parent of the device to be the PCI bus device and the device initialization would stop at: [ 4.802563] igb 0000:01:00.1: device not available (can''t reserve [mem 0xfb840000-0xfb85ffff]) Konrad Rzeszutek Wilk (2): xen-pcifront: Enforce scanning of device functions on initial execution. xen-pcifront: Claim PCI resources before going live. P.S. I will concentrate on back-porting some of those fixes in the pcifront-2.6.31.x branch as well. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Thomas Schwinge
2010-Jun-21 21:12 UTC
[Xen-devel] Re: [GIT PULL] pv/pcifront-2.6.32 .. update: 2 bug-fixes.
Hello! On Fri, Jun 18, 2010 at 04:16:20PM -0400, Konrad Rzeszutek Wilk wrote:> git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git pv/pcifront-2.6.32 > > Since the last pull it fixes two bugs: > > 1). Passing in to the guest a device with non-zero function would not > be scanned. You had to pass in the zero-function as well. > This fixes: http://lists.xensource.com/archives/html/xen-devel/2010-06/msg00475.html > > 2). When rescanning (so using ''xm pci-attach'') the xen-pcifront would > not set the parent of the device to be the PCI bus device and the > device initialization would stop at: > > [ 4.802563] igb 0000:01:00.1: device not available (can''t reserve > [mem 0xfb840000-0xfb85ffff]) > > Konrad Rzeszutek Wilk (2): > xen-pcifront: Enforce scanning of device functions on initial execution. > xen-pcifront: Claim PCI resources before going live.Confirmed -- with both patches applied on top of a current Debian amd64-xen kernel, forwarding of only PCI ID 0:2.7 (that is, without also forwarding 0:2.0) works fine on my system. Thanks! Regards, Thomas _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Konrad Rzeszutek Wilk
2010-Jun-21 22:09 UTC
Re: [Xen-devel] Re: [GIT PULL] pv/pcifront-2.6.32 .. update: 2 bug-fixes.
On Mon, Jun 21, 2010 at 11:12:27PM +0200, Thomas Schwinge wrote:> Hello! > > On Fri, Jun 18, 2010 at 04:16:20PM -0400, Konrad Rzeszutek Wilk wrote: > > git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git pv/pcifront-2.6.32 > > > > Since the last pull it fixes two bugs: > > > > 1). Passing in to the guest a device with non-zero function would not > > be scanned. You had to pass in the zero-function as well. > > This fixes: http://lists.xensource.com/archives/html/xen-devel/2010-06/msg00475.html > > > > 2). When rescanning (so using ''xm pci-attach'') the xen-pcifront would > > not set the parent of the device to be the PCI bus device and the > > device initialization would stop at: > > > > [ 4.802563] igb 0000:01:00.1: device not available (can''t reserve > > [mem 0xfb840000-0xfb85ffff]) > > > > Konrad Rzeszutek Wilk (2): > > xen-pcifront: Enforce scanning of device functions on initial execution. > > xen-pcifront: Claim PCI resources before going live. > > Confirmed -- with both patches applied on top of a current Debian > amd64-xen kernel, forwarding of only PCI ID 0:2.7 (that is, without also > forwarding 0:2.0) works fine on my system. Thanks!Great. Now did it fix your e100 card as well?> > > Regards, > Thomas> _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Thomas Schwinge
2010-Jun-21 22:34 UTC
Re: [Xen-devel] Re: [GIT PULL] pv/pcifront-2.6.32 .. update: 2 bug-fixes.
Hello! On Mon, Jun 21, 2010 at 06:09:51PM -0400, Konrad Rzeszutek Wilk wrote:> Now did it fix your e100 card as well?Hrm, I don''t remember reporting any problems concerning e100 cards? That aside, I do have a bunch of e100 cards, but did not yet try to PCI-forward them. Please tell if you want me to try that. Regards, Thomas _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Konrad Rzeszutek Wilk
2010-Jun-21 22:48 UTC
Re: [Xen-devel] Re: [GIT PULL] pv/pcifront-2.6.32 .. update: 2 bug-fixes.
On Tue, Jun 22, 2010 at 12:34:51AM +0200, Thomas Schwinge wrote:> Hello! > > On Mon, Jun 21, 2010 at 06:09:51PM -0400, Konrad Rzeszutek Wilk wrote: > > Now did it fix your e100 card as well? > > Hrm, I don''t remember reporting any problems concerning e100 cards?Duh! You are right. I''ve been in correspondence with another user who had e100 cards and I emailed them about the availability of these patches. And then I saw your email and did not even look at who had sent it and thought it was the other person. Sorry about that. That aside, thank you for taking the time to test the patches. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Carsten Schiers
2010-Jun-22 08:56 UTC
AW: [Xen-devel] Re: [GIT PULL] pv/pcifront-2.6.32 .. update: 2 bug-fixes.
Yep, Konrad, that was me. I will not be able to check the patches before Thursday. Sorry, but first I have to finish renovation in my house and the German Team needs to win its Game vs. Ghana. ;o). BR, Carsten. ----- Originalnachricht ----- Von: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Gesendet: Die, 22.6.2010 00:48 An: Thomas Schwinge <thomas@schwinge.name> Cc: Jeremy Fitzhardinge <jeremy@goop.org> ; xen-devel@lists.xensource.com Betreff: Re: [Xen-devel] Re: [GIT PULL] pv/pcifront-2.6.32 .. update: 2 bug-fixes. On Tue, Jun 22, 2010 at 12:34:51AM +0200, Thomas Schwinge wrote:> Hello! > > On Mon, Jun 21, 2010 at 06:09:51PM -0400, Konrad Rzeszutek Wilk wrote: > > Now did it fix your e100 card as well? > > Hrm, I don''t remember reporting any problems concerning e100 cards?Duh! You are right. I''ve been in correspondence with another user who had e100 cards and I emailed them about the availability of these patches. And then I saw your email and did not even look at who had sent it and thought it was the other person. Sorry about that. That aside, thank you for taking the time to test the patches. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel