Re: [edk2] OVMF broken under Xen (in PCI initialisation)

2016-05-05 Thread Gary Lin
u <ruiyu...@intel.com>; Gary Lin <g...@suse.com> > >Cc: edk2-devel@lists.01.org <edk2-de...@ml01.01.org>; Xen Devel > ><xen-de...@lists.xen.org>; Kinney, Michael D > ><michael.d.kin...@intel.com> > >Subject: Re: [edk2] OVMF broken under Xen (

Re: [edk2] OVMF broken under Xen (in PCI initialisation)

2016-05-05 Thread Ni, Ruiyu
yu...@intel.com>; Gary Lin <g...@suse.com> >Cc: edk2-devel@lists.01.org <edk2-de...@ml01.01.org>; Xen Devel ><xen-de...@lists.xen.org>; Kinney, Michael D ><michael.d.kin...@intel.com> >Subject: Re: [edk2] OVMF broken under Xen (in PCI initialisation) > &

Re: [edk2] OVMF broken under Xen (in PCI initialisation)

2016-04-28 Thread Laszlo Ersek
On 04/28/16 07:08, Ni, Ruiyu wrote: Do you know whether Xen passes the PCI device resource information to firmware? >> >> I don't think so, no. >> >> But, given that the previous PciHostBridgeDxe driver was working on Xen, >> can we perhaps emulate that behavior in >>

Re: [edk2] OVMF broken under Xen (in PCI initialisation)

2016-04-28 Thread Gary Lin
in <g...@suse.com> > >Cc: edk2-devel@lists.01.org <edk2-de...@ml01.01.org>; Xen Devel > ><xen-de...@lists.xen.org>; Kinney, Michael D > ><michael.d.kin...@intel.com> > >Subject: Re: [edk2] OVMF broken under Xen (in PCI initialisati

Re: [edk2] OVMF broken under Xen (in PCI initialisation)

2016-04-27 Thread Laszlo Ersek
el <xen-de...@lists.xen.org>; Laszlo >> Ersek <ler...@redhat.com> >> Subject: RE: [edk2] OVMF broken under Xen (in PCI initialisation) >> >> Gary, >> Thanks for the try. >> >> I now understand why the issue happens. >> 1. PciEnumeratorLigh

Re: [edk2] OVMF broken under Xen (in PCI initialisation)

2016-04-27 Thread Ni, Ruiyu
er Xen passes the PCI device resource >information to firmware? > >Copying Laszlo. > >Regards, >Ray > >>-Original Message- >>From: Gary Lin [mailto:g...@suse.com] >>Sent: Wednesday, April 27, 2016 4:27 PM >>To: Ni, Ruiyu <ruiyu...@intel.com> &

Re: [edk2] OVMF broken under Xen (in PCI initialisation)

2016-04-27 Thread Ni, Ruiyu
se.com] >Sent: Wednesday, April 27, 2016 4:27 PM >To: Ni, Ruiyu <ruiyu...@intel.com> >Cc: edk2-devel@lists.01.org; Xen Devel <xen-de...@lists.xen.org> >Subject: Re: [edk2] OVMF broken under Xen (in PCI initialisation) > >On Wed, Apr 27, 2016 at 07:18:

Re: [edk2] OVMF broken under Xen (in PCI initialisation)

2016-04-27 Thread Gary Lin
Message- > >From: Gary Lin [mailto:g...@suse.com] > >Sent: Wednesday, April 27, 2016 2:54 PM > >To: Ni, Ruiyu <ruiyu...@intel.com> > >Cc: edk2-devel@lists.01.org; Xen Devel <xen-de...@lists.xen.org> > >Subject: Re: [edk2] OVMF broken under Xen (in PCI in

Re: [edk2] OVMF broken under Xen (in PCI initialisation)

2016-04-27 Thread Gary Lin
>Cc: edk2-devel@lists.01.org; Xen Devel <xen-de...@lists.xen.org> > >Subject: Re: [edk2] OVMF broken under Xen (in PCI initialisation) > > > >On Tue, Apr 26, 2016 at 09:40:42AM +, Ni, Ruiyu wrote: > >> Gary, > >> I can reproduce the issue and h

Re: [edk2] OVMF broken under Xen (in PCI initialisation)

2016-04-26 Thread Ni, Ruiyu
Regards, Ray >-Original Message- >From: Gary Lin [mailto:g...@suse.com] >Sent: Wednesday, April 27, 2016 12:29 PM >To: Ni, Ruiyu <ruiyu...@intel.com> >Cc: edk2-devel@lists.01.org; Xen Devel <xen-de...@lists.xen.org> >Subject: Re: [edk2] OVMF broken un

Re: [edk2] OVMF broken under Xen (in PCI initialisation)

2016-04-26 Thread Gary Lin
t;From: Gary Lin [mailto:g...@suse.com] > >Sent: Tuesday, April 26, 2016 4:40 PM > >To: Ni, Ruiyu <ruiyu...@intel.com> > >Cc: edk2-devel@lists.01.org; Xen Devel <xen-de...@lists.xen.org> > >Subject: Re: [edk2] OVMF broken under Xen (in PCI initialisation) >

Re: [edk2] OVMF broken under Xen (in PCI initialisation)

2016-04-26 Thread Ni, Ruiyu
s.01.org; Xen Devel <xen-de...@lists.xen.org> >Subject: Re: [edk2] OVMF broken under Xen (in PCI initialisation) > >On Tue, Apr 26, 2016 at 08:19:49AM +, Ni, Ruiyu wrote: >> Gary, >> Maybe the system boots to Shell well but the video isn't initialized >> properly. >>

Re: [edk2] OVMF broken under Xen (in PCI initialisation)

2016-04-26 Thread Gary Lin
-devel@lists.01.org; Xen > Devel <xen-de...@lists.xen.org> > Subject: Re: [edk2] OVMF broken under Xen (in PCI initialisation) > > On Tue, Apr 26, 2016 at 06:43:56AM +, Ni, Ruiyu wrote: > > > > > > Regards, > > Ray > > > > >-Original Mess

Re: [edk2] OVMF broken under Xen (in PCI initialisation)

2016-04-26 Thread Ni, Ruiyu
iyu <ruiyu...@intel.com> Cc: Anthony PERARD <anthony.per...@citrix.com>; edk2-devel@lists.01.org; Xen Devel <xen-de...@lists.xen.org> Subject: Re: [edk2] OVMF broken under Xen (in PCI initialisation) On Tue, Apr 26, 2016 at 06:43:56AM +, Ni, Ruiyu wrote: > > > Rega

Re: [edk2] OVMF broken under Xen (in PCI initialisation)

2016-04-26 Thread Gary Lin
;To: edk2-devel@lists.01.org > >Cc: Xen Devel <xen-de...@lists.xen.org> > >Subject: [edk2] OVMF broken under Xen (in PCI initialisation) > > > >Hi, > > > >Following the switch to MdeModulePkg/Bus/Pci/PciHostBridgeDxe, the pci root > >bridge does not fini

Re: [edk2] OVMF broken under Xen (in PCI initialisation)

2016-04-26 Thread Ni, Ruiyu
>Sent: Tuesday, April 26, 2016 2:29 PM >To: Anthony PERARD <anthony.per...@citrix.com>; Ni, Ruiyu <ruiyu...@intel.com> >Cc: edk2-de...@ml01.01.org; Laszlo Ersek <ler...@redhat.com>; Xen Devel ><xen-de...@lists.xen.org> >Subject: Re: [edk2] OVMF broken under

Re: [edk2] OVMF broken under Xen (in PCI initialisation)

2016-04-26 Thread Ni, Ruiyu
Regards, Ray >-Original Message- >From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Anthony >PERARD >Sent: Friday, April 22, 2016 10:48 PM >To: edk2-devel@lists.01.org >Cc: Xen Devel <xen-de...@lists.xen.org> >Subject: [edk2] OV

Re: [edk2] OVMF broken under Xen (in PCI initialisation)

2016-04-26 Thread Gary Lin
On Mon, Apr 25, 2016 at 01:43:01PM +0200, Laszlo Ersek wrote: > On 04/22/16 16:47, Anthony PERARD wrote: > > Hi, > > > > Following the switch to MdeModulePkg/Bus/Pci/PciHostBridgeDxe, the pci root > > bridge does not finish to initialize and breaks under Xen. > > (Adding Ray Ni) > > > There are

Re: [edk2] OVMF broken under Xen (in PCI initialisation)

2016-04-25 Thread Laszlo Ersek
On 04/22/16 16:47, Anthony PERARD wrote: > Hi, > > Following the switch to MdeModulePkg/Bus/Pci/PciHostBridgeDxe, the pci root > bridge does not finish to initialize and breaks under Xen. (Adding Ray Ni) > There are several issue probably due to the use of > PcdPciDisableBusEnumeration=TRUE. >

[edk2] OVMF broken under Xen (in PCI initialisation)

2016-04-22 Thread Anthony PERARD
Hi, Following the switch to MdeModulePkg/Bus/Pci/PciHostBridgeDxe, the pci root bridge does not finish to initialize and breaks under Xen. There are several issue probably due to the use of PcdPciDisableBusEnumeration=TRUE. First one: ASSERT