qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] ecd357: target/xtensa: Use probe_access for i


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] ecd357: target/xtensa: Use probe_access for itlb_hit_test
Date: Fri, 17 Jan 2020 05:15:15 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: ecd3571eb100ce1d29b0a2e5fd0918f7fe1d0b90
      
https://github.com/qemu/qemu/commit/ecd3571eb100ce1d29b0a2e5fd0918f7fe1d0b90
  Author: Richard Henderson <address@hidden>
  Date:   2020-01-15 (Wed, 15 Jan 2020)

  Changed paths:
    M target/xtensa/mmu_helper.c

  Log Message:
  -----------
  target/xtensa: Use probe_access for itlb_hit_test

We don't actually need the result of the read, only to probe that the
memory mapping exists.  This is exactly what probe_access does.

This is also the only user of any cpu_ld*_code_ra function.
Removing this allows the interface to be removed shortly.

Tested-by: Philippe Mathieu-Daudé <address@hidden>
Acked-by: Max Filippov <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: f3bee8d337261d12bc766f60faf0ca811577acd6
      
https://github.com/qemu/qemu/commit/f3bee8d337261d12bc766f60faf0ca811577acd6
  Author: Richard Henderson <address@hidden>
  Date:   2020-01-15 (Wed, 15 Jan 2020)

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

  Log Message:
  -----------
  cputlb: Use trace_mem_get_info instead of trace_mem_build_info

In the cpu_ldst templates, we already require a MemOp, and it
is cleaner and clearer to pass that instead of 3 separate
arguments describing the memory operation.

Tested-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 4e6b13849598896da50f7c1c86e765e30ab98b63
      
https://github.com/qemu/qemu/commit/4e6b13849598896da50f7c1c86e765e30ab98b63
  Author: Richard Henderson <address@hidden>
  Date:   2020-01-15 (Wed, 15 Jan 2020)

  Changed paths:
    M accel/tcg/atomic_template.h
    M trace/mem-internal.h

  Log Message:
  -----------
  trace: Remove trace_mem_build_info_no_se_[bl]e

It is easy for the atomic helpers to use trace_mem_build_info
directly, without resorting to symbol pasting.  For this usage,
we cannot use trace_mem_get_info, because the MemOp does not
support 16-byte accesses.

Tested-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 61150039d4c0c67ba9e0764f16b336b6b85df81d
      
https://github.com/qemu/qemu/commit/61150039d4c0c67ba9e0764f16b336b6b85df81d
  Author: Richard Henderson <address@hidden>
  Date:   2020-01-15 (Wed, 15 Jan 2020)

  Changed paths:
    M target/s390x/mem_helper.c

  Log Message:
  -----------
  target/s390x: Include tcg.h in mem_helper.c

Code movement in an upcoming patch will show that this file
was implicitly depending on tcg.h being included indirectly.

Tested-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: David Hildenbrand <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 3b3be95a07db98908bb8272c61afad79bea5d455
      
https://github.com/qemu/qemu/commit/3b3be95a07db98908bb8272c61afad79bea5d455
  Author: Richard Henderson <address@hidden>
  Date:   2020-01-15 (Wed, 15 Jan 2020)

  Changed paths:
    M target/arm/sve_helper.c

  Log Message:
  -----------
  target/arm: Include tcg.h in sve_helper.c

Code movement in an upcoming patch will show that this file
was implicitly depending on tcg.h being included indirectly.

Cc: Peter Maydell <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 571951b15f8356021ff7a0354145bf64ed5f15e5
      
https://github.com/qemu/qemu/commit/571951b15f8356021ff7a0354145bf64ed5f15e5
  Author: Richard Henderson <address@hidden>
  Date:   2020-01-15 (Wed, 15 Jan 2020)

  Changed paths:
    M accel/tcg/tcg-runtime.c

  Log Message:
  -----------
  accel/tcg: Include tcg.h in tcg-runtime.c

Code movement in an upcoming patch will show that this file
was implicitly depending on tcg.h being included indirectly.

Tested-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 4c2169b2670cba1760cd03c8ff04b9d886d6f468
      
