qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 64dbaf: target-i386: Split fxsave/fxrstor imp


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 64dbaf: target-i386: Split fxsave/fxrstor implementation
Date: Mon, 15 Feb 2016 04:30:06 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 64dbaff09bb768dbbb13142862554f18ab642866
      
https://github.com/qemu/qemu/commit/64dbaff09bb768dbbb13142862554f18ab642866
  Author: Richard Henderson <address@hidden>
  Date:   2016-02-13 (Sat, 13 Feb 2016)

  Changed paths:
    M target-i386/fpu_helper.c
    M target-i386/helper.h
    M target-i386/translate.c

  Log Message:
  -----------
  target-i386: Split fxsave/fxrstor implementation

We will be able to reuse these pieces for XSAVE/XRSTOR.

Signed-off-by: Richard Henderson <address@hidden>


  Commit: 1906b2af7c2345037d9b2fdf484b457b5acd09d1
      
https://github.com/qemu/qemu/commit/1906b2af7c2345037d9b2fdf484b457b5acd09d1
  Author: Richard Henderson <address@hidden>
  Date:   2016-02-13 (Sat, 13 Feb 2016)

  Changed paths:
    M target-i386/translate.c

  Log Message:
  -----------
  target-i386: Rearrange processing of 0F 01

Rather than nesting tests of OP, MOD, and RM, decode them
all at once with a switch.  Fixes incorrect decoding of
AMD Pacifica extensions (aka vmrun et al) via op==2 path.

Signed-off-by: Richard Henderson <address@hidden>


  Commit: 121f3157887f92268a3d6169e2d4601f9292020b
      
https://github.com/qemu/qemu/commit/121f3157887f92268a3d6169e2d4601f9292020b
  Author: Richard Henderson <address@hidden>
  Date:   2016-02-13 (Sat, 13 Feb 2016)

  Changed paths:
    M target-i386/translate.c

  Log Message:
  -----------
  target-i386: Rearrange processing of 0F AE

Rather than nesting tests of OP, MOD, and RM, decode them all at once
with a switch.  Also, add some missing #UD checks for e.g. incorrect
LOCK prefix.

Signed-off-by: Richard Henderson <address@hidden>


  Commit: 19dc85dba23c0db1ca932c62e453c37e00761628
      
https://github.com/qemu/qemu/commit/19dc85dba23c0db1ca932c62e453c37e00761628
  Author: Richard Henderson <address@hidden>
  Date:   2016-02-13 (Sat, 13 Feb 2016)

  Changed paths:
    M target-i386/cpu.c
    M target-i386/fpu_helper.c
    M target-i386/helper.c
    M target-i386/helper.h
    M target-i386/kvm.c
    M target-i386/translate.c

  Log Message:
  -----------
  target-i386: Add XSAVE extension

This includes XSAVE, XRSTOR, XGETBV, XSETBV, which are all related,
as well as the associate cpuid bits.

Signed-off-by: Richard Henderson <address@hidden>


  Commit: c9cfe8f9fb21f086e24b3a8f7ccd9c06e4d8d9d6
      
https://github.com/qemu/qemu/commit/c9cfe8f9fb21f086e24b3a8f7ccd9c06e4d8d9d6
  Author: Richard Henderson <address@hidden>
  Date:   2016-02-13 (Sat, 13 Feb 2016)

  Changed paths:
    M target-i386/cpu.c
    M target-i386/fpu_helper.c
    M target-i386/helper.h
    M target-i386/translate.c

  Log Message:
  -----------
  target-i386: Implement XSAVEOPT

Signed-off-by: Richard Henderson <address@hidden>


  Commit: f4f1110e4b34797ddfa87bb28f9518b9256778be
      
https://github.com/qemu/qemu/commit/f4f1110e4b34797ddfa87bb28f9518b9256778be
  Author: Richard Henderson <address@hidden>
  Date:   2016-02-13 (Sat, 13 Feb 2016)

  Changed paths:
    M target-i386/Makefile.objs
    M target-i386/cpu.c
    M target-i386/cpu.h
    M target-i386/fpu_helper.c
    M target-i386/helper.c
    M target-i386/kvm.c
    M target-i386/misc_helper.c
    A target-i386/mpx_helper.c
    M target-i386/smm_helper.c
    M target-i386/translate.c

  Log Message:
  -----------
  target-i386: Enable control registers for MPX

