From: Hollis Blanchard Subject: RE: Re: user/hypervisor address space solution Date: Sat, 18 Feb 2006 09:24:31 +1100 Message-ID: <1140215071.8443.5.camel@localhost.localdomain> References: <571ACEFD467F7749BC50E0A98C17CDD802C06D06@pdsmsx403> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <571ACEFD467F7749BC50E0A98C17CDD802C06D06@pdsmsx403> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Tian, Kevin" Cc: Dan Magenheimer , Jimi Xenidis , xen-devel List-Id: xen-devel@lists.xenproject.org On Fri, 2006-02-17 at 17:05 +0800, Tian, Kevin wrote: >=20 > >From: Hollis Blanchard > >Sent: 2006=E5=B9=B42=E6=9C=8814=E6=97=A5 19:13 > > > >I don't know what implications this could have for ia64, since they > suck > >in so much Linux code... but perhaps that Linux code isn't the stuff > >that deals with userland, so might not have uaccess users. >=20 > Regarding this area to access domain parameters, IA64 should be OK > since xen/ia64 shares same virtual address space (i.e same ASN) with > domain, thus able to access pointer passed in directly. Linux style > uaccess interfaces can easily work for xen/ia64 in this aspect. Actually I was referring to the API rename, not the underlying implementation. But since then I've changed my mind, and I'm fine with leaving e.g. "put_user" around, as long as nobody calls it from common code. So if there are put_user() callers in the Linux code you suck in, it will still be ok. But while we're on the subject, I recall hearing that IA64 has an issue with TLB faults when accessing domain virtual addresses. Could you elaborate on that? I guess you're using a software-controlled TLB, and when a fault occurs you need to call up to Linux to handle it? --=20 Hollis Blanchard IBM Linux Technology Center