From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oleksii Kurochko Subject: Re: [XenGT][IGVT-g] DomU pgt_device structure initialization Date: Mon, 18 Jan 2016 09:28:09 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7173119974775108625==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: "Tian, Kevin" Cc: "igvt-g@ml01.01.org" , "Li, Susie" , "Dong, Eddie" , "xen-devel@lists.xen.org" , Gerd Hoffmann , "igvt-g@lists.01.org" List-Id: xen-devel@lists.xenproject.org --===============7173119974775108625== Content-Type: multipart/alternative; boundary=001a1130c8a0e429ba052996b1ee --001a1130c8a0e429ba052996b1ee Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello. Looks you didn=E2=80=99t set IRQ_INFO_GT for BCS event. Is it a typo? > Yeap, it was typo. I will look at debug inforamtion that U told. Thanks. On Thu, Jan 14, 2016 at 7:44 AM, Tian, Kevin wrote: > if (IS_VLV(pdev)) { > > SET_BIT_INFO(hstate, 2, RCS_MMIO_SYNC_FLUSH, IRQ_INFO_GT); > > SET_BIT_INFO(hstate, 14, VCS_MMIO_SYNC_FLUSH, IRQ_INFO_GT); > > SET_BIT_INFO(hstate, 24, BCS_MMIO_SYNC_FLUSH); > } > > > > Looks you didn=E2=80=99t set IRQ_INFO_GT for BCS event. Is it a typo? > > > > Generally you can look at /sys/kernel/debug/vgt/irqinfo to see virtual > event injection status, which may give some hint. > > > > In your log there is hangcheck triggered in Dom0: > > [ 51.521359] vGT info:(vgt_handle_dom0_device_reset:940) DOM0 hangcheck > timer request reset device. > > It means GPU is already hung. > > > > I don=E2=80=99t have an immediate idea now since this is only an experime= ntal code > and not sure how much your hardware is different from its assume > configuration. > > > > A simpler case might be to just run some 3D workloads within Dom0 to see > whether it works well, and then try launch another guest later. > > > > Thanks > > Kevin > --=20 Oleksii Kurochko | Embedded Dev GlobalLogic www.globallogic.com --001a1130c8a0e429ba052996b1ee Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello.
<= br>
Looks you didn=E2=80=99t set IRQ_INFO_GT fo= r BCS event. Is it a typo?
Yeap, it was typo.
I will look at debug inforamtion that U told.

Thanks.

On Thu, Jan 14, 2016 at 7:44 AM, Tian, Kevin <k= evin.tian@intel.com> wrote:

if (IS_VLV(pdev)) {

=C2=A0SET_BIT_INFO(hstate, 2, R= CS_MMIO_SYNC_FLUSH, IRQ_INFO_GT);

=C2=A0SET_BIT_INFO(hstate, 14, = VCS_MMIO_SYNC_FLUSH, IRQ_INFO_GT);

=C2=A0SET_BIT_INFO(hstate, 24, = BCS_MMIO_SYNC_FLUSH);
}

=C2= =A0

Loo= ks you didn=E2=80=99t set IRQ_INFO_GT for BCS event. Is it a typo?

=C2= =A0

Generally = you can look at /sys/kernel/debug/vgt/irqinfo to see virtual event injectio= n status, which may give some hint.

=C2= =A0

In your lo= g there is hangcheck triggered in Dom0:

[=C2=A0=C2= =A0 51.521359] vGT info:(vgt_handle_dom0_device_reset:940) DOM0 hangcheck t= imer request reset device.

It means G= PU is already hung.

=C2= =A0

I don=E2= =80=99t have an immediate idea now since this is only an experimental code = and not sure how much your hardware is different from its assume configurat= ion.

=C2= =A0

A simpler = case might be to just run some 3D workloads within Dom0 to see whether it w= orks well, and then try launch another guest later.

=C2= =A0

Thanks

Kevin




--
Oleksii Kurochko | Embedded Dev
GlobalLogic
www.globallogic.com
--001a1130c8a0e429ba052996b1ee-- --===============7173119974775108625== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============7173119974775108625==--