https://github.com/qemu/qemu/commit/4c2169b2670cba1760cd03c8ff04b9d886d6f468
  Author: Richard Henderson <address@hidden>
  Date:   2020-01-15 (Wed, 15 Jan 2020)

  Changed paths:
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user: Include tcg.h in syscall.c

Code movement in an upcoming patch will show that this file
was implicitly depending on tcg.h being included indirectly.

Tested-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 0fbf9b9ff4114974aab3efdb754521f15d564b22
      
https://github.com/qemu/qemu/commit/0fbf9b9ff4114974aab3efdb754521f15d564b22
  Author: Richard Henderson <address@hidden>
  Date:   2020-01-15 (Wed, 15 Jan 2020)

  Changed paths:
    M include/user/syscall-trace.h

  Log Message:
  -----------
  linux-user: Include trace-root.h in syscall-trace.h

Code movement in an upcoming patch will show that this file
was implicitly depending on trace-root.h being included beforehand.

Tested-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 208b2d24205a103533dcde74e7ce24176bc70c5b
      
https://github.com/qemu/qemu/commit/208b2d24205a103533dcde74e7ce24176bc70c5b
  Author: Richard Henderson <address@hidden>
  Date:   2020-01-15 (Wed, 15 Jan 2020)

  Changed paths:
    M plugins/api.c

  Log Message:
  -----------
  plugins: Include trace/mem.h in api.c

Code movement in an upcoming patch will show that this file
was implicitly depending on trace/mem.h being included beforehand.

Tested-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Reported-by: Alex Bennée <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: d03f140804b345a85973976506492027f703d82d
      
https://github.com/qemu/qemu/commit/d03f140804b345a85973976506492027f703d82d
  Author: Richard Henderson <address@hidden>
  Date:   2020-01-15 (Wed, 15 Jan 2020)

  Changed paths:
    M accel/tcg/cputlb.c
    M include/exec/cpu_ldst.h
    M include/exec/cpu_ldst_template.h

  Log Message:
  -----------
  cputlb: Move body of cpu_ldst_template.h out of line

With the tracing hooks, the inline functions are no longer
so simple.  Once out-of-line, the current tlb_entry lookup
is redundant with the one in the main load/store_helper.

This also begins the introduction of a new target facing
interface, with suffix *_mmuidx_ra.  This is not yet
official because the interface is not done for user-only.

Use abi_ptr instead of target_ulong in preparation for
user-only; the two types are identical for softmmu.

What remains in cpu_ldst_template.h are the expansions
for _code, _data, and MMU_MODE<N>_SUFFIX.

Tested-by: Philippe Mathieu-Daudé <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: a6d456df2af1fada3096dd6914733c2d99c4dbb5
      
https://github.com/qemu/qemu/commit/a6d456df2af1fada3096dd6914733c2d99c4dbb5
  Author: Richard Henderson <address@hidden>
  Date:   2020-01-15 (Wed, 15 Jan 2020)

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

  Log Message:
  -----------
  translator: Use cpu_ld*_code instead of open-coding

The DO_LOAD macros replicate the distinction already performed
by the cpu_ldst.h functions.  Use them.

Tested-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: fc4120a3786ff7980f2e5a9a3caf45246ad95043
      
https://github.com/qemu/qemu/commit/fc4120a3786ff7980f2e5a9a3caf45246ad95043
  Author: Richard Henderson <address@hidden>
  Date:   2020-01-15 (Wed, 15 Jan 2020)

  Changed paths:
    M accel/tcg/cputlb.c
    M docs/devel/loads-stores.rst
    M include/exec/cpu_ldst.h
    M include/exec/cpu_ldst_template.h
    M tcg/tcg.h

  Log Message:
  -----------
  cputlb: Rename helper_ret_ld*_cmmu to cpu_ld*_code

There are no uses of the *_cmmu names other than the bare wrapping
within the *_code inlines.  Therefore rename the functions so we
can drop the inlines.

Use abi_ptr instead of target_ulong in preparation for user-only;
the two types are identical for softmmu.

