qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 104cc2: meson: Split out tcg/meson.build


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] 104cc2: meson: Split out tcg/meson.build
Date: Sun, 13 Jun 2021 07:57:21 -0700

  Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: 104cc2c0853cd17fde8a58c2aa0c54a5e6e4e6de
      
https://github.com/qemu/qemu/commit/104cc2c0853cd17fde8a58c2aa0c54a5e6e4e6de
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-06-11 (Fri, 11 Jun 2021)

  Changed paths:
    M meson.build
    A tcg/meson.build

  Log Message:
  -----------
  meson: Split out tcg/meson.build

Reviewed-by: Luis Pires <luis.pires@eldorado.org.br>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: c6347541728b0face2c509c4ebc8ba6fdf807fc6
      
https://github.com/qemu/qemu/commit/c6347541728b0face2c509c4ebc8ba6fdf807fc6
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-06-11 (Fri, 11 Jun 2021)

  Changed paths:
    A fpu/meson.build
    M meson.build

  Log Message:
  -----------
  meson: Split out fpu/meson.build

Reviewed-by: Luis Pires <luis.pires@eldorado.org.br>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: b0a0794a0f16e2160d8d35b14cca8f5e81b8b67e
      
https://github.com/qemu/qemu/commit/b0a0794a0f16e2160d8d35b14cca8f5e81b8b67e
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-06-11 (Fri, 11 Jun 2021)

  Changed paths:
    M accel/tcg/tcg-all.c
    M accel/tcg/translate-all.c
    M bsd-user/main.c
    M linux-user/main.c
    M tcg/tcg.c

  Log Message:
  -----------
  tcg: Re-order tcg_region_init vs tcg_prologue_init

Instead of delaying tcg_region_init until after tcg_prologue_init
is complete, do tcg_region_init first and let tcg_prologue_init
shrink the first region by the size of the generated prologue.

Reviewed-by: Luis Pires <luis.pires@eldorado.org.br>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: bd35f2ceac5e933f8eb168866e8899a36e32317d
      
https://github.com/qemu/qemu/commit/bd35f2ceac5e933f8eb168866e8899a36e32317d
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-06-11 (Fri, 11 Jun 2021)

  Changed paths:
    M tcg/tcg.c

  Log Message:
  -----------
  tcg: Remove error return from tcg_region_initial_alloc__locked

All callers immediately assert on error, so move the assert
into the function itself.

Reviewed-by: Luis Pires <luis.pires@eldorado.org.br>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 0430ca00f586a7ad27d3f13de3010ac4d6f40bb6
      
https://github.com/qemu/qemu/commit/0430ca00f586a7ad27d3f13de3010ac4d6f40bb6
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-06-11 (Fri, 11 Jun 2021)

  Changed paths:
    M tcg/tcg.c

  Log Message:
  -----------
  tcg: Split out tcg_region_initial_alloc

This has only one user, and currently needs an ifdef,
but will make more sense after some code motion.

Reviewed-by: Luis Pires <luis.pires@eldorado.org.br>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: bf042e8e52f0140388837ce75f865969831ab1ab
      
https://github.com/qemu/qemu/commit/bf042e8e52f0140388837ce75f865969831ab1ab
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-06-11 (Fri, 11 Jun 2021)

  Changed paths:
    M tcg/tcg.c

  Log Message:
  -----------
  tcg: Split out tcg_region_prologue_set

This has only one user, but will make more sense after some
code motion.

Always leave the tcg_init_ctx initialized to the first region,
in preparation for tcg_prologue_init().  This also requires
that we don't re-allocate the region for the first cpu, lest
we hit the assertion for total number of regions allocated .

Reviewed-by: Luis Pires <luis.pires@eldorado.org.br>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 5ff7258cc649dd5a3752485f285411e3915c9aba
      
https://github.com/qemu/qemu/commit/5ff7258cc649dd5a3752485f285411e3915c9aba
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-06-11 (Fri, 11 Jun 2021)

  Changed paths:
    M tcg/meson.build
    A tcg/region.c
    A tcg/tcg-internal.h
    M tcg/tcg.c

  Log Message:
  -----------
  tcg: Split out region.c

