On Fri, 25 Jan 2019 at 22:57, Richard Henderson <richard.hender...@linaro.org> wrote: > > Signed-off-by: Richard Henderson <richard.hender...@linaro.org> > --- > linux-user/aarch64/target_syscall.h | 7 ++++++ > linux-user/syscall.c | 33 +++++++++++++++++++++++++++++ > 2 files changed, 40 insertions(+)
> @@ -9691,6 +9691,39 @@ static abi_long do_syscall1(void *cpu_env, int num, > abi_long arg1, > } > } > return ret; > + case TARGET_PR_PAC_RESET_KEYS: > + { > + CPUARMState *env = cpu_env; > + ARMCPU *cpu = arm_env_get_cpu(env); The kernel implementation of this returns EINVAL if any of arg3/arg4/arg5 are non-zero. Otherwise Reviewed-by: Peter Maydell <peter.mayd...@linaro.org> thanks -- PMM