From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753350AbdARTQo (ORCPT ); Wed, 18 Jan 2017 14:16:44 -0500 Received: from mail.kernel.org ([198.145.29.136]:58576 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752682AbdARTPu (ORCPT ); Wed, 18 Jan 2017 14:15:50 -0500 From: Andy Lutomirski To: X86 ML Cc: One Thousand Gnomes , Borislav Petkov , "linux-kernel@vger.kernel.org" , Brian Gerst , Matthew Whitehead , Andy Lutomirski Subject: [PATCH v2 0/6] CPUID and FPU fixes Date: Wed, 18 Jan 2017 11:15:36 -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 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. Changes from v1: - Whitespace fixes - Prettify the FPU probing code (Borislav) - Improve logging (Borislav) 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 | 34 +++++++++++++++++++++++----------- arch/x86/kernel/fpu/init.c | 31 +++++++++++++++++-------------- arch/x86/kernel/fpu/xstate.c | 8 +++++++- 4 files changed, 48 insertions(+), 27 deletions(-) -- 2.9.3