Reviewed-by: Luis Pires <luis.pires@eldorado.org.br>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 324b9d462ea227f10a25c80421046e6187247116
      
https://github.com/qemu/qemu/commit/324b9d462ea227f10a25c80421046e6187247116
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-06-11 (Fri, 11 Jun 2021)

  Changed paths:
    M accel/tcg/translate-all.c

  Log Message:
  -----------
  accel/tcg: Inline cpu_gen_init

It consists of one function call and has only one caller.

Reviewed-by: Luis Pires <luis.pires@eldorado.org.br>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: c46184a90a5a0209960b7c0813aff4feb1e373e1
      
https://github.com/qemu/qemu/commit/c46184a90a5a0209960b7c0813aff4feb1e373e1
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-06-11 (Fri, 11 Jun 2021)

  Changed paths:
    M accel/tcg/translate-all.c
    M include/tcg/tcg.h
    M tcg/region.c

  Log Message:
  -----------
  accel/tcg: Move alloc_code_gen_buffer to tcg/region.c

Buffer management is integral to tcg.  Do not leave the allocation
to code outside of tcg/.  This is code movement, with further
cleanups to follow.

Reviewed-by: Luis Pires <luis.pires@eldorado.org.br>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 7109ef15c51d2a948f88764e4a4fe0666c4c91db
      
https://github.com/qemu/qemu/commit/7109ef15c51d2a948f88764e4a4fe0666c4c91db
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-06-11 (Fri, 11 Jun 2021)

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

  Log Message:
  -----------
  accel/tcg: Rename tcg_init to tcg_init_machine

We shortly want to use tcg_init for something else.
Since the hook is called init_machine, match that.

Reviewed-by: Luis Pires <luis.pires@eldorado.org.br>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: a76aabd37b5d9ddfff2de837ddef91768aa26e3e
      
https://github.com/qemu/qemu/commit/a76aabd37b5d9ddfff2de837ddef91768aa26e3e
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-06-11 (Fri, 11 Jun 2021)

  Changed paths:
    M accel/tcg/translate-all.c
    M include/tcg/tcg.h
    M tcg/tcg-internal.h
    M tcg/tcg.c

  Log Message:
  -----------
  tcg: Create tcg_init

Perform both tcg_context_init and tcg_region_init.
Do not leave this split to the caller.

Reviewed-by: Luis Pires <luis.pires@eldorado.org.br>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: fa79cde6ed245629141b5a084f3110b8a3131d60
      
https://github.com/qemu/qemu/commit/fa79cde6ed245629141b5a084f3110b8a3131d60
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-06-11 (Fri, 11 Jun 2021)

  Changed paths:
    M accel/tcg/internal.h
    M accel/tcg/tcg-all.c
    M accel/tcg/translate-all.c
    M bsd-user/main.c
    M include/sysemu/tcg.h

  Log Message:
  -----------
  accel/tcg: Merge tcg_exec_init into tcg_init_machine

There is only one caller, and shortly we will need access
to the MachineState, which tcg_init_machine already has.

Reviewed-by: Luis Pires <luis.pires@eldorado.org.br>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: efba8ae9f6f4df011b0441ae2b634be6152026a4
      
https://github.com/qemu/qemu/commit/efba8ae9f6f4df011b0441ae2b634be6152026a4
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-06-11 (Fri, 11 Jun 2021)

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

  Log Message:
  -----------
  accel/tcg: Use MiB in tcg_init_machine

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Luis Pires <luis.pires@eldorado.org.br>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 43b972b7ebe9b8e84aa535031de7e605f6bf2cb2
      
https://github.com/qemu/qemu/commit/43b972b7ebe9b8e84aa535031de7e605f6bf2cb2
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-06-11 (Fri, 11 Jun 2021)

  Changed paths:
    M accel/tcg/tcg-all.c
    M include/tcg/tcg.h
    M tcg/region.c
    M tcg/tcg-internal.h
    M tcg/tcg.c

  Log Message:
  -----------
  accel/tcg: Pass down max_cpus to tcg_init

