From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755866AbcI2TsY (ORCPT ); Thu, 29 Sep 2016 15:48:24 -0400 Received: from mail.kernel.org ([198.145.29.136]:56470 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755561AbcI2TsR (ORCPT ); Thu, 29 Sep 2016 15:48:17 -0400 From: Andy Lutomirski To: x86@kernel.org Cc: david@saggiorato.net, Borislav Petkov , Brian Gerst , linux-kernel@vger.kernel.org, Andy Lutomirski Subject: [PATCH v2 0/2] CR4 fixes (one is urgent) Date: Thu, 29 Sep 2016 12:48:10 -0700 Message-Id: X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Ingo, etc: Patch 1 fixes a boot regressions that's new in 4.8. Patch 2 cleans the whole mess up. It's probably not 4.8 material, but I'm sending it as part of this series for ease of review. If you like, you could apply patch 1 to x86/urgent, merge into x86/asm, and apply patch 3 on top. Changes from v1: - Drop the patch that was already applied. - Get rid of pointless CPUID check, which simplifies it a bit (Borislav) Andy Lutomirski (2): x86/boot: Fix another __read_cr4() case on 486 x86/asm: Get rid of __read_cr4_safe() arch/x86/include/asm/paravirt.h | 4 ---- arch/x86/include/asm/paravirt_types.h | 1 - arch/x86/include/asm/special_insns.h | 22 +++++++--------------- arch/x86/include/asm/tlbflush.h | 2 +- arch/x86/kernel/paravirt.c | 1 - arch/x86/kernel/process_32.c | 2 +- arch/x86/kernel/setup.c | 4 +--- arch/x86/power/cpu.c | 2 +- arch/x86/xen/enlighten.c | 1 - 9 files changed, 11 insertions(+), 28 deletions(-) -- 2.7.4