From: Jack Steiner <steiner@sgi.com>
To: Ingo Molnar <mingo@elte.hu>
Cc: suresh.b.siddha@intel.com, linux-kernel@vger.kernel.org
Subject: Re: Possible x2apic breakage
Date: Thu, 29 Jan 2009 14:03:28 -0600 [thread overview]
Message-ID: <20090129200328.GA4210@sgi.com> (raw)
In-Reply-To: <20090129161546.GB28984@elte.hu>
On Thu, Jan 29, 2009 at 05:15:46PM +0100, Ingo Molnar wrote:
>
> * Jack Steiner <steiner@sgi.com> wrote:
>
> > Suresh -
> >
> > This popped up in Ingo's x86 tree yesterday. This appears to be breaking
> > on our simulator running in x2apic mode. If I understand the code,
> > this is a real breakage and not a problem in our simulator:
> >
> >
> > arch/x86/include/asm/genapic.h
> >
> > static inline unsigned int read_apic_id(void)
> > {
> > unsigned int reg;
> >
> > reg = *(u32 *)(APIC_BASE + APIC_ID);
> > return apic->get_apic_id(reg);
> > }
> >
> >
> > As expected, the failure occurs right after:
> >
> > Enabling x2apic
> > Enabled x2apic and interrupt-remapping
> >
> > The next reference to apicid tries to read from mem instead of MSRs.
>
> yes - Suresh sent a fix earlier today. Could you please check latest
> tip/master (v2.6.29-rc3-1212-g69f3c6d or later), does it work fine in your
> simulator?
That fixed it. The latest tree now runs our (very limited) regression suite
of tests on all apic modes.
Thanks...
--- jack
prev parent reply other threads:[~2009-01-29 20:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-29 15:41 Possible x2apic breakage Jack Steiner
2009-01-29 16:15 ` Ingo Molnar
2009-01-29 20:03 ` Jack Steiner [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=20090129200328.GA4210@sgi.com \
--to=steiner@sgi.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=suresh.b.siddha@intel.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