Start removing the include of hw/boards.h from tcg/.
Pass down the max_cpus value from tcg_init_machine,
where we have the MachineState already.

Reviewed-by: Luis Pires <luis.pires@eldorado.org.br>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 0e2d61cf29833f8984e7421a74eb0a4f921f92b5
      
https://github.com/qemu/qemu/commit/0e2d61cf29833f8984e7421a74eb0a4f921f92b5
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-06-11 (Fri, 11 Jun 2021)

  Changed paths:
    M tcg/region.c
    M tcg/tcg-internal.h
    M tcg/tcg.c

  Log Message:
  -----------
  tcg: Introduce tcg_max_ctxs

Finish the divorce of tcg/ from hw/, and do not take
the max cpu value from MachineState; just remember what
we were passed in tcg_init.

Reviewed-by: Luis Pires <luis.pires@eldorado.org.br>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 26a75d12d33ff80ee797ca32373f6333da4f194f
      
https://github.com/qemu/qemu/commit/26a75d12d33ff80ee797ca32373f6333da4f194f
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-06-11 (Fri, 11 Jun 2021)

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

  Log Message:
  -----------
  tcg: Move MAX_CODE_GEN_BUFFER_SIZE to tcg-target.h

Remove the ifdef ladder and move each define into the
appropriate header file.

Reviewed-by: Luis Pires <luis.pires@eldorado.org.br>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 77bd7fd12545e4a7db8ee7179014dd06250a753e
      
https://github.com/qemu/qemu/commit/77bd7fd12545e4a7db8ee7179014dd06250a753e
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-06-11 (Fri, 11 Jun 2021)

  Changed paths:
    M tcg/region.c

  Log Message:
  -----------
  tcg: Replace region.end with region.total_size

A size is easier to work with than an end point,
particularly during initial buffer allocation.

Reviewed-by: Luis Pires <luis.pires@eldorado.org.br>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: c2471ca0defb3b4393ae4ae2d8698ced9613700e
      
https://github.com/qemu/qemu/commit/c2471ca0defb3b4393ae4ae2d8698ced9613700e
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-06-11 (Fri, 11 Jun 2021)

  Changed paths:
    M tcg/region.c

  Log Message:
  -----------
  tcg: Rename region.start to region.after_prologue

Give the field a name reflecting its actual meaning.

Reviewed-by: Luis Pires <luis.pires@eldorado.org.br>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 01afda991971745948633529bf52df8fbf3710d1
      
https://github.com/qemu/qemu/commit/01afda991971745948633529bf52df8fbf3710d1
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-06-11 (Fri, 11 Jun 2021)

  Changed paths:
    M tcg/region.c

  Log Message:
  -----------
  tcg: Tidy tcg_n_regions

Compute the value using straight division and bounds,
rather than a loop.  Pass in tb_size rather than reading
from tcg_init_ctx.code_gen_buffer_size,

Reviewed-by: Luis Pires <luis.pires@eldorado.org.br>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: a4df1b2d193d1a265bfc3773703bba7da12446e9
      
https://github.com/qemu/qemu/commit/a4df1b2d193d1a265bfc3773703bba7da12446e9
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-06-11 (Fri, 11 Jun 2021)

  Changed paths:
    M tcg/region.c

  Log Message:
  -----------
  tcg: Tidy split_cross_256mb

Return output buffer and size via output pointer arguments,
rather than returning size via tcg_ctx->code_gen_buffer_size.

Reviewed-by: Luis Pires <luis.pires@eldorado.org.br>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 47d590df34b22595f1a6f9e8aafe5531cd2e4b13
      
https://github.com/qemu/qemu/commit/47d590df34b22595f1a6f9e8aafe5531cd2e4b13
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-06-11 (Fri, 11 Jun 2021)

  Changed paths:
    M include/tcg/tcg.h
    M tcg/region.c
    M tcg/tcg.c

  Log Message:
  -----------
  tcg: Move in_code_gen_buffer and tests to region.c

