Skip to content

CR4 fixes (some are urgent)

Andy Lutomirski lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3x86/init: Fix cr4_init_shadow() on CR4-less machinesarch/x86/include/asm/tlbflush.h+1 -11 reply
2/3x86/boot: Fix another __read_cr4() case on 486arch/x86/kernel/setup.c+7 -32 replies
3/3x86/asm: Get rid of __read_cr4_safe()arch/x86/include/asm/paravirt.h arch/x86/include/asm/paravirt_types.h arch/x86/include/asm/special_insns.h +6 more+13 -270 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchBorislav Petkov
1/3R-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] CR4 fixes (some are urgent)

Hi Ingo, etc:

Patches 1 and 2 fix boot regressions. Patch 1 needs to be backported. Patch 2 doesn't because the regression is new in 4.8 (although it's probably unobservable because the regression fixed in patch 1 also prevented bootup on affected CPUs).

Patch 3 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 patches 1 and 2 to x86/urgent, merge into x86/asm, and apply patch 3 on top.

Andy Lutomirski (3):
x86/init: Fix cr4_init_shadow() on CR4-less machines 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/kernel/paravirt.c            |  1 -
 arch/x86/kernel/process_32.c          |  2 +-
 arch/x86/kernel/setup.c               |  9 +++++++--
 arch/x86/power/cpu.c                  |  2 +-
 arch/x86/xen/enlighten.c              |  1 -
 8 files changed, 16 insertions(+), 26 deletions(-)
Signature · 1 line
2.7.4