From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Juergen Gross <juergen.gross@ts.fujitsu.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
Keir Fraser <keir.fraser@eu.citrix.com>
Subject: Re: ACPI-Tables corrupted?
Date: Wed, 28 Jul 2010 09:36:48 -0400 [thread overview]
Message-ID: <20100728133648.GC4272@phenom.dumpdata.com> (raw)
In-Reply-To: <4C50305A.8070209@ts.fujitsu.com>
> The really clean solution would be to virtualize the ACPI table for dom0 and
> remove the DMAR entry in this version. This would require some major work, I
> guess (clone at least the BIOS page containing the ACPI anchor and present
> a modified version to dom0).
Well, that is what it does right now. It zeros it out so that the DMAR
entry is gone from the ACPI tables.
I am not really sure that having a DMAR accessible to Dom0 is good. You
would have two entities trying to write to the DMAR's to control the
IOMMU and the PCI devices. Does Xen enable the IOMMU? Do you see that in
the serial log?
>
> >
> >>>>The crash kernel expects a valid DMAR entry, as following code in
> >>>>enable_IR_x2apic() suggests:
> >>>
> >>>I don't know what that function does, nor how the error path below depends
> >>>on DMAR. DMAR isn't mentioned in the below code.
> >>
> >>Sorry, here a larger fragment (source arch/x86/kernel/apic/apic.c):
> >> /* IR is required if there is APIC ID> 255 even when running
> >> * under KVM
> >> */
> >> if (max_physical_apicid> 255 || !kvm_para_available())
> >> goto nox2apic;
> >
> >The if stmt is confusing. Also, what would happen if this kernel was booted
> >on a system without VT-d (and hence no DMAR)? Presumably it *can* boot in a
> >DMAR-less environment -- there must be something odd going on for it to end
> >on this path for us.
>
> Yeah, that puzzled me, too.
What is the crash? And do you see any indiciation that x2APIC is turned
on? Do provide a serial log please.
next prev parent reply other threads:[~2010-07-28 13:36 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-28 9:38 ACPI-Tables corrupted? Juergen Gross
2010-07-28 10:03 ` Keir Fraser
2010-07-28 11:26 ` Juergen Gross
2010-07-28 11:39 ` Keir Fraser
2010-07-28 12:13 ` Juergen Gross
2010-07-28 12:45 ` Keir Fraser
2010-07-28 13:27 ` Juergen Gross
2010-07-28 13:36 ` Konrad Rzeszutek Wilk [this message]
2010-07-29 6:19 ` Juergen Gross
2010-07-29 6:39 ` Keir Fraser
2010-07-29 6:48 ` Juergen Gross
2010-07-29 6:48 ` Keir Fraser
2010-07-29 6:53 ` Juergen Gross
2010-08-06 13:39 ` Jan Beulich
2010-08-06 14:04 ` Keir Fraser
2010-07-29 6:31 ` Jiang, Yunhong
2010-07-29 6:40 ` Keir Fraser
2010-07-29 6:48 ` Keir Fraser
2010-07-29 7:37 ` Jiang, Yunhong
2010-07-29 9:04 ` Juergen Gross
2010-07-29 9:33 ` Keir Fraser
2010-07-29 10:24 ` Keir Fraser
2010-07-30 4:47 ` Juergen Gross
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=20100728133648.GC4272@phenom.dumpdata.com \
--to=konrad.wilk@oracle.com \
--cc=juergen.gross@ts.fujitsu.com \
--cc=keir.fraser@eu.citrix.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).