From: Gerd Knorr <kraxel@suse.de>
To: xen-devel@lists.xensource.com
Subject: [patch] resend: fix domain builder for >4GB PAE
Date: Wed, 10 Aug 2005 14:36:15 +0200 [thread overview]
Message-ID: <20050810123614.GB3174@bytesex> (raw)
Hi,
Without that patch the domain builder BUG()s due to truncated
physical addresses (found by Scott Parish).
Gerd
Index: xen/arch/x86/domain_build.c
===================================================================
--- xen.orig/arch/x86/domain_build.c 2005-08-10 13:18:54.673749233 +0200
+++ xen/arch/x86/domain_build.c 2005-08-10 14:01:06.245527407 +0200
@@ -78,8 +78,8 @@ int construct_dom0(struct domain *d,
unsigned long pfn, mfn;
unsigned long nr_pages;
unsigned long nr_pt_pages;
- unsigned long alloc_start;
- unsigned long alloc_end;
+ physaddr_t alloc_start;
+ physaddr_t alloc_end;
unsigned long count;
struct pfn_info *page = NULL;
start_info_t *si;
@@ -219,8 +219,8 @@ int construct_dom0(struct domain *d,
panic("Insufficient contiguous RAM to build kernel image.\n");
printk("PHYSICAL MEMORY ARRANGEMENT:\n"
- " Dom0 alloc.: %p->%p",
- _p(alloc_start), _p(alloc_end));
+ " Dom0 alloc.: %llx->%llx",
+ (u64)alloc_start, (u64)alloc_end);
if ( d->tot_pages < nr_pages )
printk(" (%lu pages to be allocated)",
nr_pages - d->tot_pages);
next reply other threads:[~2005-08-10 12:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-10 12:36 Gerd Knorr [this message]
2005-08-10 12:58 ` [patch] resend: fix domain builder for >4GB PAE Keir Fraser
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=20050810123614.GB3174@bytesex \
--to=kraxel@suse.de \
--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.