Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752544AbcLFBBU (ORCPT ); Mon, 5 Dec 2016 20:01:20 -0500 Received: from mail.kernel.org ([198.145.29.136]:51322 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751373AbcLFBBT (ORCPT ); Mon, 5 Dec 2016 20:01:19 -0500 From: Andy Lutomirski To: x86@kernel.org Cc: One Thousand Gnomes , Borislav Petkov , "linux-kernel@vger.kernel.org" , Brian Gerst , Matthew Whitehead , Andy Lutomirski Subject: [RFC PATCH 0/6] CPUID and FPU fixes Date: Mon, 5 Dec 2016 17:01:09 -0800 Message-Id: X-Mailer: git-send-email 2.9.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 827 Lines: 24 Our CPUID-less FPU detection code was terminally broken and, as far as I can tell, it's been broken for a long, long time. This series tries to improve the situation. Thoughts? Andy Lutomirski (5): x86/cpu: Factor out application of forced cpu caps x86/cpu: Re-apply forced caps every time cpu caps are re-read x86/fpu: Fix "x86/fpu: Legacy x87 FPU detected" message x86/fpu: Fix CPUID-less FPU detection x86/fpu: Fix the "Giving up, no FPU found" test Borislav Petkov (1): x86/CPU: Add X86_FEATURE_CPUID arch/x86/include/asm/cpufeatures.h | 2 +- arch/x86/kernel/cpu/common.c | 35 ++++++++++++++++++++++++----------- arch/x86/kernel/fpu/init.c | 30 +++++++++++++++++------------- arch/x86/kernel/fpu/xstate.c | 7 ++++++- 4 files changed, 48 insertions(+), 26 deletions(-) -- 2.9.3