Tested-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Aleksandar Markovic <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: f4e1bae259a776894cc27d47239b60096cf393f7
      
https://github.com/qemu/qemu/commit/f4e1bae259a776894cc27d47239b60096cf393f7
  Author: Richard Henderson <address@hidden>
  Date:   2020-01-15 (Wed, 15 Jan 2020)

  Changed paths:
    M docs/devel/loads-stores.rst
    M include/exec/cpu_ldst.h

  Log Message:
  -----------
  cputlb: Provide cpu_(ld,st}*_mmuidx_ra for user-only

This finishes the new interface began with the previous patch.
Document the interface and deprecate MMU_MODE<N>_SUFFIX.

Tested-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Aleksandar Markovic <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 21ffbdc908c347d2e3c7d49abb664dcd554a63ac
      
https://github.com/qemu/qemu/commit/21ffbdc908c347d2e3c7d49abb664dcd554a63ac
  Author: Richard Henderson <address@hidden>
  Date:   2020-01-15 (Wed, 15 Jan 2020)

  Changed paths:
    M target/i386/seg_helper.c

  Log Message:
  -----------
  target/i386: Use cpu_*_mmuidx_ra instead of templates

Do not use exec/cpu_ldst_{,useronly_}template.h directly,
but instead use the functional interface.

Cc: Eduardo Habkost <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>
Acked-by: Paolo Bonzini <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: ed4cfbcd505290430bc7c064490ae310e729f623
      
https://github.com/qemu/qemu/commit/ed4cfbcd505290430bc7c064490ae310e729f623
  Author: Richard Henderson <address@hidden>
  Date:   2020-01-15 (Wed, 15 Jan 2020)

  Changed paths:
    M accel/tcg/user-exec.c
    M include/exec/cpu_ldst.h
    R include/exec/cpu_ldst_useronly_template.h

  Log Message:
  -----------
  cputlb: Expand cpu_ldst_useronly_template.h in user-exec.c

With the tracing hooks, the inline functions are no longer
so simple.  Reduce the amount of preprocessor obfuscation
by expanding the text of each of the functions generated.

Tested-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: e24f57d7a387d4e47c6a660edebc957389c5ab62
      
https://github.com/qemu/qemu/commit/e24f57d7a387d4e47c6a660edebc957389c5ab62
  Author: Richard Henderson <address@hidden>
  Date:   2020-01-15 (Wed, 15 Jan 2020)

  Changed paths:
    M target/nios2/cpu.h

  Log Message:
  -----------
  target/nios2: Remove MMU_MODE{0,1}_SUFFIX

The functions generated by these macros are unused.

Cc: Chris Wulff <address@hidden>
Cc: Marek Vasut <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: cb0d85f0b81fd62217a632f990d47a201f5d195e
      
https://github.com/qemu/qemu/commit/cb0d85f0b81fd62217a632f990d47a201f5d195e
  Author: Richard Henderson <address@hidden>
  Date:   2020-01-15 (Wed, 15 Jan 2020)

  Changed paths:
    M target/alpha/cpu.h

  Log Message:
  -----------
  target/alpha: Remove MMU_MODE{0,1}_SUFFIX

The functions generated by these macros are unused.

Tested-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 91a19bc9b0397cb2ffc4fd521857294802b4f8a0
      
https://github.com/qemu/qemu/commit/91a19bc9b0397cb2ffc4fd521857294802b4f8a0
  Author: Richard Henderson <address@hidden>
  Date:   2020-01-15 (Wed, 15 Jan 2020)

  Changed paths:
    M target/cris/cpu.h

  Log Message:
  -----------
  target/cris: Remove MMU_MODE{0,1}_SUFFIX

The functions generated by these macros are unused.

Cc: Edgar E. Iglesias <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 5d1c4ffc98449b2fd1ce544ce0238aa94f454611
      
https://github.com/qemu/qemu/commit/5d1c4ffc98449b2fd1ce544ce0238aa94f454611
  Author: Richard Henderson <address@hidden>
  Date:   2020-01-15 (Wed, 15 Jan 2020)

  Changed paths:
    M target/i386/cpu.h

  Log Message:
  -----------
  target/i386: Remove MMU_MODE{0,1,2}_SUFFIX

