xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] xen: arm: introduce a function and flush dcache while preparing the device tree for Dom0
@ 2013-11-26 10:54 Oleksandr Dmytryshyn
  2013-11-26 10:54 ` [PATCH v2 1/2] xen: arm: introduce raw_copy_to_guest_flush_dcache() function Oleksandr Dmytryshyn
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Oleksandr Dmytryshyn @ 2013-11-26 10:54 UTC (permalink / raw)
  To: xen-devel; +Cc: andrii.anisov

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

 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(-)

-- 
1.8.2.rc2

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-11-29 10:35 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-26 10:54 [PATCH v2 0/2] xen: arm: introduce a function and flush dcache while preparing the device tree for Dom0 Oleksandr Dmytryshyn
2013-11-26 10:54 ` [PATCH v2 1/2] xen: arm: introduce raw_copy_to_guest_flush_dcache() function Oleksandr Dmytryshyn
2013-11-27 14:49   ` Julien Grall
2013-11-27 16:37     ` Oleksandr Dmytryshyn
2013-11-26 10:54 ` [PATCH v2 2/2] xen: arm: flush dcache while preparing the device tree for Dom0 Oleksandr Dmytryshyn
2013-11-27 13:30 ` [PATCH v2 0/2] xen: arm: introduce a function and " Ian Campbell
2013-11-27 13:50   ` Julien Grall
2013-11-27 13:54     ` Ian Campbell
2013-11-27 14:51       ` Julien Grall
2013-11-29 10:35         ` Ian Campbell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).