Re: SCTRL_EL1 alignment (A) bit access from the guest

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

 



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




[Index of Archives]     [Linux KVM]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux