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

Re: [Xen-devel] [PATCH v2 0/2] xen: arm: introduce a function and flush dcache while preparing the device tree for Dom0



On Tue, 2013-11-26 at 12:54 +0200, Oleksandr Dmytryshyn wrote:
> Currently we use OMAP5 ES2.0 Panda5 board to work with the hypervisor.
> 
> Without flushing dcache the hypervisor couldn't copy the device tree
> correctly when booting the kernel dom0 Image (memory with device tree
> is corrupted). As the result - when we try to load the kernel dom0
> Image - dom0 hungs frequently. This issue is not reproduced with the
> kernel dom0 zImage because the zImage decompressor code flushes all
> dcache before starting the decompressed kernel Image. When the
> hypervisor loads the kernel image or initrd, this memory region
> isn't corrupted because the hypervisor code flushes the dcache.
> 
> Oleksandr Dmytryshyn (2):
>   xen: arm: introduce raw_copy_to_guest_flush_dcache() function
>   xen: arm: flush dcache while preparing the device tree for Dom0

Both of these look good to me as a fix for the dom0 case:
Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>


> 
>  xen/arch/arm/domain_build.c        |  3 ++-
>  xen/arch/arm/guestcopy.c           | 16 +++++++++++++++-
>  xen/include/asm-arm/guest_access.h |  2 ++
>  3 files changed, 19 insertions(+), 2 deletions(-)
> 



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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