From: Andre Przywara <andre.przywara@amd.com>
To: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Konrad Rzeszutek Wilk <konrad@darnok.org>,
Jeremy Fitzhardinge <jeremy@goop.org>,
Dario Faggioli <raistlin@linux.it>,
xen-devel <xen-devel@lists.xen.org>
Subject: Re: Dom0 crash with old style AMD NUMA detection
Date: Mon, 17 Sep 2012 09:29:22 +0200 [thread overview]
Message-ID: <5056D152.2090708@amd.com> (raw)
In-Reply-To: <20120914185822.GA7495@phenom.dumpdata.com>
On 09/14/2012 08:58 PM, Konrad Rzeszutek Wilk wrote:
>>>> [ 0.000000] Kernel panic - not syncing: Attempted to kill the idle task!
>>>> (XEN) Domain 0 crashed: 'noreboot' set - not rebooting.
>>>>
>>>>
>>>>
>>>> The obvious solution would be to explicitly deny northbridge scanning
>>>> when running as Dom0, though I am not sure how to implement this without
>>>> upsetting the other kernel folks about "that crappy Xen thing" again ;-)
>>>
>>> Heh.
>>> Is there a numa=0 option that could be used to override it to turn it
>>> off?
>>
>> Not compile tested.. but was thinking something like this:
>
> ping?
That looks good to me - at least for the time being.
I just want to check how this interacts with upcoming Dom0 NUMA support.
It wouldn't be too clever if we deliberately disable NUMA and future Xen
version will allow us to use it. So let me check if I can confine this
turn-off to the fallback K8 northbridge reading.
Thanks,
Andre.
>>
>> diff --git a/arch/x86/xen/setup.c b/arch/x86/xen/setup.c
>> index 43fd630..838cc1f 100644
>> --- a/arch/x86/xen/setup.c
>> +++ b/arch/x86/xen/setup.c
>> @@ -17,6 +17,7 @@
>> #include <asm/e820.h>
>> #include <asm/setup.h>
>> #include <asm/acpi.h>
>> +#include <asm/numa.h>
>> #include <asm/xen/hypervisor.h>
>> #include <asm/xen/hypercall.h>
>>
>> @@ -528,4 +529,7 @@ void __init xen_arch_setup(void)
>> disable_cpufreq();
>> WARN_ON(set_pm_idle_to_default());
>> fiddle_vdso();
>> +#ifdef CONFIG_NUMA
>> + numa_off = 1;
>> +#endif
>> }
>
--
Andre Przywara
AMD-OSRC (Dresden)
Tel: x29712
next prev parent reply other threads:[~2012-09-17 7:29 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-03 12:20 Dom0 crash with old style AMD NUMA detection Andre Przywara
2012-08-03 12:36 ` Konrad Rzeszutek Wilk
2012-08-17 14:22 ` Konrad Rzeszutek Wilk
2012-09-14 18:58 ` Konrad Rzeszutek Wilk
2012-09-17 7:29 ` Andre Przywara [this message]
2012-09-17 19:14 ` Konrad Rzeszutek Wilk
2012-09-18 9:57 ` Andre Przywara
2012-09-18 13:44 ` Konrad Rzeszutek Wilk
2012-09-18 16:50 ` Andre Przywara
2012-09-18 14:55 ` Konrad Rzeszutek Wilk
2012-09-21 17:49 ` Andre Przywara
2012-09-21 17:48 ` Konrad Rzeszutek Wilk
2012-09-21 23:46 ` Andre Przywara
2012-09-24 13:48 ` Konrad Rzeszutek Wilk
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=5056D152.2090708@amd.com \
--to=andre.przywara@amd.com \
--cc=jeremy@goop.org \
--cc=konrad.wilk@oracle.com \
--cc=konrad@darnok.org \
--cc=raistlin@linux.it \
--cc=xen-devel@lists.xen.org \
/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).