The functions generated by these macros are unused.

Cc: Eduardo Habkost <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>
Acked-by: Paolo Bonzini <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 39ac4370370bcf9c0d34f40b4a8b040d4ca01d00
      
https://github.com/qemu/qemu/commit/39ac4370370bcf9c0d34f40b4a8b040d4ca01d00
  Author: Richard Henderson <address@hidden>
  Date:   2020-01-15 (Wed, 15 Jan 2020)

  Changed paths:
    M target/microblaze/cpu.h

  Log Message:
  -----------
  target/microblaze: Remove MMU_MODE{0,1,2}_SUFFIX

The functions generated by these macros are unused.

Cc: Edgar E. Iglesias <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 345a3a1412163f4086d11bc33333155532b8f98f
      
https://github.com/qemu/qemu/commit/345a3a1412163f4086d11bc33333155532b8f98f
  Author: Richard Henderson <address@hidden>
  Date:   2020-01-15 (Wed, 15 Jan 2020)

  Changed paths:
    M target/sh4/cpu.h

  Log Message:
  -----------
  target/sh4: Remove MMU_MODE{0,1}_SUFFIX

The functions generated by these macros are unused.

Cc: Aurelien Jarno <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 5a13571b01a9bd7f46cf63842d4053bc7570188d
      
https://github.com/qemu/qemu/commit/5a13571b01a9bd7f46cf63842d4053bc7570188d
  Author: Richard Henderson <address@hidden>
  Date:   2020-01-15 (Wed, 15 Jan 2020)

  Changed paths:
    M target/unicore32/cpu.h

  Log Message:
  -----------
  target/unicore32: Remove MMU_MODE{0,1}_SUFFIX

The functions generated by these macros are unused.

Cc: Guan Xuetao <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 28c4b86928e52fcd0b2ad1358eded204ffa40101
      
https://github.com/qemu/qemu/commit/28c4b86928e52fcd0b2ad1358eded204ffa40101
  Author: Richard Henderson <address@hidden>
  Date:   2020-01-15 (Wed, 15 Jan 2020)

  Changed paths:
    M target/xtensa/cpu.h

  Log Message:
  -----------
  target/xtensa: Remove MMU_MODE{0,1,2,3}_SUFFIX

The functions generated by these macros are unused.

Tested-by: Philippe Mathieu-Daudé <address@hidden>
Acked-by: Max Filippov <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 330edfcc84a7b652ffc0e2856dcd363605cdd3b0
      
https://github.com/qemu/qemu/commit/330edfcc84a7b652ffc0e2856dcd363605cdd3b0
  Author: Richard Henderson <address@hidden>
  Date:   2020-01-15 (Wed, 15 Jan 2020)

  Changed paths:
    M target/m68k/cpu.h
    M target/m68k/op_helper.c

  Log Message:
  -----------
  target/m68k: Use cpu_*_mmuidx_ra instead of MMU_MODE{0,1}_SUFFIX

The generated *_user functions are unused.  The *_kernel functions
have a couple of users in op_helper.c; use *_mmuidx_ra instead,
with MMU_KERNEL_IDX.

Tested-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Laurent Vivier <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
---
v2: Use *_mmuidx_ra directly, without intermediate macros.


  Commit: 7dd547e5ab6b31e7a0cfc182d3ad131dd55a948f
      
https://github.com/qemu/qemu/commit/7dd547e5ab6b31e7a0cfc182d3ad131dd55a948f
  Author: Richard Henderson <address@hidden>
  Date:   2020-01-15 (Wed, 15 Jan 2020)

  Changed paths:
    M target/mips/cpu.h
    M target/mips/op_helper.c

  Log Message:
  -----------
  target/mips: Use cpu_*_mmuidx_ra instead of MMU_MODE*_SUFFIX

The separate suffixed functions were used to construct
some do_##insn function switched on mmu_idx.  The interface
is exactly identical to the *_mmuidx_ra functions.  Replace
them directly and remove the constructions.