Enable and disable at CPL changes, MSR changes, and XRSTOR changes.

Signed-off-by: Richard Henderson <address@hidden>


  Commit: 7f0b7141b4c7deab51efd8ee1e83eab2d9b7a9ea
      
https://github.com/qemu/qemu/commit/7f0b7141b4c7deab51efd8ee1e83eab2d9b7a9ea
  Author: Richard Henderson <address@hidden>
  Date:   2016-02-13 (Sat, 13 Feb 2016)

  Changed paths:
    M target-i386/cc_helper.c
    M target-i386/helper.h
    M target-i386/translate.c

  Log Message:
  -----------
  target-i386: Perform set/reset_inhibit_irq inline

With helpers that can be reused for other things.

Signed-off-by: Richard Henderson <address@hidden>


  Commit: a074ce42a3186bd9f96ef541bb2e01419181dae3
      
https://github.com/qemu/qemu/commit/a074ce42a3186bd9f96ef541bb2e01419181dae3
  Author: Richard Henderson <address@hidden>
  Date:   2016-02-13 (Sat, 13 Feb 2016)

  Changed paths:
    M target-i386/translate.c

  Log Message:
  -----------
  target-i386: Split up gen_lea_modrm

This is immediately usable by lea and multi-byte nop,
and will be required to implement parts of the mpx spec.

Signed-off-by: Richard Henderson <address@hidden>


  Commit: 149b427b32de358c3bd5bc064c50acca6e9ff78f
      
https://github.com/qemu/qemu/commit/149b427b32de358c3bd5bc064c50acca6e9ff78f
  Author: Richard Henderson <address@hidden>
  Date:   2016-02-15 (Mon, 15 Feb 2016)

  Changed paths:
    M target-i386/translate.c

  Log Message:
  -----------
  target-i386: Implement BNDMK

Signed-off-by: Richard Henderson <address@hidden>


  Commit: 62b58ba58bfebdb8a1c447beaa1285cc21249d15
      
https://github.com/qemu/qemu/commit/62b58ba58bfebdb8a1c447beaa1285cc21249d15
  Author: Richard Henderson <address@hidden>
  Date:   2016-02-15 (Mon, 15 Feb 2016)

  Changed paths:
    M target-i386/translate.c

  Log Message:
  -----------
  target-i386: Implement BNDMOV

Signed-off-by: Richard Henderson <address@hidden>


  Commit: 523e28d7614571680d21641bd0bd9b9e84570cee
      
https://github.com/qemu/qemu/commit/523e28d7614571680d21641bd0bd9b9e84570cee
  Author: Richard Henderson <address@hidden>
  Date:   2016-02-15 (Mon, 15 Feb 2016)

  Changed paths:
    M target-i386/helper.h
    M target-i386/mpx_helper.c
    M target-i386/translate.c

  Log Message:
  -----------
  target-i386: Implement BNDCL, BNDCU, BNDCN

Signed-off-by: Richard Henderson <address@hidden>


  Commit: 75d14edcf5fd9d5bb614554539799abaaeab3166
      
https://github.com/qemu/qemu/commit/75d14edcf5fd9d5bb614554539799abaaeab3166
  Author: Richard Henderson <address@hidden>
  Date:   2016-02-15 (Mon, 15 Feb 2016)

  Changed paths:
    M target-i386/mem_helper.c

  Log Message:
  -----------
  target-i386: Update BNDSTATUS for exceptions raised by BOUND

Signed-off-by: Richard Henderson <address@hidden>


  Commit: bdd87b3b591add6e4d7c6b6125fcf0d706cc8bc4
      
https://github.com/qemu/qemu/commit/bdd87b3b591add6e4d7c6b6125fcf0d706cc8bc4
  Author: Richard Henderson <address@hidden>
  Date:   2016-02-15 (Mon, 15 Feb 2016)

  Changed paths:
    M target-i386/helper.h
    M target-i386/mpx_helper.c
    M target-i386/translate.c

  Log Message:
  -----------
  target-i386: Implement BNDLDX, BNDSTX

