Re: [PATCH v2 1/4] util/cacheflush: fix cache on windows-arm64

2023-03-01 Thread Pierrick Bouvier
On 2/16/23 20:42, Richard Henderson wrote: On 2/16/23 03:49, Pierrick Bouvier wrote: ctr_el0 access is privileged on this platform and fails as an illegal instruction. Windows does not offer a way to flush data cache from userspace, and only FlushInstructionCache is available in Windows API. T

Re: [PATCH v2 1/4] util/cacheflush: fix cache on windows-arm64

2023-02-20 Thread Pierrick Bouvier
On 2/17/23 16:32, Peter Maydell wrote: On Thu, 16 Feb 2023 at 13:49, Pierrick Bouvier wrote: ctr_el0 access is privileged on this platform and fails as an illegal instruction. Windows does not offer a way to flush data cache from userspace, and only FlushInstructionCache is available in Windo

Re: [PATCH v2 1/4] util/cacheflush: fix cache on windows-arm64

2023-02-17 Thread Peter Maydell
On Thu, 16 Feb 2023 at 13:49, Pierrick Bouvier wrote: > > ctr_el0 access is privileged on this platform and fails as an illegal > instruction. > > Windows does not offer a way to flush data cache from userspace, and > only FlushInstructionCache is available in Windows API. > > The generic implemen

Re: [PATCH v2 1/4] util/cacheflush: fix cache on windows-arm64

2023-02-16 Thread Richard Henderson
On 2/16/23 03:49, Pierrick Bouvier wrote: ctr_el0 access is privileged on this platform and fails as an illegal instruction. Windows does not offer a way to flush data cache from userspace, and only FlushInstructionCache is available in Windows API. The generic implementation of flush_idcache_r