Cc: Aurelien Jarno <address@hidden>
Cc: Aleksandar Rikalo <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Aleksandar Markovic <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: ed53a636e877983dac8f78cf479db2d07555a3f6
      
https://github.com/qemu/qemu/commit/ed53a636e877983dac8f78cf479db2d07555a3f6
  Author: Richard Henderson <address@hidden>
  Date:   2020-01-15 (Wed, 15 Jan 2020)

  Changed paths:
    M target/s390x/cpu.h
    M target/s390x/mem_helper.c

  Log Message:
  -----------
  target/s390x: Use cpu_*_mmuidx_ra instead of MMU_MODE*_SUFFIX

The generated functions aside from *_real are unused.
The *_real functions have a couple of users in mem_helper.c;
use *_mmuidx_ra instead, with MMU_REAL_IDX.

Tested-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: David Hildenbrand <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
---
v2: Use *_mmuidx_ra directly, without intermediate macros.


  Commit: 5a376e4f40a76d8bea5426cdc7ac16c7d0a7166b
      
https://github.com/qemu/qemu/commit/5a376e4f40a76d8bea5426cdc7ac16c7d0a7166b
  Author: Richard Henderson <address@hidden>
  Date:   2020-01-15 (Wed, 15 Jan 2020)

  Changed paths:
    M target/ppc/cpu.h
    M target/ppc/mem_helper.c

  Log Message:
  -----------
  target/ppc: Use cpu_*_mmuidx_ra instead of MMU_MODE*_SUFFIX

There are only two uses.  Within dcbz_common, the local variable
mmu_idx already contains the epid computation, and we can avoid
repeating it for the store.  Within helper_icbiep, the usage is
trivially expanded using PPC_TLB_EPID_LOAD.

Tested-by: Philippe Mathieu-Daudé <address@hidden>
Acked-by: David Gibson <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: ecc067d7921eaa83b407f36c1779c7bb48d739f0
      
https://github.com/qemu/qemu/commit/ecc067d7921eaa83b407f36c1779c7bb48d739f0
  Author: Richard Henderson <address@hidden>
  Date:   2020-01-15 (Wed, 15 Jan 2020)

  Changed paths:
    M include/exec/cpu_ldst.h

  Log Message:
  -----------
  cputlb: Remove support for MMU_MODE*_SUFFIX

All users have now been converted to cpu_*_mmuidx_ra.

Tested-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: cfe04a4b6eebae501a49273ae5b6b36958be2e4a
      
https://github.com/qemu/qemu/commit/cfe04a4b6eebae501a49273ae5b6b36958be2e4a
  Author: Richard Henderson <address@hidden>
  Date:   2020-01-15 (Wed, 15 Jan 2020)

  Changed paths:
    M accel/tcg/cputlb.c
    M include/exec/cpu_ldst.h
    R include/exec/cpu_ldst_template.h

  Log Message:
  -----------
  cputlb: Expand cpu_ldst_template.h in cputlb.c

Reduce the amount of preprocessor obfuscation by expanding
the text of each of the functions generated.  The result is
only slightly smaller than the original.

Tested-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Reviewed-by: Aleksandar Markovic <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: dcb32f1d8f4125f780ace1fc0b14f1920025a517
      