Shortly, the full code_gen_buffer will only be visible
to region.c, so move in_code_gen_buffer out-of-line.

Move the debugging versions of tcg_splitwx_to_{rx,rw}
to region.c as well, so that the compiler gets to see
the implementation of in_code_gen_buffer.

This leaves exactly one use of in_code_gen_buffer outside
of region.c, in cpu_restore_state.  Which, being on the
exception path, is not performance critical.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Luis Pires <luis.pires@eldorado.org.br>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: b792fba010cdc3c6f3c8667451db881e21847aae
      
https://github.com/qemu/qemu/commit/b792fba010cdc3c6f3c8667451db881e21847aae
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-06-11 (Fri, 11 Jun 2021)

  Changed paths:
    M tcg/region.c

  Log Message:
  -----------
  tcg: Allocate code_gen_buffer into struct tcg_region_state

Do not mess around with setting values within tcg_init_ctx.
Put the values into 'region' directly, which is where they
will live for the lifetime of the program.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Luis Pires <luis.pires@eldorado.org.br>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 0748f7be06c61c78da118abaed1ddcc7cd213d4c
      
https://github.com/qemu/qemu/commit/0748f7be06c61c78da118abaed1ddcc7cd213d4c
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-06-11 (Fri, 11 Jun 2021)

  Changed paths:
    M tcg/region.c

  Log Message:
  -----------
  tcg: Return the map protection from alloc_code_gen_buffer

Change the interface from a boolean error indication to a
negative error vs a non-negative protection.  For the moment
this is only interface change, not making use of the new data.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Luis Pires <luis.pires@eldorado.org.br>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 7a8b4ce1378ba4f427206aa29afdd8b5f84a233a
      
https://github.com/qemu/qemu/commit/7a8b4ce1378ba4f427206aa29afdd8b5f84a233a
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-06-11 (Fri, 11 Jun 2021)

  Changed paths:
    M tcg/region.c

  Log Message:
  -----------
  tcg: Sink qemu_madvise call to common code

Move the call out of the N versions of alloc_code_gen_buffer
and into tcg_region_init.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Luis Pires <luis.pires@eldorado.org.br>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 93d0bd5371912a9e7f24f807b370f7ff98b05f70
      
https://github.com/qemu/qemu/commit/93d0bd5371912a9e7f24f807b370f7ff98b05f70
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-06-11 (Fri, 11 Jun 2021)

  Changed paths:
    M include/qemu/osdep.h
    M util/osdep.c

  Log Message:
  -----------
  util/osdep: Add qemu_mprotect_rw

For --enable-tcg-interpreter on Windows, we will need this.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Luis Pires <luis.pires@eldorado.org.br>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 7b50d8c70130e0ade93069e790e55d38c53c1a99
      
https://github.com/qemu/qemu/commit/7b50d8c70130e0ade93069e790e55d38c53c1a99
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-06-11 (Fri, 11 Jun 2021)

  Changed paths:
    M tcg/region.c

  Log Message:
  -----------
  tcg: Round the tb_size default from qemu_get_host_physmem

If qemu_get_host_physmem returns an odd number of pages,
then physmem / 8 will not be a multiple of the page size.

The following was observed on a gitlab runner:

ERROR qtest-arm/boot-serial-test - Bail out!
ERROR:../util/osdep.c:80:qemu_mprotect__osdep: \
  assertion failed: (!(size & ~qemu_real_host_page_mask))

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Luis Pires <luis.pires@eldorado.org.br>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 221b22fc54605ef1ba5029ca672c9a123c597209
      
https://github.com/qemu/qemu/commit/221b22fc54605ef1ba5029ca672c9a123c597209
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-06-11 (Fri, 11 Jun 2021)

  Changed paths:
    M tcg/region.c

  Log Message:
  -----------
  tcg: Merge buffer protection and guard page protection

Do not handle protections on a case-by-case basis in the
various alloc_code_gen_buffer instances; do it within a
single loop in tcg_region_init.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Luis Pires <luis.pires@eldorado.org.br>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 96ddce60246dce6b1b96e7b4c5710a66d0dc2675
      
