[PATCH v2 0/2] CR4 fixes (one is urgent)

From: Andy Lutomirski
Date: Thu Sep 29 2016 - 15:48:29 EST


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