https://github.com/qemu/qemu/commit/dcb32f1d8f4125f780ace1fc0b14f1920025a517
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2020-01-15 (Wed, 15 Jan 2020)

  Changed paths:
    M accel/tcg/cpu-exec.c
    M accel/tcg/tcg-runtime-gvec.c
    M accel/tcg/tcg-runtime.c
    M accel/tcg/translate-all.c
    M accel/tcg/user-exec.c
    M bsd-user/main.c
    M cpus.c
    M exec.c
    M include/exec/cpu_ldst.h
    M linux-user/main.c
    M linux-user/syscall.c
    M target/alpha/translate.c
    M target/arm/helper-a64.c
    M target/arm/sve_helper.c
    M target/arm/translate-a64.c
    M target/arm/translate-sve.c
    M target/arm/translate.c
    M target/cris/translate.c
    M target/hppa/translate.c
    M target/i386/mem_helper.c
    M target/i386/translate.c
    M target/lm32/translate.c
    M target/m68k/translate.c
    M target/microblaze/translate.c
    M target/mips/translate.c
    M target/moxie/translate.c
    M target/nios2/translate.c
    M target/openrisc/translate.c
    M target/ppc/mem_helper.c
    M target/ppc/translate.c
    M target/riscv/cpu_helper.c
    M target/riscv/translate.c
    M target/s390x/mem_helper.c
    M target/s390x/translate.c
    M target/sh4/translate.c
    M target/sparc/ldst_helper.c
    M target/sparc/translate.c
    M target/tilegx/translate.c
    M target/tricore/translate.c
    M target/unicore32/translate.c
    M target/xtensa/translate.c
    M tcg/i386/tcg-target.h
    M tcg/optimize.c
    M tcg/tcg-common.c
    M tcg/tcg-op-gvec.c
    M tcg/tcg-op-vec.c
    M tcg/tcg-op.c
    M tcg/tcg-op.h
    M tcg/tcg.c
    M tcg/tcg.h
    M tcg/tci.c

  Log Message:
  -----------
  tcg: Search includes from the project root source directory

We currently search both the root and the tcg/ directories for tcg
files:

  $ git grep '#include "tcg/' | wc -l
  28

  $ git grep '#include "tcg[^/]' | wc -l
  94

To simplify the preprocessor search path, unify by expliciting the
tcg/ directory.

Patch created mechanically by running:

  $ for x in \
      tcg.h tcg-mo.h tcg-op.h tcg-opc.h \
      tcg-op-gvec.h tcg-gvec-desc.h; do \
    sed -i "s,#include \"$x\",#include \"tcg/$x\"," \
      $(git grep -l "#include \"$x\""); \
    done

Acked-by: David Gibson <address@hidden> (ppc parts)
Reviewed-by: Paolo Bonzini <address@hidden>
Reviewed-by: Alistair Francis <address@hidden>
Reviewed-by: Stefan Weil <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 2b434dd127c2996d348a262738d4ea330765ca14
      
https://github.com/qemu/qemu/commit/2b434dd127c2996d348a262738d4ea330765ca14
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2020-01-15 (Wed, 15 Jan 2020)

  Changed paths:
    M tcg/aarch64/tcg-target.inc.c
    M tcg/arm/tcg-target.inc.c
    M tcg/i386/tcg-target.inc.c
    M tcg/mips/tcg-target.inc.c
    M tcg/ppc/tcg-target.inc.c
    M tcg/riscv/tcg-target.inc.c
    M tcg/s390/tcg-target.inc.c
    M tcg/sparc/tcg-target.inc.c

  Log Message:
  -----------
  tcg: Search includes in the parent source directory

All the *.inc.c files included by tcg/$TARGET/tcg-target.inc.c
are in tcg/, their parent directory. To simplify the preprocessor
search path, include the relative parent path: '..'.

Patch created mechanically by running:

  $ for x in tcg-pool.inc.c tcg-ldst.inc.c; do \
    sed -i "s,#include \"$x\",#include \"../$x\"," \
      $(git grep -l "#include \"$x\""); \
    done

Acked-by: David Gibson <address@hidden> (ppc parts)
Reviewed-by: Paolo Bonzini <address@hidden>
Reviewed-by: Alistair Francis <address@hidden>
Reviewed-by: Stefan Weil <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: d3582cfd27bb7fe29e54d98ea0b25cc7a0d6d276
      
https://github.com/qemu/qemu/commit/d3582cfd27bb7fe29e54d98ea0b25cc7a0d6d276
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2020-01-15 (Wed, 15 Jan 2020)

  Changed paths:
    M MAINTAINERS
    A include/tcg/tcg-gvec-desc.h
    A include/tcg/tcg-mo.h
    A include/tcg/tcg-op-gvec.h
    A include/tcg/tcg-op.h
    A include/tcg/tcg-opc.h
    A include/tcg/tcg.h
    R tcg/tcg-gvec-desc.h
    R tcg/tcg-mo.h
    R tcg/tcg-op-gvec.h
    R tcg/tcg-op.h
    R tcg/tcg-opc.h
    R tcg/tcg.h

  Log Message:
  -----------
  tcg: Move TCG headers to include/tcg/