https://github.com/qemu/qemu/commit/96ddce60246dce6b1b96e7b4c5710a66d0dc2675
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-06-11 (Fri, 11 Jun 2021)

  Changed paths:
    M tcg/region.c

  Log Message:
  -----------
  tcg: When allocating for !splitwx, begin with PROT_NONE

There's a change in mprotect() behaviour [1] in the latest macOS
on M1 and it's not yet clear if it's going to be fixed by Apple.

In this case, instead of changing permissions of N guard pages,
we change permissions of N rwx regions.  The same number of
syscalls are required either way.

[1] https://gist.github.com/hikalium/75ae822466ee4da13cbbe486498a191f

Reviewed-by: Luis Pires <luis.pires@eldorado.org.br>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 1fd68bddfa55be3564b3bec5cd3fd03245a4ddf7
      
https://github.com/qemu/qemu/commit/1fd68bddfa55be3564b3bec5cd3fd03245a4ddf7
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-06-11 (Fri, 11 Jun 2021)

  Changed paths:
    M accel/tcg/translate-all.c
    M include/tcg/tcg.h
    M tcg/tcg-internal.h
    M tcg/tcg.c

  Log Message:
  -----------
  tcg: Move tcg_init_ctx and tcg_ctx from accel/tcg/

These variables belong to the jit side, not the user side.

Since tcg_init_ctx is no longer used outside of tcg/, move
the declaration to tcg-internal.h.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Luis Pires <luis.pires@eldorado.org.br>
Suggested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 0191880445b6c92b946534cd017ff8fd1216b20a
      
https://github.com/qemu/qemu/commit/0191880445b6c92b946534cd017ff8fd1216b20a
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-06-11 (Fri, 11 Jun 2021)

  Changed paths:
    M include/tcg/tcg.h
    M tcg/tcg.c

  Log Message:
  -----------
  tcg: Introduce tcg_remove_ops_after

Introduce a function to remove everything emitted
since a given point.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 8de5ecfcca066a8381042b18463e9e86ab862661
      
https://github.com/qemu/qemu/commit/8de5ecfcca066a8381042b18463e9e86ab862661
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-06-11 (Fri, 11 Jun 2021)

  Changed paths:
    M include/tcg/tcg.h

  Log Message:
  -----------
  tcg: Fix documentation for tcg_constant_* vs tcg_temp_free_*

At some point during the development of tcg_constant_*, I changed
my mind about whether such temps should be able to be passed to
tcg_temp_free_*.  The final version committed allows this, but the
commentary was not updated to match.

Fixes: c0522136adf
Reported-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Luis Pires <luis.pires@eldorado.org.br>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: c2227b56f3704dc2c7308c0837a23989d2dc2aaa
      
https://github.com/qemu/qemu/commit/c2227b56f3704dc2c7308c0837a23989d2dc2aaa
  Author: Jose R. Ziviani <jziviani@suse.de>
  Date:   2021-06-11 (Fri, 11 Jun 2021)

  Changed paths:
    M tcg/arm/tcg-target.c.inc

  Log Message:
  -----------
  tcg/arm: Fix tcg_out_op function signature

Commit 5e8892db93 fixed several function signatures but tcg_out_op for
arm is missing. This patch fixes it as well.

Signed-off-by: Jose R. Ziviani <jziviani@suse.de>
Message-Id: <20210610224450.23425-1-jziviani@suse.de>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 038e59d2143e0ad794710bdfb6f2998b79372fd8
      
https://github.com/qemu/qemu/commit/038e59d2143e0ad794710bdfb6f2998b79372fd8
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2021-06-11 (Fri, 11 Jun 2021)

  Changed paths:
    M fpu/softfloat.c

  Log Message:
  -----------
  softfloat: Fix tp init in float32_exp2

Typo in the conversion to FloatParts64.

