xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Christoph Egger <Christoph.Egger@amd.com>
To: "Wei, Gang" <gang.wei@intel.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
	"Morgan, KeirX" <keirx.morgan@intel.com>,
	Fraser <Keir.Fraser@eu.citrix.com>
Subject: Re: [PATCH] vtdt: add a missing change (RE: Re: xen guest hang with TSC_DEADLINE)
Date: Tue, 4 Jan 2011 12:00:21 +0100	[thread overview]
Message-ID: <201101041200.22612.Christoph.Egger@amd.com> (raw)
In-Reply-To: <F26D193E20BBDC42A43B611D1BDEDE7124EF2BCFA3@shsmsx502.ccr.corp.intel.com>

On Monday 27 December 2010 04:05:41 Wei, Gang wrote:
> Christoph Egger wrote on 2010-12-20:
> >>> c/s 22529 and 22530 cause a xen guest hang.
> >>>
> >>> While "normal" guests like Linux and NetBSD boot fine I boot Xen
> >>> itself as a xen guest for my nested virtualization.
> >>>
> >>> When I do that then the guest dom0 hangs at boot when it tries to
> >>> initialize the first vcpu.
> >>> The bug is introduced somewhere in c/s 22529 and triggers with c/s
> >>> 22530.
> >>
> >> Can you enable apic_timer debug info var hvm_debug and give more
> >> serial port log around the guest dom0 hangs? I used to test xen
> >> guest, it works well expect that it boot a little bit slowly.
> >
> > This is the log output I get with TSC_DEADLINE feature enabled:
>
> Just found one change was missed while the whole patch was checked in.
> Apply below patch, it should be ok now.
>
> diff -r 0133cf2a72f5 xen/arch/x86/hvm/vlapic.c
> --- a/xen/arch/x86/hvm/vlapic.c	Fri Dec 24 10:56:29 2010 +0000
> +++ b/xen/arch/x86/hvm/vlapic.c	Tue Dec 28 16:53:06 2010 +0800
> @@ -56,7 +56,7 @@ static unsigned int vlapic_lvt_mask[VLAP
>  static unsigned int vlapic_lvt_mask[VLAPIC_LVT_NUM] =
>  {
>       /* LVTT */
> -     LVT_MASK | APIC_TIMER_MODE_PERIODIC,
> +     LVT_MASK | APIC_TIMER_MODE_MASK,
>       /* LVTTHMR */
>       LVT_MASK | APIC_MODE_MASK,
>       /* LVTPC */
>
> Jimmy

The hang is still reproducable with this change. Sorry.

Christoph


-- 
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Einsteinring 24, 85609 Dornach b. Muenchen
Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632

  reply	other threads:[~2011-01-04 11:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-17 14:29 xen guest hang with TSC_DEADLINE Christoph Egger
2010-12-19 14:26 ` Wei, Gang
2010-12-20 14:18   ` Christoph Egger
2010-12-27  3:05     ` [PATCH] vtdt: add a missing change (RE: Re: xen guest hang with TSC_DEADLINE) Wei, Gang
2011-01-04 11:00       ` Christoph Egger [this message]
2011-01-05 10:07         ` Christoph Egger
2011-01-05 10:26           ` Wei, Gang
2011-01-05 10:11         ` Wei, Gang
2011-01-05 11:09           ` Christoph Egger
2011-01-06  1:35             ` Wei, Gang

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=201101041200.22612.Christoph.Egger@amd.com \
    --to=christoph.egger@amd.com \
    --cc=Keir.Fraser@eu.citrix.com \
    --cc=gang.wei@intel.com \
    --cc=keirx.morgan@intel.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 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).