[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 11/14] xen/x86: mm: Re-implement set_gpfn_from_mfn() as a static inline function



Hi,

On 10/05/2019 15:21, Jan Beulich wrote:
On 10.05.19 at 16:05, <julien.grall@xxxxxxx> wrote:
On 10/05/2019 14:48, Jan Beulich wrote:
On 10.05.19 at 15:41, <julien.grall@xxxxxxx> wrote:
On 10/05/2019 14:35, Jan Beulich wrote:
I didn't mean it to remain NULL. Common code doesn't dereference it
(and isn't supposed to), so I'd consider initializing it to some known
faulting non-NULL address, if there is such on Arm.

Patches are welcomed ;).

So is there such an address on Arm?

0 - 2MB is unmapped so far. I don't know whether this will still be the case (at
least for the range 4KB - 2MB) with the rework I am attempting.

Hmm, I was hoping for an architecturally faulting address, like
the non-canonical ones we have on x86-64.

Nothing we can reliably use across Armv7 and Armv8 (and future extension).

Cheers,

--
Julien Grall

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.