qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 97ed5c: tlb: Add "ifetch" argument to cpu_mmu


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 97ed5c: tlb: Add "ifetch" argument to cpu_mmu_index()
Date: Mon, 14 Sep 2015 03:00:05 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 97ed5ccdee95f0b98bedc601ff979e368583472c
      
https://github.com/qemu/qemu/commit/97ed5ccdee95f0b98bedc601ff979e368583472c
  Author: Benjamin Herrenschmidt <address@hidden>
  Date:   2015-09-11 (Fri, 11 Sep 2015)

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

  Log Message:
  -----------
  tlb: Add "ifetch" argument to cpu_mmu_index()

This is set to true when the index is for an instruction fetch
translation.

The core get_page_addr_code() sets it, as do the SOFTMMU_CODE_ACCESS
acessors.

All targets ignore it for now, and all other callers pass "false".

This will allow targets who wish to split the mmu index between
instruction and data accesses to do so. A subsequent patch will
do just that for PowerPC.

Signed-off-by: Benjamin Herrenschmidt <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 282dffc8a4bfe8724548cabb8a26698bde0a6e18
      
https://github.com/qemu/qemu/commit/282dffc8a4bfe8724548cabb8a26698bde0a6e18
  Author: Pavel Dovgalyuk <address@hidden>
  Date:   2015-09-11 (Fri, 11 Sep 2015)

  Changed paths:
    M include/exec/cpu_ldst_template.h
    M include/exec/cpu_ldst_useronly_template.h
    M softmmu_template.h
    M tcg/tcg.h

  Log Message:
  -----------
  softmmu: add helper function to pass through retaddr

This patch introduces several helpers to pass return address
which points to the TB. Correct return address allows correct
restoring of the guest PC and icount. These functions should be used when
helpers embedded into TB invoke memory operations.

Reviewed-by: Aurelien Jarno <address@hidden>
Signed-off-by: Pavel Dovgalyuk <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: b8611499b940b1b4db67aa985e3a844437bcbf00
      
https://github.com/qemu/qemu/commit/b8611499b940b1b4db67aa985e3a844437bcbf00
  Author: Pavel Dovgalyuk <address@hidden>
  Date:   2015-09-11 (Fri, 11 Sep 2015)

  Changed paths:
    M include/exec/cpu_ldst.h
    M softmmu_template.h

  Log Message:
  -----------
  softmmu: remove now unused functions

Now that the cpu_ld/st_* function directly call helper_ret_ld/st, we can
drop the old helper_ld/st functions.

Reviewed-by: Aurelien Jarno <address@hidden>
Signed-off-by: Pavel Dovgalyuk <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 1c3c8af1fb40a481c07749e0448644d9b7700415
      
https://github.com/qemu/qemu/commit/1c3c8af1fb40a481c07749e0448644d9b7700415
  Author: Pavel Dovgalyuk <address@hidden>
  Date:   2015-09-11 (Fri, 11 Sep 2015)

  Changed paths:
    M cpu-exec.c
    M include/exec/exec-all.h

  Log Message:
  -----------
  cpu-exec: introduce loop exit with restore function

This patch introduces loop exit function, which also
restores guest CPU state according to the value of host
program counter.

Reviewed-by: Aurelien Jarno <address@hidden>
Signed-off-by: Pavel Dovgalyuk <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 8f6e82e4ecec9bc2726725275a138bc30f3ffc81
      
https://github.com/qemu/qemu/commit/8f6e82e4ecec9bc2726725275a138bc30f3ffc81
  Author: Peter Maydell <address@hidden>
  Date:   2015-09-11 (Fri, 11 Sep 2015)

  Changed paths:
    M cpu-exec.c
    M cputlb.c
    M include/exec/cpu_ldst.h
    M include/exec/cpu_ldst_template.h
    M include/exec/cpu_ldst_useronly_template.h
    M include/exec/exec-all.h
    M softmmu_template.h
    M target-alpha/cpu.h
    M target-alpha/translate.c
    M target-arm/cpu.h
    M target-arm/helper.c
    M target-cris/cpu.h
    M target-cris/translate.c
    M target-cris/translate_v10.c
    M target-i386/cpu.h
    M target-i386/translate.c
    M target-lm32/cpu.h
    M target-m68k/cpu.h
    M target-microblaze/cpu.h
    M target-microblaze/mmu.c
    M target-microblaze/translate.c
    M target-mips/cpu.h
    M target-mips/op_helper.c
    M target-moxie/cpu.h
    M target-openrisc/cpu.h
    M target-openrisc/translate.c
    M target-ppc/cpu.h
    M target-s390x/cpu.h
    M target-s390x/mem_helper.c
    M target-sh4/cpu.h
    M target-sparc/cpu.h
    M target-sparc/mmu_helper.c
    M target-sparc/translate.c
    M target-tricore/cpu.h
    M target-tricore/translate.c
    M target-unicore32/cpu.h
    M target-xtensa/cpu.h
    M tcg/tcg.h

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

queued tcg related patches

# gpg: Signature made Fri 11 Sep 2015 16:17:00 BST 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-tcg-20150911:
  cpu-exec: introduce loop exit with restore function
  softmmu: remove now unused functions
  softmmu: add helper function to pass through retaddr
  tlb: Add "ifetch" argument to cpu_mmu_index()

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


Compare: https://github.com/qemu/qemu/compare/30c38c90bd3f...8f6e82e4ecec

reply via email to

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