[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 18/19] tcg/aarch64: Implement flush_idcache_range manually
|
From: |
Richard Henderson |
|
Subject: |
Re: [PATCH v2 18/19] tcg/aarch64: Implement flush_idcache_range manually |
|
Date: |
Tue, 3 Nov 2020 15:08:34 -0800 |
|
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
On 10/31/20 6:25 PM, Joelle van Dyne wrote:
> Unfortunately this crashes on iOS/Apple Silicon macOS.
>
> (lldb) bt
> * thread #19, stop reason = EXC_BAD_INSTRUCTION (code=1, subcode=0xd53b002a)
> * frame #0: 0x00000001169501e0
> libqemu-x86_64-softmmu.utm.dylib`tcg_prologue_init + 760
> ...
> (lldb) x/i 0x00000001169501e0
> -> 0x1169501e0: 0xd53b002a mrs x10, CTR_EL0
That is *really* annoying. Why in the world would Apple not set SCTLR_ELx.UCT?
There's nothing that the OS can do better than the application for ARMv8.0-A.
Oh well. I'll paste your code in.
r~