[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <808EE3DA-69B1-47E3-825E-6DDCE1331F65@alien8.de>
Date: Fri, 11 Mar 2022 12:37:09 +0000
From: Boris Petkov <bp@...en8.de>
To: Bharata B Rao <bharata@....com>, linux-kernel@...r.kernel.org
CC: linux-mm@...ck.org, x86@...nel.org, shuah@...nel.org,
kirill.shutemov@...ux.intel.com, tglx@...utronix.de,
dave.hansen@...ux.intel.com, will@...nel.org, mingo@...hat.com,
oleg@...hat.com, catalin.marinas@....com, ananth.narayan@....com
Subject: Re: [RFC PATCH v0 3/6] x86: Enable Upper Address Ignore(UAI) feature
>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.
Powered by blists - more mailing lists