From: Keir Fraser <keir.fraser@eu.citrix.com>
To: Juergen Gross <juergen.gross@ts.fujitsu.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: ACPI-Tables corrupted?
Date: Wed, 28 Jul 2010 12:39:24 +0100 [thread overview]
Message-ID: <C875D57C.1BD3D%keir.fraser@eu.citrix.com> (raw)
In-Reply-To: <4C5013F6.3090005@ts.fujitsu.com>
On 28/07/2010 12:26, "Juergen Gross" <juergen.gross@ts.fujitsu.com> wrote:
> On 07/28/2010 12:03 PM, Keir Fraser wrote:
>> On 28/07/2010 10:38, "Juergen Gross"<juergen.gross@ts.fujitsu.com> wrote:
>>
>>> As you can see, the DMAR eye-catcher is replaced by blanks!
>>> This leads to a programmed panic in the crash kernel later in case of a
>>> panic in dom0...
>>>
>>> Any ideas?
>>> BTW: seen in unstable AND 4.0
>>
>> Look at the tail of xen/drivers/passthrough/vtd/dmar.c: Xen *always*
>> *unconditionally* trashes the DMAR so that dom0 will not parse it.
>> Presumably bad stuff would happen if it did.
>
> As Dom0 is a pv-kernel, it should be able to ignore this entry.
> The crash kernel OTOH should not panic due to the trashed entry!
> What is the correct solution here?
Could provide a cmdline option to not nobble the DMAR?
> 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.
K.
> /* IR is required if there is APIC ID > 255 even when running
> * under KVM
> */
> if (max_physical_apicid > 255 || !kvm_para_available()) {
> if (max_physical_apicid > 255) {
> pr_warning("NTR enable_IR_x2apic max_physical_apicid >
> 255\n");
> }
> if (!kvm_para_available()) {
> pr_warning("NTR enable_IR_x2apic !kvm_para_available()\n");
> }
> goto nox2apic;
> }
>
> (kernel is 2.6.32.12 from Novell SLES11 SP1, the pr_warnings were added to
> find the error path - it was the !kvm_para_available())
>
> Looking closer to the code rises some doubts about correctness. The comment
> at top seems not to be reflected by the following if...
>
>
> Juergen
next prev parent reply other threads:[~2010-07-28 11:39 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 [this message]
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
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=C875D57C.1BD3D%keir.fraser@eu.citrix.com \
--to=keir.fraser@eu.citrix.com \
--cc=juergen.gross@ts.fujitsu.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).