Thread (99 messages) 99 messages, 9 authors, 2012-08-06

[PATCH 08/24] xen/arm: Introduce xen_pfn_t for pfn and mfn types

From: Stefano Stabellini <hidden>
Date: 2012-08-01 15:51:19
Also in: lkml, xen-devel

On Wed, 1 Aug 2012, Konrad Rzeszutek Wilk wrote:
On Thu, Jul 26, 2012 at 04:33:50PM +0100, Stefano Stabellini wrote:
quoted
All the original Xen headers have xen_pfn_t as mfn and pfn type, however
when they have been imported in Linux, xen_pfn_t has been replaced with
unsigned long. That might work for x86 and ia64 but it does not for arm.
How come?
see below
quoted
Bring back xen_pfn_t and let each architecture define xen_pfn_t as they
see fit.
I am OK with this as long as your include a comment in both of the
interface.h saying why this is needed. I am curious why 'unsinged long'
won't work? Is it b/c on ARM you always want a 64-bit type?
Yes, we would like to make the same interface work for 32 and 64
bit guests, without any need for a "compat layer" as we currently have
on x86.
In fact I am going to add another patch to explicitly size all the
other unsigned long that we have in the public interface.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help