All of lore.kernel.org
 help / color / mirror / Atom feed
From: Igor Mammedov <imammedo@redhat.com>
To: Tim Deegan <tim@xen.org>
Cc: anthony.perard@citrix.com, jinsong.liu@intel.com,
	xen-devel@lists.xensource.com, Ian.Campbell@citrix.com
Subject: Re: xen-unstable fails to boot on a system with Ivy Bridge stepping C0 cpu
Date: Thu, 03 Nov 2011 16:58:40 +0100	[thread overview]
Message-ID: <4EB2BA30.1020307@redhat.com> (raw)
In-Reply-To: <20111103131043.GB66800@ocelot.phlegethon.org>

On 11/03/2011 02:10 PM, Tim Deegan wrote:
> At 13:44 +0100 on 03 Nov (1320327869), Igor Mammedov wrote:
>> Hi,
>>
>> I need a help with tracking down following issue:
>>
>> When trying to boot Xen on a system with Ivy Bridge stepping C0 CPU, it is
>> stuck on CPU initialization.
>> I've added some tracing to apic writes/reads and traced it so far to
>> sending INIT IPI.
>>
>> (XEN) HVM: VMX enabled
>> (XEN) HVM: Hardware Assisted Paging detected.
>> (XEN) Setting warm reset code and vector.
>> (XEN) apic_wrmsr (0x280,0x0)
>> (XEN) apic_rdmsr(0x280) = 0x0
>> (XEN) Asserting INIT.
>> (XEN) apic_wrmsr (0x300,0x10000c500)
>>
>> After this ^^^^ write BSP becomes VERY slow and it takes several minutes
>> till it gets to sending STARTUP IPI:
>
> Does reverting 23724:b3434f24b082 help?  Looking at it again I'm not
                  ^^^^^
reverting this c/s won't help, because the same problem exists in older xen
versions 3.x.x that doesn't have this c/s.
Actually I've tried rhel5, suse 4.1 and xen-unstable so far, all of them are
affected.

If we put printk right after sending INIT|ASSERT IPI it will show that BSP
is slowed down by printing 1 character in a several seconds. So deassert
probably is not of an issue here, since this happens on the first INIT to
the first AP.


> sure that the new logic is entirely correct - in particular it no longer
> deasserts the INIT on x2apic systems.
>
> Cheers,
>
> Tim.
>

-- 
Thanks,
  Igor

      reply	other threads:[~2011-11-03 15:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-03 12:44 xen-unstable fails to boot on a system with Ivy Bridge stepping C0 cpu Igor Mammedov
2011-11-03 13:10 ` Tim Deegan
2011-11-03 15:58   ` Igor Mammedov [this message]

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=4EB2BA30.1020307@redhat.com \
    --to=imammedo@redhat.com \
    --cc=Ian.Campbell@citrix.com \
    --cc=anthony.perard@citrix.com \
    --cc=jinsong.liu@intel.com \
    --cc=tim@xen.org \
    --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.