qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] tcg/tci: Remove CONFIG_DEBUG_TCG_INTERPRETER
@ 2022-07-05  8:36 Richard Henderson
  2022-07-05  8:44 ` gaosong
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Richard Henderson @ 2022-07-05  8:36 UTC (permalink / raw)
  To: qemu-devel; +Cc: Song Gao

There is nothing in this environment variable that cannot
be done better with -d flags.  There is nothing special
about TCI that warrants this hack.

Moreover, it does not compile -- remove it.

Reported-by: Song Gao <gaosong@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
 tcg/tci/tcg-target.h     | 5 -----
 tcg/tci/tcg-target.c.inc | 7 -------
 2 files changed, 12 deletions(-)

diff --git a/tcg/tci/tcg-target.h b/tcg/tci/tcg-target.h
index 033e613f24..ceb36c4f7a 100644
--- a/tcg/tci/tcg-target.h
+++ b/tcg/tci/tcg-target.h
@@ -53,11 +53,6 @@
 # error Unknown pointer size for tci target
 #endif
 
-#ifdef CONFIG_DEBUG_TCG
-/* Enable debug output. */
-#define CONFIG_DEBUG_TCG_INTERPRETER
-#endif
-
 /* Optional instructions. */
 
 #define TCG_TARGET_HAS_bswap16_i32      1
diff --git a/tcg/tci/tcg-target.c.inc b/tcg/tci/tcg-target.c.inc
index 98337c567a..f3d7441e06 100644
--- a/tcg/tci/tcg-target.c.inc
+++ b/tcg/tci/tcg-target.c.inc
@@ -823,13 +823,6 @@ static void tcg_out_nop_fill(tcg_insn_unit *p, int count)
 
 static void tcg_target_init(TCGContext *s)
 {
-#if defined(CONFIG_DEBUG_TCG_INTERPRETER)
-    const char *envval = getenv("DEBUG_TCG");
-    if (envval) {
-        qemu_set_log(strtol(envval, NULL, 0));
-    }
-#endif
-
     /* The current code uses uint8_t for tcg operations. */
     tcg_debug_assert(tcg_op_defs_max <= UINT8_MAX);
 
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 5+ messages in thread
* [PULL 0/6] loongarch64 patch queue
@ 2022-07-05 10:59 Richard Henderson
  2022-07-05 10:59 ` [PATCH] tcg/tci: Remove CONFIG_DEBUG_TCG_INTERPRETER Richard Henderson
  0 siblings, 1 reply; 5+ messages in thread
From: Richard Henderson @ 2022-07-05 10:59 UTC (permalink / raw)
  To: qemu-devel

The following changes since commit 1437479e5ee1a49ccd84cad9e7b010fb2ee9d805:

  Merge tag 'pull-la-20220704' of https://gitlab.com/rth7680/qemu into staging (2022-07-04 16:37:13 +0530)

are available in the Git repository at:

  https://gitlab.com/rth7680/qemu.git tags/pull-la-20220705

for you to fetch changes up to bf7ce37f8f40149dfa354bdb74810c8e586a11e4:

  hw/intc/loongarch_ipi: Fix mail send and any send function (2022-07-05 16:25:17 +0530)

----------------------------------------------------------------
Loongarch patch queue:

Build fix for --enable-debug --enable-tcg-interpreter.
Build fix for ls7a_rtc.
Clear tlb on reset.
Fixes for ipi mailboxes.
Minor tweak to scripts/qemu-binfmt-conf.

----------------------------------------------------------------
Richard Henderson (2):
      hw/rtc/ls7a_rtc: Drop unused inline functions
      tcg/tci: Remove CONFIG_DEBUG_TCG_INTERPRETER

Song Gao (2):
      target/loongarch: Clean up tlb when cpu reset
      scripts/qemu-binfmt-conf: Add LoongArch to qemu_get_family()

Xiaojuan Yang (2):
      hw/intc/loongarch_ipi: Fix ipi device access of 64bits
      hw/intc/loongarch_ipi: Fix mail send and any send function

 include/hw/intc/loongarch_ipi.h |  7 ++--
 tcg/tci/tcg-target.h            |  5 ---
 hw/intc/loongarch_ipi.c         | 92 +++++++++++++++++++++++++++--------------
 hw/loongarch/loongson3.c        |  5 ++-
 hw/rtc/ls7a_rtc.c               | 27 +++---------
 target/loongarch/cpu.c          |  1 +
 tcg/tci/tcg-target.c.inc        |  7 ----
 scripts/qemu-binfmt-conf.sh     |  3 ++
 8 files changed, 80 insertions(+), 67 deletions(-)


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-07-06 22:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-05  8:36 [PATCH] tcg/tci: Remove CONFIG_DEBUG_TCG_INTERPRETER Richard Henderson
2022-07-05  8:44 ` gaosong
2022-07-05 10:37 ` Alex Bennée
2022-07-06 21:01 ` Philippe Mathieu-Daudé via
  -- strict thread matches above, loose matches on Subject: below --
2022-07-05 10:59 [PULL 0/6] loongarch64 patch queue Richard Henderson
2022-07-05 10:59 ` [PATCH] tcg/tci: Remove CONFIG_DEBUG_TCG_INTERPRETER Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).