On Wed, Oct 17, 2012 at 4:13 PM, Marc Zyngier <marc.zyngier@xxxxxxx> wrote:
On 17/10/12 13:55, Anton Romanov wrote:Thanks for working this out. Looks like you have something in your
> I just tried with the same
> arm-linux-gnueabi-gcc (crosstool-NG linaro-1.13.1-2012.02-20120222 -
> Linaro GCC 2012.02) 4.6.3 20120201 (prerelease)
> toolchain and its still the same for me.
>
> Fails on the following line (129):
> ldrd r2, r3, [r1, #KVM_VTTBR]
> if i change it to something like
> add r1, r1, #KVM_VTTBR
> ldrd r2, r3, [r1]
> it compiles just fine
configuration that makes struct kvm bigger than we expect, and the vttbr
field ends up being further away than we expect.
The ordering of struct kvm_arch could certainly be improved (the fields
accessed from assembly ought to appear first in the structure), and I'll
also queue a patch to that effect.
Cheers,
M.
--
Jazz is not dead. It just smells funny...
_______________________________________________ kvmarm mailing list kvmarm@xxxxxxxxxxxxxxxxxxxxx https://lists.cs.columbia.edu/cucslists/listinfo/kvmarm