This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] RE: [PATCH] calling zap_low_mappings breaks xen boot on

To: "Subrahmanian, Raj" <raj.subrahmanian@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] RE: [PATCH] calling zap_low_mappings breaks xen boot on the es7000
From: Keir Fraser <keir@xxxxxxxxxxxxx>
Date: Fri, 25 May 2007 13:39:51 +0100
Delivery-date: Fri, 25 May 2007 05:38:18 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <94C8C9E8B25F564F95185BDA64AB05F60513F2EC@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AceWvpt92gNeWwKxEdy09AAWy6hiGQCvyjGgABwt3PsA5BuyYAAY6zVDADksAjAAAKCMDg==
Thread-topic: [Xen-devel] RE: [PATCH] calling zap_low_mappings breaks xen boot on the es7000
User-agent: Microsoft-Entourage/
On 25/5/07 13:24, "Subrahmanian, Raj" <raj.subrahmanian@xxxxxxxxxx> wrote:

>> So where is the late low-memory access happening? There's not
>> that much es7000-specific code. It can't be hard to fix
>> properly. If the physical pointer is known to be below 1MB you
>> can just __va() it. If not you may need to use a fixmap, or
>> acpi_map_table, or just __va() only on x86_64. I'd like to
>> keep the zap as early as possible to catch truly erroneous low
>> pointers.
> I will look into that code and fix it.
> If you don't mind me asking, what exactly does zap_low_mappings do? I am
> not able to figure it out looking at the code.

It removes the 1:1 mapping of physical memory at virtual address 0x0.

 -- Keir

Xen-devel mailing list