[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Aarch64-qemu
From: |
Peter Maydell |
Subject: |
Re: Aarch64-qemu |
Date: |
Wed, 6 Nov 2019 11:54:57 +0000 |
On Wed, 6 Nov 2019 at 11:44, Wissem Yahiaoui <address@hidden> wrote:
>
> Hi Qemu team,
>
> As I sent you in the first email, that the SVE specific registers in
> aarch64-qemu results an core dumped/segmentation fault. I Tried the ZCR_EL1,
> ZCR_EL2 and ZCR_EL12, it compiles fine with the gnu toolchain, but it doesn't
> run in qemu. I need to simulate the length check at run-time, I am using Qemu
> but apparently I am missing some step/s.
You need to use the prctl() that I suggested, you cannot directly
access any of those registers from userspace. If you have a
simple test program which tries to use the prctl() but does not
work then I can have a look at what is going wrong.
thanks
-- PMM