Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
authorLinus Torvalds <torvalds@linux-foundation.org>
Fri, 15 Dec 2017 20:14:33 +0000 (12:14 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 15 Dec 2017 20:14:33 +0000 (12:14 -0800)
Pull x86 fixes from Ingo Molnar:
 "Misc fixes:

   - fix the s2ram regression related to confusion around segment
     register restoration, plus related cleanups that make the code more
     robust

   - a guess-unwinder Kconfig dependency fix

   - an isoimage build target fix for certain tool chain combinations

   - instruction decoder opcode map fixes+updates, and the syncing of
     the kernel decoder headers to the objtool headers

   - a kmmio tracing fix

   - two 5-level paging related fixes

   - a topology enumeration fix on certain SMP systems"

* 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  objtool: Resync objtool's instruction decoder source code copy with the kernel's latest version
  x86/decoder: Fix and update the opcodes map
  x86/power: Make restore_processor_context() sane
  x86/power/32: Move SYSENTER MSR restoration to fix_processor_context()
  x86/power/64: Use struct desc_ptr for the IDT in struct saved_context
  x86/unwinder/guess: Prevent using CONFIG_UNWINDER_GUESS=y with CONFIG_STACKDEPOT=y
  x86/build: Don't verify mtools configuration file for isoimage
  x86/mm/kmmio: Fix mmiotrace for page unaligned addresses
  x86/boot/compressed/64: Print error if 5-level paging is not supported
  x86/boot/compressed/64: Detect and handle 5-level paging at boot-time
  x86/smpboot: Do not use smp_num_siblings in __max_logical_packages calculation

1  2 
tools/objtool/arch/x86/lib/x86-opcode-map.txt

index 12e377184ee4ad0c55d00c3784f08b393764a2bc,e0b85930dd773e87417e2b4957b8af61221b04c0..e0b85930dd773e87417e2b4957b8af61221b04c0
@@@ -607,7 -607,7 +607,7 @@@ fb: psubq Pq,Qq | vpsubq Vx,Hx,Wx (66),
  fc: paddb Pq,Qq | vpaddb Vx,Hx,Wx (66),(v1)
  fd: paddw Pq,Qq | vpaddw Vx,Hx,Wx (66),(v1)
  fe: paddd Pq,Qq | vpaddd Vx,Hx,Wx (66),(v1)
- ff:
+ ff: UD0
  EndTable
  
  Table: 3-byte opcode 1 (0x0f 0x38)
@@@ -717,7 -717,7 +717,7 @@@ AVXcode: 
  7e: vpermt2d/q Vx,Hx,Wx (66),(ev)
  7f: vpermt2ps/d Vx,Hx,Wx (66),(ev)
  80: INVEPT Gy,Mdq (66)
- 81: INVPID Gy,Mdq (66)
+ 81: INVVPID Gy,Mdq (66)
  82: INVPCID Gy,Mdq (66)
  83: vpmultishiftqb Vx,Hx,Wx (66),(ev)
  88: vexpandps/d Vpd,Wpd (66),(ev)
@@@ -896,7 -896,7 +896,7 @@@ EndTabl
  
  GrpTable: Grp3_1
  0: TEST Eb,Ib
- 1:
+ 1: TEST Eb,Ib
  2: NOT Eb
  3: NEG Eb
  4: MUL AL,Eb
@@@ -970,6 -970,15 +970,15 @@@ GrpTable: Grp
  EndTable
  
  GrpTable: Grp10
+ # all are UD1
+ 0: UD1
+ 1: UD1
+ 2: UD1
+ 3: UD1
+ 4: UD1
+ 5: UD1
+ 6: UD1
+ 7: UD1
  EndTable
  
  # Grp11A and Grp11B are expressed as Grp11 in Intel SDM