On 02/06/16 20:09, Ivan Pavic wrote:
Hello Julien,
Hello Ivan,
On Thu, Jun 02, 2016 at 12:41:02PM +0100, Julien Grall wrote:
Which compiler led to use a data abort? And where was the data
abort? In Xen or the guest?
When I compile app directly on ODROID I used:
arm-linux-gnueabihf
gcc version 4.8.4 (Ubuntu/Linaro 4.8.4-2ubuntu1~14.04.1)
HVC instruction works form assembler, but when I call it from main, for
example:
HYPERVISOR_console_io (HYPERCALL_WRITE, SYSTEM_UP_LEN, SYSTEM_UP_MSG);
then I get this in xl dmesg:
traps.c:2450:d2v0 HSR=0x90000046 pc=0x40008250 gva=0 gpa=0000000000000000
To be honest this looks like a latent issue in your app rather than a
bug in the compiler.
I would try to find which instruction is causing the data abort. Also is
your app running with page table and cache enabled?
Regards,
--
Julien Grall
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel