Re: [tip:x86/pti] x86/spectre: Add boot time option to select Spectre v2 mitigation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: [tip:x86/pti] x86/spectre: Add boot time option to select Spectre v2 mitigation
- From: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
- Date: Wed, 10 Jan 2018 19:06:27 +0100 (CET)
- Cc: linux-kernel@xxxxxxxxxxxxxxx, peterz@xxxxxxxxxxxxx, tim.c.chen@xxxxxxxxxxxxxxx, gregkh@xxxxxxxxxxxxxxxxxxxx, hpa@xxxxxxxxx, mingo@xxxxxxxxxx, dwmw@xxxxxxxxxxxx, luto@xxxxxxxxxxxxxx, riel@xxxxxxxxxx, dave.hansen@xxxxxxxxx, keescook@xxxxxxxxxx, ak@xxxxxxxxxxxxxxx, pjt@xxxxxxxxxx, torvalds@xxxxxxxxxxxxxxxxxxxx, jikos@xxxxxxxxxx, linux-tip-commits@xxxxxxxxxxxxxxx
- In-reply-to: <7689f631-7179-79f4-111b-418214432cc7@amd.com>
- References: <1515508997-6154-4-git-send-email-dwmw@amazon.co.uk> <tip-d569ded27d11bcb1643b14c54403910d9b3328b1@git.kernel.org> <7689f631-7179-79f4-111b-418214432cc7@amd.com>
- User-agent: Alpine 2.20 (DEB 67 2015-01-07)
On Wed, 10 Jan 2018, Tom Lendacky wrote:
> > +retpoline_auto:
> > + if (boot_cpu_data.x86_vendor == X86_VENDOR_AMD) {
>
> Not specifying anything on the command line will get SPECTRE_V2_CMD_AUTO,
> so boot_cpu_has(X86_FEATURE_LFENCE_RDTSC) needs to be checked since it
> won't have been checked previously.
Dammit.
--
To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Index of Archives]
[Linux Stable Commits]
[Linux Stable Kernel]
[Linux Kernel]
[Linux USB Devel]
[Linux Video &Media]
[Linux Audio Users]
[Yosemite News]
[Linux SCSI]