Re: [RFC PATCH v0 3/6] x86: Enable Upper Address Ignore(UAI) feature

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

 



>diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
>index f7a132eb794d..12615b1b4af5 100644
>--- a/arch/x86/kernel/setup.c
>+++ b/arch/x86/kernel/setup.c
>@@ -740,6 +740,12 @@ dump_kernel_offset(struct notifier_block *self, unsigned long v, void *p)
> 	return 0;
> }
> 
>+static inline void __init uai_enable(void)
>+{
>+	if (boot_cpu_has(X86_FEATURE_UAI))

cpu_feature_enabled

>+		msr_set_bit(MSR_EFER, _EFER_UAI);
>+}


-- 
Sent from a small device: formatting sux and brevity is inevitable. 





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux