All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Egger <Christoph.Egger@amd.com>
To: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Tim,
	"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
	Deegan <Tim.Deegan@citrix.com>
Subject: Re: xen crash during Dom0 boot
Date: Thu, 14 Apr 2011 16:44:20 +0200	[thread overview]
Message-ID: <4DA70844.9060106@amd.com> (raw)
In-Reply-To: <20110414133326.GI5548@dumpdata.com>

On 04/14/11 15:33, Konrad Rzeszutek Wilk wrote:
>>
>>
>> The reason is that guest_walk_tables() in xen/arch/x86/mm/guest_walk.c  fakes
>> l1e entries for 2mb pages but not for 1gb pages.
>> A workaround is to assign the Dom0 not more than 2 GB RAM  via
>> the dom0_mem  xen boot parameter.
>
> But if you use 4KB pages then the workaround is not neccessary, right?

Right. Same counts for 2MB pages.

>> This can only be reproduced with Dom0 kernels which use the autotranslation
>> feature (Linux Dom0 does, NetBSD Dom0 doesn't, don't know about other Dom0).
>
> Autotranslation feature.. you mean that pagetables are not updated via
> the Linux kernel, but instead by the Xen hypervisor?

With the autotranslation feature the pv guest does not need to be aware 
about the fact that the guest physical address space is not the host 
physical address. Xen maintains a shadow page table for it.

W/o the autotranslation feature the pv guest is aware of it and handles
the translation itself.

Christoph

-- 
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Einsteinring 24, 85689 Dornach b. Muenchen
Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632

  reply	other threads:[~2011-04-14 14:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-14 11:18 xen crash during Dom0 boot Christoph Egger
2011-04-14 13:33 ` Konrad Rzeszutek Wilk
2011-04-14 14:44   ` Christoph Egger [this message]
2011-04-14 15:02     ` Jan Beulich
2011-04-15  8:36 ` Tim Deegan

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=4DA70844.9060106@amd.com \
    --to=christoph.egger@amd.com \
    --cc=Tim.Deegan@citrix.com \
    --cc=konrad.wilk@oracle.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 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.