Signed-off-by: Richard Henderson <address@hidden>


  Commit: 7d117ce81ef6258cdcc0d24c774d045fa4b5fd26
      
https://github.com/qemu/qemu/commit/7d117ce81ef6258cdcc0d24c774d045fa4b5fd26
  Author: Richard Henderson <address@hidden>
  Date:   2016-02-15 (Mon, 15 Feb 2016)

  Changed paths:
    M target-i386/helper.h
    M target-i386/mpx_helper.c
    M target-i386/translate.c

  Log Message:
  -----------
  target-i386: Clear bndregs during legacy near jumps

Signed-off-by: Richard Henderson <address@hidden>


  Commit: a114d25d5b42600871d75929604c0b9fcc448ec0
      
https://github.com/qemu/qemu/commit/a114d25d5b42600871d75929604c0b9fcc448ec0
  Author: Richard Henderson <address@hidden>
  Date:   2016-02-15 (Mon, 15 Feb 2016)

  Changed paths:
    M target-i386/cpu.c

  Log Message:
  -----------
  target-i386: Enable CR4/XCR0 features for user-mode

Signed-off-by: Richard Henderson <address@hidden>


  Commit: 07929f2ab2ab9c9e01d4ae79f48f2b2476b715c8
      
https://github.com/qemu/qemu/commit/07929f2ab2ab9c9e01d4ae79f48f2b2476b715c8
  Author: Richard Henderson <address@hidden>
  Date:   2016-02-15 (Mon, 15 Feb 2016)

  Changed paths:
    M target-i386/cpu.c
    M target-i386/helper.h
    M target-i386/int_helper.c
    M target-i386/translate.c

  Log Message:
  -----------
  target-i386: Implement FSGSBASE

Signed-off-by: Richard Henderson <address@hidden>


  Commit: 80b5d6bfc1280fa06e2514a414690c0e5b4b514b
      
https://github.com/qemu/qemu/commit/80b5d6bfc1280fa06e2514a414690c0e5b4b514b
  Author: Peter Maydell <address@hidden>
  Date:   2016-02-15 (Mon, 15 Feb 2016)

  Changed paths:
    M target-i386/Makefile.objs
    M target-i386/cc_helper.c
    M target-i386/cpu.c
    M target-i386/cpu.h
    M target-i386/fpu_helper.c
    M target-i386/helper.c
    M target-i386/helper.h
    M target-i386/int_helper.c
    M target-i386/kvm.c
    M target-i386/mem_helper.c
    M target-i386/misc_helper.c
    A target-i386/mpx_helper.c
    M target-i386/smm_helper.c
    M target-i386/translate.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/rth/tags/pull-i386-20160215' into 
staging

Add XSAVE, MPX, FSGSBASE.

# gpg: Signature made Mon 15 Feb 2016 11:21:50 GMT using RSA key ID 4DD0279B
# gpg: Good signature from "Richard Henderson <address@hidden>"
# gpg:                 aka "Richard Henderson <address@hidden>"
# gpg:                 aka "Richard Henderson <address@hidden>"

* remotes/rth/tags/pull-i386-20160215:
  target-i386: Implement FSGSBASE
  target-i386: Enable CR4/XCR0 features for user-mode
  target-i386: Clear bndregs during legacy near jumps
  target-i386: Implement BNDLDX, BNDSTX
  target-i386: Update BNDSTATUS for exceptions raised by BOUND
  target-i386: Implement BNDCL, BNDCU, BNDCN
  target-i386: Implement BNDMOV
  target-i386: Implement BNDMK
  target-i386: Split up gen_lea_modrm
  target-i386: Perform set/reset_inhibit_irq inline
  target-i386: Enable control registers for MPX
  target-i386: Implement XSAVEOPT
  target-i386: Add XSAVE extension
  target-i386: Rearrange processing of 0F AE
  target-i386: Rearrange processing of 0F 01
  target-i386: Split fxsave/fxrstor implementation

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/a5af12871fd4...80b5d6bfc128

reply via email to

[Prev in Thread] Current Thread [Next in Thread]