All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mathieu Ropert <mro@adviseo.fr>
To: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
Cc: xen-devel@lists.xensource.com
Subject: Re: Trouble using update_va_mapping
Date: Tue, 14 Feb 2006 14:28:14 +0100	[thread overview]
Message-ID: <43F1DAEE.8060703@adviseo.fr> (raw)
In-Reply-To: <98973538f8321c2ea43f52a5231916ee@cl.cam.ac.uk>

Keir Fraser wrote:

>
> On 13 Feb 2006, at 16:06, Mathieu Ropert wrote:
>
>> i'm trying to run a very simple domU kernel on Xen/x86_64, and i'm 
>> getting some trouble with update_va_mapping(): when trying to remap 
>> some page table entry, i find the virtual address still pointing to 
>> the same machine address after the return of the hypercall.
>
>
> What machine page does 'cons' point at before update_va_mapping()? Is 
> it definitely a different page?
>
>  -- Keir
>
Done some more checks and found the bug: the virtual address i used was 
mis-aligned  (missing a 0x in .align directive :)).
How does update_va_mapping() should normally behave when given a non 
paged-aligned virtual address? From the code, i guess it just remap the 
page containing the given address (discarding the lower 12 bits). Is 
this intended?

Mathieu

      parent reply	other threads:[~2006-02-14 13:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-13 16:06 Trouble using update_va_mapping Mathieu Ropert
2006-02-13 16:47 ` Keir Fraser
2006-02-13 17:07   ` Mathieu Ropert
2006-02-14 13:28   ` Mathieu Ropert [this message]

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=43F1DAEE.8060703@adviseo.fr \
    --to=mro@adviseo.fr \
    --cc=Keir.Fraser@cl.cam.ac.uk \
    --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.