Re: [PATCH v4 1/2] target/arm: allow DC CVA[D]P in user mode emulation

2023-06-02 Thread Zhuojia Shen
On 06/02/2023 12:27 PM +0200, Philippe Mathieu-Daudé wrote: > On 2/6/23 00:11, Zhuojia Shen wrote: > > DC CVAP and DC CVADP instructions can be executed in EL0 on Linux, > > either directly when SCTLR_EL1.UCI == 1 or emulated by the kernel (see > > user_cache_maint_handler() in arch/arm64/kernel/tr

Re: [PATCH v4 1/2] target/arm: allow DC CVA[D]P in user mode emulation

2023-06-02 Thread Philippe Mathieu-Daudé
On 2/6/23 00:11, Zhuojia Shen wrote: DC CVAP and DC CVADP instructions can be executed in EL0 on Linux, either directly when SCTLR_EL1.UCI == 1 or emulated by the kernel (see user_cache_maint_handler() in arch/arm64/kernel/traps.c). This patch enables execution of the two instructions in user mo

[PATCH v4 1/2] target/arm: allow DC CVA[D]P in user mode emulation

2023-06-01 Thread Zhuojia Shen
DC CVAP and DC CVADP instructions can be executed in EL0 on Linux, either directly when SCTLR_EL1.UCI == 1 or emulated by the kernel (see user_cache_maint_handler() in arch/arm64/kernel/traps.c). This patch enables execution of the two instructions in user mode emulation. Signed-off-by: Zhuojia S