Reviewed-by: Paolo Bonzini <address@hidden>
Reviewed-by: Alistair Francis <address@hidden>
Reviewed-by: Stefan Weil <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: ed5bad39e57f33e12aac0c07cb6a4b1ab4d8eab3
      
https://github.com/qemu/qemu/commit/ed5bad39e57f33e12aac0c07cb6a4b1ab4d8eab3
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2020-01-15 (Wed, 15 Jan 2020)

  Changed paths:
    M configure

  Log Message:
  -----------
  configure: Remove tcg/ from the preprocessor include search list

All tcg includes are relative to the repository root directory,
we can safely remove the tcg/ directory from the include search
path list.

Reviewed-by: Paolo Bonzini <address@hidden>
Reviewed-by: Alistair Francis <address@hidden>
Reviewed-by: Stefan Weil <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: 3e5a01ef0268ee4c9d342a26dbf6624d6b5b20d6
      
https://github.com/qemu/qemu/commit/3e5a01ef0268ee4c9d342a26dbf6624d6b5b20d6
  Author: Richard Henderson <address@hidden>
  Date:   2020-01-15 (Wed, 15 Jan 2020)

  Changed paths:
    M MAINTAINERS

  Log Message:
  -----------
  MAINTAINERS: Replace Claudio Fontana for tcg/aarch64

Claudio's Huawei address has been defunct for quite a while.  In

  https://lists.gnu.org/archive/html/qemu-devel/2019-05/msg06872.html

he asked for his personal address to be removed as well.

I will take over officially.

Cc: Claudio Fontana <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>


  Commit: cbf01142b2aef0c0b4e995cecd7e79d342bbc47e
      
https://github.com/qemu/qemu/commit/cbf01142b2aef0c0b4e995cecd7e79d342bbc47e
  Author: Peter Maydell <address@hidden>
  Date:   2020-01-17 (Fri, 17 Jan 2020)

  Changed paths:
    M MAINTAINERS
    M accel/tcg/atomic_template.h
    M accel/tcg/cpu-exec.c
    M accel/tcg/cputlb.c
    M accel/tcg/tcg-runtime-gvec.c
    M accel/tcg/tcg-runtime.c
    M accel/tcg/translate-all.c
    M accel/tcg/user-exec.c
    M bsd-user/main.c
    M configure
    M cpus.c
    M docs/devel/loads-stores.rst
    M exec.c
    M include/exec/cpu_ldst.h
    R include/exec/cpu_ldst_template.h
    R include/exec/cpu_ldst_useronly_template.h
    M include/exec/translator.h
    A include/tcg/tcg-gvec-desc.h
    A include/tcg/tcg-mo.h
    A include/tcg/tcg-op-gvec.h
    A include/tcg/tcg-op.h
    A include/tcg/tcg-opc.h
    A include/tcg/tcg.h
    M include/user/syscall-trace.h
    M linux-user/main.c
    M linux-user/syscall.c
    M plugins/api.c
    M target/alpha/cpu.h
    M target/alpha/translate.c
    M target/arm/helper-a64.c
    M target/arm/sve_helper.c
    M target/arm/translate-a64.c
    M target/arm/translate-sve.c
    M target/arm/translate.c
    M target/cris/cpu.h
    M target/cris/translate.c
    M target/hppa/translate.c
    M target/i386/cpu.h
    M target/i386/mem_helper.c
    M target/i386/seg_helper.c
    M target/i386/translate.c
    M target/lm32/translate.c
    M target/m68k/cpu.h
    M target/m68k/op_helper.c
    M target/m68k/translate.c
    M target/microblaze/cpu.h
    M target/microblaze/translate.c
    M target/mips/cpu.h
    M target/mips/op_helper.c
    M target/mips/translate.c
    M target/moxie/translate.c
    M target/nios2/cpu.h
    M target/nios2/translate.c
    M target/openrisc/translate.c
    M target/ppc/cpu.h
    M target/ppc/mem_helper.c
    M target/ppc/translate.c
    M target/riscv/cpu_helper.c
    M target/riscv/translate.c
    M target/s390x/cpu.h
    M target/s390x/mem_helper.c
    M target/s390x/translate.c
    M target/sh4/cpu.h
    M target/sh4/translate.c
    M target/sparc/ldst_helper.c
    M target/sparc/translate.c
    M target/tilegx/translate.c
    M target/tricore/translate.c
    M target/unicore32/cpu.h
    M target/unicore32/translate.c
    M target/xtensa/cpu.h
    M target/xtensa/mmu_helper.c
    M target/xtensa/translate.c
    M tcg/aarch64/tcg-target.inc.c
    M tcg/arm/tcg-target.inc.c
    M tcg/i386/tcg-target.h
    M tcg/i386/tcg-target.inc.c
    M tcg/mips/tcg-target.inc.c
    M tcg/optimize.c
    M tcg/ppc/tcg-target.inc.c
    M tcg/riscv/tcg-target.inc.c
    M tcg/s390/tcg-target.inc.c
    M tcg/sparc/tcg-target.inc.c
    M tcg/tcg-common.c
    R tcg/tcg-gvec-desc.h
    R tcg/tcg-mo.h
    M tcg/tcg-op-gvec.c
    R tcg/tcg-op-gvec.h
    M tcg/tcg-op-vec.c
    M tcg/tcg-op.c
    R tcg/tcg-op.h
    R tcg/tcg-opc.h
    M tcg/tcg.c
    R tcg/tcg.h
    M tcg/tci.c
    M trace/mem-internal.h

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