Fixes: 572c4d862ff2
Fixes: Coverity CID 1457457
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210607223812.110596-1-richard.henderson@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 60afaddc208d34f6dc86dd974f6e02724fba6eb6
      
https://github.com/qemu/qemu/commit/60afaddc208d34f6dc86dd974f6e02724fba6eb6
  Author: Luis Pires <luis.pires@eldorado.org.br>
  Date:   2021-06-11 (Fri, 11 Jun 2021)

  Changed paths:
    M docs/devel/tcg.rst

  Log Message:
  -----------
  docs/devel: Explain in more detail the TB chaining mechanisms

Signed-off-by: Luis Pires <luis.pires@eldorado.org.br>
Message-Id: <20210601125143.191165-1-luis.pires@eldorado.org.br>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 898a339ff71c39b2efeb7e4e66d9108d6b3cab86
      
https://github.com/qemu/qemu/commit/898a339ff71c39b2efeb7e4e66d9108d6b3cab86
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2021-06-13 (Sun, 13 Jun 2021)

  Changed paths:
    M accel/tcg/internal.h
    M accel/tcg/tcg-all.c
    M accel/tcg/translate-all.c
    M bsd-user/main.c
    M docs/devel/tcg.rst
    A fpu/meson.build
    M fpu/softfloat.c
    M include/qemu/osdep.h
    M include/sysemu/tcg.h
    M include/tcg/tcg.h
    M linux-user/main.c
    M meson.build
    M tcg/aarch64/tcg-target.h
    M tcg/arm/tcg-target.c.inc
    M tcg/arm/tcg-target.h
    M tcg/i386/tcg-target.h
    A tcg/meson.build
    M tcg/mips/tcg-target.h
    M tcg/ppc/tcg-target.h
    A tcg/region.c
    M tcg/riscv/tcg-target.h
    M tcg/s390/tcg-target.h
    M tcg/sparc/tcg-target.h
    A tcg/tcg-internal.h
    M tcg/tcg.c
    M tcg/tci/tcg-target.h
    M util/osdep.c

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

Clean up code_gen_buffer allocation.
Add tcg_remove_ops_after.
Fix tcg_constant_* documentation.
Improve TB chaining documentation.
Fix float32_exp2.

# gpg: Signature made Sat 12 Jun 2021 00:38:53 BST
# gpg:                using RSA key 7A481E78868B4DB6A85A05C064DF38E8AF7E215F
# gpg:                issuer "richard.henderson@linaro.org"
# gpg: Good signature from "Richard Henderson <richard.henderson@linaro.org>" 
[full]
# Primary key fingerprint: 7A48 1E78 868B 4DB6 A85A  05C0 64DF 38E8 AF7E 215F

* remotes/rth-gitlab/tags/pull-tcg-20210611: (34 commits)
  docs/devel: Explain in more detail the TB chaining mechanisms
  softfloat: Fix tp init in float32_exp2
  tcg/arm: Fix tcg_out_op function signature
  tcg: Fix documentation for tcg_constant_* vs tcg_temp_free_*
  tcg: Introduce tcg_remove_ops_after
  tcg: Move tcg_init_ctx and tcg_ctx from accel/tcg/
  tcg: When allocating for !splitwx, begin with PROT_NONE
  tcg: Merge buffer protection and guard page protection
  tcg: Round the tb_size default from qemu_get_host_physmem
  util/osdep: Add qemu_mprotect_rw
  tcg: Sink qemu_madvise call to common code
  tcg: Return the map protection from alloc_code_gen_buffer
  tcg: Allocate code_gen_buffer into struct tcg_region_state
  tcg: Move in_code_gen_buffer and tests to region.c
  tcg: Tidy split_cross_256mb
  tcg: Tidy tcg_n_regions
  tcg: Rename region.start to region.after_prologue
  tcg: Replace region.end with region.total_size
  tcg: Move MAX_CODE_GEN_BUFFER_SIZE to tcg-target.h
  tcg: Introduce tcg_max_ctxs
  ...

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


Compare: https://github.com/qemu/qemu/compare/894fc4fd670a...898a339ff71c



reply via email to

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