> +static inline void init_hw_uaccess_state(void)
> {
> + asm(ALTERNATIVE("nop", SET_PSTATE_PAN(1), ARM64_HAS_PAN));
> + asm(ALTERNATIVE("nop", SET_PSTATE_UAO(0), ARM64_HAS_UAO));
> }
The way I read this code it is about per-task state, maybe that
could be reflected in the name? init_task_hw_access_state or
init_task_uaccess_flags?