1. 05 Jun, 2014 1 commit
    • Stefan Weil's avatar
      cputlb: Fix regression with TCG interpreter (bug 1310324) · 7e4e8865
      Stefan Weil authored
      Commit 0f842f8a 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: qemu-stable@nongnu.org
      Reported-by: default avatarGiovanni Mascellani <gio@debian.org>
      Signed-off-by: default avatarStefan Weil <sw@weilnetz.de>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
  2. 13 Mar, 2014 8 commits
  3. 11 Feb, 2014 2 commits
  4. 13 Jan, 2014 5 commits
  5. 23 Dec, 2013 2 commits
  6. 07 Oct, 2013 1 commit
  7. 03 Sep, 2013 1 commit
  8. 09 Jul, 2013 1 commit
  9. 04 Jul, 2013 2 commits
  10. 28 Jun, 2013 1 commit
  11. 20 Jun, 2013 1 commit
    • Jan Kiszka's avatar
      exec: Resolve subpages in one step except for IOTLB fills · 90260c6c
      Jan Kiszka authored
      Except for the case of setting the IOTLB entry in TCG mode, we can avoid
      the subpage dispatching handlers and do the resolution directly on
      address_space_lookup_region. An IOTLB entry describes a full page, not
      only the region that the first access to a sub-divided page may return.
      This patch therefore introduces a special translation function,
      address_space_translate_for_iotlb, that avoids the subpage resolutions.
      In contrast, callers of the existing address_space_translate service
      will now always receive the terminal memory region section. This will be
      important for breaking the BQL and for enabling unaligned memory region.
      Signed-off-by: default avatarJan Kiszka <jan.kiszka@siemens.com>
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
  12. 14 Jun, 2013 1 commit
  13. 29 May, 2013 2 commits
  14. 16 Feb, 2013 1 commit
  15. 19 Dec, 2012 1 commit
  16. 23 Oct, 2012 1 commit
    • Avi Kivity's avatar
      Rename target_phys_addr_t to hwaddr · a8170e5e
      Avi Kivity authored
      target_phys_addr_t is unwieldly, violates the C standard (_t suffixes are
      reserved) and its purpose doesn't match the name (most target_phys_addr_t
      addresses are not target specific).  Replace it with a finger-friendly,
      standards conformant hwaddr.
      Outstanding patchsets can be fixed up with the command
        git rebase -i --exec 'find -name "*.[ch]"
                              | xargs s/target_phys_addr_t/hwaddr/g' origin
      Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
      Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
  17. 22 Oct, 2012 1 commit
    • Avi Kivity's avatar
      memory: per-AddressSpace dispatch · ac1970fb
      Avi Kivity authored
      Currently we use a global radix tree to dispatch memory access.  This only
      works with a single address space; to support multiple address spaces we
      make the radix tree a member of AddressSpace (via an intermediate structure
      AddressSpaceDispatch to avoid exposing too many internals).
      A side effect is that address_space_io also gains a dispatch table.  When
      we remove all the pre-memory-API I/O registrations, we can use that for
      dispatching I/O and get rid of the original I/O dispatch.
      Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
  18. 15 Oct, 2012 1 commit
  19. 15 Sep, 2012 1 commit
  20. 15 Aug, 2012 1 commit
  21. 12 May, 2012 1 commit
  22. 01 May, 2012 2 commits