qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 5/6] linux-user: Implement PR_PAC_RESET_KEYS


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH 5/6] linux-user: Implement PR_PAC_RESET_KEYS
Date: Fri, 1 Feb 2019 15:15:30 +0000

On Fri, 25 Jan 2019 at 22:57, Richard Henderson
<address@hidden> wrote:
>
> Signed-off-by: Richard Henderson <address@hidden>
> ---
>  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 <address@hidden>

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]