qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 7e4e88: cputlb: Fix regression with TCG inter


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 7e4e88: cputlb: Fix regression with TCG interpreter (bug 1...
Date: Thu, 05 Jun 2014 14:00:06 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 7e4e88656c1e6192e9e47a2054d2dc190c1b840b
      
https://github.com/qemu/qemu/commit/7e4e88656c1e6192e9e47a2054d2dc190c1b840b
  Author: Stefan Weil <address@hidden>
  Date:   2014-06-05 (Thu, 05 Jun 2014)

  Changed paths:
    M cputlb.c

  Log Message:
  -----------
  cputlb: Fix regression with TCG interpreter (bug 1310324)

Commit 0f842f8a246f2b5b51a11c13f933bf7a90ae8e96 replaced GETPC_EXT() which
was derived from GETPC() by GETRA_EXT() without fixing cputlb.c. A later
patch replaced GETRA_EXT() by GETRA() in exec/softmmu_template.h which
is included in cputlb.c.

The TCG interpreter failed because the values returned by GETRA() were no
longer explicitly set to 0. The redefinition of GETRA() introduced here
fixes this.

In addition, GETPC_ADJ which is also used in exec/softmmu_template.h is
set to 0. Both changes reduce the compiled code size for cputlb.c by more
than 100 bytes, so the normal TCG without interpreter also profits from
the reduced code size and slightly faster code.

Cc: address@hidden
Reported-by: Giovanni Mascellani <address@hidden>
Signed-off-by: Stefan Weil <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: fddbd80cc90db5ef210be98b76386b7b0a90dfe8
      
https://github.com/qemu/qemu/commit/fddbd80cc90db5ef210be98b76386b7b0a90dfe8
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-06-05 (Thu, 05 Jun 2014)

  Changed paths:
    M hw/arm/nseries.c

  Log Message:
  -----------
  nseries: clean up coding style

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


  Commit: 0983979b3a5edbff399c092b90c8be6dc656f2a4
      
https://github.com/qemu/qemu/commit/0983979b3a5edbff399c092b90c8be6dc656f2a4
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-06-05 (Thu, 05 Jun 2014)

  Changed paths:
    M hw/9pfs/virtio-9p-device.c
    M hw/arm/nseries.c
    M hw/block/virtio-blk.c
    M hw/display/omap_lcd_template.h
    M hw/display/sm501_template.h
    M hw/display/vga_template.h
    M hw/mips/mips_fulong2e.c
    M hw/mips/mips_malta.c
    M hw/scsi/vhost-scsi.c
    M hw/scsi/virtio-scsi.c

  Log Message:
  -----------
  hw: use ld_p/st_p instead of ld_raw/st_raw

The ld_raw and st_raw definitions are only needed in code that
must compile for both user-mode and softmmu emulation.  Device
models can use the equivalent ld_p/st_p which are simple
pointer accessors.

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


  Commit: 859d76120b87598bed0ba0757f62327cc8834332
      
https://github.com/qemu/qemu/commit/859d76120b87598bed0ba0757f62327cc8834332
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-06-05 (Thu, 05 Jun 2014)

  Changed paths:
    M include/exec/exec-all.h
    M include/exec/softmmu_header.h

  Log Message:
  -----------
  softmmu: start introducing SOFTMMU_CODE_ACCESS in softmmu_header.h

This preprocessor symbol is already used in softmmu_template.h.  We
will use it to distinguish the two "fake" ACCESS_TYPEs
NB_MMU_MODES and NB_MMU_MODES + 1.

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


  Commit: a6c9eac0d57d29bce82200175f9a4ef03c2c6bca
      
https://github.com/qemu/qemu/commit/a6c9eac0d57d29bce82200175f9a4ef03c2c6bca
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-06-05 (Thu, 05 Jun 2014)

  Changed paths:
    M include/exec/softmmu_header.h

  Log Message:
  -----------
  softmmu: move MMUSUFFIX under SOFTMMU_CODE_ACCESS

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


  Commit: ca0aa408167888d862df3e7f734f6b7b35bd556d
      
https://github.com/qemu/qemu/commit/ca0aa408167888d862df3e7f734f6b7b35bd556d
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-06-05 (Thu, 05 Jun 2014)

  Changed paths:
    M include/exec/exec-all.h
    M include/exec/softmmu_exec.h
    M include/exec/softmmu_header.h

  Log Message:
  -----------
  softmmu: move definition of CPU_MMU_INDEX to inclusion site, drop ACCESS_TYPE

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


  Commit: 93e22326d62d903b301e90bea71f0dbd0de858d3
      
https://github.com/qemu/qemu/commit/93e22326d62d903b301e90bea71f0dbd0de858d3
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-06-05 (Thu, 05 Jun 2014)

  Changed paths:
    M include/exec/softmmu_template.h
    M include/qom/cpu.h
    M target-alpha/cpu-qom.h
    M target-alpha/cpu.c
    M target-alpha/mem_helper.c
    M target-mips/cpu-qom.h
    M target-mips/cpu.c
    M target-mips/op_helper.c
    M target-sparc/cpu-qom.h
    M target-sparc/cpu.c
    M target-sparc/ldst_helper.c
    M target-xtensa/cpu-qom.h
    M target-xtensa/cpu.c
    M target-xtensa/op_helper.c

  Log Message:
  -----------
  softmmu: make do_unaligned_access a method of CPU

We will reference it from more files in the next patch.  To avoid
ruining the small steps we're making towards multi-target, make
it a method of CPU rather than just a global.

Reviewed-by: Andreas Färber <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: d94f0a8ecb256fcfcd9eb12bd4700711eca3e937
      
https://github.com/qemu/qemu/commit/d94f0a8ecb256fcfcd9eb12bd4700711eca3e937
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-06-05 (Thu, 05 Jun 2014)

  Changed paths:
    M target-alpha/cpu.h
    M target-alpha/mem_helper.c
    M target-mips/cpu.h
    M target-mips/op_helper.c
    M target-sparc/cpu.h
    M target-sparc/ldst_helper.c
    M target-xtensa/cpu.h
    M target-xtensa/op_helper.c

  Log Message:
  -----------
  softmmu: move ALIGNED_ONLY to cpu.h

Prepare for moving softmmu_header.h inclusion out of .c files

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


  Commit: 0f590e749f7c838bfd40b79242fc5aeb91e81747
      
https://github.com/qemu/qemu/commit/0f590e749f7c838bfd40b79242fc5aeb91e81747
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-06-05 (Thu, 05 Jun 2014)

  Changed paths:
    M cputlb.c
    M include/exec/softmmu_template.h
    M target-alpha/mem_helper.c
    M target-arm/op_helper.c
    M target-cris/op_helper.c
    M target-i386/mem_helper.c
    M target-lm32/op_helper.c
    M target-m68k/op_helper.c
    M target-microblaze/op_helper.c
    M target-mips/op_helper.c
    M target-moxie/helper.c
    M target-openrisc/mmu_helper.c
    M target-ppc/mmu_helper.c
    M target-s390x/mem_helper.c
    M target-sh4/op_helper.c
    M target-sparc/ldst_helper.c
    M target-unicore32/op_helper.c
    M target-xtensa/op_helper.c

  Log Message:
  -----------
  softmmu: commonize helper definitions

They do not need to be in op_helper.c.  Because cputlb.c now includes
softmmu_template.h twice for each size, io_readX must be elided the
second time through.

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


  Commit: 58ed270df9764c90b5b8b750be5af2f82ceab0be
      
https://github.com/qemu/qemu/commit/58ed270df9764c90b5b8b750be5af2f82ceab0be
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-06-05 (Thu, 05 Jun 2014)

  Changed paths:
    M cputlb.c
    R include/exec/softmmu_template.h
    A softmmu_template.h

  Log Message:
  -----------
  softmmu: move softmmu_template.h out of include/

It is only included in cputlb.c now.

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


  Commit: 1d854765dfdf9649c129af6d27e308fc638ede58
      
https://github.com/qemu/qemu/commit/1d854765dfdf9649c129af6d27e308fc638ede58
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-06-05 (Thu, 05 Jun 2014)

  Changed paths:
    A target-arm/arm_ldst.h
    M target-arm/cpu.h
    M target-arm/helper.c
    M target-arm/translate-a64.c
    M target-arm/translate.c

  Log Message:
  -----------
  target-arm: move arm_*_code to a separate file

These will soon require cpu_ldst.h, so move them out of cpu.h.

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


  Commit: f08b617018e424134a0a012b08253d567c62f7ee
      
https://github.com/qemu/qemu/commit/f08b617018e424134a0a012b08253d567c62f7ee
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-06-05 (Thu, 05 Jun 2014)

  Changed paths:
    M bsd-user/qemu.h
    M cputlb.c
    A include/exec/cpu_ldst.h
    M linux-user/qemu.h
    M monitor.c
    M target-alpha/mem_helper.c
    M target-alpha/translate.c
    M target-arm/arm_ldst.h
    M target-arm/helper.c
    M target-arm/op_helper.c
    M target-cris/helper.c
    M target-cris/op_helper.c
    M target-cris/translate.c
    M target-i386/fpu_helper.c
    M target-i386/mem_helper.c
    M target-i386/misc_helper.c
    M target-i386/seg_helper.c
    M target-i386/svm_helper.c
    M target-i386/translate.c
    M target-lm32/op_helper.c
    M target-lm32/translate.c
    M target-m68k/op_helper.c
    M target-m68k/translate.c
    M target-microblaze/op_helper.c
    M target-microblaze/translate.c
    M target-mips/op_helper.c
    M target-mips/translate.c
    M target-moxie/helper.c
    M target-moxie/translate.c
    M target-openrisc/mmu_helper.c
    M target-openrisc/translate.c
    M target-ppc/excp_helper.c
    M target-ppc/mem_helper.c
    M target-ppc/mmu_helper.c
    M target-ppc/translate.c
    M target-s390x/fpu_helper.c
    M target-s390x/helper.c
    M target-s390x/mem_helper.c
    M target-s390x/misc_helper.c
    M target-s390x/translate.c
    M target-sh4/op_helper.c
    M target-sh4/translate.c
    M target-sparc/ldst_helper.c
    M target-sparc/translate.c
    M target-unicore32/op_helper.c
    M target-unicore32/translate.c
    M target-xtensa/op_helper.c
    M target-xtensa/translate.c
    M tci.c
    M user-exec.c

  Log Message:
  -----------
  softmmu: introduce cpu_ldst.h

This will collect all load and store helpers soon.  For now
it is just a replacement for softmmu_exec.h, which this patch
stops including directly, but we also include it where this will
be necessary in order to simplify the next patch.

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


  Commit: c773828aa9259664bc24272b0cab781245409e1f
      
https://github.com/qemu/qemu/commit/c773828aa9259664bc24272b0cab781245409e1f
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-06-05 (Thu, 05 Jun 2014)

  Changed paths:
    M include/exec/cpu-all.h
    M include/exec/cpu_ldst.h
    A include/exec/cpu_ldst_template.h
    M include/exec/exec-all.h
    R include/exec/softmmu_exec.h
    R include/exec/softmmu_header.h
    M tcg/tcg.h

  Log Message:
  -----------
  softmmu: move all load/store functions to cpu_ldst.h

Unify pieces of cpu-all.h, exec-all.h, softmmu_exec.h and tcg/tcg.h
into a single new header file with all helpers.

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


  Commit: 43773ed369a2e1f6c347e30c74df27a8750d1d2d
      
https://github.com/qemu/qemu/commit/43773ed369a2e1f6c347e30c74df27a8750d1d2d
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-06-05 (Thu, 05 Jun 2014)

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

  Log Message:
  -----------
  target-i386: rename KSMAP to KNOSMAP

This is the mode where SMAP is overridden, put "NO" in its name.

Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 81cf8d8adc64203567e03326c13ea4abec9fe5df
      
https://github.com/qemu/qemu/commit/81cf8d8adc64203567e03326c13ea4abec9fe5df
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-06-05 (Thu, 05 Jun 2014)

  Changed paths:
    M target-i386/misc_helper.c
    M target-i386/seg_helper.c

  Log Message:
  -----------
  target-i386: move check_io helpers to seg_helper.c

Prepare for adding _kernel accessors there in the next patch.

Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 8a201bd47e4724c5783033aedbdd126a5df7a251
      
https://github.com/qemu/qemu/commit/8a201bd47e4724c5783033aedbdd126a5df7a251
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-06-05 (Thu, 05 Jun 2014)

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

  Log Message:
  -----------
  target-i386: fix kernel accesses with SMAP and CPL = 3

With SMAP, implicit kernel accesses from user mode always behave as
if AC=0.  To do this, kernel mode is not anymore a separate MMU mode.
Instead, KERNEL_IDX is renamed to KSMAP_IDX and the kernel mode accessors
wrap KSMAP_IDX and KNOSMAP_IDX.

Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: f57584dc874f0ba92403b4ade631c232564fb027
      
https://github.com/qemu/qemu/commit/f57584dc874f0ba92403b4ade631c232564fb027
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-06-05 (Thu, 05 Jun 2014)

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

  Log Message:
  -----------
  target-i386: simplify SMAP handling in MMU_KSMAP_IDX

Do not use this MMU index at all if CR4.SMAP is false, and drop
the SMAP check from x86_cpu_handle_mmu_fault.

Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 843408b3cf0a8891b2cbe9e775cc7c6a376fd6c4
      
https://github.com/qemu/qemu/commit/843408b3cf0a8891b2cbe9e775cc7c6a376fd6c4
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-06-05 (Thu, 05 Jun 2014)

  Changed paths:
    M target-i386/helper.c

  Log Message:
  -----------
  target-i386: fix coding standards in x86_cpu_handle_mmu_fault

Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 00cc3e1d70105ae1da11aee901b9af0c546bce4c
      
https://github.com/qemu/qemu/commit/00cc3e1d70105ae1da11aee901b9af0c546bce4c
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-06-05 (Thu, 05 Jun 2014)

  Changed paths:
    M target-i386/helper.c

  Log Message:
  -----------
  target-i386: commonize checks for 2MB and 4KB pages

Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 487cad8853c5c412d49a111c9a26aa09f0c396ad
      
https://github.com/qemu/qemu/commit/487cad8853c5c412d49a111c9a26aa09f0c396ad
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-06-05 (Thu, 05 Jun 2014)

  Changed paths:
    M target-i386/helper.c

  Log Message:
  -----------
  target-i386: commonize checks for 4MB and 4KB pages

Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 7c8225600648fa0b56135547844f1e529350510a
      
https://github.com/qemu/qemu/commit/7c8225600648fa0b56135547844f1e529350510a
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-06-05 (Thu, 05 Jun 2014)

  Changed paths:
    M target-i386/helper.c

  Log Message:
  -----------
  target-i386: commonize checks for PAE and non-PAE

Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 870a706735e8dc18c331bce0cdad2fe71c21ef2e
      
https://github.com/qemu/qemu/commit/870a706735e8dc18c331bce0cdad2fe71c21ef2e
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-06-05 (Thu, 05 Jun 2014)

  Changed paths:
    M target-i386/helper.c

  Log Message:
  -----------
  target-i386: tweak handling of PG_NX_MASK

Remove the tail of the PAE case, so that we can use "goto" in the
next patch to jump to the protection checks.

Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: b052e4509bd4049c25890c56f603995c6763e761
      
https://github.com/qemu/qemu/commit/b052e4509bd4049c25890c56f603995c6763e761
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-06-05 (Thu, 05 Jun 2014)

  Changed paths:
    M target-i386/helper.c

  Log Message:
  -----------
  target-i386: introduce do_check_protect label

This will help adding 1GB page support in the next patch.

Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 77549a7809c3c9c53dd2573187324ba9d4bd3b42
      
https://github.com/qemu/qemu/commit/77549a7809c3c9c53dd2573187324ba9d4bd3b42
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-06-05 (Thu, 05 Jun 2014)

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

  Log Message:
  -----------
  target-i386: introduce support for 1 GB pages

Given the simplifications to the code in the previous patches, this
is now very simple to do.

Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: c1eb2fa3fd5c811dd35d26f8b17551cc1171d8de
      
https://github.com/qemu/qemu/commit/c1eb2fa3fd5c811dd35d26f8b17551cc1171d8de
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-06-05 (Thu, 05 Jun 2014)

  Changed paths:
    M target-i386/helper.c

  Log Message:
  -----------
  target-i386: set correct error code for reserved bit access

The correct error code is 9 (present, reserved), not 8.

Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: b728464ae823a220d3b698d2ce055b2ceec0e297
      
https://github.com/qemu/qemu/commit/b728464ae823a220d3b698d2ce055b2ceec0e297
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-06-05 (Thu, 05 Jun 2014)

  Changed paths:
    M target-i386/helper.c

  Log Message:
  -----------
  target-i386: test reserved PS bit on PML4Es

Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: e8f6d00c30ed88910d0d985f4b2bf41654172ceb
      
https://github.com/qemu/qemu/commit/e8f6d00c30ed88910d0d985f4b2bf41654172ceb
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-06-05 (Thu, 05 Jun 2014)

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

  Log Message:
  -----------
  target-i386: raise page fault for reserved physical address bits

Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: e7e898a76aa00e2238b119ed2910442b1c3cacdd
      
https://github.com/qemu/qemu/commit/e7e898a76aa00e2238b119ed2910442b1c3cacdd
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-06-05 (Thu, 05 Jun 2014)

  Changed paths:
    M target-i386/helper.c

  Log Message:
  -----------
  target-i386: simplify pte/vaddr calculation

They can moved to after the dirty bit processing, and unified between
CR0.PG=1 and CR0.PG=0.

Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: e2a32ebbfe899a32a6b063f0f9e7c2593267ea88
      
https://github.com/qemu/qemu/commit/e2a32ebbfe899a32a6b063f0f9e7c2593267ea88
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-06-05 (Thu, 05 Jun 2014)

  Changed paths:
    M target-i386/helper.c

  Log Message:
  -----------
  target-i386: unify reserved bits and NX bit check

Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: eaad03e47206882229d184c83488142cba243917
      
https://github.com/qemu/qemu/commit/eaad03e47206882229d184c83488142cba243917
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-06-05 (Thu, 05 Jun 2014)

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

  Log Message:
  -----------
  target-i386: raise page fault for reserved bits in large pages

In large pages, bit 12 is for PAT, but bits starting at 13 are reserved.

Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: de431a655a7560d834e1187d6b30cb6b1946e90c
      
https://github.com/qemu/qemu/commit/de431a655a7560d834e1187d6b30cb6b1946e90c
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-06-05 (Thu, 05 Jun 2014)

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

  Log Message:
  -----------
  target-i386: support long addresses for 4MB pages (PSE-36)

4MB pages can use 40-bit addresses by putting the higher 8 bits in bits
20-13 of the PDE.  Bit 21 is reserved.

Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: b09481de91cce94342bac3327bb7633c39ff8bf6
      
https://github.com/qemu/qemu/commit/b09481de91cce94342bac3327bb7633c39ff8bf6
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-06-05 (Thu, 05 Jun 2014)

  Changed paths:
    M target-i386/helper.c

  Log Message:
  -----------
  target-i386: fix protection bits in the TLB for SMEP

User pages must be marked as non-executable when running under SMEP;
otherwise, fetching the page first and then calling it will fail.

With this patch, all SMEP testcases in kvm-unit-tests now pass.

Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 16b96f82cdfcb185560c2f8ebfc731711e2ccb2d
      
https://github.com/qemu/qemu/commit/16b96f82cdfcb185560c2f8ebfc731711e2ccb2d
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-06-05 (Thu, 05 Jun 2014)

  Changed paths:
    M target-i386/helper.c

  Log Message:
  -----------
  target-i386: cleanup x86_cpu_get_phys_page_debug

Make the code a bit more similar to x86_cpu_handle_mmu_fault.

Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 31e25e3e5701607a2a88b5b6c5fb1057b20941fd
      
https://github.com/qemu/qemu/commit/31e25e3e5701607a2a88b5b6c5fb1057b20941fd
  Author: Peter Maydell <address@hidden>
  Date:   2014-06-05 (Thu, 05 Jun 2014)

  Changed paths:
    M bsd-user/qemu.h
    M cputlb.c
    M hw/9pfs/virtio-9p-device.c
    M hw/arm/nseries.c
    M hw/block/virtio-blk.c
    M hw/display/omap_lcd_template.h
    M hw/display/sm501_template.h
    M hw/display/vga_template.h
    M hw/mips/mips_fulong2e.c
    M hw/mips/mips_malta.c
    M hw/scsi/vhost-scsi.c
    M hw/scsi/virtio-scsi.c
    M include/exec/cpu-all.h
    A include/exec/cpu_ldst.h
    A include/exec/cpu_ldst_template.h
    M include/exec/exec-all.h
    R include/exec/softmmu_exec.h
    R include/exec/softmmu_header.h
    R include/exec/softmmu_template.h
    M include/qom/cpu.h
    M linux-user/qemu.h
    M monitor.c
    A softmmu_template.h
    M target-alpha/cpu-qom.h
    M target-alpha/cpu.c
    M target-alpha/cpu.h
    M target-alpha/mem_helper.c
    M target-alpha/translate.c
    A target-arm/arm_ldst.h
    M target-arm/cpu.h
    M target-arm/helper.c
    M target-arm/op_helper.c
    M target-arm/translate-a64.c
    M target-arm/translate.c
    M target-cris/helper.c
    M target-cris/op_helper.c
    M target-cris/translate.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/mem_helper.c
    M target-i386/misc_helper.c
    M target-i386/seg_helper.c
    M target-i386/svm_helper.c
    M target-i386/translate.c
    M target-lm32/op_helper.c
    M target-lm32/translate.c
    M target-m68k/op_helper.c
    M target-m68k/translate.c
    M target-microblaze/op_helper.c
    M target-microblaze/translate.c
    M target-mips/cpu-qom.h
    M target-mips/cpu.c
    M target-mips/cpu.h
    M target-mips/op_helper.c
    M target-mips/translate.c
    M target-moxie/helper.c
    M target-moxie/translate.c
    M target-openrisc/mmu_helper.c
    M target-openrisc/translate.c
    M target-ppc/excp_helper.c
    M target-ppc/mem_helper.c
    M target-ppc/mmu_helper.c
    M target-ppc/translate.c
    M target-s390x/fpu_helper.c
    M target-s390x/helper.c
    M target-s390x/mem_helper.c
    M target-s390x/misc_helper.c
    M target-s390x/translate.c
    M target-sh4/op_helper.c
    M target-sh4/translate.c
    M target-sparc/cpu-qom.h
    M target-sparc/cpu.c
    M target-sparc/cpu.h
    M target-sparc/ldst_helper.c
    M target-sparc/translate.c
    M target-unicore32/op_helper.c
    M target-unicore32/translate.c
    M target-xtensa/cpu-qom.h
    M target-xtensa/cpu.c
    M target-xtensa/cpu.h
    M target-xtensa/op_helper.c
    M target-xtensa/translate.c
    M tcg/tcg.h
    M tci.c
    M user-exec.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/bonzini/softmmu-smap' into staging

* remotes/bonzini/softmmu-smap: (33 commits)
  target-i386: cleanup x86_cpu_get_phys_page_debug
  target-i386: fix protection bits in the TLB for SMEP
  target-i386: support long addresses for 4MB pages (PSE-36)
  target-i386: raise page fault for reserved bits in large pages
  target-i386: unify reserved bits and NX bit check
  target-i386: simplify pte/vaddr calculation
  target-i386: raise page fault for reserved physical address bits
  target-i386: test reserved PS bit on PML4Es
  target-i386: set correct error code for reserved bit access
  target-i386: introduce support for 1 GB pages
  target-i386: introduce do_check_protect label
  target-i386: tweak handling of PG_NX_MASK
  target-i386: commonize checks for PAE and non-PAE
  target-i386: commonize checks for 4MB and 4KB pages
  target-i386: commonize checks for 2MB and 4KB pages
  target-i386: fix coding standards in x86_cpu_handle_mmu_fault
  target-i386: simplify SMAP handling in MMU_KSMAP_IDX
  target-i386: fix kernel accesses with SMAP and CPL = 3
  target-i386: move check_io helpers to seg_helper.c
  target-i386: rename KSMAP to KNOSMAP
  ...

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


Compare: https://github.com/qemu/qemu/compare/9d48d3f01cf3...31e25e3e5701

reply via email to

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