Add cpu_{ld,st}*_mmuidx_ra
Remove MMU_MODE*_SUFFIX
Move tcg headers under include/

# gpg: Signature made Thu 16 Jan 2020 01:36:41 GMT
# gpg:                using RSA key 7A481E78868B4DB6A85A05C064DF38E8AF7E215F
# gpg:                issuer "address@hidden"
# gpg: Good signature from "Richard Henderson <address@hidden>" [full]
# Primary key fingerprint: 7A48 1E78 868B 4DB6 A85A  05C0 64DF 38E8 AF7E 215F

* remotes/rth/tags/pull-tcg-20200115: (34 commits)
  MAINTAINERS: Replace Claudio Fontana for tcg/aarch64
  configure: Remove tcg/ from the preprocessor include search list
  tcg: Move TCG headers to include/tcg/
  tcg: Search includes in the parent source directory
  tcg: Search includes from the project root source directory
  cputlb: Expand cpu_ldst_template.h in cputlb.c
  cputlb: Remove support for MMU_MODE*_SUFFIX
  target/ppc: Use cpu_*_mmuidx_ra instead of MMU_MODE*_SUFFIX
  target/s390x: Use cpu_*_mmuidx_ra instead of MMU_MODE*_SUFFIX
  target/mips: Use cpu_*_mmuidx_ra instead of MMU_MODE*_SUFFIX
  target/m68k: Use cpu_*_mmuidx_ra instead of MMU_MODE{0,1}_SUFFIX
  target/xtensa: Remove MMU_MODE{0,1,2,3}_SUFFIX
  target/unicore32: Remove MMU_MODE{0,1}_SUFFIX
  target/sh4: Remove MMU_MODE{0,1}_SUFFIX
  target/microblaze: Remove MMU_MODE{0,1,2}_SUFFIX
  target/i386: Remove MMU_MODE{0,1,2}_SUFFIX
  target/cris: Remove MMU_MODE{0,1}_SUFFIX
  target/alpha: Remove MMU_MODE{0,1}_SUFFIX
  target/nios2: Remove MMU_MODE{0,1}_SUFFIX
  cputlb: Expand cpu_ldst_useronly_template.h in user-exec.c
  ...

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


Compare: https://github.com/qemu/qemu/compare/28b58f19d269...cbf01142b2ae



reply via email to

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