On Wed, Apr 2, 2014 at 1:18 PM, Claudio Fontana <claudio.fontana@xxxxxxxxxx> wrote: > > Hello all, > > I am running QEMU/kvm, and in the first few instructions I am setting SCTRL_EL1 with the intention to disable strict alignment checks (clearing the A bit). Is this actually supported? > > I get Data Aborts for misalignment after that regardless of that setting, as though the setting was ignored. > [using ldr, str, not using SP as base]. > To work around that, I am currently compiling my code with -mstrict-align. > > Any advice on this? > > Thank you, > > Claudio > > > _______________________________________________ > kvmarm mailing list > kvmarm@xxxxxxxxxxxxxxxxxxxxx > https://lists.cs.columbia.edu/mailman/listinfo/kvmarm Hi Claudio I guess you do misaligned access at EL1, in this case according to ARM ARMv8 SCTRL_EL1.A bit is applicable to software running at EL0. Vladimir _______________________________________________ kvmarm mailing list kvmarm@xxxxxxxxxxxxxxxxxxxxx https://lists.cs.columbia.edu/mailman/listinfo/kvmarm