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

Re: [Xen-devel] [PATCH v4 13/17] libxc: arm: allow passing a device tree blob to the guest

On 11/13/2013 12:16 PM, Ian Campbell wrote:
On Wed, 2013-11-13 at 12:01 +0000, Stefano Stabellini wrote:

and in any case this
is user space (and common code) so I don't know how we can do so.

Linux offers an __ARM_NR_cacheflush syscall, it is implemented as a
dcache flush on v7.

IIRC Julien was working on a generic solution for this issue.

What is the generic solution?

Not sure, could be __ARM_NR_cacheflush or maybe when adding foreign
mappings to a p2m we should make them uncached depending on the target
VCPUs state (in particular when the domain is under construction, I'm
less concerned with domains which turn off caching at runtime). Or maybe
he had some other idea.

I plan to implement the solution with __ARM_NR_cacheflush. It's the best approach for now. It's also implemented on v8 with __ARM_NR_compat_cacheflush.

Julien Grall

Xen-devel mailing list



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