[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d20c4a33-2f06-a573-cc5c-6ae91f52b357@linux.intel.com>
Date: Tue, 9 Jan 2018 09:53:15 -0800
From: Tim Chen <tim.c.chen@...ux.intel.com>
To: Paolo Bonzini <pbonzini@...hat.com>,
Thomas Gleixner <tglx@...utronix.de>,
Andy Lutomirski <luto@...nel.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Greg KH <gregkh@...uxfoundation.org>
Cc: Dave Hansen <dave.hansen@...el.com>,
Andrea Arcangeli <aarcange@...hat.com>,
Andi Kleen <ak@...ux.intel.com>,
Arjan Van De Ven <arjan.van.de.ven@...el.com>,
David Woodhouse <dwmw@...zon.co.uk>,
Borislav Petkov <bp@...en8.de>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 1/8] x86/feature: Detect the x86 IBRS feature to
control Speculation
On 01/09/2018 02:39 AM, Paolo Bonzini wrote:
> +
> +#define MSR_IA32_SPEC_CTRL 0x00000048
> +#define SPEC_CTRL_FEATURE_DISABLE_IBRS (0 << 0)
> +#define SPEC_CTRL_FEATURE_ENABLE_IBRS (1 << 0)
Boris requested that the name for ENABLE/DISABLE to be shortened to
SPEC_CTRL_{ENABLE,DISABLE}_IBRS. I'm planning to do that
for the next patchset update.
> +
> +#define MSR_IA32_PRED_CMD 0x00000049
> +#define PRED_CMD_IBPB (1UL << 0)
> +
The IBPB stuff should be enumerated separately.
Feel free to create a separate patch for this chunk.
Thanks.
Tim
Powered by blists - more mailing lists