Re: [PATCH] Ensure PSR.ac is cleared for early userspace

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

 



On Tue, Nov 11, 2008 at 05:35:50PM -0800, Luck, Tony wrote:
> Does the use of "rum" instruction need some paravirtualization? It is
> not in a critical path (used a couple of times during boot).

No, because rum isn't privileged instruction.
At lease xen/ia64 doesn't need it.

thanks,

> 
> diff --git a/arch/ia64/kernel/entry.S b/arch/ia64/kernel/entry.S
> index 7ef0c59..595a0b6 100644
> --- a/arch/ia64/kernel/entry.S
> +++ b/arch/ia64/kernel/entry.S
> @@ -499,6 +499,7 @@ GLOBAL_ENTRY(prefetch_stack)
>  END(prefetch_stack)
>  
>  GLOBAL_ENTRY(kernel_execve)
> +	rum IA64_PSR_AC
>  	mov r15=__NR_execve			// put syscall number in place
>  	break __BREAK_SYSCALL
>  	br.ret.sptk.many rp
> 

-- 
yamahata
--
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Sparc Linux]     [DCCP]     [Linux ARM]     [Yosemite News]     [Linux SCSI]     [Linux x86_64]     [Linux for Ham Radio]

  Powered by Linux